Add NEWS.txt, bump ChangeLog (w32)
[quvi.git] / configure
blob15792f639a8118927e9f48794743b6d6a621deb8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.10.
5 # Report bugs to <http://sourceforge.net/apps/trac/quvi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
153 esac
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 else
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
187 as_have_required=yes
188 else
189 as_have_required=no
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193 else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
213 done;;
214 esac
215 as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248 else
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://sourceforge.net/apps/trac/quvi about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
255 exit 1
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
273 { eval $1=; unset $1;}
275 as_unset=as_fn_unset
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
282 return $1
283 } # as_fn_set_status
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
290 set +e
291 as_fn_set_status $1
292 exit $1
293 } # as_fn_exit
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
301 case $as_dir in #(
302 -*) as_dir=./$as_dir;;
303 esac
304 test -d "$as_dir" || eval $as_mkdir_p || {
305 as_dirs=
306 while :; do
307 case $as_dir in #(
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309 *) as_qdir=$as_dir;;
310 esac
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 s//\1/
322 /^X\(\/\/\)[^/].*/{
323 s//\1/
326 /^X\(\/\/\)$/{
327 s//\1/
330 /^X\(\/\).*/{
331 s//\1/
334 s/.*/./; q'`
335 test -d "$as_dir" && break
336 done
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
351 eval $1+=\$2
353 else
354 as_fn_append ()
356 eval $1=\$$1\$2
358 fi # as_fn_append
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 eval 'as_fn_arith ()
368 as_val=$(( $* ))
370 else
371 as_fn_arith ()
373 as_val=`expr "$@" || test $? -eq 1`
375 fi # as_fn_arith
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
385 as_status=$1; test $as_status -eq 0 && as_status=1
386 if test "$4"; then
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
392 } # as_fn_error
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 as_expr=expr
397 else
398 as_expr=false
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 as_basename=basename
403 else
404 as_basename=false
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_dirname=dirname
409 else
410 as_dirname=false
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 s//\1/
422 /^X\/\(\/\/\)$/{
423 s//\1/
426 /^X\/\(\/\).*/{
427 s//\1/
430 s/.*/./; q'`
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 sed -n '
447 /[$]LINENO/=
448 ' <$as_myself |
449 sed '
450 s/[$]LINENO.*/&-/
451 t lineno
453 :lineno
455 :loop
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 t loop
458 s/-\n.*//
459 ' >$as_me.lineno &&
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
466 . "./$as_me.lineno"
467 # Exit status is that of the last command.
468 exit
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 xy) ECHO_C='\c';;
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478 ECHO_T=' ';;
479 esac;;
481 ECHO_N='-n';;
482 esac
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487 else
488 rm -f conf$$.dir
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
505 else
506 as_ln_s='cp -p'
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
518 if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520 else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
559 # Initializations.
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
570 # Identity of this package.
571 PACKAGE_NAME='quvi'
572 PACKAGE_TARNAME='quvi'
573 PACKAGE_VERSION='0.2.10'
574 PACKAGE_STRING='quvi 0.2.10'
575 PACKAGE_BUGREPORT='http://sourceforge.net/apps/trac/quvi'
576 PACKAGE_URL='http://quvi.sourceforge.net/'
578 ac_unique_file="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 # include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 # include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 HAVE_GNU_LD_FALSE
619 HAVE_GNU_LD_TRUE
620 WITH_DOC_FALSE
621 WITH_DOC_TRUE
622 WITH_MAN_FALSE
623 WITH_MAN_TRUE
624 ENABLE_BROKEN_FALSE
625 ENABLE_BROKEN_TRUE
626 ENABLE_TESTS_FALSE
627 ENABLE_TESTS_TRUE
628 ENABLE_NSFW_FALSE
629 ENABLE_NSFW_TRUE
630 ENABLE_EXAMPLES_FALSE
631 ENABLE_EXAMPLES_TRUE
632 ENABLE_QUVI_FALSE
633 ENABLE_QUVI_TRUE
634 NO_STRUPR_FALSE
635 NO_STRUPR_TRUE
636 NO_ASPRINTF_FALSE
637 NO_ASPRINTF_TRUE
638 POW_LIB
639 LIBOBJS
640 AM_BACKSLASH
641 AM_DEFAULT_VERBOSITY
642 liblua_LIBS
643 liblua_CFLAGS
644 libcurl_LIBS
645 libcurl_CFLAGS
646 PKG_CONFIG_LIBDIR
647 PKG_CONFIG_PATH
648 PKG_CONFIG
649 LTLIBICONV
650 LIBICONV
652 DATE
653 HAVE_POD2HTML_FALSE
654 HAVE_POD2HTML_TRUE
655 POD2HTML
656 HAVE_POD2MAN_FALSE
657 HAVE_POD2MAN_TRUE
658 POD2MAN
659 HAVE_PERL_POD_CHECKER_FALSE
660 HAVE_PERL_POD_CHECKER_TRUE
661 HAVE_PERL_FALSE
662 HAVE_PERL_TRUE
663 PERL
664 HAVE_DOXYGEN_FALSE
665 HAVE_DOXYGEN_TRUE
666 DOXYGEN
667 HAVE_GENGETOPT_FALSE
668 HAVE_GENGETOPT_TRUE
669 GENGETOPT
670 CXXCPP
671 am__fastdepCXX_FALSE
672 am__fastdepCXX_TRUE
673 CXXDEPMODE
674 ac_ct_CXX
675 CXXFLAGS
677 EXTRA_LIBQUVI_LDFLAGS
678 OTOOL64
679 OTOOL
680 LIPO
681 NMEDIT
682 DSYMUTIL
683 MANIFEST_TOOL
684 RANLIB
685 ac_ct_AR
687 DLLTOOL
688 OBJDUMP
689 LN_S
691 ac_ct_DUMPBIN
692 DUMPBIN
694 FGREP
696 LIBTOOL
697 am__fastdepCC_FALSE
698 am__fastdepCC_TRUE
699 CCDEPMODE
700 AMDEPBACKSLASH
701 AMDEP_FALSE
702 AMDEP_TRUE
703 am__quote
704 am__include
705 DEPDIR
706 am__untar
707 am__tar
708 AMTAR
709 am__leading_dot
710 SET_MAKE
712 mkdir_p
713 MKDIR_P
714 INSTALL_STRIP_PROGRAM
715 STRIP
716 install_sh
717 MAKEINFO
718 AUTOHEADER
719 AUTOMAKE
720 AUTOCONF
721 ACLOCAL
722 VERSION
723 PACKAGE
724 CYGPATH_W
725 am__isrc
726 INSTALL_DATA
727 INSTALL_SCRIPT
728 INSTALL_PROGRAM
729 EGREP
730 GREP
732 OBJEXT
733 EXEEXT
734 ac_ct_CC
735 CPPFLAGS
736 LDFLAGS
737 CFLAGS
739 target_os
740 target_vendor
741 target_cpu
742 target
743 host_os
744 host_vendor
745 host_cpu
746 host
747 build_os
748 build_vendor
749 build_cpu
750 build
751 QUVI_AGE
752 QUVI_REVISION
753 QUVI_CURRENT
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_dependency_tracking
796 enable_shared
797 enable_static
798 with_pic
799 enable_fast_install
800 with_gnu_ld
801 with_sysroot
802 enable_libtool_lock
803 enable_rpath
804 with_libiconv_prefix
805 enable_silent_rules
806 enable_quvi
807 enable_examples
808 enable_nsfw
809 enable_tests
810 enable_broken
811 with_man
812 with_doc
814 ac_precious_vars='build_alias
815 host_alias
816 target_alias
818 CFLAGS
819 LDFLAGS
820 LIBS
821 CPPFLAGS
824 CXXFLAGS
826 CXXCPP
827 PKG_CONFIG
828 PKG_CONFIG_PATH
829 PKG_CONFIG_LIBDIR
830 libcurl_CFLAGS
831 libcurl_LIBS
832 liblua_CFLAGS
833 liblua_LIBS'
836 # Initialize some variables set by options.
837 ac_init_help=
838 ac_init_version=false
839 ac_unrecognized_opts=
840 ac_unrecognized_sep=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
843 cache_file=/dev/null
844 exec_prefix=NONE
845 no_create=
846 no_recursion=
847 prefix=NONE
848 program_prefix=NONE
849 program_suffix=NONE
850 program_transform_name=s,x,x,
851 silent=
852 site=
853 srcdir=
854 verbose=
855 x_includes=NONE
856 x_libraries=NONE
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir='${exec_prefix}/bin'
865 sbindir='${exec_prefix}/sbin'
866 libexecdir='${exec_prefix}/libexec'
867 datarootdir='${prefix}/share'
868 datadir='${datarootdir}'
869 sysconfdir='${prefix}/etc'
870 sharedstatedir='${prefix}/com'
871 localstatedir='${prefix}/var'
872 includedir='${prefix}/include'
873 oldincludedir='/usr/include'
874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir='${datarootdir}/info'
876 htmldir='${docdir}'
877 dvidir='${docdir}'
878 pdfdir='${docdir}'
879 psdir='${docdir}'
880 libdir='${exec_prefix}/lib'
881 localedir='${datarootdir}/locale'
882 mandir='${datarootdir}/man'
884 ac_prev=
885 ac_dashdash=
886 for ac_option
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\$ac_option
891 ac_prev=
892 continue
895 case $ac_option in
896 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 *=) ac_optarg= ;;
898 *) ac_optarg=yes ;;
899 esac
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
905 ac_dashdash=yes ;;
907 -bindir | --bindir | --bindi | --bind | --bin | --bi)
908 ac_prev=bindir ;;
909 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
910 bindir=$ac_optarg ;;
912 -build | --build | --buil | --bui | --bu)
913 ac_prev=build_alias ;;
914 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
915 build_alias=$ac_optarg ;;
917 -cache-file | --cache-file | --cache-fil | --cache-fi \
918 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
919 ac_prev=cache_file ;;
920 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
921 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
922 cache_file=$ac_optarg ;;
924 --config-cache | -C)
925 cache_file=config.cache ;;
927 -datadir | --datadir | --datadi | --datad)
928 ac_prev=datadir ;;
929 -datadir=* | --datadir=* | --datadi=* | --datad=*)
930 datadir=$ac_optarg ;;
932 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
933 | --dataroo | --dataro | --datar)
934 ac_prev=datarootdir ;;
935 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
936 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
937 datarootdir=$ac_optarg ;;
939 -disable-* | --disable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 as_fn_error $? "invalid feature name: $ac_useropt"
944 ac_useropt_orig=$ac_useropt
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
948 "enable_$ac_useropt"
949 "*) ;;
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep=', ';;
952 esac
953 eval enable_$ac_useropt=no ;;
955 -docdir | --docdir | --docdi | --doc | --do)
956 ac_prev=docdir ;;
957 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
958 docdir=$ac_optarg ;;
960 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
961 ac_prev=dvidir ;;
962 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
963 dvidir=$ac_optarg ;;
965 -enable-* | --enable-*)
966 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 as_fn_error $? "invalid feature name: $ac_useropt"
970 ac_useropt_orig=$ac_useropt
971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
974 "enable_$ac_useropt"
975 "*) ;;
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep=', ';;
978 esac
979 eval enable_$ac_useropt=\$ac_optarg ;;
981 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
982 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
983 | --exec | --exe | --ex)
984 ac_prev=exec_prefix ;;
985 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
986 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
987 | --exec=* | --exe=* | --ex=*)
988 exec_prefix=$ac_optarg ;;
990 -gas | --gas | --ga | --g)
991 # Obsolete; use --with-gas.
992 with_gas=yes ;;
994 -help | --help | --hel | --he | -h)
995 ac_init_help=long ;;
996 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
997 ac_init_help=recursive ;;
998 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
999 ac_init_help=short ;;
1001 -host | --host | --hos | --ho)
1002 ac_prev=host_alias ;;
1003 -host=* | --host=* | --hos=* | --ho=*)
1004 host_alias=$ac_optarg ;;
1006 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1007 ac_prev=htmldir ;;
1008 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009 | --ht=*)
1010 htmldir=$ac_optarg ;;
1012 -includedir | --includedir | --includedi | --included | --include \
1013 | --includ | --inclu | --incl | --inc)
1014 ac_prev=includedir ;;
1015 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1016 | --includ=* | --inclu=* | --incl=* | --inc=*)
1017 includedir=$ac_optarg ;;
1019 -infodir | --infodir | --infodi | --infod | --info | --inf)
1020 ac_prev=infodir ;;
1021 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1022 infodir=$ac_optarg ;;
1024 -libdir | --libdir | --libdi | --libd)
1025 ac_prev=libdir ;;
1026 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1027 libdir=$ac_optarg ;;
1029 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1030 | --libexe | --libex | --libe)
1031 ac_prev=libexecdir ;;
1032 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1033 | --libexe=* | --libex=* | --libe=*)
1034 libexecdir=$ac_optarg ;;
1036 -localedir | --localedir | --localedi | --localed | --locale)
1037 ac_prev=localedir ;;
1038 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1039 localedir=$ac_optarg ;;
1041 -localstatedir | --localstatedir | --localstatedi | --localstated \
1042 | --localstate | --localstat | --localsta | --localst | --locals)
1043 ac_prev=localstatedir ;;
1044 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1045 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1046 localstatedir=$ac_optarg ;;
1048 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1049 ac_prev=mandir ;;
1050 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1051 mandir=$ac_optarg ;;
1053 -nfp | --nfp | --nf)
1054 # Obsolete; use --without-fp.
1055 with_fp=no ;;
1057 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1058 | --no-cr | --no-c | -n)
1059 no_create=yes ;;
1061 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1062 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1063 no_recursion=yes ;;
1065 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1066 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1067 | --oldin | --oldi | --old | --ol | --o)
1068 ac_prev=oldincludedir ;;
1069 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1070 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1071 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1072 oldincludedir=$ac_optarg ;;
1074 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1075 ac_prev=prefix ;;
1076 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1077 prefix=$ac_optarg ;;
1079 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1080 | --program-pre | --program-pr | --program-p)
1081 ac_prev=program_prefix ;;
1082 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1083 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1084 program_prefix=$ac_optarg ;;
1086 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1087 | --program-suf | --program-su | --program-s)
1088 ac_prev=program_suffix ;;
1089 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1090 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1091 program_suffix=$ac_optarg ;;
1093 -program-transform-name | --program-transform-name \
1094 | --program-transform-nam | --program-transform-na \
1095 | --program-transform-n | --program-transform- \
1096 | --program-transform | --program-transfor \
1097 | --program-transfo | --program-transf \
1098 | --program-trans | --program-tran \
1099 | --progr-tra | --program-tr | --program-t)
1100 ac_prev=program_transform_name ;;
1101 -program-transform-name=* | --program-transform-name=* \
1102 | --program-transform-nam=* | --program-transform-na=* \
1103 | --program-transform-n=* | --program-transform-=* \
1104 | --program-transform=* | --program-transfor=* \
1105 | --program-transfo=* | --program-transf=* \
1106 | --program-trans=* | --program-tran=* \
1107 | --progr-tra=* | --program-tr=* | --program-t=*)
1108 program_transform_name=$ac_optarg ;;
1110 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1111 ac_prev=pdfdir ;;
1112 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1113 pdfdir=$ac_optarg ;;
1115 -psdir | --psdir | --psdi | --psd | --ps)
1116 ac_prev=psdir ;;
1117 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1118 psdir=$ac_optarg ;;
1120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1121 | -silent | --silent | --silen | --sile | --sil)
1122 silent=yes ;;
1124 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1125 ac_prev=sbindir ;;
1126 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1127 | --sbi=* | --sb=*)
1128 sbindir=$ac_optarg ;;
1130 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1131 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1132 | --sharedst | --shareds | --shared | --share | --shar \
1133 | --sha | --sh)
1134 ac_prev=sharedstatedir ;;
1135 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1136 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1137 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1138 | --sha=* | --sh=*)
1139 sharedstatedir=$ac_optarg ;;
1141 -site | --site | --sit)
1142 ac_prev=site ;;
1143 -site=* | --site=* | --sit=*)
1144 site=$ac_optarg ;;
1146 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1147 ac_prev=srcdir ;;
1148 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1149 srcdir=$ac_optarg ;;
1151 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1152 | --syscon | --sysco | --sysc | --sys | --sy)
1153 ac_prev=sysconfdir ;;
1154 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1155 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1156 sysconfdir=$ac_optarg ;;
1158 -target | --target | --targe | --targ | --tar | --ta | --t)
1159 ac_prev=target_alias ;;
1160 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1161 target_alias=$ac_optarg ;;
1163 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1164 verbose=yes ;;
1166 -version | --version | --versio | --versi | --vers | -V)
1167 ac_init_version=: ;;
1169 -with-* | --with-*)
1170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 as_fn_error $? "invalid package name: $ac_useropt"
1174 ac_useropt_orig=$ac_useropt
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1178 "with_$ac_useropt"
1179 "*) ;;
1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep=', ';;
1182 esac
1183 eval with_$ac_useropt=\$ac_optarg ;;
1185 -without-* | --without-*)
1186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1189 as_fn_error $? "invalid package name: $ac_useropt"
1190 ac_useropt_orig=$ac_useropt
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1194 "with_$ac_useropt"
1195 "*) ;;
1196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep=', ';;
1198 esac
1199 eval with_$ac_useropt=no ;;
1201 --x)
1202 # Obsolete; use --with-x.
1203 with_x=yes ;;
1205 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1206 | --x-incl | --x-inc | --x-in | --x-i)
1207 ac_prev=x_includes ;;
1208 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1209 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1210 x_includes=$ac_optarg ;;
1212 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1213 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1214 ac_prev=x_libraries ;;
1215 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1217 x_libraries=$ac_optarg ;;
1219 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information"
1223 *=*)
1224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' | [0-9]* | *[!_$as_cr_alnum]* )
1228 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1229 esac
1230 eval $ac_envvar=\$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 esac
1242 done
1244 if test -n "$ac_prev"; then
1245 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error $? "missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1251 no) ;;
1252 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 esac
1257 # Check all directory arguments for consistency.
1258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val=\$$ac_var
1264 # Remove trailing slashes.
1265 case $ac_val in
1266 */ )
1267 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\$ac_val;;
1269 esac
1270 # Be sure to have absolute directory names.
1271 case $ac_val in
1272 [\\/$]* | ?:[\\/]* ) continue;;
1273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274 esac
1275 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1276 done
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1281 build=$build_alias
1282 host=$host_alias
1283 target=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x; then
1287 if test "x$build_alias" = x; then
1288 cross_compiling=maybe
1289 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used" >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1292 cross_compiling=yes
1296 ac_tool_prefix=
1297 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299 test "$silent" = yes && exec 6>/dev/null
1302 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di=`ls -di .` &&
1304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $? "working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $? "pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1321 s//\1/
1324 /^X\(\/\/\)[^/].*/{
1325 s//\1/
1328 /^X\(\/\/\)$/{
1329 s//\1/
1332 /^X\(\/\).*/{
1333 s//\1/
1336 s/.*/./; q'`
1337 srcdir=$ac_confdir
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 srcdir=..
1341 else
1342 ac_srcdir_defaulted=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1346 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 ac_abs_confdir=`(
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 pwd)`
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 srcdir=.
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1359 case $srcdir in
1360 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 esac
1362 for ac_var in $ac_precious_vars; do
1363 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_${ac_var}_value=\$${ac_var}
1365 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1367 done
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1375 cat <<_ACEOF
1376 \`configure' configures quvi 0.2.10 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1385 Configuration:
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1400 [PREFIX]
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1429 _ACEOF
1431 cat <<\_ACEOF
1433 Program names:
1434 --program-prefix=PREFIX prepend PREFIX to installed program names
1435 --program-suffix=SUFFIX append SUFFIX to installed program names
1436 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1438 System types:
1439 --build=BUILD configure for building on BUILD [guessed]
1440 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1441 --target=TARGET configure for building compilers for TARGET [HOST]
1442 _ACEOF
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive ) echo "Configuration of quvi 0.2.10:";;
1448 esac
1449 cat <<\_ACEOF
1451 Optional Features:
1452 --disable-option-checking ignore unrecognized --enable/--with options
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --disable-dependency-tracking speeds up one-time build
1456 --enable-dependency-tracking do not reject slow dependency extractors
1457 --enable-shared[=PKGS] build shared libraries [default=yes]
1458 --enable-static[=PKGS] build static libraries [default=yes]
1459 --enable-fast-install[=PKGS]
1460 optimize for fast installation [default=yes]
1461 --disable-libtool-lock avoid locking (might break parallel builds)
1462 --disable-rpath do not hardcode runtime library paths
1463 --enable-silent-rules less verbose build output (undo: `make V=1')
1464 --disable-silent-rules verbose build output (undo: `make V=0')
1465 --enable-quvi build quvi command line tool[default=yes]
1466 --enable-examples build examples [default=no]
1467 --enable-nsfw build with adult website support [default=no]
1468 --enable-tests enable tests [default=no]
1469 --enable-broken build with broken website support [default=no]
1471 Optional Packages:
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --with-pic try to use only PIC/non-PIC objects [default=use
1475 both]
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot=DIR Search for dependent libraries within DIR
1478 (or the compiler's sysroot if not specified).
1479 --with-gnu-ld assume the C compiler uses GNU ld default=no
1480 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1481 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1482 --with-man install manual pages [default=yes]
1483 --with-doc install documentation [default=yes]
1485 Some influential environment variables:
1486 CC C compiler command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1489 nonstandard directory <lib dir>
1490 LIBS libraries to pass to the linker, e.g. -l<library>
1491 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492 you have headers in a nonstandard directory <include dir>
1493 CPP C preprocessor
1494 CXX C++ compiler command
1495 CXXFLAGS C++ compiler flags
1496 CXXCPP C++ preprocessor
1497 PKG_CONFIG path to pkg-config utility
1498 PKG_CONFIG_PATH
1499 directories to add to pkg-config's search path
1500 PKG_CONFIG_LIBDIR
1501 path overriding pkg-config's built-in search path
1502 libcurl_CFLAGS
1503 C compiler flags for libcurl, overriding pkg-config
1504 libcurl_LIBS
1505 linker flags for libcurl, overriding pkg-config
1506 liblua_CFLAGS
1507 C compiler flags for liblua, overriding pkg-config
1508 liblua_LIBS linker flags for liblua, overriding pkg-config
1510 Use these variables to override the choices made by `configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
1514 quvi home page: <http://quvi.sourceforge.net/>.
1515 _ACEOF
1516 ac_status=$?
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 continue
1525 ac_builddir=.
1527 case "$ac_dir" in
1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536 esac ;;
1537 esac
1538 ac_abs_top_builddir=$ac_pwd
1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir=$ac_top_build_prefix
1543 case $srcdir in
1544 .) # We are building in place.
1545 ac_srcdir=.
1546 ac_top_srcdir=$ac_top_builddir_sub
1547 ac_abs_top_srcdir=$ac_pwd ;;
1548 [\\/]* | ?:[\\/]* ) # Absolute name.
1549 ac_srcdir=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir=$srcdir
1551 ac_abs_top_srcdir=$srcdir ;;
1552 *) # Relative name.
1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 esac
1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" || { ac_status=$?; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1562 echo &&
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1565 echo &&
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1567 else
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 fi || ac_status=$?
1570 cd "$ac_pwd" || { ac_status=$?; break; }
1571 done
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1576 cat <<\_ACEOF
1577 quvi configure 0.2.10
1578 generated by GNU Autoconf 2.68
1580 Copyright (C) 2010 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1583 _ACEOF
1584 exit
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext
1598 if { { ac_try="$ac_compile"
1599 case "(($ac_try" in
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1602 esac
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1606 ac_status=$?
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.$ac_objext; then :
1617 ac_retval=0
1618 else
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1622 ac_retval=1
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 ac_fn_c_try_cpp ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if { { ac_try="$ac_cpp conftest.$ac_ext"
1636 case "(($ac_try" in
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1639 esac
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 ac_status=$?
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i && {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1653 }; then :
1654 ac_retval=0
1655 else
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1659 ac_retval=1
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1664 } # ac_fn_c_try_cpp
1666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1669 # the include files in INCLUDES and setting the cache variable VAR
1670 # accordingly.
1671 ac_fn_c_check_header_mongrel ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if eval \${$3+:} false; then :
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1680 eval ac_res=\$$3
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1683 else
1684 # Is the header compilable?
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1686 $as_echo_n "checking $2 usability... " >&6; }
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1690 #include <$2>
1691 _ACEOF
1692 if ac_fn_c_try_compile "$LINENO"; then :
1693 ac_header_compiler=yes
1694 else
1695 ac_header_compiler=no
1697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1699 $as_echo "$ac_header_compiler" >&6; }
1701 # Is the header present?
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1703 $as_echo_n "checking $2 presence... " >&6; }
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1706 #include <$2>
1707 _ACEOF
1708 if ac_fn_c_try_cpp "$LINENO"; then :
1709 ac_header_preproc=yes
1710 else
1711 ac_header_preproc=no
1713 rm -f conftest.err conftest.i conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1715 $as_echo "$ac_header_preproc" >&6; }
1717 # So? What about this header?
1718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1719 yes:no: )
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 no:yes:* )
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 ( $as_echo "## ---------------------------------------------------- ##
1737 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1738 ## ---------------------------------------------------- ##"
1739 ) | sed "s/^/$as_me: WARNING: /" >&2
1741 esac
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1746 else
1747 eval "$3=\$ac_header_compiler"
1749 eval ac_res=\$$3
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_header_mongrel
1757 # ac_fn_c_try_run LINENO
1758 # ----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1760 # that executables *can* be run.
1761 ac_fn_c_try_run ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_link"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>&5
1772 ac_status=$?
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1775 { { case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_try") 2>&5
1782 ac_status=$?
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; }; }; then :
1785 ac_retval=0
1786 else
1787 $as_echo "$as_me: program exited with status $ac_status" >&5
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 ac_retval=$ac_status
1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1797 } # ac_fn_c_try_run
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1810 else
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1814 #include <$2>
1815 _ACEOF
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817 eval "$3=yes"
1818 else
1819 eval "$3=no"
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 eval ac_res=\$$3
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_compile
1830 # ac_fn_c_try_link LINENO
1831 # -----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded.
1833 ac_fn_c_try_link ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 rm -f conftest.$ac_objext conftest$ac_exeext
1837 if { { ac_try="$ac_link"
1838 case "(($ac_try" in
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>conftest.err
1845 ac_status=$?
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest$ac_exeext && {
1856 test "$cross_compiling" = yes ||
1857 $as_test_x conftest$ac_exeext
1858 }; then :
1859 ac_retval=0
1860 else
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1864 ac_retval=1
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1868 # interfere with the next link command; also delete a directory that is
1869 # left behind by Apple's compiler. We do this before executing the actions.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1874 } # ac_fn_c_try_link
1876 # ac_fn_c_check_func LINENO FUNC VAR
1877 # ----------------------------------
1878 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1879 ac_fn_c_check_func ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if eval \${$3+:} false; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1891 #define $2 innocuous_$2
1893 /* System header to define __stub macros and hopefully few prototypes,
1894 which can conflict with char $2 (); below.
1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896 <limits.h> exists even on freestanding compilers. */
1898 #ifdef __STDC__
1899 # include <limits.h>
1900 #else
1901 # include <assert.h>
1902 #endif
1904 #undef $2
1906 /* Override any GCC internal prototype to avoid an error.
1907 Use char because int might match the return type of a GCC
1908 builtin and then its argument prototype would still apply. */
1909 #ifdef __cplusplus
1910 extern "C"
1911 #endif
1912 char $2 ();
1913 /* The GNU C library defines this for functions which it implements
1914 to always fail with ENOSYS. Some functions are actually named
1915 something starting with __ and the normal name is an alias. */
1916 #if defined __stub_$2 || defined __stub___$2
1917 choke me
1918 #endif
1921 main ()
1923 return $2 ();
1925 return 0;
1927 _ACEOF
1928 if ac_fn_c_try_link "$LINENO"; then :
1929 eval "$3=yes"
1930 else
1931 eval "$3=no"
1933 rm -f core conftest.err conftest.$ac_objext \
1934 conftest$ac_exeext conftest.$ac_ext
1936 eval ac_res=\$$3
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_func
1943 # ac_fn_cxx_try_compile LINENO
1944 # ----------------------------
1945 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_cxx_try_compile ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext
1950 if { { ac_try="$ac_compile"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_compile") 2>conftest.err
1958 ac_status=$?
1959 if test -s conftest.err; then
1960 grep -v '^ *+' conftest.err >conftest.er1
1961 cat conftest.er1 >&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_cxx_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest.$ac_objext; then :
1969 ac_retval=0
1970 else
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.$ac_ext >&5
1974 ac_retval=1
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status $ac_retval
1979 } # ac_fn_cxx_try_compile
1981 # ac_fn_cxx_try_cpp LINENO
1982 # ------------------------
1983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_cpp conftest.$ac_ext"
1988 case "(($ac_try" in
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1991 esac
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1995 ac_status=$?
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } > conftest.i && {
2003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2005 }; then :
2006 ac_retval=0
2007 else
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2011 ac_retval=1
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 as_fn_set_status $ac_retval
2016 } # ac_fn_cxx_try_cpp
2018 # ac_fn_cxx_try_link LINENO
2019 # -------------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 rm -f conftest.$ac_objext conftest$ac_exeext
2025 if { { ac_try="$ac_link"
2026 case "(($ac_try" in
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>conftest.err
2033 ac_status=$?
2034 if test -s conftest.err; then
2035 grep -v '^ *+' conftest.err >conftest.er1
2036 cat conftest.er1 >&5
2037 mv -f conftest.er1 conftest.err
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_cxx_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest$ac_exeext && {
2044 test "$cross_compiling" = yes ||
2045 $as_test_x conftest$ac_exeext
2046 }; then :
2047 ac_retval=0
2048 else
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2052 ac_retval=1
2054 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056 # interfere with the next link command; also delete a directory that is
2057 # left behind by Apple's compiler. We do this before executing the actions.
2058 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 as_fn_set_status $ac_retval
2062 } # ac_fn_cxx_try_link
2064 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2065 # -------------------------------------------
2066 # Tests whether TYPE exists after having included INCLUDES, setting cache
2067 # variable VAR accordingly.
2068 ac_fn_c_check_type ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072 $as_echo_n "checking for $2... " >&6; }
2073 if eval \${$3+:} false; then :
2074 $as_echo_n "(cached) " >&6
2075 else
2076 eval "$3=no"
2077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2081 main ()
2083 if (sizeof ($2))
2084 return 0;
2086 return 0;
2088 _ACEOF
2089 if ac_fn_c_try_compile "$LINENO"; then :
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2094 main ()
2096 if (sizeof (($2)))
2097 return 0;
2099 return 0;
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2104 else
2105 eval "$3=yes"
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 } # ac_fn_c_check_type
2118 # ac_fn_c_find_uintX_t LINENO BITS VAR
2119 # ------------------------------------
2120 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2121 # accordingly.
2122 ac_fn_c_find_uintX_t ()
2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2126 $as_echo_n "checking for uint$2_t... " >&6; }
2127 if eval \${$3+:} false; then :
2128 $as_echo_n "(cached) " >&6
2129 else
2130 eval "$3=no"
2131 # Order is important - never check a type that is potentially smaller
2132 # than half of the expected target width.
2133 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2134 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 $ac_includes_default
2139 main ()
2141 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2142 test_array [0] = 0
2145 return 0;
2147 _ACEOF
2148 if ac_fn_c_try_compile "$LINENO"; then :
2149 case $ac_type in #(
2150 uint$2_t) :
2151 eval "$3=yes" ;; #(
2152 *) :
2153 eval "$3=\$ac_type" ;;
2154 esac
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 if eval test \"x\$"$3"\" = x"no"; then :
2159 else
2160 break
2162 done
2164 eval ac_res=\$$3
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 } # ac_fn_c_find_uintX_t
2170 cat >config.log <<_ACEOF
2171 This file contains any messages produced by compilers while
2172 running configure, to aid debugging if configure makes a mistake.
2174 It was created by quvi $as_me 0.2.10, which was
2175 generated by GNU Autoconf 2.68. Invocation command line was
2177 $ $0 $@
2179 _ACEOF
2180 exec 5>>config.log
2182 cat <<_ASUNAME
2183 ## --------- ##
2184 ## Platform. ##
2185 ## --------- ##
2187 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2188 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2189 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2190 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2191 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2193 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2194 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2196 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2197 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2198 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2199 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2200 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2201 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2202 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2204 _ASUNAME
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2209 IFS=$as_save_IFS
2210 test -z "$as_dir" && as_dir=.
2211 $as_echo "PATH: $as_dir"
2212 done
2213 IFS=$as_save_IFS
2215 } >&5
2217 cat >&5 <<_ACEOF
2220 ## ----------- ##
2221 ## Core tests. ##
2222 ## ----------- ##
2224 _ACEOF
2227 # Keep a trace of the command line.
2228 # Strip out --no-create and --no-recursion so they do not pile up.
2229 # Strip out --silent because we don't want to record it for future runs.
2230 # Also quote any args containing shell meta-characters.
2231 # Make two passes to allow for proper duplicate-argument suppression.
2232 ac_configure_args=
2233 ac_configure_args0=
2234 ac_configure_args1=
2235 ac_must_keep_next=false
2236 for ac_pass in 1 2
2238 for ac_arg
2240 case $ac_arg in
2241 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2243 | -silent | --silent | --silen | --sile | --sil)
2244 continue ;;
2245 *\'*)
2246 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 esac
2248 case $ac_pass in
2249 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2251 as_fn_append ac_configure_args1 " '$ac_arg'"
2252 if test $ac_must_keep_next = true; then
2253 ac_must_keep_next=false # Got value, back to normal.
2254 else
2255 case $ac_arg in
2256 *=* | --config-cache | -C | -disable-* | --disable-* \
2257 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2258 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2259 | -with-* | --with-* | -without-* | --without-* | --x)
2260 case "$ac_configure_args0 " in
2261 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2262 esac
2264 -* ) ac_must_keep_next=true ;;
2265 esac
2267 as_fn_append ac_configure_args " '$ac_arg'"
2269 esac
2270 done
2271 done
2272 { ac_configure_args0=; unset ac_configure_args0;}
2273 { ac_configure_args1=; unset ac_configure_args1;}
2275 # When interrupted or exit'd, cleanup temporary files, and complete
2276 # config.log. We remove comments because anyway the quotes in there
2277 # would cause problems or look ugly.
2278 # WARNING: Use '\'' to represent an apostrophe within the trap.
2279 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2280 trap 'exit_status=$?
2281 # Save into config.log some information that might help in debugging.
2283 echo
2285 $as_echo "## ---------------- ##
2286 ## Cache variables. ##
2287 ## ---------------- ##"
2288 echo
2289 # The following way of writing the cache mishandles newlines in values,
2291 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2292 eval ac_val=\$$ac_var
2293 case $ac_val in #(
2294 *${as_nl}*)
2295 case $ac_var in #(
2296 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2297 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2298 esac
2299 case $ac_var in #(
2300 _ | IFS | as_nl) ;; #(
2301 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2302 *) { eval $ac_var=; unset $ac_var;} ;;
2303 esac ;;
2304 esac
2305 done
2306 (set) 2>&1 |
2307 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2308 *${as_nl}ac_space=\ *)
2309 sed -n \
2310 "s/'\''/'\''\\\\'\'''\''/g;
2311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2312 ;; #(
2314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2316 esac |
2317 sort
2319 echo
2321 $as_echo "## ----------------- ##
2322 ## Output variables. ##
2323 ## ----------------- ##"
2324 echo
2325 for ac_var in $ac_subst_vars
2327 eval ac_val=\$$ac_var
2328 case $ac_val in
2329 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2330 esac
2331 $as_echo "$ac_var='\''$ac_val'\''"
2332 done | sort
2333 echo
2335 if test -n "$ac_subst_files"; then
2336 $as_echo "## ------------------- ##
2337 ## File substitutions. ##
2338 ## ------------------- ##"
2339 echo
2340 for ac_var in $ac_subst_files
2342 eval ac_val=\$$ac_var
2343 case $ac_val in
2344 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2345 esac
2346 $as_echo "$ac_var='\''$ac_val'\''"
2347 done | sort
2348 echo
2351 if test -s confdefs.h; then
2352 $as_echo "## ----------- ##
2353 ## confdefs.h. ##
2354 ## ----------- ##"
2355 echo
2356 cat confdefs.h
2357 echo
2359 test "$ac_signal" != 0 &&
2360 $as_echo "$as_me: caught signal $ac_signal"
2361 $as_echo "$as_me: exit $exit_status"
2362 } >&5
2363 rm -f core *.core core.conftest.* &&
2364 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2365 exit $exit_status
2367 for ac_signal in 1 2 13 15; do
2368 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2369 done
2370 ac_signal=0
2372 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2373 rm -f -r conftest* confdefs.h
2375 $as_echo "/* confdefs.h */" > confdefs.h
2377 # Predefined preprocessor variables.
2379 cat >>confdefs.h <<_ACEOF
2380 #define PACKAGE_NAME "$PACKAGE_NAME"
2381 _ACEOF
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2385 _ACEOF
2387 cat >>confdefs.h <<_ACEOF
2388 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2389 _ACEOF
2391 cat >>confdefs.h <<_ACEOF
2392 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 _ACEOF
2395 cat >>confdefs.h <<_ACEOF
2396 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 _ACEOF
2399 cat >>confdefs.h <<_ACEOF
2400 #define PACKAGE_URL "$PACKAGE_URL"
2401 _ACEOF
2404 # Let the site file select an alternate cache file if it wants to.
2405 # Prefer an explicitly selected file to automatically selected ones.
2406 ac_site_file1=NONE
2407 ac_site_file2=NONE
2408 if test -n "$CONFIG_SITE"; then
2409 # We do not want a PATH search for config.site.
2410 case $CONFIG_SITE in #((
2411 -*) ac_site_file1=./$CONFIG_SITE;;
2412 */*) ac_site_file1=$CONFIG_SITE;;
2413 *) ac_site_file1=./$CONFIG_SITE;;
2414 esac
2415 elif test "x$prefix" != xNONE; then
2416 ac_site_file1=$prefix/share/config.site
2417 ac_site_file2=$prefix/etc/config.site
2418 else
2419 ac_site_file1=$ac_default_prefix/share/config.site
2420 ac_site_file2=$ac_default_prefix/etc/config.site
2422 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2424 test "x$ac_site_file" = xNONE && continue
2425 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2427 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2428 sed 's/^/| /' "$ac_site_file" >&5
2429 . "$ac_site_file" \
2430 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432 as_fn_error $? "failed to load site script $ac_site_file
2433 See \`config.log' for more details" "$LINENO" 5; }
2435 done
2437 if test -r "$cache_file"; then
2438 # Some versions of bash will fail to source /dev/null (special files
2439 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2440 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2442 $as_echo "$as_me: loading cache $cache_file" >&6;}
2443 case $cache_file in
2444 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2445 *) . "./$cache_file";;
2446 esac
2448 else
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2450 $as_echo "$as_me: creating cache $cache_file" >&6;}
2451 >$cache_file
2454 # Check that the precious variables saved in the cache have kept the same
2455 # value.
2456 ac_cache_corrupted=false
2457 for ac_var in $ac_precious_vars; do
2458 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2459 eval ac_new_set=\$ac_env_${ac_var}_set
2460 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2461 eval ac_new_val=\$ac_env_${ac_var}_value
2462 case $ac_old_set,$ac_new_set in
2463 set,)
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2465 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2466 ac_cache_corrupted=: ;;
2467 ,set)
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2469 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2470 ac_cache_corrupted=: ;;
2471 ,);;
2473 if test "x$ac_old_val" != "x$ac_new_val"; then
2474 # differences in whitespace do not lead to failure.
2475 ac_old_val_w=`echo x $ac_old_val`
2476 ac_new_val_w=`echo x $ac_new_val`
2477 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2479 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2480 ac_cache_corrupted=:
2481 else
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2483 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2484 eval $ac_var=\$ac_old_val
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2487 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2489 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2490 fi;;
2491 esac
2492 # Pass precious variables to config.status.
2493 if test "$ac_new_set" = set; then
2494 case $ac_new_val in
2495 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2496 *) ac_arg=$ac_var=$ac_new_val ;;
2497 esac
2498 case " $ac_configure_args " in
2499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2500 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2501 esac
2503 done
2504 if $ac_cache_corrupted; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2509 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2511 ## -------------------- ##
2512 ## Main body of script. ##
2513 ## -------------------- ##
2515 ac_ext=c
2516 ac_cpp='$CPP $CPPFLAGS'
2517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2523 # Interface:
2524 QUVI_CURRENT=3
2525 QUVI_REVISION=2
2526 QUVI_AGE=3
2532 ac_config_headers="$ac_config_headers config.h"
2534 ac_aux_dir=
2535 for ac_dir in config.aux "$srcdir"/config.aux; do
2536 if test -f "$ac_dir/install-sh"; then
2537 ac_aux_dir=$ac_dir
2538 ac_install_sh="$ac_aux_dir/install-sh -c"
2539 break
2540 elif test -f "$ac_dir/install.sh"; then
2541 ac_aux_dir=$ac_dir
2542 ac_install_sh="$ac_aux_dir/install.sh -c"
2543 break
2544 elif test -f "$ac_dir/shtool"; then
2545 ac_aux_dir=$ac_dir
2546 ac_install_sh="$ac_aux_dir/shtool install -c"
2547 break
2549 done
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2565 # Make sure we can run config.sub.
2566 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2567 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2570 $as_echo_n "checking build system type... " >&6; }
2571 if ${ac_cv_build+:} false; then :
2572 $as_echo_n "(cached) " >&6
2573 else
2574 ac_build_alias=$build_alias
2575 test "x$ac_build_alias" = x &&
2576 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2577 test "x$ac_build_alias" = x &&
2578 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2579 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2580 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2584 $as_echo "$ac_cv_build" >&6; }
2585 case $ac_cv_build in
2586 *-*-*) ;;
2587 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2588 esac
2589 build=$ac_cv_build
2590 ac_save_IFS=$IFS; IFS='-'
2591 set x $ac_cv_build
2592 shift
2593 build_cpu=$1
2594 build_vendor=$2
2595 shift; shift
2596 # Remember, the first character of IFS is used to create $*,
2597 # except with old shells:
2598 build_os=$*
2599 IFS=$ac_save_IFS
2600 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2604 $as_echo_n "checking host system type... " >&6; }
2605 if ${ac_cv_host+:} false; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 if test "x$host_alias" = x; then
2609 ac_cv_host=$ac_cv_build
2610 else
2611 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2612 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2617 $as_echo "$ac_cv_host" >&6; }
2618 case $ac_cv_host in
2619 *-*-*) ;;
2620 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2621 esac
2622 host=$ac_cv_host
2623 ac_save_IFS=$IFS; IFS='-'
2624 set x $ac_cv_host
2625 shift
2626 host_cpu=$1
2627 host_vendor=$2
2628 shift; shift
2629 # Remember, the first character of IFS is used to create $*,
2630 # except with old shells:
2631 host_os=$*
2632 IFS=$ac_save_IFS
2633 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2637 $as_echo_n "checking target system type... " >&6; }
2638 if ${ac_cv_target+:} false; then :
2639 $as_echo_n "(cached) " >&6
2640 else
2641 if test "x$target_alias" = x; then
2642 ac_cv_target=$ac_cv_host
2643 else
2644 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2645 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2650 $as_echo "$ac_cv_target" >&6; }
2651 case $ac_cv_target in
2652 *-*-*) ;;
2653 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2654 esac
2655 target=$ac_cv_target
2656 ac_save_IFS=$IFS; IFS='-'
2657 set x $ac_cv_target
2658 shift
2659 target_cpu=$1
2660 target_vendor=$2
2661 shift; shift
2662 # Remember, the first character of IFS is used to create $*,
2663 # except with old shells:
2664 target_os=$*
2665 IFS=$ac_save_IFS
2666 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2669 # The aliases save the names the user supplied, while $host etc.
2670 # will get canonicalized.
2671 test -n "$target_alias" &&
2672 test "$program_prefix$program_suffix$program_transform_name" = \
2673 NONENONEs,x,x, &&
2674 program_prefix=${target_alias}-
2676 ac_ext=c
2677 ac_cpp='$CPP $CPPFLAGS'
2678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681 if test -n "$ac_tool_prefix"; then
2682 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2683 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if ${ac_cv_prog_CC+:} false; then :
2687 $as_echo_n "(cached) " >&6
2688 else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2695 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 break 2
2703 done
2704 done
2705 IFS=$as_save_IFS
2709 CC=$ac_cv_prog_CC
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2713 else
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$ac_cv_prog_CC"; then
2721 ac_ct_CC=$CC
2722 # Extract the first word of "gcc", so it can be a program name with args.
2723 set dummy gcc; ac_word=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 if test -n "$ac_ct_CC"; then
2730 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2731 else
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 for as_dir in $PATH
2735 IFS=$as_save_IFS
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_ac_ct_CC="gcc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 break 2
2743 done
2744 done
2745 IFS=$as_save_IFS
2749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2750 if test -n "$ac_ct_CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2752 $as_echo "$ac_ct_CC" >&6; }
2753 else
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2758 if test "x$ac_ct_CC" = x; then
2759 CC=""
2760 else
2761 case $cross_compiling:$ac_tool_warned in
2762 yes:)
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2765 ac_tool_warned=yes ;;
2766 esac
2767 CC=$ac_ct_CC
2769 else
2770 CC="$ac_cv_prog_CC"
2773 if test -z "$CC"; then
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2776 set dummy ${ac_tool_prefix}cc; ac_word=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if ${ac_cv_prog_CC+:} false; then :
2780 $as_echo_n "(cached) " >&6
2781 else
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2784 else
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 for as_dir in $PATH
2788 IFS=$as_save_IFS
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_CC="${ac_tool_prefix}cc"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 break 2
2796 done
2797 done
2798 IFS=$as_save_IFS
2802 CC=$ac_cv_prog_CC
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2806 else
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2814 if test -z "$CC"; then
2815 # Extract the first word of "cc", so it can be a program name with args.
2816 set dummy cc; ac_word=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if ${ac_cv_prog_CC+:} false; then :
2820 $as_echo_n "(cached) " >&6
2821 else
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 else
2825 ac_prog_rejected=no
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2829 IFS=$as_save_IFS
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2834 ac_prog_rejected=yes
2835 continue
2837 ac_cv_prog_CC="cc"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 break 2
2841 done
2842 done
2843 IFS=$as_save_IFS
2845 if test $ac_prog_rejected = yes; then
2846 # We found a bogon in the path, so make sure we never use it.
2847 set dummy $ac_cv_prog_CC
2848 shift
2849 if test $# != 0; then
2850 # We chose a different compiler from the bogus one.
2851 # However, it has the same basename, so the bogon will be chosen
2852 # first if we set CC to just the basename; use the full file name.
2853 shift
2854 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2859 CC=$ac_cv_prog_CC
2860 if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862 $as_echo "$CC" >&6; }
2863 else
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2870 if test -z "$CC"; then
2871 if test -n "$ac_tool_prefix"; then
2872 for ac_prog in cl.exe
2874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if ${ac_cv_prog_CC+:} false; then :
2879 $as_echo_n "(cached) " >&6
2880 else
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC="$CC" # Let the user override the test.
2883 else
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 for as_dir in $PATH
2887 IFS=$as_save_IFS
2888 test -z "$as_dir" && as_dir=.
2889 for ac_exec_ext in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 break 2
2895 done
2896 done
2897 IFS=$as_save_IFS
2901 CC=$ac_cv_prog_CC
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2905 else
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2911 test -n "$CC" && break
2912 done
2914 if test -z "$CC"; then
2915 ac_ct_CC=$CC
2916 for ac_prog in cl.exe
2918 # Extract the first word of "$ac_prog", so it can be a program name with args.
2919 set dummy $ac_prog; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2923 $as_echo_n "(cached) " >&6
2924 else
2925 if test -n "$ac_ct_CC"; then
2926 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2927 else
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2931 IFS=$as_save_IFS
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_ac_ct_CC="$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 break 2
2939 done
2940 done
2941 IFS=$as_save_IFS
2945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2946 if test -n "$ac_ct_CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2948 $as_echo "$ac_ct_CC" >&6; }
2949 else
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2955 test -n "$ac_ct_CC" && break
2956 done
2958 if test "x$ac_ct_CC" = x; then
2959 CC=""
2960 else
2961 case $cross_compiling:$ac_tool_warned in
2962 yes:)
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2965 ac_tool_warned=yes ;;
2966 esac
2967 CC=$ac_ct_CC
2974 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976 as_fn_error $? "no acceptable C compiler found in \$PATH
2977 See \`config.log' for more details" "$LINENO" 5; }
2979 # Provide some information about the compiler.
2980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2981 set X $ac_compile
2982 ac_compiler=$2
2983 for ac_option in --version -v -V -qversion; do
2984 { { ac_try="$ac_compiler $ac_option >&5"
2985 case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2988 esac
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2992 ac_status=$?
2993 if test -s conftest.err; then
2994 sed '10a\
2995 ... rest of stderr output deleted ...
2996 10q' conftest.err >conftest.er1
2997 cat conftest.er1 >&5
2999 rm -f conftest.er1 conftest.err
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }
3002 done
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main ()
3012 return 0;
3014 _ACEOF
3015 ac_clean_files_save=$ac_clean_files
3016 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3017 # Try to create an executable without -o first, disregard a.out.
3018 # It will help us diagnose broken compilers, and finding out an intuition
3019 # of exeext.
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3021 $as_echo_n "checking whether the C compiler works... " >&6; }
3022 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3024 # The possible output files:
3025 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3027 ac_rmfiles=
3028 for ac_file in $ac_files
3030 case $ac_file in
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3033 esac
3034 done
3035 rm -f $ac_rmfiles
3037 if { { ac_try="$ac_link_default"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_link_default") 2>&5
3045 ac_status=$?
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }; then :
3048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3050 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3051 # so that the user can short-circuit this test for compilers unknown to
3052 # Autoconf.
3053 for ac_file in $ac_files ''
3055 test -f "$ac_file" || continue
3056 case $ac_file in
3057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3059 [ab].out )
3060 # We found the default executable, but exeext='' is most
3061 # certainly right.
3062 break;;
3063 *.* )
3064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3065 then :; else
3066 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3068 # We set ac_cv_exeext here because the later test for it is not
3069 # safe: cross compilers may not add the suffix if given an `-o'
3070 # argument, so we may need to know it at that point already.
3071 # Even if this section looks crufty: it has the advantage of
3072 # actually working.
3073 break;;
3075 break;;
3076 esac
3077 done
3078 test "$ac_cv_exeext" = no && ac_cv_exeext=
3080 else
3081 ac_file=''
3083 if test -z "$ac_file"; then :
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 as_fn_error 77 "C compiler cannot create executables
3092 See \`config.log' for more details" "$LINENO" 5; }
3093 else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3095 $as_echo "yes" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3098 $as_echo_n "checking for C compiler default output file name... " >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3100 $as_echo "$ac_file" >&6; }
3101 ac_exeext=$ac_cv_exeext
3103 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3104 ac_clean_files=$ac_clean_files_save
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3106 $as_echo_n "checking for suffix of executables... " >&6; }
3107 if { { ac_try="$ac_link"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3115 ac_status=$?
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3119 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3120 # work properly (i.e., refer to `conftest.exe'), while it won't with
3121 # `rm'.
3122 for ac_file in conftest.exe conftest conftest.*; do
3123 test -f "$ac_file" || continue
3124 case $ac_file in
3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 break;;
3128 * ) break;;
3129 esac
3130 done
3131 else
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3135 See \`config.log' for more details" "$LINENO" 5; }
3137 rm -f conftest conftest$ac_cv_exeext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3139 $as_echo "$ac_cv_exeext" >&6; }
3141 rm -f conftest.$ac_ext
3142 EXEEXT=$ac_cv_exeext
3143 ac_exeext=$EXEEXT
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3146 #include <stdio.h>
3148 main ()
3150 FILE *f = fopen ("conftest.out", "w");
3151 return ferror (f) || fclose (f) != 0;
3154 return 0;
3156 _ACEOF
3157 ac_clean_files="$ac_clean_files conftest.out"
3158 # Check that the compiler produces executables we can run. If not, either
3159 # the compiler is broken, or we cross compile.
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3161 $as_echo_n "checking whether we are cross compiling... " >&6; }
3162 if test "$cross_compiling" != yes; then
3163 { { ac_try="$ac_link"
3164 case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167 esac
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_link") 2>&5
3171 ac_status=$?
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }
3174 if { ac_try='./conftest$ac_cv_exeext'
3175 { { case "(($ac_try" in
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3178 esac
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_try") 2>&5
3182 ac_status=$?
3183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184 test $ac_status = 0; }; }; then
3185 cross_compiling=no
3186 else
3187 if test "$cross_compiling" = maybe; then
3188 cross_compiling=yes
3189 else
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $? "cannot run C compiled programs.
3193 If you meant to cross compile, use \`--host'.
3194 See \`config.log' for more details" "$LINENO" 5; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3199 $as_echo "$cross_compiling" >&6; }
3201 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3202 ac_clean_files=$ac_clean_files_save
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3204 $as_echo_n "checking for suffix of object files... " >&6; }
3205 if ${ac_cv_objext+:} false; then :
3206 $as_echo_n "(cached) " >&6
3207 else
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3212 main ()
3216 return 0;
3218 _ACEOF
3219 rm -f conftest.o conftest.obj
3220 if { { ac_try="$ac_compile"
3221 case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224 esac
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compile") 2>&5
3228 ac_status=$?
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; then :
3231 for ac_file in conftest.o conftest.obj conftest.*; do
3232 test -f "$ac_file" || continue;
3233 case $ac_file in
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3235 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3236 break;;
3237 esac
3238 done
3239 else
3240 $as_echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $? "cannot compute suffix of object files: cannot compile
3246 See \`config.log' for more details" "$LINENO" 5; }
3248 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3251 $as_echo "$ac_cv_objext" >&6; }
3252 OBJEXT=$ac_cv_objext
3253 ac_objext=$OBJEXT
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3255 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3256 if ${ac_cv_c_compiler_gnu+:} false; then :
3257 $as_echo_n "(cached) " >&6
3258 else
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3263 main ()
3265 #ifndef __GNUC__
3266 choke me
3267 #endif
3270 return 0;
3272 _ACEOF
3273 if ac_fn_c_try_compile "$LINENO"; then :
3274 ac_compiler_gnu=yes
3275 else
3276 ac_compiler_gnu=no
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3283 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3284 if test $ac_compiler_gnu = yes; then
3285 GCC=yes
3286 else
3287 GCC=
3289 ac_test_CFLAGS=${CFLAGS+set}
3290 ac_save_CFLAGS=$CFLAGS
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3292 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3293 if ${ac_cv_prog_cc_g+:} false; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 ac_save_c_werror_flag=$ac_c_werror_flag
3297 ac_c_werror_flag=yes
3298 ac_cv_prog_cc_g=no
3299 CFLAGS="-g"
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3304 main ()
3308 return 0;
3310 _ACEOF
3311 if ac_fn_c_try_compile "$LINENO"; then :
3312 ac_cv_prog_cc_g=yes
3313 else
3314 CFLAGS=""
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3319 main ()
3323 return 0;
3325 _ACEOF
3326 if ac_fn_c_try_compile "$LINENO"; then :
3328 else
3329 ac_c_werror_flag=$ac_save_c_werror_flag
3330 CFLAGS="-g"
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3335 main ()
3339 return 0;
3341 _ACEOF
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343 ac_cv_prog_cc_g=yes
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3353 $as_echo "$ac_cv_prog_cc_g" >&6; }
3354 if test "$ac_test_CFLAGS" = set; then
3355 CFLAGS=$ac_save_CFLAGS
3356 elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
3358 CFLAGS="-g -O2"
3359 else
3360 CFLAGS="-g"
3362 else
3363 if test "$GCC" = yes; then
3364 CFLAGS="-O2"
3365 else
3366 CFLAGS=
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3370 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3371 if ${ac_cv_prog_cc_c89+:} false; then :
3372 $as_echo_n "(cached) " >&6
3373 else
3374 ac_cv_prog_cc_c89=no
3375 ac_save_CC=$CC
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3378 #include <stdarg.h>
3379 #include <stdio.h>
3380 #include <sys/types.h>
3381 #include <sys/stat.h>
3382 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3383 struct buf { int x; };
3384 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3385 static char *e (p, i)
3386 char **p;
3387 int i;
3389 return p[i];
3391 static char *f (char * (*g) (char **, int), char **p, ...)
3393 char *s;
3394 va_list v;
3395 va_start (v,p);
3396 s = g (p, va_arg (v,int));
3397 va_end (v);
3398 return s;
3401 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3402 function prototypes and stuff, but not '\xHH' hex character constants.
3403 These don't provoke an error unfortunately, instead are silently treated
3404 as 'x'. The following induces an error, until -std is added to get
3405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3406 array size at least. It's necessary to write '\x00'==0 to get something
3407 that's true only with -std. */
3408 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3410 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3411 inside strings and character constants. */
3412 #define FOO(x) 'x'
3413 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3415 int test (int i, double x);
3416 struct s1 {int (*f) (int a);};
3417 struct s2 {int (*f) (double a);};
3418 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3419 int argc;
3420 char **argv;
3422 main ()
3424 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3426 return 0;
3428 _ACEOF
3429 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3432 CC="$ac_save_CC $ac_arg"
3433 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_cv_prog_cc_c89=$ac_arg
3436 rm -f core conftest.err conftest.$ac_objext
3437 test "x$ac_cv_prog_cc_c89" != "xno" && break
3438 done
3439 rm -f conftest.$ac_ext
3440 CC=$ac_save_CC
3443 # AC_CACHE_VAL
3444 case "x$ac_cv_prog_cc_c89" in
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3447 $as_echo "none needed" >&6; } ;;
3448 xno)
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3450 $as_echo "unsupported" >&6; } ;;
3452 CC="$CC $ac_cv_prog_cc_c89"
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3454 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3455 esac
3456 if test "x$ac_cv_prog_cc_c89" != xno; then :
3460 ac_ext=c
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 ac_ext=c
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3474 # On Suns, sometimes $CPP names a directory.
3475 if test -n "$CPP" && test -d "$CPP"; then
3476 CPP=
3478 if test -z "$CPP"; then
3479 if ${ac_cv_prog_CPP+:} false; then :
3480 $as_echo_n "(cached) " >&6
3481 else
3482 # Double quotes because CPP needs to be expanded
3483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3485 ac_preproc_ok=false
3486 for ac_c_preproc_warn_flag in '' yes
3488 # Use a header file that comes with gcc, so configuring glibc
3489 # with a fresh cross-compiler works.
3490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3491 # <limits.h> exists even on freestanding compilers.
3492 # On the NeXT, cc -E runs the code through the compiler's parser,
3493 # not just through cpp. "Syntax error" is here to catch this case.
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3496 #ifdef __STDC__
3497 # include <limits.h>
3498 #else
3499 # include <assert.h>
3500 #endif
3501 Syntax error
3502 _ACEOF
3503 if ac_fn_c_try_cpp "$LINENO"; then :
3505 else
3506 # Broken: fails on valid input.
3507 continue
3509 rm -f conftest.err conftest.i conftest.$ac_ext
3511 # OK, works on sane cases. Now check whether nonexistent headers
3512 # can be detected and how.
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3515 #include <ac_nonexistent.h>
3516 _ACEOF
3517 if ac_fn_c_try_cpp "$LINENO"; then :
3518 # Broken: success on invalid input.
3519 continue
3520 else
3521 # Passes both tests.
3522 ac_preproc_ok=:
3523 break
3525 rm -f conftest.err conftest.i conftest.$ac_ext
3527 done
3528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3529 rm -f conftest.i conftest.err conftest.$ac_ext
3530 if $ac_preproc_ok; then :
3531 break
3534 done
3535 ac_cv_prog_CPP=$CPP
3538 CPP=$ac_cv_prog_CPP
3539 else
3540 ac_cv_prog_CPP=$CPP
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3543 $as_echo "$CPP" >&6; }
3544 ac_preproc_ok=false
3545 for ac_c_preproc_warn_flag in '' yes
3547 # Use a header file that comes with gcc, so configuring glibc
3548 # with a fresh cross-compiler works.
3549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3550 # <limits.h> exists even on freestanding compilers.
3551 # On the NeXT, cc -E runs the code through the compiler's parser,
3552 # not just through cpp. "Syntax error" is here to catch this case.
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555 #ifdef __STDC__
3556 # include <limits.h>
3557 #else
3558 # include <assert.h>
3559 #endif
3560 Syntax error
3561 _ACEOF
3562 if ac_fn_c_try_cpp "$LINENO"; then :
3564 else
3565 # Broken: fails on valid input.
3566 continue
3568 rm -f conftest.err conftest.i conftest.$ac_ext
3570 # OK, works on sane cases. Now check whether nonexistent headers
3571 # can be detected and how.
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574 #include <ac_nonexistent.h>
3575 _ACEOF
3576 if ac_fn_c_try_cpp "$LINENO"; then :
3577 # Broken: success on invalid input.
3578 continue
3579 else
3580 # Passes both tests.
3581 ac_preproc_ok=:
3582 break
3584 rm -f conftest.err conftest.i conftest.$ac_ext
3586 done
3587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3588 rm -f conftest.i conftest.err conftest.$ac_ext
3589 if $ac_preproc_ok; then :
3591 else
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3595 See \`config.log' for more details" "$LINENO" 5; }
3598 ac_ext=c
3599 ac_cpp='$CPP $CPPFLAGS'
3600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3607 if ${ac_cv_path_GREP+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -z "$GREP"; then
3611 ac_path_GREP_found=false
3612 # Loop through the user's path and test for each of PROGNAME-LIST
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_prog in grep ggrep; do
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3621 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3622 # Check for GNU ac_path_GREP and select it if it is found.
3623 # Check for GNU $ac_path_GREP
3624 case `"$ac_path_GREP" --version 2>&1` in
3625 *GNU*)
3626 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3628 ac_count=0
3629 $as_echo_n 0123456789 >"conftest.in"
3630 while :
3632 cat "conftest.in" "conftest.in" >"conftest.tmp"
3633 mv "conftest.tmp" "conftest.in"
3634 cp "conftest.in" "conftest.nl"
3635 $as_echo 'GREP' >> "conftest.nl"
3636 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3638 as_fn_arith $ac_count + 1 && ac_count=$as_val
3639 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3640 # Best one so far, save it but keep looking for a better one
3641 ac_cv_path_GREP="$ac_path_GREP"
3642 ac_path_GREP_max=$ac_count
3644 # 10*(2^10) chars as input seems more than enough
3645 test $ac_count -gt 10 && break
3646 done
3647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3648 esac
3650 $ac_path_GREP_found && break 3
3651 done
3652 done
3653 done
3654 IFS=$as_save_IFS
3655 if test -z "$ac_cv_path_GREP"; then
3656 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3658 else
3659 ac_cv_path_GREP=$GREP
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3664 $as_echo "$ac_cv_path_GREP" >&6; }
3665 GREP="$ac_cv_path_GREP"
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3669 $as_echo_n "checking for egrep... " >&6; }
3670 if ${ac_cv_path_EGREP+:} false; then :
3671 $as_echo_n "(cached) " >&6
3672 else
3673 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3674 then ac_cv_path_EGREP="$GREP -E"
3675 else
3676 if test -z "$EGREP"; then
3677 ac_path_EGREP_found=false
3678 # Loop through the user's path and test for each of PROGNAME-LIST
3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3682 IFS=$as_save_IFS
3683 test -z "$as_dir" && as_dir=.
3684 for ac_prog in egrep; do
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3687 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3688 # Check for GNU ac_path_EGREP and select it if it is found.
3689 # Check for GNU $ac_path_EGREP
3690 case `"$ac_path_EGREP" --version 2>&1` in
3691 *GNU*)
3692 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3694 ac_count=0
3695 $as_echo_n 0123456789 >"conftest.in"
3696 while :
3698 cat "conftest.in" "conftest.in" >"conftest.tmp"
3699 mv "conftest.tmp" "conftest.in"
3700 cp "conftest.in" "conftest.nl"
3701 $as_echo 'EGREP' >> "conftest.nl"
3702 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3703 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3704 as_fn_arith $ac_count + 1 && ac_count=$as_val
3705 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3706 # Best one so far, save it but keep looking for a better one
3707 ac_cv_path_EGREP="$ac_path_EGREP"
3708 ac_path_EGREP_max=$ac_count
3710 # 10*(2^10) chars as input seems more than enough
3711 test $ac_count -gt 10 && break
3712 done
3713 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3714 esac
3716 $ac_path_EGREP_found && break 3
3717 done
3718 done
3719 done
3720 IFS=$as_save_IFS
3721 if test -z "$ac_cv_path_EGREP"; then
3722 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3724 else
3725 ac_cv_path_EGREP=$EGREP
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3731 $as_echo "$ac_cv_path_EGREP" >&6; }
3732 EGREP="$ac_cv_path_EGREP"
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3736 $as_echo_n "checking for ANSI C header files... " >&6; }
3737 if ${ac_cv_header_stdc+:} false; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3742 #include <stdlib.h>
3743 #include <stdarg.h>
3744 #include <string.h>
3745 #include <float.h>
3748 main ()
3752 return 0;
3754 _ACEOF
3755 if ac_fn_c_try_compile "$LINENO"; then :
3756 ac_cv_header_stdc=yes
3757 else
3758 ac_cv_header_stdc=no
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 if test $ac_cv_header_stdc = yes; then
3763 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3766 #include <string.h>
3768 _ACEOF
3769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3770 $EGREP "memchr" >/dev/null 2>&1; then :
3772 else
3773 ac_cv_header_stdc=no
3775 rm -f conftest*
3779 if test $ac_cv_header_stdc = yes; then
3780 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3783 #include <stdlib.h>
3785 _ACEOF
3786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3787 $EGREP "free" >/dev/null 2>&1; then :
3789 else
3790 ac_cv_header_stdc=no
3792 rm -f conftest*
3796 if test $ac_cv_header_stdc = yes; then
3797 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3798 if test "$cross_compiling" = yes; then :
3800 else
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3803 #include <ctype.h>
3804 #include <stdlib.h>
3805 #if ((' ' & 0x0FF) == 0x020)
3806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3807 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3808 #else
3809 # define ISLOWER(c) \
3810 (('a' <= (c) && (c) <= 'i') \
3811 || ('j' <= (c) && (c) <= 'r') \
3812 || ('s' <= (c) && (c) <= 'z'))
3813 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3814 #endif
3816 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3818 main ()
3820 int i;
3821 for (i = 0; i < 256; i++)
3822 if (XOR (islower (i), ISLOWER (i))
3823 || toupper (i) != TOUPPER (i))
3824 return 2;
3825 return 0;
3827 _ACEOF
3828 if ac_fn_c_try_run "$LINENO"; then :
3830 else
3831 ac_cv_header_stdc=no
3833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3834 conftest.$ac_objext conftest.beam conftest.$ac_ext
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3840 $as_echo "$ac_cv_header_stdc" >&6; }
3841 if test $ac_cv_header_stdc = yes; then
3843 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3847 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3848 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3849 inttypes.h stdint.h unistd.h
3850 do :
3851 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3852 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3854 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3855 cat >>confdefs.h <<_ACEOF
3856 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3857 _ACEOF
3861 done
3865 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3866 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3867 MINIX=yes
3868 else
3869 MINIX=
3873 if test "$MINIX" = yes; then
3875 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3878 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3881 $as_echo "#define _MINIX 1" >>confdefs.h
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3887 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3888 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3889 $as_echo_n "(cached) " >&6
3890 else
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3894 # define __EXTENSIONS__ 1
3895 $ac_includes_default
3897 main ()
3901 return 0;
3903 _ACEOF
3904 if ac_fn_c_try_compile "$LINENO"; then :
3905 ac_cv_safe_to_define___extensions__=yes
3906 else
3907 ac_cv_safe_to_define___extensions__=no
3909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3912 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3913 test $ac_cv_safe_to_define___extensions__ = yes &&
3914 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3916 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3918 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3920 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3922 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3928 cat >>confdefs.h <<_ACEOF
3929 #define CANONICAL_TARGET "$target"
3930 _ACEOF
3933 cat >>confdefs.h <<_ACEOF
3934 #define CANONICAL_HOST "$host"
3935 _ACEOF
3938 am__api_version='1.11'
3940 # Find a good install program. We prefer a C program (faster),
3941 # so one script is as good as another. But avoid the broken or
3942 # incompatible versions:
3943 # SysV /etc/install, /usr/sbin/install
3944 # SunOS /usr/etc/install
3945 # IRIX /sbin/install
3946 # AIX /bin/install
3947 # AmigaOS /C/install, which installs bootblocks on floppy discs
3948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3951 # OS/2's system install, which has a completely different semantic
3952 # ./install, which can be erroneously created by make from ./install.sh.
3953 # Reject install programs that cannot install multiple files.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3955 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3956 if test -z "$INSTALL"; then
3957 if ${ac_cv_path_install+:} false; then :
3958 $as_echo_n "(cached) " >&6
3959 else
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 for as_dir in $PATH
3963 IFS=$as_save_IFS
3964 test -z "$as_dir" && as_dir=.
3965 # Account for people who put trailing slashes in PATH elements.
3966 case $as_dir/ in #((
3967 ./ | .// | /[cC]/* | \
3968 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3969 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3970 /usr/ucb/* ) ;;
3972 # OSF1 and SCO ODT 3.0 have their own names for install.
3973 # Don't use installbsd from OSF since it installs stuff as root
3974 # by default.
3975 for ac_prog in ginstall scoinst install; do
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3978 if test $ac_prog = install &&
3979 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3980 # AIX install. It has an incompatible calling convention.
3982 elif test $ac_prog = install &&
3983 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3984 # program-specific install script used by HP pwplus--don't use.
3986 else
3987 rm -rf conftest.one conftest.two conftest.dir
3988 echo one > conftest.one
3989 echo two > conftest.two
3990 mkdir conftest.dir
3991 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3992 test -s conftest.one && test -s conftest.two &&
3993 test -s conftest.dir/conftest.one &&
3994 test -s conftest.dir/conftest.two
3995 then
3996 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3997 break 3
4001 done
4002 done
4004 esac
4006 done
4007 IFS=$as_save_IFS
4009 rm -rf conftest.one conftest.two conftest.dir
4012 if test "${ac_cv_path_install+set}" = set; then
4013 INSTALL=$ac_cv_path_install
4014 else
4015 # As a last resort, use the slow shell script. Don't cache a
4016 # value for INSTALL within a source directory, because that will
4017 # break other packages using the cache if that directory is
4018 # removed, or if the value is a relative name.
4019 INSTALL=$ac_install_sh
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4023 $as_echo "$INSTALL" >&6; }
4025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4026 # It thinks the first close brace ends the variable substitution.
4027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4031 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4034 $as_echo_n "checking whether build environment is sane... " >&6; }
4035 # Just in case
4036 sleep 1
4037 echo timestamp > conftest.file
4038 # Reject unsafe characters in $srcdir or the absolute working directory
4039 # name. Accept space and tab only in the latter.
4040 am_lf='
4042 case `pwd` in
4043 *[\\\"\#\$\&\'\`$am_lf]*)
4044 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4045 esac
4046 case $srcdir in
4047 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4048 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4049 esac
4051 # Do `set' in a subshell so we don't clobber the current shell's
4052 # arguments. Must try -L first in case configure is actually a
4053 # symlink; some systems play weird games with the mod time of symlinks
4054 # (eg FreeBSD returns the mod time of the symlink's containing
4055 # directory).
4056 if (
4057 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4058 if test "$*" = "X"; then
4059 # -L didn't work.
4060 set X `ls -t "$srcdir/configure" conftest.file`
4062 rm -f conftest.file
4063 if test "$*" != "X $srcdir/configure conftest.file" \
4064 && test "$*" != "X conftest.file $srcdir/configure"; then
4066 # If neither matched, then we have a broken ls. This can happen
4067 # if, for instance, CONFIG_SHELL is bash and it inherits a
4068 # broken ls alias from the environment. This has actually
4069 # happened. Such a system could not be considered "sane".
4070 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4071 alias in your environment" "$LINENO" 5
4074 test "$2" = conftest.file
4076 then
4077 # Ok.
4079 else
4080 as_fn_error $? "newly created file is older than distributed files!
4081 Check your system clock" "$LINENO" 5
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4084 $as_echo "yes" >&6; }
4085 test "$program_prefix" != NONE &&
4086 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4087 # Use a double $ so make ignores it.
4088 test "$program_suffix" != NONE &&
4089 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4090 # Double any \ or $.
4091 # By default was `s,x,x', remove it if useless.
4092 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4093 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4095 # expand $ac_aux_dir to an absolute path
4096 am_aux_dir=`cd $ac_aux_dir && pwd`
4098 if test x"${MISSING+set}" != xset; then
4099 case $am_aux_dir in
4100 *\ * | *\ *)
4101 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4103 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4104 esac
4106 # Use eval to expand $SHELL
4107 if eval "$MISSING --run true"; then
4108 am_missing_run="$MISSING --run "
4109 else
4110 am_missing_run=
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4112 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4115 if test x"${install_sh}" != xset; then
4116 case $am_aux_dir in
4117 *\ * | *\ *)
4118 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4120 install_sh="\${SHELL} $am_aux_dir/install-sh"
4121 esac
4124 # Installed binaries are usually stripped using `strip' when the user
4125 # run `make install-strip'. However `strip' might not be the right
4126 # tool to use in cross-compilation environments, therefore Automake
4127 # will honor the `STRIP' environment variable to overrule this program.
4128 if test "$cross_compiling" != no; then
4129 if test -n "$ac_tool_prefix"; then
4130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4131 set dummy ${ac_tool_prefix}strip; ac_word=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if ${ac_cv_prog_STRIP+:} false; then :
4135 $as_echo_n "(cached) " >&6
4136 else
4137 if test -n "$STRIP"; then
4138 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4139 else
4140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4141 for as_dir in $PATH
4143 IFS=$as_save_IFS
4144 test -z "$as_dir" && as_dir=.
4145 for ac_exec_ext in '' $ac_executable_extensions; do
4146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4147 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149 break 2
4151 done
4152 done
4153 IFS=$as_save_IFS
4157 STRIP=$ac_cv_prog_STRIP
4158 if test -n "$STRIP"; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4160 $as_echo "$STRIP" >&6; }
4161 else
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4168 if test -z "$ac_cv_prog_STRIP"; then
4169 ac_ct_STRIP=$STRIP
4170 # Extract the first word of "strip", so it can be a program name with args.
4171 set dummy strip; ac_word=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176 else
4177 if test -n "$ac_ct_STRIP"; then
4178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4179 else
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181 for as_dir in $PATH
4183 IFS=$as_save_IFS
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4187 ac_cv_prog_ac_ct_STRIP="strip"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 break 2
4191 done
4192 done
4193 IFS=$as_save_IFS
4197 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4198 if test -n "$ac_ct_STRIP"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4200 $as_echo "$ac_ct_STRIP" >&6; }
4201 else
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4206 if test "x$ac_ct_STRIP" = x; then
4207 STRIP=":"
4208 else
4209 case $cross_compiling:$ac_tool_warned in
4210 yes:)
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4213 ac_tool_warned=yes ;;
4214 esac
4215 STRIP=$ac_ct_STRIP
4217 else
4218 STRIP="$ac_cv_prog_STRIP"
4222 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4225 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4226 if test -z "$MKDIR_P"; then
4227 if ${ac_cv_path_mkdir+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4233 IFS=$as_save_IFS
4234 test -z "$as_dir" && as_dir=.
4235 for ac_prog in mkdir gmkdir; do
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4238 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4239 'mkdir (GNU coreutils) '* | \
4240 'mkdir (coreutils) '* | \
4241 'mkdir (fileutils) '4.1*)
4242 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4243 break 3;;
4244 esac
4245 done
4246 done
4247 done
4248 IFS=$as_save_IFS
4252 test -d ./--version && rmdir ./--version
4253 if test "${ac_cv_path_mkdir+set}" = set; then
4254 MKDIR_P="$ac_cv_path_mkdir -p"
4255 else
4256 # As a last resort, use the slow shell script. Don't cache a
4257 # value for MKDIR_P within a source directory, because that will
4258 # break other packages using the cache if that directory is
4259 # removed, or if the value is a relative name.
4260 MKDIR_P="$ac_install_sh -d"
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4264 $as_echo "$MKDIR_P" >&6; }
4266 mkdir_p="$MKDIR_P"
4267 case $mkdir_p in
4268 [\\/$]* | ?:[\\/]*) ;;
4269 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4270 esac
4272 for ac_prog in gawk mawk nawk awk
4274 # Extract the first word of "$ac_prog", so it can be a program name with args.
4275 set dummy $ac_prog; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if ${ac_cv_prog_AWK+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 if test -n "$AWK"; then
4282 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4287 IFS=$as_save_IFS
4288 test -z "$as_dir" && as_dir=.
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4291 ac_cv_prog_AWK="$ac_prog"
4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 break 2
4295 done
4296 done
4297 IFS=$as_save_IFS
4301 AWK=$ac_cv_prog_AWK
4302 if test -n "$AWK"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4304 $as_echo "$AWK" >&6; }
4305 else
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4311 test -n "$AWK" && break
4312 done
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4316 set x ${MAKE-make}
4317 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4318 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 cat >conftest.make <<\_ACEOF
4322 SHELL = /bin/sh
4323 all:
4324 @echo '@@@%%%=$(MAKE)=@@@%%%'
4325 _ACEOF
4326 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4328 *@@@%%%=?*=@@@%%%*)
4329 eval ac_cv_prog_make_${ac_make}_set=yes;;
4331 eval ac_cv_prog_make_${ac_make}_set=no;;
4332 esac
4333 rm -f conftest.make
4335 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4337 $as_echo "yes" >&6; }
4338 SET_MAKE=
4339 else
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4342 SET_MAKE="MAKE=${MAKE-make}"
4345 rm -rf .tst 2>/dev/null
4346 mkdir .tst 2>/dev/null
4347 if test -d .tst; then
4348 am__leading_dot=.
4349 else
4350 am__leading_dot=_
4352 rmdir .tst 2>/dev/null
4354 DEPDIR="${am__leading_dot}deps"
4356 ac_config_commands="$ac_config_commands depfiles"
4359 am_make=${MAKE-make}
4360 cat > confinc << 'END'
4361 am__doit:
4362 @echo this is the am__doit target
4363 .PHONY: am__doit
4365 # If we don't find an include directive, just comment out the code.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4367 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4368 am__include="#"
4369 am__quote=
4370 _am_result=none
4371 # First try GNU make style include.
4372 echo "include confinc" > confmf
4373 # Ignore all kinds of additional output from `make'.
4374 case `$am_make -s -f confmf 2> /dev/null` in #(
4375 *the\ am__doit\ target*)
4376 am__include=include
4377 am__quote=
4378 _am_result=GNU
4380 esac
4381 # Now try BSD make style include.
4382 if test "$am__include" = "#"; then
4383 echo '.include "confinc"' > confmf
4384 case `$am_make -s -f confmf 2> /dev/null` in #(
4385 *the\ am__doit\ target*)
4386 am__include=.include
4387 am__quote="\""
4388 _am_result=BSD
4390 esac
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4395 $as_echo "$_am_result" >&6; }
4396 rm -f confinc confmf
4398 # Check whether --enable-dependency-tracking was given.
4399 if test "${enable_dependency_tracking+set}" = set; then :
4400 enableval=$enable_dependency_tracking;
4403 if test "x$enable_dependency_tracking" != xno; then
4404 am_depcomp="$ac_aux_dir/depcomp"
4405 AMDEPBACKSLASH='\'
4407 if test "x$enable_dependency_tracking" != xno; then
4408 AMDEP_TRUE=
4409 AMDEP_FALSE='#'
4410 else
4411 AMDEP_TRUE='#'
4412 AMDEP_FALSE=
4416 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4417 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4418 # is not polluted with repeated "-I."
4419 am__isrc=' -I$(srcdir)'
4420 # test to see if srcdir already configured
4421 if test -f $srcdir/config.status; then
4422 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4426 # test whether we have cygpath
4427 if test -z "$CYGPATH_W"; then
4428 if (cygpath --version) >/dev/null 2>/dev/null; then
4429 CYGPATH_W='cygpath -w'
4430 else
4431 CYGPATH_W=echo
4436 # Define the identity of the package.
4437 PACKAGE='quvi'
4438 VERSION='0.2.10'
4441 cat >>confdefs.h <<_ACEOF
4442 #define PACKAGE "$PACKAGE"
4443 _ACEOF
4446 cat >>confdefs.h <<_ACEOF
4447 #define VERSION "$VERSION"
4448 _ACEOF
4450 # Some tools Automake needs.
4452 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4455 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4458 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4461 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4464 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4466 # We need awk for the "check" target. The system "awk" is bad on
4467 # some platforms.
4468 # Always define AMTAR for backward compatibility.
4470 AMTAR=${AMTAR-"${am_missing_run}tar"}
4472 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4477 depcc="$CC" am_compiler_list=
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4480 $as_echo_n "checking dependency style of $depcc... " >&6; }
4481 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4485 # We make a subdir and do the tests there. Otherwise we can end up
4486 # making bogus files that we don't know about and never remove. For
4487 # instance it was reported that on HP-UX the gcc test will end up
4488 # making a dummy file named `D' -- because `-MD' means `put the output
4489 # in D'.
4490 mkdir conftest.dir
4491 # Copy depcomp to subdir because otherwise we won't find it if we're
4492 # using a relative directory.
4493 cp "$am_depcomp" conftest.dir
4494 cd conftest.dir
4495 # We will build objects and dependencies in a subdirectory because
4496 # it helps to detect inapplicable dependency modes. For instance
4497 # both Tru64's cc and ICC support -MD to output dependencies as a
4498 # side effect of compilation, but ICC will put the dependencies in
4499 # the current directory while Tru64 will put them in the object
4500 # directory.
4501 mkdir sub
4503 am_cv_CC_dependencies_compiler_type=none
4504 if test "$am_compiler_list" = ""; then
4505 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4507 am__universal=false
4508 case " $depcc " in #(
4509 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4510 esac
4512 for depmode in $am_compiler_list; do
4513 # Setup a source with many dependencies, because some compilers
4514 # like to wrap large dependency lists on column 80 (with \), and
4515 # we should not choose a depcomp mode which is confused by this.
4517 # We need to recreate these files for each test, as the compiler may
4518 # overwrite some of them when testing with obscure command lines.
4519 # This happens at least with the AIX C compiler.
4520 : > sub/conftest.c
4521 for i in 1 2 3 4 5 6; do
4522 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4524 # Solaris 8's {/usr,}/bin/sh.
4525 touch sub/conftst$i.h
4526 done
4527 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4529 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4530 # mode. It turns out that the SunPro C++ compiler does not properly
4531 # handle `-M -o', and we need to detect this. Also, some Intel
4532 # versions had trouble with output in subdirs
4533 am__obj=sub/conftest.${OBJEXT-o}
4534 am__minus_obj="-o $am__obj"
4535 case $depmode in
4536 gcc)
4537 # This depmode causes a compiler race in universal mode.
4538 test "$am__universal" = false || continue
4540 nosideeffect)
4541 # after this tag, mechanisms are not by side-effect, so they'll
4542 # only be used when explicitly requested
4543 if test "x$enable_dependency_tracking" = xyes; then
4544 continue
4545 else
4546 break
4549 msvisualcpp | msvcmsys)
4550 # This compiler won't grok `-c -o', but also, the minuso test has
4551 # not run yet. These depmodes are late enough in the game, and
4552 # so weak that their functioning should not be impacted.
4553 am__obj=conftest.${OBJEXT-o}
4554 am__minus_obj=
4556 none) break ;;
4557 esac
4558 if depmode=$depmode \
4559 source=sub/conftest.c object=$am__obj \
4560 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4561 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4562 >/dev/null 2>conftest.err &&
4563 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4564 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4565 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4566 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4567 # icc doesn't choke on unknown options, it will just issue warnings
4568 # or remarks (even with -Werror). So we grep stderr for any message
4569 # that says an option was ignored or not supported.
4570 # When given -MP, icc 7.0 and 7.1 complain thusly:
4571 # icc: Command line warning: ignoring option '-M'; no argument required
4572 # The diagnosis changed in icc 8.0:
4573 # icc: Command line remark: option '-MP' not supported
4574 if (grep 'ignoring option' conftest.err ||
4575 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4576 am_cv_CC_dependencies_compiler_type=$depmode
4577 break
4580 done
4582 cd ..
4583 rm -rf conftest.dir
4584 else
4585 am_cv_CC_dependencies_compiler_type=none
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4590 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4591 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4594 test "x$enable_dependency_tracking" != xno \
4595 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4596 am__fastdepCC_TRUE=
4597 am__fastdepCC_FALSE='#'
4598 else
4599 am__fastdepCC_TRUE='#'
4600 am__fastdepCC_FALSE=
4606 case `pwd` in
4607 *\ * | *\ *)
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4609 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4610 esac
4614 macro_version='2.4'
4615 macro_revision='1.3293'
4629 ltmain="$ac_aux_dir/ltmain.sh"
4631 # Backslashify metacharacters that are still active within
4632 # double-quoted strings.
4633 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4635 # Same as above, but do not quote variable references.
4636 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4638 # Sed substitution to delay expansion of an escaped shell variable in a
4639 # double_quote_subst'ed string.
4640 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4642 # Sed substitution to delay expansion of an escaped single quote.
4643 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4645 # Sed substitution to avoid accidental globbing in evaled expressions
4646 no_glob_subst='s/\*/\\\*/g'
4648 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4649 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4650 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4653 $as_echo_n "checking how to print strings... " >&6; }
4654 # Test print first, because it will be a builtin if present.
4655 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4656 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4657 ECHO='print -r --'
4658 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4659 ECHO='printf %s\n'
4660 else
4661 # Use this function as a fallback that always works.
4662 func_fallback_echo ()
4664 eval 'cat <<_LTECHO_EOF
4666 _LTECHO_EOF'
4668 ECHO='func_fallback_echo'
4671 # func_echo_all arg...
4672 # Invoke $ECHO with all args, space-separated.
4673 func_echo_all ()
4675 $ECHO ""
4678 case "$ECHO" in
4679 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4680 $as_echo "printf" >&6; } ;;
4681 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4682 $as_echo "print -r" >&6; } ;;
4683 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4684 $as_echo "cat" >&6; } ;;
4685 esac
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4701 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4702 if ${ac_cv_path_SED+:} false; then :
4703 $as_echo_n "(cached) " >&6
4704 else
4705 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4706 for ac_i in 1 2 3 4 5 6 7; do
4707 ac_script="$ac_script$as_nl$ac_script"
4708 done
4709 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4710 { ac_script=; unset ac_script;}
4711 if test -z "$SED"; then
4712 ac_path_SED_found=false
4713 # Loop through the user's path and test for each of PROGNAME-LIST
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4717 IFS=$as_save_IFS
4718 test -z "$as_dir" && as_dir=.
4719 for ac_prog in sed gsed; do
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4722 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4723 # Check for GNU ac_path_SED and select it if it is found.
4724 # Check for GNU $ac_path_SED
4725 case `"$ac_path_SED" --version 2>&1` in
4726 *GNU*)
4727 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4729 ac_count=0
4730 $as_echo_n 0123456789 >"conftest.in"
4731 while :
4733 cat "conftest.in" "conftest.in" >"conftest.tmp"
4734 mv "conftest.tmp" "conftest.in"
4735 cp "conftest.in" "conftest.nl"
4736 $as_echo '' >> "conftest.nl"
4737 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4739 as_fn_arith $ac_count + 1 && ac_count=$as_val
4740 if test $ac_count -gt ${ac_path_SED_max-0}; then
4741 # Best one so far, save it but keep looking for a better one
4742 ac_cv_path_SED="$ac_path_SED"
4743 ac_path_SED_max=$ac_count
4745 # 10*(2^10) chars as input seems more than enough
4746 test $ac_count -gt 10 && break
4747 done
4748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4749 esac
4751 $ac_path_SED_found && break 3
4752 done
4753 done
4754 done
4755 IFS=$as_save_IFS
4756 if test -z "$ac_cv_path_SED"; then
4757 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4759 else
4760 ac_cv_path_SED=$SED
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4765 $as_echo "$ac_cv_path_SED" >&6; }
4766 SED="$ac_cv_path_SED"
4767 rm -f conftest.sed
4769 test -z "$SED" && SED=sed
4770 Xsed="$SED -e 1s/^X//"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4783 $as_echo_n "checking for fgrep... " >&6; }
4784 if ${ac_cv_path_FGREP+:} false; then :
4785 $as_echo_n "(cached) " >&6
4786 else
4787 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4788 then ac_cv_path_FGREP="$GREP -F"
4789 else
4790 if test -z "$FGREP"; then
4791 ac_path_FGREP_found=false
4792 # Loop through the user's path and test for each of PROGNAME-LIST
4793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4796 IFS=$as_save_IFS
4797 test -z "$as_dir" && as_dir=.
4798 for ac_prog in fgrep; do
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4801 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4802 # Check for GNU ac_path_FGREP and select it if it is found.
4803 # Check for GNU $ac_path_FGREP
4804 case `"$ac_path_FGREP" --version 2>&1` in
4805 *GNU*)
4806 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4808 ac_count=0
4809 $as_echo_n 0123456789 >"conftest.in"
4810 while :
4812 cat "conftest.in" "conftest.in" >"conftest.tmp"
4813 mv "conftest.tmp" "conftest.in"
4814 cp "conftest.in" "conftest.nl"
4815 $as_echo 'FGREP' >> "conftest.nl"
4816 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4817 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4818 as_fn_arith $ac_count + 1 && ac_count=$as_val
4819 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4820 # Best one so far, save it but keep looking for a better one
4821 ac_cv_path_FGREP="$ac_path_FGREP"
4822 ac_path_FGREP_max=$ac_count
4824 # 10*(2^10) chars as input seems more than enough
4825 test $ac_count -gt 10 && break
4826 done
4827 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4828 esac
4830 $ac_path_FGREP_found && break 3
4831 done
4832 done
4833 done
4834 IFS=$as_save_IFS
4835 if test -z "$ac_cv_path_FGREP"; then
4836 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4838 else
4839 ac_cv_path_FGREP=$FGREP
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4845 $as_echo "$ac_cv_path_FGREP" >&6; }
4846 FGREP="$ac_cv_path_FGREP"
4849 test -z "$GREP" && GREP=grep
4869 # Check whether --with-gnu-ld was given.
4870 if test "${with_gnu_ld+set}" = set; then :
4871 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4872 else
4873 with_gnu_ld=no
4876 ac_prog=ld
4877 if test "$GCC" = yes; then
4878 # Check if gcc -print-prog-name=ld gives a path.
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4880 $as_echo_n "checking for ld used by $CC... " >&6; }
4881 case $host in
4882 *-*-mingw*)
4883 # gcc leaves a trailing carriage return which upsets mingw
4884 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4886 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4887 esac
4888 case $ac_prog in
4889 # Accept absolute paths.
4890 [\\/]* | ?:[\\/]*)
4891 re_direlt='/[^/][^/]*/\.\./'
4892 # Canonicalize the pathname of ld
4893 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4894 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4895 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4896 done
4897 test -z "$LD" && LD="$ac_prog"
4900 # If it fails, then pretend we aren't using GCC.
4901 ac_prog=ld
4904 # If it is relative, then search for the first ld in PATH.
4905 with_gnu_ld=unknown
4907 esac
4908 elif test "$with_gnu_ld" = yes; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4910 $as_echo_n "checking for GNU ld... " >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4913 $as_echo_n "checking for non-GNU ld... " >&6; }
4915 if ${lt_cv_path_LD+:} false; then :
4916 $as_echo_n "(cached) " >&6
4917 else
4918 if test -z "$LD"; then
4919 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4920 for ac_dir in $PATH; do
4921 IFS="$lt_save_ifs"
4922 test -z "$ac_dir" && ac_dir=.
4923 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4924 lt_cv_path_LD="$ac_dir/$ac_prog"
4925 # Check to see if the program is GNU ld. I'd rather use --version,
4926 # but apparently some variants of GNU ld only accept -v.
4927 # Break only if it was the GNU/non-GNU ld that we prefer.
4928 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4929 *GNU* | *'with BFD'*)
4930 test "$with_gnu_ld" != no && break
4933 test "$with_gnu_ld" != yes && break
4935 esac
4937 done
4938 IFS="$lt_save_ifs"
4939 else
4940 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4944 LD="$lt_cv_path_LD"
4945 if test -n "$LD"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4947 $as_echo "$LD" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4952 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4954 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4955 if ${lt_cv_prog_gnu_ld+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4959 case `$LD -v 2>&1 </dev/null` in
4960 *GNU* | *'with BFD'*)
4961 lt_cv_prog_gnu_ld=yes
4964 lt_cv_prog_gnu_ld=no
4966 esac
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4969 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4970 with_gnu_ld=$lt_cv_prog_gnu_ld
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4981 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4982 if ${lt_cv_path_NM+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 if test -n "$NM"; then
4986 # Let the user override the test.
4987 lt_cv_path_NM="$NM"
4988 else
4989 lt_nm_to_check="${ac_tool_prefix}nm"
4990 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4991 lt_nm_to_check="$lt_nm_to_check nm"
4993 for lt_tmp_nm in $lt_nm_to_check; do
4994 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4995 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4996 IFS="$lt_save_ifs"
4997 test -z "$ac_dir" && ac_dir=.
4998 tmp_nm="$ac_dir/$lt_tmp_nm"
4999 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5000 # Check to see if the nm accepts a BSD-compat flag.
5001 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5002 # nm: unknown option "B" ignored
5003 # Tru64's nm complains that /dev/null is an invalid object file
5004 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5005 */dev/null* | *'Invalid file or object type'*)
5006 lt_cv_path_NM="$tmp_nm -B"
5007 break
5010 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5011 */dev/null*)
5012 lt_cv_path_NM="$tmp_nm -p"
5013 break
5016 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5017 continue # so that we can try to find one that supports BSD flags
5019 esac
5021 esac
5023 done
5024 IFS="$lt_save_ifs"
5025 done
5026 : ${lt_cv_path_NM=no}
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5030 $as_echo "$lt_cv_path_NM" >&6; }
5031 if test "$lt_cv_path_NM" != "no"; then
5032 NM="$lt_cv_path_NM"
5033 else
5034 # Didn't find any BSD compatible name lister, look for dumpbin.
5035 if test -n "$DUMPBIN"; then :
5036 # Let the user override the test.
5037 else
5038 if test -n "$ac_tool_prefix"; then
5039 for ac_prog in dumpbin "link -dump"
5041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_DUMPBIN+:} false; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 if test -n "$DUMPBIN"; then
5049 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5054 IFS=$as_save_IFS
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 break 2
5062 done
5063 done
5064 IFS=$as_save_IFS
5068 DUMPBIN=$ac_cv_prog_DUMPBIN
5069 if test -n "$DUMPBIN"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5071 $as_echo "$DUMPBIN" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 test -n "$DUMPBIN" && break
5079 done
5081 if test -z "$DUMPBIN"; then
5082 ac_ct_DUMPBIN=$DUMPBIN
5083 for ac_prog in dumpbin "link -dump"
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy $ac_prog; ac_word=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 if test -n "$ac_ct_DUMPBIN"; then
5093 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5098 IFS=$as_save_IFS
5099 test -z "$as_dir" && as_dir=.
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5102 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 break 2
5106 done
5107 done
5108 IFS=$as_save_IFS
5112 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5113 if test -n "$ac_ct_DUMPBIN"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5115 $as_echo "$ac_ct_DUMPBIN" >&6; }
5116 else
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$ac_ct_DUMPBIN" && break
5123 done
5125 if test "x$ac_ct_DUMPBIN" = x; then
5126 DUMPBIN=":"
5127 else
5128 case $cross_compiling:$ac_tool_warned in
5129 yes:)
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned=yes ;;
5133 esac
5134 DUMPBIN=$ac_ct_DUMPBIN
5138 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5139 *COFF*)
5140 DUMPBIN="$DUMPBIN -symbols"
5143 DUMPBIN=:
5145 esac
5148 if test "$DUMPBIN" != ":"; then
5149 NM="$DUMPBIN"
5152 test -z "$NM" && NM=nm
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5160 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5161 if ${lt_cv_nm_interface+:} false; then :
5162 $as_echo_n "(cached) " >&6
5163 else
5164 lt_cv_nm_interface="BSD nm"
5165 echo "int some_variable = 0;" > conftest.$ac_ext
5166 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5167 (eval "$ac_compile" 2>conftest.err)
5168 cat conftest.err >&5
5169 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5170 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5171 cat conftest.err >&5
5172 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5173 cat conftest.out >&5
5174 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5175 lt_cv_nm_interface="MS dumpbin"
5177 rm -f conftest*
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5180 $as_echo "$lt_cv_nm_interface" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5183 $as_echo_n "checking whether ln -s works... " >&6; }
5184 LN_S=$as_ln_s
5185 if test "$LN_S" = "ln -s"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5187 $as_echo "yes" >&6; }
5188 else
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5190 $as_echo "no, using $LN_S" >&6; }
5193 # find the maximum length of command line arguments
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5195 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5196 if ${lt_cv_sys_max_cmd_len+:} false; then :
5197 $as_echo_n "(cached) " >&6
5198 else
5200 teststring="ABCD"
5202 case $build_os in
5203 msdosdjgpp*)
5204 # On DJGPP, this test can blow up pretty badly due to problems in libc
5205 # (any single argument exceeding 2000 bytes causes a buffer overrun
5206 # during glob expansion). Even if it were fixed, the result of this
5207 # check would be larger than it should be.
5208 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5211 gnu*)
5212 # Under GNU Hurd, this test is not required because there is
5213 # no limit to the length of command line arguments.
5214 # Libtool will interpret -1 as no limit whatsoever
5215 lt_cv_sys_max_cmd_len=-1;
5218 cygwin* | mingw* | cegcc*)
5219 # On Win9x/ME, this test blows up -- it succeeds, but takes
5220 # about 5 minutes as the teststring grows exponentially.
5221 # Worse, since 9x/ME are not pre-emptively multitasking,
5222 # you end up with a "frozen" computer, even though with patience
5223 # the test eventually succeeds (with a max line length of 256k).
5224 # Instead, let's just punt: use the minimum linelength reported by
5225 # all of the supported platforms: 8192 (on NT/2K/XP).
5226 lt_cv_sys_max_cmd_len=8192;
5229 mint*)
5230 # On MiNT this can take a long time and run out of memory.
5231 lt_cv_sys_max_cmd_len=8192;
5234 amigaos*)
5235 # On AmigaOS with pdksh, this test takes hours, literally.
5236 # So we just punt and use a minimum line length of 8192.
5237 lt_cv_sys_max_cmd_len=8192;
5240 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5241 # This has been around since 386BSD, at least. Likely further.
5242 if test -x /sbin/sysctl; then
5243 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5244 elif test -x /usr/sbin/sysctl; then
5245 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5246 else
5247 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5249 # And add a safety zone
5250 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5251 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5254 interix*)
5255 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5256 lt_cv_sys_max_cmd_len=196608
5259 osf*)
5260 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5261 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5262 # nice to cause kernel panics so lets avoid the loop below.
5263 # First set a reasonable default.
5264 lt_cv_sys_max_cmd_len=16384
5266 if test -x /sbin/sysconfig; then
5267 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5268 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5269 esac
5272 sco3.2v5*)
5273 lt_cv_sys_max_cmd_len=102400
5275 sysv5* | sco5v6* | sysv4.2uw2*)
5276 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5277 if test -n "$kargmax"; then
5278 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5279 else
5280 lt_cv_sys_max_cmd_len=32768
5284 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5285 if test -n "$lt_cv_sys_max_cmd_len"; then
5286 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5287 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5288 else
5289 # Make teststring a little bigger before we do anything with it.
5290 # a 1K string should be a reasonable start.
5291 for i in 1 2 3 4 5 6 7 8 ; do
5292 teststring=$teststring$teststring
5293 done
5294 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5295 # If test is not a shell built-in, we'll probably end up computing a
5296 # maximum length that is only half of the actual maximum length, but
5297 # we can't tell.
5298 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5299 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5300 test $i != 17 # 1/2 MB should be enough
5302 i=`expr $i + 1`
5303 teststring=$teststring$teststring
5304 done
5305 # Only check the string length outside the loop.
5306 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5307 teststring=
5308 # Add a significant safety factor because C++ compilers can tack on
5309 # massive amounts of additional arguments before passing them to the
5310 # linker. It appears as though 1/2 is a usable value.
5311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5314 esac
5318 if test -n $lt_cv_sys_max_cmd_len ; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5320 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5321 else
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5323 $as_echo "none" >&6; }
5325 max_cmd_len=$lt_cv_sys_max_cmd_len
5332 : ${CP="cp -f"}
5333 : ${MV="mv -f"}
5334 : ${RM="rm -f"}
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5337 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5338 # Try some XSI features
5339 xsi_shell=no
5340 ( _lt_dummy="a/b/c"
5341 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5342 = c,a/b,b/c, \
5343 && eval 'test $(( 1 + 1 )) -eq 2 \
5344 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5345 && xsi_shell=yes
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5347 $as_echo "$xsi_shell" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5351 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5352 lt_shell_append=no
5353 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5354 >/dev/null 2>&1 \
5355 && lt_shell_append=yes
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5357 $as_echo "$lt_shell_append" >&6; }
5360 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5361 lt_unset=unset
5362 else
5363 lt_unset=false
5370 # test EBCDIC or ASCII
5371 case `echo X|tr X '\101'` in
5372 A) # ASCII based system
5373 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5374 lt_SP2NL='tr \040 \012'
5375 lt_NL2SP='tr \015\012 \040\040'
5377 *) # EBCDIC based system
5378 lt_SP2NL='tr \100 \n'
5379 lt_NL2SP='tr \r\n \100\100'
5381 esac
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5392 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5393 if ${lt_cv_to_host_file_cmd+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 case $host in
5397 *-*-mingw* )
5398 case $build in
5399 *-*-mingw* ) # actually msys
5400 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5402 *-*-cygwin* )
5403 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5405 * ) # otherwise, assume *nix
5406 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5408 esac
5410 *-*-cygwin* )
5411 case $build in
5412 *-*-mingw* ) # actually msys
5413 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5415 *-*-cygwin* )
5416 lt_cv_to_host_file_cmd=func_convert_file_noop
5418 * ) # otherwise, assume *nix
5419 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5421 esac
5423 * ) # unhandled hosts (and "normal" native builds)
5424 lt_cv_to_host_file_cmd=func_convert_file_noop
5426 esac
5430 to_host_file_cmd=$lt_cv_to_host_file_cmd
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5432 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5439 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5440 if ${lt_cv_to_tool_file_cmd+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 #assume ordinary cross tools, or native build.
5444 lt_cv_to_tool_file_cmd=func_convert_file_noop
5445 case $host in
5446 *-*-mingw* )
5447 case $build in
5448 *-*-mingw* ) # actually msys
5449 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5451 esac
5453 esac
5457 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5459 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5466 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5467 if ${lt_cv_ld_reload_flag+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 lt_cv_ld_reload_flag='-r'
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5473 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5474 reload_flag=$lt_cv_ld_reload_flag
5475 case $reload_flag in
5476 "" | " "*) ;;
5477 *) reload_flag=" $reload_flag" ;;
5478 esac
5479 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5480 case $host_os in
5481 cygwin* | mingw* | pw32* | cegcc*)
5482 if test "$GCC" != yes; then
5483 reload_cmds=false
5486 darwin*)
5487 if test "$GCC" = yes; then
5488 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5489 else
5490 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5493 esac
5503 if test -n "$ac_tool_prefix"; then
5504 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5505 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_OBJDUMP+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if test -n "$OBJDUMP"; then
5512 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5517 IFS=$as_save_IFS
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5521 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 break 2
5525 done
5526 done
5527 IFS=$as_save_IFS
5531 OBJDUMP=$ac_cv_prog_OBJDUMP
5532 if test -n "$OBJDUMP"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5534 $as_echo "$OBJDUMP" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if test -z "$ac_cv_prog_OBJDUMP"; then
5543 ac_ct_OBJDUMP=$OBJDUMP
5544 # Extract the first word of "objdump", so it can be a program name with args.
5545 set dummy objdump; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$ac_ct_OBJDUMP"; then
5552 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5561 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5572 if test -n "$ac_ct_OBJDUMP"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5574 $as_echo "$ac_ct_OBJDUMP" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5580 if test "x$ac_ct_OBJDUMP" = x; then
5581 OBJDUMP="false"
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 OBJDUMP=$ac_ct_OBJDUMP
5591 else
5592 OBJDUMP="$ac_cv_prog_OBJDUMP"
5595 test -z "$OBJDUMP" && OBJDUMP=objdump
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5606 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5607 if ${lt_cv_deplibs_check_method+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 lt_cv_file_magic_cmd='$MAGIC_CMD'
5611 lt_cv_file_magic_test_file=
5612 lt_cv_deplibs_check_method='unknown'
5613 # Need to set the preceding variable on all platforms that support
5614 # interlibrary dependencies.
5615 # 'none' -- dependencies not supported.
5616 # `unknown' -- same as none, but documents that we really don't know.
5617 # 'pass_all' -- all dependencies passed with no checks.
5618 # 'test_compile' -- check by making test program.
5619 # 'file_magic [[regex]]' -- check by looking for files in library path
5620 # which responds to the $file_magic_cmd with a given extended regex.
5621 # If you have `file' or equivalent on your system and you're not sure
5622 # whether `pass_all' will *always* work, you probably want this one.
5624 case $host_os in
5625 aix[4-9]*)
5626 lt_cv_deplibs_check_method=pass_all
5629 beos*)
5630 lt_cv_deplibs_check_method=pass_all
5633 bsdi[45]*)
5634 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5635 lt_cv_file_magic_cmd='/usr/bin/file -L'
5636 lt_cv_file_magic_test_file=/shlib/libc.so
5639 cygwin*)
5640 # func_win32_libid is a shell function defined in ltmain.sh
5641 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5642 lt_cv_file_magic_cmd='func_win32_libid'
5645 mingw* | pw32*)
5646 # Base MSYS/MinGW do not provide the 'file' command needed by
5647 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5648 # unless we find 'file', for example because we are cross-compiling.
5649 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5650 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5651 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5652 lt_cv_file_magic_cmd='func_win32_libid'
5653 else
5654 # Keep this pattern in sync with the one in func_win32_libid.
5655 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5656 lt_cv_file_magic_cmd='$OBJDUMP -f'
5660 cegcc*)
5661 # use the weaker test based on 'objdump'. See mingw*.
5662 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5663 lt_cv_file_magic_cmd='$OBJDUMP -f'
5666 darwin* | rhapsody*)
5667 lt_cv_deplibs_check_method=pass_all
5670 freebsd* | dragonfly*)
5671 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5672 case $host_cpu in
5673 i*86 )
5674 # Not sure whether the presence of OpenBSD here was a mistake.
5675 # Let's accept both of them until this is cleared up.
5676 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5677 lt_cv_file_magic_cmd=/usr/bin/file
5678 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5680 esac
5681 else
5682 lt_cv_deplibs_check_method=pass_all
5686 gnu*)
5687 lt_cv_deplibs_check_method=pass_all
5690 haiku*)
5691 lt_cv_deplibs_check_method=pass_all
5694 hpux10.20* | hpux11*)
5695 lt_cv_file_magic_cmd=/usr/bin/file
5696 case $host_cpu in
5697 ia64*)
5698 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5699 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5701 hppa*64*)
5702 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]'
5703 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5706 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5707 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5709 esac
5712 interix[3-9]*)
5713 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5717 irix5* | irix6* | nonstopux*)
5718 case $LD in
5719 *-32|*"-32 ") libmagic=32-bit;;
5720 *-n32|*"-n32 ") libmagic=N32;;
5721 *-64|*"-64 ") libmagic=64-bit;;
5722 *) libmagic=never-match;;
5723 esac
5724 lt_cv_deplibs_check_method=pass_all
5727 # This must be Linux ELF.
5728 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5729 lt_cv_deplibs_check_method=pass_all
5732 netbsd*)
5733 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5735 else
5736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5740 newos6*)
5741 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5742 lt_cv_file_magic_cmd=/usr/bin/file
5743 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5746 *nto* | *qnx*)
5747 lt_cv_deplibs_check_method=pass_all
5750 openbsd*)
5751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5752 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5753 else
5754 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5758 osf3* | osf4* | osf5*)
5759 lt_cv_deplibs_check_method=pass_all
5762 rdos*)
5763 lt_cv_deplibs_check_method=pass_all
5766 solaris*)
5767 lt_cv_deplibs_check_method=pass_all
5770 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5771 lt_cv_deplibs_check_method=pass_all
5774 sysv4 | sysv4.3*)
5775 case $host_vendor in
5776 motorola)
5777 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]'
5778 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5780 ncr)
5781 lt_cv_deplibs_check_method=pass_all
5783 sequent)
5784 lt_cv_file_magic_cmd='/bin/file'
5785 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5787 sni)
5788 lt_cv_file_magic_cmd='/bin/file'
5789 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5790 lt_cv_file_magic_test_file=/lib/libc.so
5792 siemens)
5793 lt_cv_deplibs_check_method=pass_all
5796 lt_cv_deplibs_check_method=pass_all
5798 esac
5801 tpf*)
5802 lt_cv_deplibs_check_method=pass_all
5804 esac
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5808 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5810 file_magic_glob=
5811 want_nocaseglob=no
5812 if test "$build" = "$host"; then
5813 case $host_os in
5814 mingw* | pw32*)
5815 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5816 want_nocaseglob=yes
5817 else
5818 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5821 esac
5824 file_magic_cmd=$lt_cv_file_magic_cmd
5825 deplibs_check_method=$lt_cv_deplibs_check_method
5826 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5849 if test -n "$ac_tool_prefix"; then
5850 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5851 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_DLLTOOL+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$DLLTOOL"; then
5858 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 DLLTOOL=$ac_cv_prog_DLLTOOL
5878 if test -n "$DLLTOOL"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5880 $as_echo "$DLLTOOL" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5888 if test -z "$ac_cv_prog_DLLTOOL"; then
5889 ac_ct_DLLTOOL=$DLLTOOL
5890 # Extract the first word of "dlltool", so it can be a program name with args.
5891 set dummy dlltool; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 if test -n "$ac_ct_DLLTOOL"; then
5898 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5918 if test -n "$ac_ct_DLLTOOL"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5920 $as_echo "$ac_ct_DLLTOOL" >&6; }
5921 else
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5926 if test "x$ac_ct_DLLTOOL" = x; then
5927 DLLTOOL="false"
5928 else
5929 case $cross_compiling:$ac_tool_warned in
5930 yes:)
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5933 ac_tool_warned=yes ;;
5934 esac
5935 DLLTOOL=$ac_ct_DLLTOOL
5937 else
5938 DLLTOOL="$ac_cv_prog_DLLTOOL"
5941 test -z "$DLLTOOL" && DLLTOOL=dlltool
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5953 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5954 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 lt_cv_sharedlib_from_linklib_cmd='unknown'
5959 case $host_os in
5960 cygwin* | mingw* | pw32* | cegcc*)
5961 # two different shell functions defined in ltmain.sh
5962 # decide which to use based on capabilities of $DLLTOOL
5963 case `$DLLTOOL --help 2>&1` in
5964 *--identify-strict*)
5965 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5968 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5970 esac
5973 # fallback: assume linklib IS sharedlib
5974 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5976 esac
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5980 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5981 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5982 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5990 if test -n "$ac_tool_prefix"; then
5991 for ac_prog in ar
5993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_AR+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$AR"; then
6001 ac_cv_prog_AR="$AR" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 AR=$ac_cv_prog_AR
6021 if test -n "$AR"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6023 $as_echo "$AR" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$AR" && break
6031 done
6033 if test -z "$AR"; then
6034 ac_ct_AR=$AR
6035 for ac_prog in ar
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy $ac_prog; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$ac_ct_AR"; then
6045 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054 ac_cv_prog_ac_ct_AR="$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6058 done
6059 done
6060 IFS=$as_save_IFS
6064 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6065 if test -n "$ac_ct_AR"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6067 $as_echo "$ac_ct_AR" >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$ac_ct_AR" && break
6075 done
6077 if test "x$ac_ct_AR" = x; then
6078 AR="false"
6079 else
6080 case $cross_compiling:$ac_tool_warned in
6081 yes:)
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6084 ac_tool_warned=yes ;;
6085 esac
6086 AR=$ac_ct_AR
6090 : ${AR=ar}
6091 : ${AR_FLAGS=cru}
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6104 $as_echo_n "checking for archiver @FILE support... " >&6; }
6105 if ${lt_cv_ar_at_file+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 lt_cv_ar_at_file=no
6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6113 main ()
6117 return 0;
6119 _ACEOF
6120 if ac_fn_c_try_compile "$LINENO"; then :
6121 echo conftest.$ac_objext > conftest.lst
6122 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6123 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6124 (eval $lt_ar_try) 2>&5
6125 ac_status=$?
6126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6127 test $ac_status = 0; }
6128 if test "$ac_status" -eq 0; then
6129 # Ensure the archiver fails upon bogus file names.
6130 rm -f conftest.$ac_objext libconftest.a
6131 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6132 (eval $lt_ar_try) 2>&5
6133 ac_status=$?
6134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6135 test $ac_status = 0; }
6136 if test "$ac_status" -ne 0; then
6137 lt_cv_ar_at_file=@
6140 rm -f conftest.* libconftest.a
6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6147 $as_echo "$lt_cv_ar_at_file" >&6; }
6149 if test "x$lt_cv_ar_at_file" = xno; then
6150 archiver_list_spec=
6151 else
6152 archiver_list_spec=$lt_cv_ar_at_file
6161 if test -n "$ac_tool_prefix"; then
6162 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6163 set dummy ${ac_tool_prefix}strip; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_STRIP+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 if test -n "$STRIP"; then
6170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 break 2
6183 done
6184 done
6185 IFS=$as_save_IFS
6189 STRIP=$ac_cv_prog_STRIP
6190 if test -n "$STRIP"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6192 $as_echo "$STRIP" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6200 if test -z "$ac_cv_prog_STRIP"; then
6201 ac_ct_STRIP=$STRIP
6202 # Extract the first word of "strip", so it can be a program name with args.
6203 set dummy strip; ac_word=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 $as_echo_n "checking for $ac_word... " >&6; }
6206 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6207 $as_echo_n "(cached) " >&6
6208 else
6209 if test -n "$ac_ct_STRIP"; then
6210 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6211 else
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 for as_dir in $PATH
6215 IFS=$as_save_IFS
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_ac_ct_STRIP="strip"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 break 2
6223 done
6224 done
6225 IFS=$as_save_IFS
6229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6230 if test -n "$ac_ct_STRIP"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6232 $as_echo "$ac_ct_STRIP" >&6; }
6233 else
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6238 if test "x$ac_ct_STRIP" = x; then
6239 STRIP=":"
6240 else
6241 case $cross_compiling:$ac_tool_warned in
6242 yes:)
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6245 ac_tool_warned=yes ;;
6246 esac
6247 STRIP=$ac_ct_STRIP
6249 else
6250 STRIP="$ac_cv_prog_STRIP"
6253 test -z "$STRIP" && STRIP=:
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 $as_echo_n "checking for $ac_word... " >&6; }
6265 if ${ac_cv_prog_RANLIB+:} false; then :
6266 $as_echo_n "(cached) " >&6
6267 else
6268 if test -n "$RANLIB"; then
6269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6270 else
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH
6274 IFS=$as_save_IFS
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 break 2
6282 done
6283 done
6284 IFS=$as_save_IFS
6288 RANLIB=$ac_cv_prog_RANLIB
6289 if test -n "$RANLIB"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6291 $as_echo "$RANLIB" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6299 if test -z "$ac_cv_prog_RANLIB"; then
6300 ac_ct_RANLIB=$RANLIB
6301 # Extract the first word of "ranlib", so it can be a program name with args.
6302 set dummy ranlib; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 if test -n "$ac_ct_RANLIB"; then
6309 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6310 else
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 for as_dir in $PATH
6314 IFS=$as_save_IFS
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_ac_ct_RANLIB="ranlib"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 break 2
6322 done
6323 done
6324 IFS=$as_save_IFS
6328 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6329 if test -n "$ac_ct_RANLIB"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6331 $as_echo "$ac_ct_RANLIB" >&6; }
6332 else
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6337 if test "x$ac_ct_RANLIB" = x; then
6338 RANLIB=":"
6339 else
6340 case $cross_compiling:$ac_tool_warned in
6341 yes:)
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6344 ac_tool_warned=yes ;;
6345 esac
6346 RANLIB=$ac_ct_RANLIB
6348 else
6349 RANLIB="$ac_cv_prog_RANLIB"
6352 test -z "$RANLIB" && RANLIB=:
6359 # Determine commands to create old-style static archives.
6360 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6361 old_postinstall_cmds='chmod 644 $oldlib'
6362 old_postuninstall_cmds=
6364 if test -n "$RANLIB"; then
6365 case $host_os in
6366 openbsd*)
6367 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6372 esac
6373 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6376 case $host_os in
6377 darwin*)
6378 lock_old_archive_extraction=yes ;;
6380 lock_old_archive_extraction=no ;;
6381 esac
6421 # If no C compiler was specified, use CC.
6422 LTCC=${LTCC-"$CC"}
6424 # If no C compiler flags were specified, use CFLAGS.
6425 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6427 # Allow CC to be a program name with arguments.
6428 compiler=$CC
6431 # Check for command to grab the raw symbol name followed by C symbol from nm.
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6433 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6434 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6438 # These are sane defaults that work on at least a few old systems.
6439 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6441 # Character class describing NM global symbol codes.
6442 symcode='[BCDEGRST]'
6444 # Regexp to match symbols that can be accessed directly from C.
6445 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6447 # Define system-specific variables.
6448 case $host_os in
6449 aix*)
6450 symcode='[BCDT]'
6452 cygwin* | mingw* | pw32* | cegcc*)
6453 symcode='[ABCDGISTW]'
6455 hpux*)
6456 if test "$host_cpu" = ia64; then
6457 symcode='[ABCDEGRST]'
6460 irix* | nonstopux*)
6461 symcode='[BCDEGRST]'
6463 osf*)
6464 symcode='[BCDEGQRST]'
6466 solaris*)
6467 symcode='[BDRT]'
6469 sco3.2v5*)
6470 symcode='[DT]'
6472 sysv4.2uw2*)
6473 symcode='[DT]'
6475 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6476 symcode='[ABDT]'
6478 sysv4)
6479 symcode='[DFNSTU]'
6481 esac
6483 # If we're using GNU nm, then use its standard symbol codes.
6484 case `$NM -V 2>&1` in
6485 *GNU* | *'with BFD'*)
6486 symcode='[ABCDGIRSTW]' ;;
6487 esac
6489 # Transform an extracted symbol line into a proper C declaration.
6490 # Some systems (esp. on ia64) link data and code symbols differently,
6491 # so use this general approach.
6492 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6494 # Transform an extracted symbol line into symbol name and symbol address
6495 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6496 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'"
6498 # Handle CRLF in mingw tool chain
6499 opt_cr=
6500 case $build_os in
6501 mingw*)
6502 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6504 esac
6506 # Try without a prefix underscore, then with it.
6507 for ac_symprfx in "" "_"; do
6509 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6510 symxfrm="\\1 $ac_symprfx\\2 \\2"
6512 # Write the raw and C identifiers.
6513 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6514 # Fake it for dumpbin and say T for any non-static function
6515 # and D for any global variable.
6516 # Also find C++ and __fastcall symbols from MSVC++,
6517 # which start with @ or ?.
6518 lt_cv_sys_global_symbol_pipe="$AWK '"\
6519 " {last_section=section; section=\$ 3};"\
6520 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6521 " \$ 0!~/External *\|/{next};"\
6522 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6523 " {if(hide[section]) next};"\
6524 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6525 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6526 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6527 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6528 " ' prfx=^$ac_symprfx"
6529 else
6530 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6532 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6534 # Check to see that the pipe works correctly.
6535 pipe_works=no
6537 rm -f conftest*
6538 cat > conftest.$ac_ext <<_LT_EOF
6539 #ifdef __cplusplus
6540 extern "C" {
6541 #endif
6542 char nm_test_var;
6543 void nm_test_func(void);
6544 void nm_test_func(void){}
6545 #ifdef __cplusplus
6547 #endif
6548 int main(){nm_test_var='a';nm_test_func();return(0);}
6549 _LT_EOF
6551 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6552 (eval $ac_compile) 2>&5
6553 ac_status=$?
6554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6555 test $ac_status = 0; }; then
6556 # Now try to grab the symbols.
6557 nlist=conftest.nm
6558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6559 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6560 ac_status=$?
6561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6562 test $ac_status = 0; } && test -s "$nlist"; then
6563 # Try sorting and uniquifying the output.
6564 if sort "$nlist" | uniq > "$nlist"T; then
6565 mv -f "$nlist"T "$nlist"
6566 else
6567 rm -f "$nlist"T
6570 # Make sure that we snagged all the symbols we need.
6571 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6572 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6573 cat <<_LT_EOF > conftest.$ac_ext
6574 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6575 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6576 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6577 relocations are performed -- see ld's documentation on pseudo-relocs. */
6578 # define LT_DLSYM_CONST
6579 #elif defined(__osf__)
6580 /* This system does not cope well with relocations in const data. */
6581 # define LT_DLSYM_CONST
6582 #else
6583 # define LT_DLSYM_CONST const
6584 #endif
6586 #ifdef __cplusplus
6587 extern "C" {
6588 #endif
6590 _LT_EOF
6591 # Now generate the symbol file.
6592 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6594 cat <<_LT_EOF >> conftest.$ac_ext
6596 /* The mapping between symbol names and symbols. */
6597 LT_DLSYM_CONST struct {
6598 const char *name;
6599 void *address;
6601 lt__PROGRAM__LTX_preloaded_symbols[] =
6603 { "@PROGRAM@", (void *) 0 },
6604 _LT_EOF
6605 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6606 cat <<\_LT_EOF >> conftest.$ac_ext
6607 {0, (void *) 0}
6610 /* This works around a problem in FreeBSD linker */
6611 #ifdef FREEBSD_WORKAROUND
6612 static const void *lt_preloaded_setup() {
6613 return lt__PROGRAM__LTX_preloaded_symbols;
6615 #endif
6617 #ifdef __cplusplus
6619 #endif
6620 _LT_EOF
6621 # Now try linking the two files.
6622 mv conftest.$ac_objext conftstm.$ac_objext
6623 lt_globsym_save_LIBS=$LIBS
6624 lt_globsym_save_CFLAGS=$CFLAGS
6625 LIBS="conftstm.$ac_objext"
6626 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6627 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6628 (eval $ac_link) 2>&5
6629 ac_status=$?
6630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6631 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6632 pipe_works=yes
6634 LIBS=$lt_globsym_save_LIBS
6635 CFLAGS=$lt_globsym_save_CFLAGS
6636 else
6637 echo "cannot find nm_test_func in $nlist" >&5
6639 else
6640 echo "cannot find nm_test_var in $nlist" >&5
6642 else
6643 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6645 else
6646 echo "$progname: failed program was:" >&5
6647 cat conftest.$ac_ext >&5
6649 rm -rf conftest* conftst*
6651 # Do not use the global_symbol_pipe unless it works.
6652 if test "$pipe_works" = yes; then
6653 break
6654 else
6655 lt_cv_sys_global_symbol_pipe=
6657 done
6661 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6662 lt_cv_sys_global_symbol_to_cdecl=
6664 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6666 $as_echo "failed" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6669 $as_echo "ok" >&6; }
6672 # Response file support.
6673 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6674 nm_file_list_spec='@'
6675 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6676 nm_file_list_spec='@'
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6706 $as_echo_n "checking for sysroot... " >&6; }
6708 # Check whether --with-sysroot was given.
6709 if test "${with_sysroot+set}" = set; then :
6710 withval=$with_sysroot;
6711 else
6712 with_sysroot=no
6716 lt_sysroot=
6717 case ${with_sysroot} in #(
6718 yes)
6719 if test "$GCC" = yes; then
6720 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6722 ;; #(
6724 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6725 ;; #(
6726 no|'')
6727 ;; #(
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6730 $as_echo "${with_sysroot}" >&6; }
6731 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6733 esac
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6736 $as_echo "${lt_sysroot:-no}" >&6; }
6742 # Check whether --enable-libtool-lock was given.
6743 if test "${enable_libtool_lock+set}" = set; then :
6744 enableval=$enable_libtool_lock;
6747 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6749 # Some flags need to be propagated to the compiler or linker for good
6750 # libtool support.
6751 case $host in
6752 ia64-*-hpux*)
6753 # Find out which ABI we are using.
6754 echo 'int i;' > conftest.$ac_ext
6755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6756 (eval $ac_compile) 2>&5
6757 ac_status=$?
6758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6759 test $ac_status = 0; }; then
6760 case `/usr/bin/file conftest.$ac_objext` in
6761 *ELF-32*)
6762 HPUX_IA64_MODE="32"
6764 *ELF-64*)
6765 HPUX_IA64_MODE="64"
6767 esac
6769 rm -rf conftest*
6771 *-*-irix6*)
6772 # Find out which ABI we are using.
6773 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775 (eval $ac_compile) 2>&5
6776 ac_status=$?
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778 test $ac_status = 0; }; then
6779 if test "$lt_cv_prog_gnu_ld" = yes; then
6780 case `/usr/bin/file conftest.$ac_objext` in
6781 *32-bit*)
6782 LD="${LD-ld} -melf32bsmip"
6784 *N32*)
6785 LD="${LD-ld} -melf32bmipn32"
6787 *64-bit*)
6788 LD="${LD-ld} -melf64bmip"
6790 esac
6791 else
6792 case `/usr/bin/file conftest.$ac_objext` in
6793 *32-bit*)
6794 LD="${LD-ld} -32"
6796 *N32*)
6797 LD="${LD-ld} -n32"
6799 *64-bit*)
6800 LD="${LD-ld} -64"
6802 esac
6805 rm -rf conftest*
6808 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6809 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6810 # Find out which ABI we are using.
6811 echo 'int i;' > conftest.$ac_ext
6812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6813 (eval $ac_compile) 2>&5
6814 ac_status=$?
6815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6816 test $ac_status = 0; }; then
6817 case `/usr/bin/file conftest.o` in
6818 *32-bit*)
6819 case $host in
6820 x86_64-*kfreebsd*-gnu)
6821 LD="${LD-ld} -m elf_i386_fbsd"
6823 x86_64-*linux*)
6824 LD="${LD-ld} -m elf_i386"
6826 ppc64-*linux*|powerpc64-*linux*)
6827 LD="${LD-ld} -m elf32ppclinux"
6829 s390x-*linux*)
6830 LD="${LD-ld} -m elf_s390"
6832 sparc64-*linux*)
6833 LD="${LD-ld} -m elf32_sparc"
6835 esac
6837 *64-bit*)
6838 case $host in
6839 x86_64-*kfreebsd*-gnu)
6840 LD="${LD-ld} -m elf_x86_64_fbsd"
6842 x86_64-*linux*)
6843 LD="${LD-ld} -m elf_x86_64"
6845 ppc*-*linux*|powerpc*-*linux*)
6846 LD="${LD-ld} -m elf64ppc"
6848 s390*-*linux*|s390*-*tpf*)
6849 LD="${LD-ld} -m elf64_s390"
6851 sparc*-*linux*)
6852 LD="${LD-ld} -m elf64_sparc"
6854 esac
6856 esac
6858 rm -rf conftest*
6861 *-*-sco3.2v5*)
6862 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6863 SAVE_CFLAGS="$CFLAGS"
6864 CFLAGS="$CFLAGS -belf"
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6866 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6867 if ${lt_cv_cc_needs_belf+:} false; then :
6868 $as_echo_n "(cached) " >&6
6869 else
6870 ac_ext=c
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6880 main ()
6884 return 0;
6886 _ACEOF
6887 if ac_fn_c_try_link "$LINENO"; then :
6888 lt_cv_cc_needs_belf=yes
6889 else
6890 lt_cv_cc_needs_belf=no
6892 rm -f core conftest.err conftest.$ac_objext \
6893 conftest$ac_exeext conftest.$ac_ext
6894 ac_ext=c
6895 ac_cpp='$CPP $CPPFLAGS'
6896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6902 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6903 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6904 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6905 CFLAGS="$SAVE_CFLAGS"
6908 sparc*-*solaris*)
6909 # Find out which ABI we are using.
6910 echo 'int i;' > conftest.$ac_ext
6911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6912 (eval $ac_compile) 2>&5
6913 ac_status=$?
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; }; then
6916 case `/usr/bin/file conftest.o` in
6917 *64-bit*)
6918 case $lt_cv_prog_gnu_ld in
6919 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6921 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6922 LD="${LD-ld} -64"
6925 esac
6927 esac
6929 rm -rf conftest*
6931 esac
6933 need_locks="$enable_libtool_lock"
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6937 set dummy ${ac_tool_prefix}mt; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6941 $as_echo_n "(cached) " >&6
6942 else
6943 if test -n "$MANIFEST_TOOL"; then
6944 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6945 else
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 for as_dir in $PATH
6949 IFS=$as_save_IFS
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 break 2
6957 done
6958 done
6959 IFS=$as_save_IFS
6963 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6964 if test -n "$MANIFEST_TOOL"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6966 $as_echo "$MANIFEST_TOOL" >&6; }
6967 else
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6974 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6975 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6976 # Extract the first word of "mt", so it can be a program name with args.
6977 set dummy mt; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6981 $as_echo_n "(cached) " >&6
6982 else
6983 if test -n "$ac_ct_MANIFEST_TOOL"; then
6984 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6985 else
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $PATH
6989 IFS=$as_save_IFS
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 break 2
6997 done
6998 done
6999 IFS=$as_save_IFS
7003 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7004 if test -n "$ac_ct_MANIFEST_TOOL"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7006 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7007 else
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7012 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7013 MANIFEST_TOOL=":"
7014 else
7015 case $cross_compiling:$ac_tool_warned in
7016 yes:)
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7019 ac_tool_warned=yes ;;
7020 esac
7021 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7023 else
7024 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7027 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7029 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7030 if ${lt_cv_path_mainfest_tool+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 lt_cv_path_mainfest_tool=no
7034 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7035 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7036 cat conftest.err >&5
7037 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7038 lt_cv_path_mainfest_tool=yes
7040 rm -f conftest*
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7043 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7044 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7045 MANIFEST_TOOL=:
7053 case $host_os in
7054 rhapsody* | darwin*)
7055 if test -n "$ac_tool_prefix"; then
7056 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7057 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7061 $as_echo_n "(cached) " >&6
7062 else
7063 if test -n "$DSYMUTIL"; then
7064 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7065 else
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 for as_dir in $PATH
7069 IFS=$as_save_IFS
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 break 2
7077 done
7078 done
7079 IFS=$as_save_IFS
7083 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7084 if test -n "$DSYMUTIL"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7086 $as_echo "$DSYMUTIL" >&6; }
7087 else
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7094 if test -z "$ac_cv_prog_DSYMUTIL"; then
7095 ac_ct_DSYMUTIL=$DSYMUTIL
7096 # Extract the first word of "dsymutil", so it can be a program name with args.
7097 set dummy dsymutil; ac_word=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7101 $as_echo_n "(cached) " >&6
7102 else
7103 if test -n "$ac_ct_DSYMUTIL"; then
7104 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7105 else
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 for as_dir in $PATH
7109 IFS=$as_save_IFS
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115 break 2
7117 done
7118 done
7119 IFS=$as_save_IFS
7123 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7124 if test -n "$ac_ct_DSYMUTIL"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7126 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7127 else
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7132 if test "x$ac_ct_DSYMUTIL" = x; then
7133 DSYMUTIL=":"
7134 else
7135 case $cross_compiling:$ac_tool_warned in
7136 yes:)
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139 ac_tool_warned=yes ;;
7140 esac
7141 DSYMUTIL=$ac_ct_DSYMUTIL
7143 else
7144 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if ${ac_cv_prog_NMEDIT+:} false; then :
7153 $as_echo_n "(cached) " >&6
7154 else
7155 if test -n "$NMEDIT"; then
7156 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7157 else
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 for as_dir in $PATH
7161 IFS=$as_save_IFS
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 break 2
7169 done
7170 done
7171 IFS=$as_save_IFS
7175 NMEDIT=$ac_cv_prog_NMEDIT
7176 if test -n "$NMEDIT"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7178 $as_echo "$NMEDIT" >&6; }
7179 else
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7186 if test -z "$ac_cv_prog_NMEDIT"; then
7187 ac_ct_NMEDIT=$NMEDIT
7188 # Extract the first word of "nmedit", so it can be a program name with args.
7189 set dummy nmedit; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 if test -n "$ac_ct_NMEDIT"; then
7196 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7201 IFS=$as_save_IFS
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7216 if test -n "$ac_ct_NMEDIT"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7218 $as_echo "$ac_ct_NMEDIT" >&6; }
7219 else
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7224 if test "x$ac_ct_NMEDIT" = x; then
7225 NMEDIT=":"
7226 else
7227 case $cross_compiling:$ac_tool_warned in
7228 yes:)
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned=yes ;;
7232 esac
7233 NMEDIT=$ac_ct_NMEDIT
7235 else
7236 NMEDIT="$ac_cv_prog_NMEDIT"
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_LIPO+:} false; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 if test -n "$LIPO"; then
7248 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 LIPO=$ac_cv_prog_LIPO
7268 if test -n "$LIPO"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7270 $as_echo "$LIPO" >&6; }
7271 else
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_LIPO"; then
7279 ac_ct_LIPO=$LIPO
7280 # Extract the first word of "lipo", so it can be a program name with args.
7281 set dummy lipo; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 if test -n "$ac_ct_LIPO"; then
7288 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_LIPO="lipo"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7301 done
7302 done
7303 IFS=$as_save_IFS
7307 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7308 if test -n "$ac_ct_LIPO"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7310 $as_echo "$ac_ct_LIPO" >&6; }
7311 else
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_LIPO" = x; then
7317 LIPO=":"
7318 else
7319 case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325 LIPO=$ac_ct_LIPO
7327 else
7328 LIPO="$ac_cv_prog_LIPO"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}otool; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_prog_OTOOL+:} false; then :
7337 $as_echo_n "(cached) " >&6
7338 else
7339 if test -n "$OTOOL"; then
7340 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7345 IFS=$as_save_IFS
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351 break 2
7353 done
7354 done
7355 IFS=$as_save_IFS
7359 OTOOL=$ac_cv_prog_OTOOL
7360 if test -n "$OTOOL"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7362 $as_echo "$OTOOL" >&6; }
7363 else
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_OTOOL"; then
7371 ac_ct_OTOOL=$OTOOL
7372 # Extract the first word of "otool", so it can be a program name with args.
7373 set dummy otool; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7377 $as_echo_n "(cached) " >&6
7378 else
7379 if test -n "$ac_ct_OTOOL"; then
7380 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7385 IFS=$as_save_IFS
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_OTOOL="otool"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 break 2
7393 done
7394 done
7395 IFS=$as_save_IFS
7399 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7400 if test -n "$ac_ct_OTOOL"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7402 $as_echo "$ac_ct_OTOOL" >&6; }
7403 else
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_OTOOL" = x; then
7409 OTOOL=":"
7410 else
7411 case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417 OTOOL=$ac_ct_OTOOL
7419 else
7420 OTOOL="$ac_cv_prog_OTOOL"
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if ${ac_cv_prog_OTOOL64+:} false; then :
7429 $as_echo_n "(cached) " >&6
7430 else
7431 if test -n "$OTOOL64"; then
7432 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7437 IFS=$as_save_IFS
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 break 2
7445 done
7446 done
7447 IFS=$as_save_IFS
7451 OTOOL64=$ac_cv_prog_OTOOL64
7452 if test -n "$OTOOL64"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7454 $as_echo "$OTOOL64" >&6; }
7455 else
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7462 if test -z "$ac_cv_prog_OTOOL64"; then
7463 ac_ct_OTOOL64=$OTOOL64
7464 # Extract the first word of "otool64", so it can be a program name with args.
7465 set dummy otool64; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7469 $as_echo_n "(cached) " >&6
7470 else
7471 if test -n "$ac_ct_OTOOL64"; then
7472 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7477 IFS=$as_save_IFS
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_OTOOL64="otool64"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 break 2
7485 done
7486 done
7487 IFS=$as_save_IFS
7491 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7492 if test -n "$ac_ct_OTOOL64"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7494 $as_echo "$ac_ct_OTOOL64" >&6; }
7495 else
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7500 if test "x$ac_ct_OTOOL64" = x; then
7501 OTOOL64=":"
7502 else
7503 case $cross_compiling:$ac_tool_warned in
7504 yes:)
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7508 esac
7509 OTOOL64=$ac_ct_OTOOL64
7511 else
7512 OTOOL64="$ac_cv_prog_OTOOL64"
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7542 $as_echo_n "checking for -single_module linker flag... " >&6; }
7543 if ${lt_cv_apple_cc_single_mod+:} false; then :
7544 $as_echo_n "(cached) " >&6
7545 else
7546 lt_cv_apple_cc_single_mod=no
7547 if test -z "${LT_MULTI_MODULE}"; then
7548 # By default we will add the -single_module flag. You can override
7549 # by either setting the environment variable LT_MULTI_MODULE
7550 # non-empty at configure time, or by adding -multi_module to the
7551 # link flags.
7552 rm -rf libconftest.dylib*
7553 echo "int foo(void){return 1;}" > conftest.c
7554 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7555 -dynamiclib -Wl,-single_module conftest.c" >&5
7556 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7557 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7558 _lt_result=$?
7559 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7560 lt_cv_apple_cc_single_mod=yes
7561 else
7562 cat conftest.err >&5
7564 rm -rf libconftest.dylib*
7565 rm -f conftest.*
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7569 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7571 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7572 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7573 $as_echo_n "(cached) " >&6
7574 else
7575 lt_cv_ld_exported_symbols_list=no
7576 save_LDFLAGS=$LDFLAGS
7577 echo "_main" > conftest.sym
7578 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7583 main ()
7587 return 0;
7589 _ACEOF
7590 if ac_fn_c_try_link "$LINENO"; then :
7591 lt_cv_ld_exported_symbols_list=yes
7592 else
7593 lt_cv_ld_exported_symbols_list=no
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7597 LDFLAGS="$save_LDFLAGS"
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7601 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7603 $as_echo_n "checking for -force_load linker flag... " >&6; }
7604 if ${lt_cv_ld_force_load+:} false; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 lt_cv_ld_force_load=no
7608 cat > conftest.c << _LT_EOF
7609 int forced_loaded() { return 2;}
7610 _LT_EOF
7611 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7612 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7613 echo "$AR cru libconftest.a conftest.o" >&5
7614 $AR cru libconftest.a conftest.o 2>&5
7615 echo "$RANLIB libconftest.a" >&5
7616 $RANLIB libconftest.a 2>&5
7617 cat > conftest.c << _LT_EOF
7618 int main() { return 0;}
7619 _LT_EOF
7620 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7621 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7622 _lt_result=$?
7623 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7624 lt_cv_ld_force_load=yes
7625 else
7626 cat conftest.err >&5
7628 rm -f conftest.err libconftest.a conftest conftest.c
7629 rm -rf conftest.dSYM
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7633 $as_echo "$lt_cv_ld_force_load" >&6; }
7634 case $host_os in
7635 rhapsody* | darwin1.[012])
7636 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7637 darwin1.*)
7638 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7639 darwin*) # darwin 5.x on
7640 # if running on 10.5 or later, the deployment target defaults
7641 # to the OS version, if on x86, and 10.4, the deployment
7642 # target defaults to 10.4. Don't you love it?
7643 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7644 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7645 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7646 10.[012]*)
7647 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7648 10.*)
7649 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7650 esac
7652 esac
7653 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7654 _lt_dar_single_mod='$single_module'
7656 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7657 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7658 else
7659 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7661 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7662 _lt_dsymutil='~$DSYMUTIL $lib || :'
7663 else
7664 _lt_dsymutil=
7667 esac
7669 for ac_header in dlfcn.h
7670 do :
7671 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7673 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define HAVE_DLFCN_H 1
7676 _ACEOF
7680 done
7686 # Set options
7690 enable_dlopen=no
7693 enable_win32_dll=no
7696 # Check whether --enable-shared was given.
7697 if test "${enable_shared+set}" = set; then :
7698 enableval=$enable_shared; p=${PACKAGE-default}
7699 case $enableval in
7700 yes) enable_shared=yes ;;
7701 no) enable_shared=no ;;
7703 enable_shared=no
7704 # Look at the argument we got. We use all the common list separators.
7705 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7706 for pkg in $enableval; do
7707 IFS="$lt_save_ifs"
7708 if test "X$pkg" = "X$p"; then
7709 enable_shared=yes
7711 done
7712 IFS="$lt_save_ifs"
7714 esac
7715 else
7716 enable_shared=yes
7727 # Check whether --enable-static was given.
7728 if test "${enable_static+set}" = set; then :
7729 enableval=$enable_static; p=${PACKAGE-default}
7730 case $enableval in
7731 yes) enable_static=yes ;;
7732 no) enable_static=no ;;
7734 enable_static=no
7735 # Look at the argument we got. We use all the common list separators.
7736 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7737 for pkg in $enableval; do
7738 IFS="$lt_save_ifs"
7739 if test "X$pkg" = "X$p"; then
7740 enable_static=yes
7742 done
7743 IFS="$lt_save_ifs"
7745 esac
7746 else
7747 enable_static=yes
7759 # Check whether --with-pic was given.
7760 if test "${with_pic+set}" = set; then :
7761 withval=$with_pic; pic_mode="$withval"
7762 else
7763 pic_mode=default
7767 test -z "$pic_mode" && pic_mode=default
7775 # Check whether --enable-fast-install was given.
7776 if test "${enable_fast_install+set}" = set; then :
7777 enableval=$enable_fast_install; p=${PACKAGE-default}
7778 case $enableval in
7779 yes) enable_fast_install=yes ;;
7780 no) enable_fast_install=no ;;
7782 enable_fast_install=no
7783 # Look at the argument we got. We use all the common list separators.
7784 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7785 for pkg in $enableval; do
7786 IFS="$lt_save_ifs"
7787 if test "X$pkg" = "X$p"; then
7788 enable_fast_install=yes
7790 done
7791 IFS="$lt_save_ifs"
7793 esac
7794 else
7795 enable_fast_install=yes
7808 # This can be used to rebuild libtool when needed
7809 LIBTOOL_DEPS="$ltmain"
7811 # Always use our own libtool.
7812 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7839 test -z "$LN_S" && LN_S="ln -s"
7854 if test -n "${ZSH_VERSION+set}" ; then
7855 setopt NO_GLOB_SUBST
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7859 $as_echo_n "checking for objdir... " >&6; }
7860 if ${lt_cv_objdir+:} false; then :
7861 $as_echo_n "(cached) " >&6
7862 else
7863 rm -f .libs 2>/dev/null
7864 mkdir .libs 2>/dev/null
7865 if test -d .libs; then
7866 lt_cv_objdir=.libs
7867 else
7868 # MS-DOS does not allow filenames that begin with a dot.
7869 lt_cv_objdir=_libs
7871 rmdir .libs 2>/dev/null
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7874 $as_echo "$lt_cv_objdir" >&6; }
7875 objdir=$lt_cv_objdir
7881 cat >>confdefs.h <<_ACEOF
7882 #define LT_OBJDIR "$lt_cv_objdir/"
7883 _ACEOF
7888 case $host_os in
7889 aix3*)
7890 # AIX sometimes has problems with the GCC collect2 program. For some
7891 # reason, if we set the COLLECT_NAMES environment variable, the problems
7892 # vanish in a puff of smoke.
7893 if test "X${COLLECT_NAMES+set}" != Xset; then
7894 COLLECT_NAMES=
7895 export COLLECT_NAMES
7898 esac
7900 # Global variables:
7901 ofile=libtool
7902 can_build_shared=yes
7904 # All known linkers require a `.a' archive for static linking (except MSVC,
7905 # which needs '.lib').
7906 libext=a
7908 with_gnu_ld="$lt_cv_prog_gnu_ld"
7910 old_CC="$CC"
7911 old_CFLAGS="$CFLAGS"
7913 # Set sane defaults for various variables
7914 test -z "$CC" && CC=cc
7915 test -z "$LTCC" && LTCC=$CC
7916 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7917 test -z "$LD" && LD=ld
7918 test -z "$ac_objext" && ac_objext=o
7920 for cc_temp in $compiler""; do
7921 case $cc_temp in
7922 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7923 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7924 \-*) ;;
7925 *) break;;
7926 esac
7927 done
7928 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7931 # Only perform the check for file, if the check method requires it
7932 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7933 case $deplibs_check_method in
7934 file_magic*)
7935 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7937 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7938 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 case $MAGIC_CMD in
7942 [\\/*] | ?:[\\/]*)
7943 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7946 lt_save_MAGIC_CMD="$MAGIC_CMD"
7947 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7948 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7949 for ac_dir in $ac_dummy; do
7950 IFS="$lt_save_ifs"
7951 test -z "$ac_dir" && ac_dir=.
7952 if test -f $ac_dir/${ac_tool_prefix}file; then
7953 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7954 if test -n "$file_magic_test_file"; then
7955 case $deplibs_check_method in
7956 "file_magic "*)
7957 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7958 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7959 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7960 $EGREP "$file_magic_regex" > /dev/null; then
7962 else
7963 cat <<_LT_EOF 1>&2
7965 *** Warning: the command libtool uses to detect shared libraries,
7966 *** $file_magic_cmd, produces output that libtool cannot recognize.
7967 *** The result is that libtool may fail to recognize shared libraries
7968 *** as such. This will affect the creation of libtool libraries that
7969 *** depend on shared libraries, but programs linked with such libtool
7970 *** libraries will work regardless of this problem. Nevertheless, you
7971 *** may want to report the problem to your system manager and/or to
7972 *** bug-libtool@gnu.org
7974 _LT_EOF
7975 fi ;;
7976 esac
7978 break
7980 done
7981 IFS="$lt_save_ifs"
7982 MAGIC_CMD="$lt_save_MAGIC_CMD"
7984 esac
7987 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7988 if test -n "$MAGIC_CMD"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7990 $as_echo "$MAGIC_CMD" >&6; }
7991 else
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
8000 if test -z "$lt_cv_path_MAGIC_CMD"; then
8001 if test -n "$ac_tool_prefix"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8003 $as_echo_n "checking for file... " >&6; }
8004 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8005 $as_echo_n "(cached) " >&6
8006 else
8007 case $MAGIC_CMD in
8008 [\\/*] | ?:[\\/]*)
8009 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8012 lt_save_MAGIC_CMD="$MAGIC_CMD"
8013 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8014 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8015 for ac_dir in $ac_dummy; do
8016 IFS="$lt_save_ifs"
8017 test -z "$ac_dir" && ac_dir=.
8018 if test -f $ac_dir/file; then
8019 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8020 if test -n "$file_magic_test_file"; then
8021 case $deplibs_check_method in
8022 "file_magic "*)
8023 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8024 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8026 $EGREP "$file_magic_regex" > /dev/null; then
8028 else
8029 cat <<_LT_EOF 1>&2
8031 *** Warning: the command libtool uses to detect shared libraries,
8032 *** $file_magic_cmd, produces output that libtool cannot recognize.
8033 *** The result is that libtool may fail to recognize shared libraries
8034 *** as such. This will affect the creation of libtool libraries that
8035 *** depend on shared libraries, but programs linked with such libtool
8036 *** libraries will work regardless of this problem. Nevertheless, you
8037 *** may want to report the problem to your system manager and/or to
8038 *** bug-libtool@gnu.org
8040 _LT_EOF
8041 fi ;;
8042 esac
8044 break
8046 done
8047 IFS="$lt_save_ifs"
8048 MAGIC_CMD="$lt_save_MAGIC_CMD"
8050 esac
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if test -n "$MAGIC_CMD"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8056 $as_echo "$MAGIC_CMD" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8063 else
8064 MAGIC_CMD=:
8070 esac
8072 # Use C for the default configuration in the libtool script
8074 lt_save_CC="$CC"
8075 ac_ext=c
8076 ac_cpp='$CPP $CPPFLAGS'
8077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8082 # Source file extension for C test sources.
8083 ac_ext=c
8085 # Object file extension for compiled C test sources.
8086 objext=o
8087 objext=$objext
8089 # Code to be used in simple compile tests
8090 lt_simple_compile_test_code="int some_variable = 0;"
8092 # Code to be used in simple link tests
8093 lt_simple_link_test_code='int main(){return(0);}'
8101 # If no C compiler was specified, use CC.
8102 LTCC=${LTCC-"$CC"}
8104 # If no C compiler flags were specified, use CFLAGS.
8105 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8107 # Allow CC to be a program name with arguments.
8108 compiler=$CC
8110 # Save the default compiler, since it gets overwritten when the other
8111 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8112 compiler_DEFAULT=$CC
8114 # save warnings/boilerplate of simple test code
8115 ac_outfile=conftest.$ac_objext
8116 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8117 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8118 _lt_compiler_boilerplate=`cat conftest.err`
8119 $RM conftest*
8121 ac_outfile=conftest.$ac_objext
8122 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8123 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8124 _lt_linker_boilerplate=`cat conftest.err`
8125 $RM -r conftest*
8128 ## CAVEAT EMPTOR:
8129 ## There is no encapsulation within the following macros, do not change
8130 ## the running order or otherwise move them around unless you know exactly
8131 ## what you are doing...
8132 if test -n "$compiler"; then
8134 lt_prog_compiler_no_builtin_flag=
8136 if test "$GCC" = yes; then
8137 case $cc_basename in
8138 nvcc*)
8139 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8141 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8142 esac
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8145 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8146 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8147 $as_echo_n "(cached) " >&6
8148 else
8149 lt_cv_prog_compiler_rtti_exceptions=no
8150 ac_outfile=conftest.$ac_objext
8151 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8152 lt_compiler_flag="-fno-rtti -fno-exceptions"
8153 # Insert the option either (1) after the last *FLAGS variable, or
8154 # (2) before a word containing "conftest.", or (3) at the end.
8155 # Note that $ac_compile itself does not contain backslashes and begins
8156 # with a dollar sign (not a hyphen), so the echo should work correctly.
8157 # The option is referenced via a variable to avoid confusing sed.
8158 lt_compile=`echo "$ac_compile" | $SED \
8159 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8161 -e 's:$: $lt_compiler_flag:'`
8162 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8163 (eval "$lt_compile" 2>conftest.err)
8164 ac_status=$?
8165 cat conftest.err >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 if (exit $ac_status) && test -s "$ac_outfile"; then
8168 # The compiler can only warn and ignore the option if not recognized
8169 # So say no if there are warnings other than the usual output.
8170 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8171 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8172 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8173 lt_cv_prog_compiler_rtti_exceptions=yes
8176 $RM conftest*
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8180 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8182 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8183 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8184 else
8195 lt_prog_compiler_wl=
8196 lt_prog_compiler_pic=
8197 lt_prog_compiler_static=
8200 if test "$GCC" = yes; then
8201 lt_prog_compiler_wl='-Wl,'
8202 lt_prog_compiler_static='-static'
8204 case $host_os in
8205 aix*)
8206 # All AIX code is PIC.
8207 if test "$host_cpu" = ia64; then
8208 # AIX 5 now supports IA64 processor
8209 lt_prog_compiler_static='-Bstatic'
8213 amigaos*)
8214 case $host_cpu in
8215 powerpc)
8216 # see comment about AmigaOS4 .so support
8217 lt_prog_compiler_pic='-fPIC'
8219 m68k)
8220 # FIXME: we need at least 68020 code to build shared libraries, but
8221 # adding the `-m68020' flag to GCC prevents building anything better,
8222 # like `-m68040'.
8223 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8225 esac
8228 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8229 # PIC is the default for these OSes.
8232 mingw* | cygwin* | pw32* | os2* | cegcc*)
8233 # This hack is so that the source file can tell whether it is being
8234 # built for inclusion in a dll (and should export symbols for example).
8235 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8236 # (--disable-auto-import) libraries
8237 lt_prog_compiler_pic='-DDLL_EXPORT'
8240 darwin* | rhapsody*)
8241 # PIC is the default on this platform
8242 # Common symbols not allowed in MH_DYLIB files
8243 lt_prog_compiler_pic='-fno-common'
8246 haiku*)
8247 # PIC is the default for Haiku.
8248 # The "-static" flag exists, but is broken.
8249 lt_prog_compiler_static=
8252 hpux*)
8253 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8254 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8255 # sets the default TLS model and affects inlining.
8256 case $host_cpu in
8257 hppa*64*)
8258 # +Z the default
8261 lt_prog_compiler_pic='-fPIC'
8263 esac
8266 interix[3-9]*)
8267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8268 # Instead, we relocate shared libraries at runtime.
8271 msdosdjgpp*)
8272 # Just because we use GCC doesn't mean we suddenly get shared libraries
8273 # on systems that don't support them.
8274 lt_prog_compiler_can_build_shared=no
8275 enable_shared=no
8278 *nto* | *qnx*)
8279 # QNX uses GNU C++, but need to define -shared option too, otherwise
8280 # it will coredump.
8281 lt_prog_compiler_pic='-fPIC -shared'
8284 sysv4*MP*)
8285 if test -d /usr/nec; then
8286 lt_prog_compiler_pic=-Kconform_pic
8291 lt_prog_compiler_pic='-fPIC'
8293 esac
8295 case $cc_basename in
8296 nvcc*) # Cuda Compiler Driver 2.2
8297 lt_prog_compiler_wl='-Xlinker '
8298 lt_prog_compiler_pic='-Xcompiler -fPIC'
8300 esac
8301 else
8302 # PORTME Check for flag to pass linker flags through the system compiler.
8303 case $host_os in
8304 aix*)
8305 lt_prog_compiler_wl='-Wl,'
8306 if test "$host_cpu" = ia64; then
8307 # AIX 5 now supports IA64 processor
8308 lt_prog_compiler_static='-Bstatic'
8309 else
8310 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8314 mingw* | cygwin* | pw32* | os2* | cegcc*)
8315 # This hack is so that the source file can tell whether it is being
8316 # built for inclusion in a dll (and should export symbols for example).
8317 lt_prog_compiler_pic='-DDLL_EXPORT'
8320 hpux9* | hpux10* | hpux11*)
8321 lt_prog_compiler_wl='-Wl,'
8322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8323 # not for PA HP-UX.
8324 case $host_cpu in
8325 hppa*64*|ia64*)
8326 # +Z the default
8329 lt_prog_compiler_pic='+Z'
8331 esac
8332 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8333 lt_prog_compiler_static='${wl}-a ${wl}archive'
8336 irix5* | irix6* | nonstopux*)
8337 lt_prog_compiler_wl='-Wl,'
8338 # PIC (with -KPIC) is the default.
8339 lt_prog_compiler_static='-non_shared'
8342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8343 case $cc_basename in
8344 # old Intel for x86_64 which still supported -KPIC.
8345 ecc*)
8346 lt_prog_compiler_wl='-Wl,'
8347 lt_prog_compiler_pic='-KPIC'
8348 lt_prog_compiler_static='-static'
8350 # icc used to be incompatible with GCC.
8351 # ICC 10 doesn't accept -KPIC any more.
8352 icc* | ifort*)
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_pic='-fPIC'
8355 lt_prog_compiler_static='-static'
8357 # Lahey Fortran 8.1.
8358 lf95*)
8359 lt_prog_compiler_wl='-Wl,'
8360 lt_prog_compiler_pic='--shared'
8361 lt_prog_compiler_static='--static'
8363 nagfor*)
8364 # NAG Fortran compiler
8365 lt_prog_compiler_wl='-Wl,-Wl,,'
8366 lt_prog_compiler_pic='-PIC'
8367 lt_prog_compiler_static='-Bstatic'
8369 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8370 # Portland Group compilers (*not* the Pentium gcc compiler,
8371 # which looks to be a dead project)
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_pic='-fpic'
8374 lt_prog_compiler_static='-Bstatic'
8376 ccc*)
8377 lt_prog_compiler_wl='-Wl,'
8378 # All Alpha code is PIC.
8379 lt_prog_compiler_static='-non_shared'
8381 xl* | bgxl* | bgf* | mpixl*)
8382 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8383 lt_prog_compiler_wl='-Wl,'
8384 lt_prog_compiler_pic='-qpic'
8385 lt_prog_compiler_static='-qstaticlink'
8388 case `$CC -V 2>&1 | sed 5q` in
8389 *Sun\ F* | *Sun*Fortran*)
8390 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8391 lt_prog_compiler_pic='-KPIC'
8392 lt_prog_compiler_static='-Bstatic'
8393 lt_prog_compiler_wl=''
8395 *Sun\ C*)
8396 # Sun C 5.9
8397 lt_prog_compiler_pic='-KPIC'
8398 lt_prog_compiler_static='-Bstatic'
8399 lt_prog_compiler_wl='-Wl,'
8401 esac
8403 esac
8406 newsos6)
8407 lt_prog_compiler_pic='-KPIC'
8408 lt_prog_compiler_static='-Bstatic'
8411 *nto* | *qnx*)
8412 # QNX uses GNU C++, but need to define -shared option too, otherwise
8413 # it will coredump.
8414 lt_prog_compiler_pic='-fPIC -shared'
8417 osf3* | osf4* | osf5*)
8418 lt_prog_compiler_wl='-Wl,'
8419 # All OSF/1 code is PIC.
8420 lt_prog_compiler_static='-non_shared'
8423 rdos*)
8424 lt_prog_compiler_static='-non_shared'
8427 solaris*)
8428 lt_prog_compiler_pic='-KPIC'
8429 lt_prog_compiler_static='-Bstatic'
8430 case $cc_basename in
8431 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8432 lt_prog_compiler_wl='-Qoption ld ';;
8434 lt_prog_compiler_wl='-Wl,';;
8435 esac
8438 sunos4*)
8439 lt_prog_compiler_wl='-Qoption ld '
8440 lt_prog_compiler_pic='-PIC'
8441 lt_prog_compiler_static='-Bstatic'
8444 sysv4 | sysv4.2uw2* | sysv4.3*)
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-KPIC'
8447 lt_prog_compiler_static='-Bstatic'
8450 sysv4*MP*)
8451 if test -d /usr/nec ;then
8452 lt_prog_compiler_pic='-Kconform_pic'
8453 lt_prog_compiler_static='-Bstatic'
8457 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8458 lt_prog_compiler_wl='-Wl,'
8459 lt_prog_compiler_pic='-KPIC'
8460 lt_prog_compiler_static='-Bstatic'
8463 unicos*)
8464 lt_prog_compiler_wl='-Wl,'
8465 lt_prog_compiler_can_build_shared=no
8468 uts4*)
8469 lt_prog_compiler_pic='-pic'
8470 lt_prog_compiler_static='-Bstatic'
8474 lt_prog_compiler_can_build_shared=no
8476 esac
8479 case $host_os in
8480 # For platforms which do not support PIC, -DPIC is meaningless:
8481 *djgpp*)
8482 lt_prog_compiler_pic=
8485 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8487 esac
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8490 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8491 if ${lt_cv_prog_compiler_pic+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8497 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8498 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8501 # Check to make sure the PIC flag actually works.
8503 if test -n "$lt_prog_compiler_pic"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8505 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8506 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 lt_cv_prog_compiler_pic_works=no
8510 ac_outfile=conftest.$ac_objext
8511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8513 # Insert the option either (1) after the last *FLAGS variable, or
8514 # (2) before a word containing "conftest.", or (3) at the end.
8515 # Note that $ac_compile itself does not contain backslashes and begins
8516 # with a dollar sign (not a hyphen), so the echo should work correctly.
8517 # The option is referenced via a variable to avoid confusing sed.
8518 lt_compile=`echo "$ac_compile" | $SED \
8519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521 -e 's:$: $lt_compiler_flag:'`
8522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8523 (eval "$lt_compile" 2>conftest.err)
8524 ac_status=$?
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 if (exit $ac_status) && test -s "$ac_outfile"; then
8528 # The compiler can only warn and ignore the option if not recognized
8529 # So say no if there are warnings other than the usual output.
8530 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8531 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8533 lt_cv_prog_compiler_pic_works=yes
8536 $RM conftest*
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8540 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8542 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8543 case $lt_prog_compiler_pic in
8544 "" | " "*) ;;
8545 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8546 esac
8547 else
8548 lt_prog_compiler_pic=
8549 lt_prog_compiler_can_build_shared=no
8565 # Check to make sure the static flag actually works.
8567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8569 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8570 if ${lt_cv_prog_compiler_static_works+:} false; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 lt_cv_prog_compiler_static_works=no
8574 save_LDFLAGS="$LDFLAGS"
8575 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8578 # The linker can only warn and ignore the option if not recognized
8579 # So say no if there are warnings
8580 if test -s conftest.err; then
8581 # Append any errors to the config.log.
8582 cat conftest.err 1>&5
8583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585 if diff conftest.exp conftest.er2 >/dev/null; then
8586 lt_cv_prog_compiler_static_works=yes
8588 else
8589 lt_cv_prog_compiler_static_works=yes
8592 $RM -r conftest*
8593 LDFLAGS="$save_LDFLAGS"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8597 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8599 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8601 else
8602 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8612 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8613 if ${lt_cv_prog_compiler_c_o+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 lt_cv_prog_compiler_c_o=no
8617 $RM -r conftest 2>/dev/null
8618 mkdir conftest
8619 cd conftest
8620 mkdir out
8621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8623 lt_compiler_flag="-o out/conftest2.$ac_objext"
8624 # Insert the option either (1) after the last *FLAGS variable, or
8625 # (2) before a word containing "conftest.", or (3) at the end.
8626 # Note that $ac_compile itself does not contain backslashes and begins
8627 # with a dollar sign (not a hyphen), so the echo should work correctly.
8628 lt_compile=`echo "$ac_compile" | $SED \
8629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8631 -e 's:$: $lt_compiler_flag:'`
8632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8633 (eval "$lt_compile" 2>out/conftest.err)
8634 ac_status=$?
8635 cat out/conftest.err >&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8638 then
8639 # The compiler can only warn and ignore the option if not recognized
8640 # So say no if there are warnings
8641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8642 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8643 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8644 lt_cv_prog_compiler_c_o=yes
8647 chmod u+w . 2>&5
8648 $RM conftest*
8649 # SGI C++ compiler will create directory out/ii_files/ for
8650 # template instantiation
8651 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8652 $RM out/* && rmdir out
8653 cd ..
8654 $RM -r conftest
8655 $RM conftest*
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8668 if ${lt_cv_prog_compiler_c_o+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 lt_cv_prog_compiler_c_o=no
8672 $RM -r conftest 2>/dev/null
8673 mkdir conftest
8674 cd conftest
8675 mkdir out
8676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8678 lt_compiler_flag="-o out/conftest2.$ac_objext"
8679 # Insert the option either (1) after the last *FLAGS variable, or
8680 # (2) before a word containing "conftest.", or (3) at the end.
8681 # Note that $ac_compile itself does not contain backslashes and begins
8682 # with a dollar sign (not a hyphen), so the echo should work correctly.
8683 lt_compile=`echo "$ac_compile" | $SED \
8684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8686 -e 's:$: $lt_compiler_flag:'`
8687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8688 (eval "$lt_compile" 2>out/conftest.err)
8689 ac_status=$?
8690 cat out/conftest.err >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8693 then
8694 # The compiler can only warn and ignore the option if not recognized
8695 # So say no if there are warnings
8696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8699 lt_cv_prog_compiler_c_o=yes
8702 chmod u+w . 2>&5
8703 $RM conftest*
8704 # SGI C++ compiler will create directory out/ii_files/ for
8705 # template instantiation
8706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8707 $RM out/* && rmdir out
8708 cd ..
8709 $RM -r conftest
8710 $RM conftest*
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8719 hard_links="nottested"
8720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8721 # do not overwrite the value of need_locks provided by the user
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8723 $as_echo_n "checking if we can lock with hard links... " >&6; }
8724 hard_links=yes
8725 $RM conftest*
8726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8727 touch conftest.a
8728 ln conftest.a conftest.b 2>&5 || hard_links=no
8729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8731 $as_echo "$hard_links" >&6; }
8732 if test "$hard_links" = no; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8735 need_locks=warn
8737 else
8738 need_locks=no
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8747 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8749 runpath_var=
8750 allow_undefined_flag=
8751 always_export_symbols=no
8752 archive_cmds=
8753 archive_expsym_cmds=
8754 compiler_needs_object=no
8755 enable_shared_with_static_runtimes=no
8756 export_dynamic_flag_spec=
8757 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8758 hardcode_automatic=no
8759 hardcode_direct=no
8760 hardcode_direct_absolute=no
8761 hardcode_libdir_flag_spec=
8762 hardcode_libdir_flag_spec_ld=
8763 hardcode_libdir_separator=
8764 hardcode_minus_L=no
8765 hardcode_shlibpath_var=unsupported
8766 inherit_rpath=no
8767 link_all_deplibs=unknown
8768 module_cmds=
8769 module_expsym_cmds=
8770 old_archive_from_new_cmds=
8771 old_archive_from_expsyms_cmds=
8772 thread_safe_flag_spec=
8773 whole_archive_flag_spec=
8774 # include_expsyms should be a list of space-separated symbols to be *always*
8775 # included in the symbol list
8776 include_expsyms=
8777 # exclude_expsyms can be an extended regexp of symbols to exclude
8778 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8779 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8780 # as well as any symbol that contains `d'.
8781 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8782 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8783 # platforms (ab)use it in PIC code, but their linkers get confused if
8784 # the symbol is explicitly referenced. Since portable code cannot
8785 # rely on this symbol name, it's probably fine to never include it in
8786 # preloaded symbol tables.
8787 # Exclude shared library initialization/finalization symbols.
8788 extract_expsyms_cmds=
8790 case $host_os in
8791 cygwin* | mingw* | pw32* | cegcc*)
8792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8793 # When not using gcc, we currently assume that we are using
8794 # Microsoft Visual C++.
8795 if test "$GCC" != yes; then
8796 with_gnu_ld=no
8799 interix*)
8800 # we just hope/assume this is gcc and not c89 (= MSVC++)
8801 with_gnu_ld=yes
8803 openbsd*)
8804 with_gnu_ld=no
8806 esac
8808 ld_shlibs=yes
8810 # On some targets, GNU ld is compatible enough with the native linker
8811 # that we're better off using the native interface for both.
8812 lt_use_gnu_ld_interface=no
8813 if test "$with_gnu_ld" = yes; then
8814 case $host_os in
8815 aix*)
8816 # The AIX port of GNU ld has always aspired to compatibility
8817 # with the native linker. However, as the warning in the GNU ld
8818 # block says, versions before 2.19.5* couldn't really create working
8819 # shared libraries, regardless of the interface used.
8820 case `$LD -v 2>&1` in
8821 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8822 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8823 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8825 lt_use_gnu_ld_interface=yes
8827 esac
8830 lt_use_gnu_ld_interface=yes
8832 esac
8835 if test "$lt_use_gnu_ld_interface" = yes; then
8836 # If archive_cmds runs LD, not CC, wlarc should be empty
8837 wlarc='${wl}'
8839 # Set some defaults for GNU ld with shared library support. These
8840 # are reset later if shared libraries are not supported. Putting them
8841 # here allows them to be overridden if necessary.
8842 runpath_var=LD_RUN_PATH
8843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8844 export_dynamic_flag_spec='${wl}--export-dynamic'
8845 # ancient GNU ld didn't support --whole-archive et. al.
8846 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8847 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8848 else
8849 whole_archive_flag_spec=
8851 supports_anon_versioning=no
8852 case `$LD -v 2>&1` in
8853 *GNU\ gold*) supports_anon_versioning=yes ;;
8854 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8855 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8856 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8857 *\ 2.11.*) ;; # other 2.11 versions
8858 *) supports_anon_versioning=yes ;;
8859 esac
8861 # See if GNU ld supports shared libraries.
8862 case $host_os in
8863 aix[3-9]*)
8864 # On AIX/PPC, the GNU linker is very broken
8865 if test "$host_cpu" != ia64; then
8866 ld_shlibs=no
8867 cat <<_LT_EOF 1>&2
8869 *** Warning: the GNU linker, at least up to release 2.19, is reported
8870 *** to be unable to reliably create shared libraries on AIX.
8871 *** Therefore, libtool is disabling shared libraries support. If you
8872 *** really care for shared libraries, you may want to install binutils
8873 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8874 *** You will then need to restart the configuration process.
8876 _LT_EOF
8880 amigaos*)
8881 case $host_cpu in
8882 powerpc)
8883 # see comment about AmigaOS4 .so support
8884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8885 archive_expsym_cmds=''
8887 m68k)
8888 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)'
8889 hardcode_libdir_flag_spec='-L$libdir'
8890 hardcode_minus_L=yes
8892 esac
8895 beos*)
8896 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8897 allow_undefined_flag=unsupported
8898 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8899 # support --undefined. This deserves some investigation. FIXME
8900 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901 else
8902 ld_shlibs=no
8906 cygwin* | mingw* | pw32* | cegcc*)
8907 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8908 # as there is no search path for DLLs.
8909 hardcode_libdir_flag_spec='-L$libdir'
8910 export_dynamic_flag_spec='${wl}--export-all-symbols'
8911 allow_undefined_flag=unsupported
8912 always_export_symbols=no
8913 enable_shared_with_static_runtimes=yes
8914 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'
8915 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8917 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8918 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8919 # If the export-symbols file already is a .def file (1st line
8920 # is EXPORTS), use it as is; otherwise, prepend...
8921 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8922 cp $export_symbols $output_objdir/$soname.def;
8923 else
8924 echo EXPORTS > $output_objdir/$soname.def;
8925 cat $export_symbols >> $output_objdir/$soname.def;
8927 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8928 else
8929 ld_shlibs=no
8933 haiku*)
8934 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 link_all_deplibs=yes
8938 interix[3-9]*)
8939 hardcode_direct=no
8940 hardcode_shlibpath_var=no
8941 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8942 export_dynamic_flag_spec='${wl}-E'
8943 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8944 # Instead, shared libraries are loaded at an image base (0x10000000 by
8945 # default) and relocated if they conflict, which is a slow very memory
8946 # consuming and fragmenting process. To avoid this, we pick a random,
8947 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8948 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8949 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8950 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'
8953 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8954 tmp_diet=no
8955 if test "$host_os" = linux-dietlibc; then
8956 case $cc_basename in
8957 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8958 esac
8960 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8961 && test "$tmp_diet" = no
8962 then
8963 tmp_addflag=' $pic_flag'
8964 tmp_sharedflag='-shared'
8965 case $cc_basename,$host_cpu in
8966 pgcc*) # Portland Group C compiler
8967 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'
8968 tmp_addflag=' $pic_flag'
8970 pgf77* | pgf90* | pgf95* | pgfortran*)
8971 # Portland Group f77 and f90 compilers
8972 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'
8973 tmp_addflag=' $pic_flag -Mnomain' ;;
8974 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8975 tmp_addflag=' -i_dynamic' ;;
8976 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8977 tmp_addflag=' -i_dynamic -nofor_main' ;;
8978 ifc* | ifort*) # Intel Fortran compiler
8979 tmp_addflag=' -nofor_main' ;;
8980 lf95*) # Lahey Fortran 8.1
8981 whole_archive_flag_spec=
8982 tmp_sharedflag='--shared' ;;
8983 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8984 tmp_sharedflag='-qmkshrobj'
8985 tmp_addflag= ;;
8986 nvcc*) # Cuda Compiler Driver 2.2
8987 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'
8988 compiler_needs_object=yes
8990 esac
8991 case `$CC -V 2>&1 | sed 5q` in
8992 *Sun\ C*) # Sun C 5.9
8993 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'
8994 compiler_needs_object=yes
8995 tmp_sharedflag='-G' ;;
8996 *Sun\ F*) # Sun Fortran 8.3
8997 tmp_sharedflag='-G' ;;
8998 esac
8999 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001 if test "x$supports_anon_versioning" = xyes; then
9002 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9003 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9004 echo "local: *; };" >> $output_objdir/$libname.ver~
9005 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9008 case $cc_basename in
9009 xlf* | bgf* | bgxlf* | mpixlf*)
9010 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9011 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9012 hardcode_libdir_flag_spec=
9013 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9014 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9015 if test "x$supports_anon_versioning" = xyes; then
9016 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9018 echo "local: *; };" >> $output_objdir/$libname.ver~
9019 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9022 esac
9023 else
9024 ld_shlibs=no
9028 netbsd*)
9029 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9030 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9031 wlarc=
9032 else
9033 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9038 solaris*)
9039 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9040 ld_shlibs=no
9041 cat <<_LT_EOF 1>&2
9043 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9044 *** create shared libraries on Solaris systems. Therefore, libtool
9045 *** is disabling shared libraries support. We urge you to upgrade GNU
9046 *** binutils to release 2.9.1 or newer. Another option is to modify
9047 *** your PATH or compiler configuration so that the native linker is
9048 *** used, and then restart.
9050 _LT_EOF
9051 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9052 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9054 else
9055 ld_shlibs=no
9059 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9060 case `$LD -v 2>&1` in
9061 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9062 ld_shlibs=no
9063 cat <<_LT_EOF 1>&2
9065 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9066 *** reliably create shared libraries on SCO systems. Therefore, libtool
9067 *** is disabling shared libraries support. We urge you to upgrade GNU
9068 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9069 *** your PATH or compiler configuration so that the native linker is
9070 *** used, and then restart.
9072 _LT_EOF
9075 # For security reasons, it is highly recommended that you always
9076 # use absolute paths for naming shared libraries, and exclude the
9077 # DT_RUNPATH tag from executables and libraries. But doing so
9078 # requires that you compile everything twice, which is a pain.
9079 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9080 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9081 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9083 else
9084 ld_shlibs=no
9087 esac
9090 sunos4*)
9091 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9092 wlarc=
9093 hardcode_direct=yes
9094 hardcode_shlibpath_var=no
9098 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9099 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9101 else
9102 ld_shlibs=no
9105 esac
9107 if test "$ld_shlibs" = no; then
9108 runpath_var=
9109 hardcode_libdir_flag_spec=
9110 export_dynamic_flag_spec=
9111 whole_archive_flag_spec=
9113 else
9114 # PORTME fill in a description of your system's linker (not GNU ld)
9115 case $host_os in
9116 aix3*)
9117 allow_undefined_flag=unsupported
9118 always_export_symbols=yes
9119 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'
9120 # Note: this linker hardcodes the directories in LIBPATH if there
9121 # are no directories specified by -L.
9122 hardcode_minus_L=yes
9123 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9124 # Neither direct hardcoding nor static linking is supported with a
9125 # broken collect2.
9126 hardcode_direct=unsupported
9130 aix[4-9]*)
9131 if test "$host_cpu" = ia64; then
9132 # On IA64, the linker does run time linking by default, so we don't
9133 # have to do anything special.
9134 aix_use_runtimelinking=no
9135 exp_sym_flag='-Bexport'
9136 no_entry_flag=""
9137 else
9138 # If we're using GNU nm, then we don't want the "-C" option.
9139 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9140 # Also, AIX nm treats weak defined symbols like other global
9141 # defined symbols, whereas GNU nm marks them as "W".
9142 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9143 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'
9144 else
9145 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'
9147 aix_use_runtimelinking=no
9149 # Test if we are trying to use run time linking or normal
9150 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9151 # need to do runtime linking.
9152 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9153 for ld_flag in $LDFLAGS; do
9154 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9155 aix_use_runtimelinking=yes
9156 break
9158 done
9160 esac
9162 exp_sym_flag='-bexport'
9163 no_entry_flag='-bnoentry'
9166 # When large executables or shared objects are built, AIX ld can
9167 # have problems creating the table of contents. If linking a library
9168 # or program results in "error TOC overflow" add -mminimal-toc to
9169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9172 archive_cmds=''
9173 hardcode_direct=yes
9174 hardcode_direct_absolute=yes
9175 hardcode_libdir_separator=':'
9176 link_all_deplibs=yes
9177 file_list_spec='${wl}-f,'
9179 if test "$GCC" = yes; then
9180 case $host_os in aix4.[012]|aix4.[012].*)
9181 # We only want to do this on AIX 4.2 and lower, the check
9182 # below for broken collect2 doesn't work under 4.3+
9183 collect2name=`${CC} -print-prog-name=collect2`
9184 if test -f "$collect2name" &&
9185 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9186 then
9187 # We have reworked collect2
9189 else
9190 # We have old collect2
9191 hardcode_direct=unsupported
9192 # It fails to find uninstalled libraries when the uninstalled
9193 # path is not listed in the libpath. Setting hardcode_minus_L
9194 # to unsupported forces relinking
9195 hardcode_minus_L=yes
9196 hardcode_libdir_flag_spec='-L$libdir'
9197 hardcode_libdir_separator=
9200 esac
9201 shared_flag='-shared'
9202 if test "$aix_use_runtimelinking" = yes; then
9203 shared_flag="$shared_flag "'${wl}-G'
9205 else
9206 # not using gcc
9207 if test "$host_cpu" = ia64; then
9208 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9209 # chokes on -Wl,-G. The following line is correct:
9210 shared_flag='-G'
9211 else
9212 if test "$aix_use_runtimelinking" = yes; then
9213 shared_flag='${wl}-G'
9214 else
9215 shared_flag='${wl}-bM:SRE'
9220 export_dynamic_flag_spec='${wl}-bexpall'
9221 # It seems that -bexpall does not export symbols beginning with
9222 # underscore (_), so it is better to generate a list of symbols to export.
9223 always_export_symbols=yes
9224 if test "$aix_use_runtimelinking" = yes; then
9225 # Warning - without using the other runtime loading flags (-brtl),
9226 # -berok will link without error, but may produce a broken library.
9227 allow_undefined_flag='-berok'
9228 # Determine the default libpath from the value encoded in an
9229 # empty executable.
9230 if test "${lt_cv_aix_libpath+set}" = set; then
9231 aix_libpath=$lt_cv_aix_libpath
9232 else
9233 if ${lt_cv_aix_libpath_+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9240 main ()
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9249 lt_aix_libpath_sed='
9250 /Import File Strings/,/^$/ {
9251 /^0/ {
9252 s/^0 *\([^ ]*\) *$/\1/
9256 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9257 # Check for a 64-bit object if we didn't find anything.
9258 if test -z "$lt_cv_aix_libpath_"; then
9259 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 if test -z "$lt_cv_aix_libpath_"; then
9265 lt_cv_aix_libpath_="/usr/lib:/lib"
9270 aix_libpath=$lt_cv_aix_libpath_
9273 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9274 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"
9275 else
9276 if test "$host_cpu" = ia64; then
9277 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9278 allow_undefined_flag="-z nodefs"
9279 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"
9280 else
9281 # Determine the default libpath from the value encoded in an
9282 # empty executable.
9283 if test "${lt_cv_aix_libpath+set}" = set; then
9284 aix_libpath=$lt_cv_aix_libpath
9285 else
9286 if ${lt_cv_aix_libpath_+:} false; then :
9287 $as_echo_n "(cached) " >&6
9288 else
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9293 main ()
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9302 lt_aix_libpath_sed='
9303 /Import File Strings/,/^$/ {
9304 /^0/ {
9305 s/^0 *\([^ ]*\) *$/\1/
9309 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9310 # Check for a 64-bit object if we didn't find anything.
9311 if test -z "$lt_cv_aix_libpath_"; then
9312 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 if test -z "$lt_cv_aix_libpath_"; then
9318 lt_cv_aix_libpath_="/usr/lib:/lib"
9323 aix_libpath=$lt_cv_aix_libpath_
9326 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9327 # Warning - without using the other run time loading flags,
9328 # -berok will link without error, but may produce a broken library.
9329 no_undefined_flag=' ${wl}-bernotok'
9330 allow_undefined_flag=' ${wl}-berok'
9331 if test "$with_gnu_ld" = yes; then
9332 # We only use this code for GNU lds that support --whole-archive.
9333 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9334 else
9335 # Exported symbols can be pulled into shared objects from archives
9336 whole_archive_flag_spec='$convenience'
9338 archive_cmds_need_lc=yes
9339 # This is similar to how AIX traditionally builds its shared libraries.
9340 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'
9345 amigaos*)
9346 case $host_cpu in
9347 powerpc)
9348 # see comment about AmigaOS4 .so support
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds=''
9352 m68k)
9353 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)'
9354 hardcode_libdir_flag_spec='-L$libdir'
9355 hardcode_minus_L=yes
9357 esac
9360 bsdi[45]*)
9361 export_dynamic_flag_spec=-rdynamic
9364 cygwin* | mingw* | pw32* | cegcc*)
9365 # When not using gcc, we currently assume that we are using
9366 # Microsoft Visual C++.
9367 # hardcode_libdir_flag_spec is actually meaningless, as there is
9368 # no search path for DLLs.
9369 case $cc_basename in
9370 cl*)
9371 # Native MSVC
9372 hardcode_libdir_flag_spec=' '
9373 allow_undefined_flag=unsupported
9374 always_export_symbols=yes
9375 file_list_spec='@'
9376 # Tell ltmain to make .lib files, not .a files.
9377 libext=lib
9378 # Tell ltmain to make .dll files, not .so files.
9379 shrext_cmds=".dll"
9380 # FIXME: Setting linknames here is a bad hack.
9381 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9382 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9383 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9384 else
9385 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9387 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9388 linknames='
9389 # The linker will not automatically build a static lib if we build a DLL.
9390 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9391 enable_shared_with_static_runtimes=yes
9392 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9393 # Don't use ranlib
9394 old_postinstall_cmds='chmod 644 $oldlib'
9395 postlink_cmds='lt_outputfile="@OUTPUT@"~
9396 lt_tool_outputfile="@TOOL_OUTPUT@"~
9397 case $lt_outputfile in
9398 *.exe|*.EXE) ;;
9400 lt_outputfile="$lt_outputfile.exe"
9401 lt_tool_outputfile="$lt_tool_outputfile.exe"
9403 esac~
9404 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9405 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9406 $RM "$lt_outputfile.manifest";
9410 # Assume MSVC wrapper
9411 hardcode_libdir_flag_spec=' '
9412 allow_undefined_flag=unsupported
9413 # Tell ltmain to make .lib files, not .a files.
9414 libext=lib
9415 # Tell ltmain to make .dll files, not .so files.
9416 shrext_cmds=".dll"
9417 # FIXME: Setting linknames here is a bad hack.
9418 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9419 # The linker will automatically build a .lib file if we build a DLL.
9420 old_archive_from_new_cmds='true'
9421 # FIXME: Should let the user specify the lib program.
9422 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9423 enable_shared_with_static_runtimes=yes
9425 esac
9428 darwin* | rhapsody*)
9431 archive_cmds_need_lc=no
9432 hardcode_direct=no
9433 hardcode_automatic=yes
9434 hardcode_shlibpath_var=unsupported
9435 if test "$lt_cv_ld_force_load" = "yes"; then
9436 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\"`'
9437 else
9438 whole_archive_flag_spec=''
9440 link_all_deplibs=yes
9441 allow_undefined_flag="$_lt_dar_allow_undefined"
9442 case $cc_basename in
9443 ifort*) _lt_dar_can_shared=yes ;;
9444 *) _lt_dar_can_shared=$GCC ;;
9445 esac
9446 if test "$_lt_dar_can_shared" = "yes"; then
9447 output_verbose_link_cmd=func_echo_all
9448 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9449 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9450 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}"
9451 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}"
9453 else
9454 ld_shlibs=no
9459 dgux*)
9460 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9461 hardcode_libdir_flag_spec='-L$libdir'
9462 hardcode_shlibpath_var=no
9465 freebsd1*)
9466 ld_shlibs=no
9469 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9470 # support. Future versions do this automatically, but an explicit c++rt0.o
9471 # does not break anything, and helps significantly (at the cost of a little
9472 # extra space).
9473 freebsd2.2*)
9474 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9475 hardcode_libdir_flag_spec='-R$libdir'
9476 hardcode_direct=yes
9477 hardcode_shlibpath_var=no
9480 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9481 freebsd2*)
9482 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9483 hardcode_direct=yes
9484 hardcode_minus_L=yes
9485 hardcode_shlibpath_var=no
9488 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9489 freebsd* | dragonfly*)
9490 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9491 hardcode_libdir_flag_spec='-R$libdir'
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9496 hpux9*)
9497 if test "$GCC" = yes; then
9498 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'
9499 else
9500 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'
9502 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9503 hardcode_libdir_separator=:
9504 hardcode_direct=yes
9506 # hardcode_minus_L: Not really in the search PATH,
9507 # but as the default location of the library.
9508 hardcode_minus_L=yes
9509 export_dynamic_flag_spec='${wl}-E'
9512 hpux10*)
9513 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9514 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9515 else
9516 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9518 if test "$with_gnu_ld" = no; then
9519 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9520 hardcode_libdir_flag_spec_ld='+b $libdir'
9521 hardcode_libdir_separator=:
9522 hardcode_direct=yes
9523 hardcode_direct_absolute=yes
9524 export_dynamic_flag_spec='${wl}-E'
9525 # hardcode_minus_L: Not really in the search PATH,
9526 # but as the default location of the library.
9527 hardcode_minus_L=yes
9531 hpux11*)
9532 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9533 case $host_cpu in
9534 hppa*64*)
9535 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9537 ia64*)
9538 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9543 esac
9544 else
9545 case $host_cpu in
9546 hppa*64*)
9547 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9549 ia64*)
9550 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9554 # Older versions of the 11.00 compiler do not understand -b yet
9555 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9557 $as_echo_n "checking if $CC understands -b... " >&6; }
9558 if ${lt_cv_prog_compiler__b+:} false; then :
9559 $as_echo_n "(cached) " >&6
9560 else
9561 lt_cv_prog_compiler__b=no
9562 save_LDFLAGS="$LDFLAGS"
9563 LDFLAGS="$LDFLAGS -b"
9564 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9565 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9566 # The linker can only warn and ignore the option if not recognized
9567 # So say no if there are warnings
9568 if test -s conftest.err; then
9569 # Append any errors to the config.log.
9570 cat conftest.err 1>&5
9571 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9572 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9573 if diff conftest.exp conftest.er2 >/dev/null; then
9574 lt_cv_prog_compiler__b=yes
9576 else
9577 lt_cv_prog_compiler__b=yes
9580 $RM -r conftest*
9581 LDFLAGS="$save_LDFLAGS"
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9585 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9587 if test x"$lt_cv_prog_compiler__b" = xyes; then
9588 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9589 else
9590 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9594 esac
9596 if test "$with_gnu_ld" = no; then
9597 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9598 hardcode_libdir_separator=:
9600 case $host_cpu in
9601 hppa*64*|ia64*)
9602 hardcode_direct=no
9603 hardcode_shlibpath_var=no
9606 hardcode_direct=yes
9607 hardcode_direct_absolute=yes
9608 export_dynamic_flag_spec='${wl}-E'
9610 # hardcode_minus_L: Not really in the search PATH,
9611 # but as the default location of the library.
9612 hardcode_minus_L=yes
9614 esac
9618 irix5* | irix6* | nonstopux*)
9619 if test "$GCC" = yes; then
9620 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'
9621 # Try to use the -exported_symbol ld option, if it does not
9622 # work, assume that -exports_file does not work either and
9623 # implicitly export all symbols.
9624 # This should be the same for all languages, so no per-tag cache variable.
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9626 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9627 if ${lt_cv_irix_exported_symbol+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 save_LDFLAGS="$LDFLAGS"
9631 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 int foo (void) { return 0; }
9635 _ACEOF
9636 if ac_fn_c_try_link "$LINENO"; then :
9637 lt_cv_irix_exported_symbol=yes
9638 else
9639 lt_cv_irix_exported_symbol=no
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 LDFLAGS="$save_LDFLAGS"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9646 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9647 if test "$lt_cv_irix_exported_symbol" = yes; then
9648 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'
9650 else
9651 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'
9652 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'
9654 archive_cmds_need_lc='no'
9655 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9656 hardcode_libdir_separator=:
9657 inherit_rpath=yes
9658 link_all_deplibs=yes
9661 netbsd*)
9662 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9663 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9664 else
9665 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9667 hardcode_libdir_flag_spec='-R$libdir'
9668 hardcode_direct=yes
9669 hardcode_shlibpath_var=no
9672 newsos6)
9673 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9674 hardcode_direct=yes
9675 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9676 hardcode_libdir_separator=:
9677 hardcode_shlibpath_var=no
9680 *nto* | *qnx*)
9683 openbsd*)
9684 if test -f /usr/libexec/ld.so; then
9685 hardcode_direct=yes
9686 hardcode_shlibpath_var=no
9687 hardcode_direct_absolute=yes
9688 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9689 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9691 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9692 export_dynamic_flag_spec='${wl}-E'
9693 else
9694 case $host_os in
9695 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9696 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9697 hardcode_libdir_flag_spec='-R$libdir'
9700 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9701 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9703 esac
9705 else
9706 ld_shlibs=no
9710 os2*)
9711 hardcode_libdir_flag_spec='-L$libdir'
9712 hardcode_minus_L=yes
9713 allow_undefined_flag=unsupported
9714 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'
9715 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9718 osf3*)
9719 if test "$GCC" = yes; then
9720 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9721 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'
9722 else
9723 allow_undefined_flag=' -expect_unresolved \*'
9724 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'
9726 archive_cmds_need_lc='no'
9727 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9728 hardcode_libdir_separator=:
9731 osf4* | osf5*) # as osf3* with the addition of -msym flag
9732 if test "$GCC" = yes; then
9733 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9734 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'
9735 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9736 else
9737 allow_undefined_flag=' -expect_unresolved \*'
9738 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'
9739 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~
9740 $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'
9742 # Both c and cxx compiler support -rpath directly
9743 hardcode_libdir_flag_spec='-rpath $libdir'
9745 archive_cmds_need_lc='no'
9746 hardcode_libdir_separator=:
9749 solaris*)
9750 no_undefined_flag=' -z defs'
9751 if test "$GCC" = yes; then
9752 wlarc='${wl}'
9753 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9754 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9755 $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'
9756 else
9757 case `$CC -V 2>&1` in
9758 *"Compilers 5.0"*)
9759 wlarc=''
9760 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9761 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9762 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9765 wlarc='${wl}'
9766 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9767 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9768 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9770 esac
9772 hardcode_libdir_flag_spec='-R$libdir'
9773 hardcode_shlibpath_var=no
9774 case $host_os in
9775 solaris2.[0-5] | solaris2.[0-5].*) ;;
9777 # The compiler driver will combine and reorder linker options,
9778 # but understands `-z linker_flag'. GCC discards it without `$wl',
9779 # but is careful enough not to reorder.
9780 # Supported since Solaris 2.6 (maybe 2.5.1?)
9781 if test "$GCC" = yes; then
9782 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9783 else
9784 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9787 esac
9788 link_all_deplibs=yes
9791 sunos4*)
9792 if test "x$host_vendor" = xsequent; then
9793 # Use $CC to link under sequent, because it throws in some extra .o
9794 # files that make .init and .fini sections work.
9795 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9796 else
9797 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9799 hardcode_libdir_flag_spec='-L$libdir'
9800 hardcode_direct=yes
9801 hardcode_minus_L=yes
9802 hardcode_shlibpath_var=no
9805 sysv4)
9806 case $host_vendor in
9807 sni)
9808 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_direct=yes # is this really true???
9811 siemens)
9812 ## LD is ld it makes a PLAMLIB
9813 ## CC just makes a GrossModule.
9814 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9815 reload_cmds='$CC -r -o $output$reload_objs'
9816 hardcode_direct=no
9818 motorola)
9819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9822 esac
9823 runpath_var='LD_RUN_PATH'
9824 hardcode_shlibpath_var=no
9827 sysv4.3*)
9828 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_shlibpath_var=no
9830 export_dynamic_flag_spec='-Bexport'
9833 sysv4*MP*)
9834 if test -d /usr/nec; then
9835 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9836 hardcode_shlibpath_var=no
9837 runpath_var=LD_RUN_PATH
9838 hardcode_runpath_var=yes
9839 ld_shlibs=yes
9843 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9844 no_undefined_flag='${wl}-z,text'
9845 archive_cmds_need_lc=no
9846 hardcode_shlibpath_var=no
9847 runpath_var='LD_RUN_PATH'
9849 if test "$GCC" = yes; then
9850 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9852 else
9853 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9858 sysv5* | sco3.2v5* | sco5v6*)
9859 # Note: We can NOT use -z defs as we might desire, because we do not
9860 # link with -lc, and that would cause any symbols used from libc to
9861 # always be unresolved, which means just about no library would
9862 # ever link correctly. If we're not using GNU ld we use -z text
9863 # though, which does catch some bad symbols but isn't as heavy-handed
9864 # as -z defs.
9865 no_undefined_flag='${wl}-z,text'
9866 allow_undefined_flag='${wl}-z,nodefs'
9867 archive_cmds_need_lc=no
9868 hardcode_shlibpath_var=no
9869 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9870 hardcode_libdir_separator=':'
9871 link_all_deplibs=yes
9872 export_dynamic_flag_spec='${wl}-Bexport'
9873 runpath_var='LD_RUN_PATH'
9875 if test "$GCC" = yes; then
9876 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9877 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 else
9879 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 uts4*)
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_libdir_flag_spec='-L$libdir'
9887 hardcode_shlibpath_var=no
9891 ld_shlibs=no
9893 esac
9895 if test x$host_vendor = xsni; then
9896 case $host in
9897 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9898 export_dynamic_flag_spec='${wl}-Blargedynsym'
9900 esac
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9905 $as_echo "$ld_shlibs" >&6; }
9906 test "$ld_shlibs" = no && can_build_shared=no
9908 with_gnu_ld=$with_gnu_ld
9925 # Do we need to explicitly link libc?
9927 case "x$archive_cmds_need_lc" in
9928 x|xyes)
9929 # Assume -lc should be added
9930 archive_cmds_need_lc=yes
9932 if test "$enable_shared" = yes && test "$GCC" = yes; then
9933 case $archive_cmds in
9934 *'~'*)
9935 # FIXME: we may have to deal with multi-command sequences.
9937 '$CC '*)
9938 # Test whether the compiler implicitly links with -lc since on some
9939 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9940 # to ld, don't add -lc before -lgcc.
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9942 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9943 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 $RM conftest*
9947 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9950 (eval $ac_compile) 2>&5
9951 ac_status=$?
9952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9953 test $ac_status = 0; } 2>conftest.err; then
9954 soname=conftest
9955 lib=conftest
9956 libobjs=conftest.$ac_objext
9957 deplibs=
9958 wl=$lt_prog_compiler_wl
9959 pic_flag=$lt_prog_compiler_pic
9960 compiler_flags=-v
9961 linker_flags=-v
9962 verstring=
9963 output_objdir=.
9964 libname=conftest
9965 lt_save_allow_undefined_flag=$allow_undefined_flag
9966 allow_undefined_flag=
9967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9968 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9969 ac_status=$?
9970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9971 test $ac_status = 0; }
9972 then
9973 lt_cv_archive_cmds_need_lc=no
9974 else
9975 lt_cv_archive_cmds_need_lc=yes
9977 allow_undefined_flag=$lt_save_allow_undefined_flag
9978 else
9979 cat conftest.err 1>&5
9981 $RM conftest*
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9985 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9986 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9988 esac
9991 esac
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10150 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10152 if test "$GCC" = yes; then
10153 case $host_os in
10154 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10155 *) lt_awk_arg="/^libraries:/" ;;
10156 esac
10157 case $host_os in
10158 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10159 *) lt_sed_strip_eq="s,=/,/,g" ;;
10160 esac
10161 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10162 case $lt_search_path_spec in
10163 *\;*)
10164 # if the path contains ";" then we assume it to be the separator
10165 # otherwise default to the standard path separator (i.e. ":") - it is
10166 # assumed that no part of a normal pathname contains ";" but that should
10167 # okay in the real world where ";" in dirpaths is itself problematic.
10168 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10171 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10173 esac
10174 # Ok, now we have the path, separated by spaces, we can step through it
10175 # and add multilib dir if necessary.
10176 lt_tmp_lt_search_path_spec=
10177 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10178 for lt_sys_path in $lt_search_path_spec; do
10179 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10180 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10181 else
10182 test -d "$lt_sys_path" && \
10183 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10185 done
10186 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10187 BEGIN {RS=" "; FS="/|\n";} {
10188 lt_foo="";
10189 lt_count=0;
10190 for (lt_i = NF; lt_i > 0; lt_i--) {
10191 if ($lt_i != "" && $lt_i != ".") {
10192 if ($lt_i == "..") {
10193 lt_count++;
10194 } else {
10195 if (lt_count == 0) {
10196 lt_foo="/" $lt_i lt_foo;
10197 } else {
10198 lt_count--;
10203 if (lt_foo != "") { lt_freq[lt_foo]++; }
10204 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10206 # AWK program above erroneously prepends '/' to C:/dos/paths
10207 # for these hosts.
10208 case $host_os in
10209 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10210 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10211 esac
10212 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10213 else
10214 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10216 library_names_spec=
10217 libname_spec='lib$name'
10218 soname_spec=
10219 shrext_cmds=".so"
10220 postinstall_cmds=
10221 postuninstall_cmds=
10222 finish_cmds=
10223 finish_eval=
10224 shlibpath_var=
10225 shlibpath_overrides_runpath=unknown
10226 version_type=none
10227 dynamic_linker="$host_os ld.so"
10228 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10229 need_lib_prefix=unknown
10230 hardcode_into_libs=no
10232 # when you set need_version to no, make sure it does not cause -set_version
10233 # flags to be left without arguments
10234 need_version=unknown
10236 case $host_os in
10237 aix3*)
10238 version_type=linux
10239 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10240 shlibpath_var=LIBPATH
10242 # AIX 3 has no versioning support, so we append a major version to the name.
10243 soname_spec='${libname}${release}${shared_ext}$major'
10246 aix[4-9]*)
10247 version_type=linux
10248 need_lib_prefix=no
10249 need_version=no
10250 hardcode_into_libs=yes
10251 if test "$host_cpu" = ia64; then
10252 # AIX 5 supports IA64
10253 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10254 shlibpath_var=LD_LIBRARY_PATH
10255 else
10256 # With GCC up to 2.95.x, collect2 would create an import file
10257 # for dependence libraries. The import file would start with
10258 # the line `#! .'. This would cause the generated library to
10259 # depend on `.', always an invalid library. This was fixed in
10260 # development snapshots of GCC prior to 3.0.
10261 case $host_os in
10262 aix4 | aix4.[01] | aix4.[01].*)
10263 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10264 echo ' yes '
10265 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10267 else
10268 can_build_shared=no
10271 esac
10272 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10273 # soname into executable. Probably we can add versioning support to
10274 # collect2, so additional links can be useful in future.
10275 if test "$aix_use_runtimelinking" = yes; then
10276 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10277 # instead of lib<name>.a to let people know that these are not
10278 # typical AIX shared libraries.
10279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10280 else
10281 # We preserve .a as extension for shared libraries through AIX4.2
10282 # and later when we are not doing run time linking.
10283 library_names_spec='${libname}${release}.a $libname.a'
10284 soname_spec='${libname}${release}${shared_ext}$major'
10286 shlibpath_var=LIBPATH
10290 amigaos*)
10291 case $host_cpu in
10292 powerpc)
10293 # Since July 2007 AmigaOS4 officially supports .so libraries.
10294 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297 m68k)
10298 library_names_spec='$libname.ixlibrary $libname.a'
10299 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10300 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'
10302 esac
10305 beos*)
10306 library_names_spec='${libname}${shared_ext}'
10307 dynamic_linker="$host_os ld.so"
10308 shlibpath_var=LIBRARY_PATH
10311 bsdi[45]*)
10312 version_type=linux
10313 need_version=no
10314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10315 soname_spec='${libname}${release}${shared_ext}$major'
10316 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10317 shlibpath_var=LD_LIBRARY_PATH
10318 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10319 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10320 # the default ld.so.conf also contains /usr/contrib/lib and
10321 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10322 # libtool to hard-code these into programs
10325 cygwin* | mingw* | pw32* | cegcc*)
10326 version_type=windows
10327 shrext_cmds=".dll"
10328 need_version=no
10329 need_lib_prefix=no
10331 case $GCC,$cc_basename in
10332 yes,*)
10333 # gcc
10334 library_names_spec='$libname.dll.a'
10335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10336 postinstall_cmds='base_file=`basename \${file}`~
10337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10338 dldir=$destdir/`dirname \$dlpath`~
10339 test -d \$dldir || mkdir -p \$dldir~
10340 $install_prog $dir/$dlname \$dldir/$dlname~
10341 chmod a+x \$dldir/$dlname~
10342 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10343 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10345 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10346 dlpath=$dir/\$dldll~
10347 $RM \$dlpath'
10348 shlibpath_overrides_runpath=yes
10350 case $host_os in
10351 cygwin*)
10352 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10353 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10355 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10357 mingw* | cegcc*)
10358 # MinGW DLLs use traditional 'lib' prefix
10359 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10361 pw32*)
10362 # pw32 DLLs use 'pw' prefix rather than 'lib'
10363 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10365 esac
10366 dynamic_linker='Win32 ld.exe'
10369 *,cl*)
10370 # Native MSVC
10371 libname_spec='$name'
10372 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10373 library_names_spec='${libname}.dll.lib'
10375 case $build_os in
10376 mingw*)
10377 sys_lib_search_path_spec=
10378 lt_save_ifs=$IFS
10379 IFS=';'
10380 for lt_path in $LIB
10382 IFS=$lt_save_ifs
10383 # Let DOS variable expansion print the short 8.3 style file name.
10384 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10385 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10386 done
10387 IFS=$lt_save_ifs
10388 # Convert to MSYS style.
10389 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10391 cygwin*)
10392 # Convert to unix form, then to dos form, then back to unix form
10393 # but this time dos style (no spaces!) so that the unix form looks
10394 # like /cygdrive/c/PROGRA~1:/cygdr...
10395 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10396 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10397 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10400 sys_lib_search_path_spec="$LIB"
10401 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10402 # It is most probably a Windows format PATH.
10403 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10404 else
10405 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10407 # FIXME: find the short name or the path components, as spaces are
10408 # common. (e.g. "Program Files" -> "PROGRA~1")
10410 esac
10412 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10413 postinstall_cmds='base_file=`basename \${file}`~
10414 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10415 dldir=$destdir/`dirname \$dlpath`~
10416 test -d \$dldir || mkdir -p \$dldir~
10417 $install_prog $dir/$dlname \$dldir/$dlname'
10418 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10419 dlpath=$dir/\$dldll~
10420 $RM \$dlpath'
10421 shlibpath_overrides_runpath=yes
10422 dynamic_linker='Win32 link.exe'
10426 # Assume MSVC wrapper
10427 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10428 dynamic_linker='Win32 ld.exe'
10430 esac
10431 # FIXME: first we should search . and the directory the executable is in
10432 shlibpath_var=PATH
10435 darwin* | rhapsody*)
10436 dynamic_linker="$host_os dyld"
10437 version_type=darwin
10438 need_lib_prefix=no
10439 need_version=no
10440 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10441 soname_spec='${libname}${release}${major}$shared_ext'
10442 shlibpath_overrides_runpath=yes
10443 shlibpath_var=DYLD_LIBRARY_PATH
10444 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10446 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10447 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10450 dgux*)
10451 version_type=linux
10452 need_lib_prefix=no
10453 need_version=no
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10455 soname_spec='${libname}${release}${shared_ext}$major'
10456 shlibpath_var=LD_LIBRARY_PATH
10459 freebsd1*)
10460 dynamic_linker=no
10463 freebsd* | dragonfly*)
10464 # DragonFly does not have aout. When/if they implement a new
10465 # versioning mechanism, adjust this.
10466 if test -x /usr/bin/objformat; then
10467 objformat=`/usr/bin/objformat`
10468 else
10469 case $host_os in
10470 freebsd[123]*) objformat=aout ;;
10471 *) objformat=elf ;;
10472 esac
10474 version_type=freebsd-$objformat
10475 case $version_type in
10476 freebsd-elf*)
10477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10478 need_version=no
10479 need_lib_prefix=no
10481 freebsd-*)
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10483 need_version=yes
10485 esac
10486 shlibpath_var=LD_LIBRARY_PATH
10487 case $host_os in
10488 freebsd2*)
10489 shlibpath_overrides_runpath=yes
10491 freebsd3.[01]* | freebsdelf3.[01]*)
10492 shlibpath_overrides_runpath=yes
10493 hardcode_into_libs=yes
10495 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10496 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10497 shlibpath_overrides_runpath=no
10498 hardcode_into_libs=yes
10500 *) # from 4.6 on, and DragonFly
10501 shlibpath_overrides_runpath=yes
10502 hardcode_into_libs=yes
10504 esac
10507 gnu*)
10508 version_type=linux
10509 need_lib_prefix=no
10510 need_version=no
10511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10512 soname_spec='${libname}${release}${shared_ext}$major'
10513 shlibpath_var=LD_LIBRARY_PATH
10514 hardcode_into_libs=yes
10517 haiku*)
10518 version_type=linux
10519 need_lib_prefix=no
10520 need_version=no
10521 dynamic_linker="$host_os runtime_loader"
10522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 shlibpath_var=LIBRARY_PATH
10525 shlibpath_overrides_runpath=yes
10526 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10527 hardcode_into_libs=yes
10530 hpux9* | hpux10* | hpux11*)
10531 # Give a soname corresponding to the major version so that dld.sl refuses to
10532 # link against other versions.
10533 version_type=sunos
10534 need_lib_prefix=no
10535 need_version=no
10536 case $host_cpu in
10537 ia64*)
10538 shrext_cmds='.so'
10539 hardcode_into_libs=yes
10540 dynamic_linker="$host_os dld.so"
10541 shlibpath_var=LD_LIBRARY_PATH
10542 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10545 if test "X$HPUX_IA64_MODE" = X32; then
10546 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10547 else
10548 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10550 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10552 hppa*64*)
10553 shrext_cmds='.sl'
10554 hardcode_into_libs=yes
10555 dynamic_linker="$host_os dld.sl"
10556 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10557 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10559 soname_spec='${libname}${release}${shared_ext}$major'
10560 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10561 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10564 shrext_cmds='.sl'
10565 dynamic_linker="$host_os dld.sl"
10566 shlibpath_var=SHLIB_PATH
10567 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec='${libname}${release}${shared_ext}$major'
10571 esac
10572 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10573 postinstall_cmds='chmod 555 $lib'
10574 # or fails outright, so override atomically:
10575 install_override_mode=555
10578 interix[3-9]*)
10579 version_type=linux
10580 need_lib_prefix=no
10581 need_version=no
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10583 soname_spec='${libname}${release}${shared_ext}$major'
10584 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10585 shlibpath_var=LD_LIBRARY_PATH
10586 shlibpath_overrides_runpath=no
10587 hardcode_into_libs=yes
10590 irix5* | irix6* | nonstopux*)
10591 case $host_os in
10592 nonstopux*) version_type=nonstopux ;;
10594 if test "$lt_cv_prog_gnu_ld" = yes; then
10595 version_type=linux
10596 else
10597 version_type=irix
10598 fi ;;
10599 esac
10600 need_lib_prefix=no
10601 need_version=no
10602 soname_spec='${libname}${release}${shared_ext}$major'
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10604 case $host_os in
10605 irix5* | nonstopux*)
10606 libsuff= shlibsuff=
10609 case $LD in # libtool.m4 will add one of these switches to LD
10610 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10611 libsuff= shlibsuff= libmagic=32-bit;;
10612 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10613 libsuff=32 shlibsuff=N32 libmagic=N32;;
10614 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10615 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10616 *) libsuff= shlibsuff= libmagic=never-match;;
10617 esac
10619 esac
10620 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10621 shlibpath_overrides_runpath=no
10622 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10623 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10624 hardcode_into_libs=yes
10627 # No shared lib support for Linux oldld, aout, or coff.
10628 linux*oldld* | linux*aout* | linux*coff*)
10629 dynamic_linker=no
10632 # This must be Linux ELF.
10633 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10634 version_type=linux
10635 need_lib_prefix=no
10636 need_version=no
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath=no
10643 # Some binutils ld are patched to set DT_RUNPATH
10644 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10645 $as_echo_n "(cached) " >&6
10646 else
10647 lt_cv_shlibpath_overrides_runpath=no
10648 save_LDFLAGS=$LDFLAGS
10649 save_libdir=$libdir
10650 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10651 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10656 main ()
10660 return 0;
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"; then :
10664 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10665 lt_cv_shlibpath_overrides_runpath=yes
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 LDFLAGS=$save_LDFLAGS
10671 libdir=$save_libdir
10675 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10677 # This implies no fast_install, which is unacceptable.
10678 # Some rework will be needed to allow for fast_install
10679 # before this can be enabled.
10680 hardcode_into_libs=yes
10682 # Append ld.so.conf contents to the search path
10683 if test -f /etc/ld.so.conf; then
10684 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' ' '`
10685 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10688 # We used to test for /lib/ld.so.1 and disable shared libraries on
10689 # powerpc, because MkLinux only supported shared libraries with the
10690 # GNU dynamic linker. Since this was broken with cross compilers,
10691 # most powerpc-linux boxes support dynamic linking these days and
10692 # people can always --disable-shared, the test was removed, and we
10693 # assume the GNU/Linux dynamic linker is in use.
10694 dynamic_linker='GNU/Linux ld.so'
10697 netbsd*)
10698 version_type=sunos
10699 need_lib_prefix=no
10700 need_version=no
10701 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10703 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10704 dynamic_linker='NetBSD (a.out) ld.so'
10705 else
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 dynamic_linker='NetBSD ld.elf_so'
10710 shlibpath_var=LD_LIBRARY_PATH
10711 shlibpath_overrides_runpath=yes
10712 hardcode_into_libs=yes
10715 newsos6)
10716 version_type=linux
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 shlibpath_overrides_runpath=yes
10722 *nto* | *qnx*)
10723 version_type=qnx
10724 need_lib_prefix=no
10725 need_version=no
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LD_LIBRARY_PATH
10729 shlibpath_overrides_runpath=no
10730 hardcode_into_libs=yes
10731 dynamic_linker='ldqnx.so'
10734 openbsd*)
10735 version_type=sunos
10736 sys_lib_dlsearch_path_spec="/usr/lib"
10737 need_lib_prefix=no
10738 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10739 case $host_os in
10740 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10741 *) need_version=no ;;
10742 esac
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10747 case $host_os in
10748 openbsd2.[89] | openbsd2.[89].*)
10749 shlibpath_overrides_runpath=no
10752 shlibpath_overrides_runpath=yes
10754 esac
10755 else
10756 shlibpath_overrides_runpath=yes
10760 os2*)
10761 libname_spec='$name'
10762 shrext_cmds=".dll"
10763 need_lib_prefix=no
10764 library_names_spec='$libname${shared_ext} $libname.a'
10765 dynamic_linker='OS/2 ld.exe'
10766 shlibpath_var=LIBPATH
10769 osf3* | osf4* | osf5*)
10770 version_type=osf
10771 need_lib_prefix=no
10772 need_version=no
10773 soname_spec='${libname}${release}${shared_ext}$major'
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 shlibpath_var=LD_LIBRARY_PATH
10776 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10777 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10780 rdos*)
10781 dynamic_linker=no
10784 solaris*)
10785 version_type=linux
10786 need_lib_prefix=no
10787 need_version=no
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 shlibpath_var=LD_LIBRARY_PATH
10791 shlibpath_overrides_runpath=yes
10792 hardcode_into_libs=yes
10793 # ldd complains unless libraries are executable
10794 postinstall_cmds='chmod +x $lib'
10797 sunos4*)
10798 version_type=sunos
10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10800 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=yes
10803 if test "$with_gnu_ld" = yes; then
10804 need_lib_prefix=no
10806 need_version=yes
10809 sysv4 | sysv4.3*)
10810 version_type=linux
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 shlibpath_var=LD_LIBRARY_PATH
10814 case $host_vendor in
10815 sni)
10816 shlibpath_overrides_runpath=no
10817 need_lib_prefix=no
10818 runpath_var=LD_RUN_PATH
10820 siemens)
10821 need_lib_prefix=no
10823 motorola)
10824 need_lib_prefix=no
10825 need_version=no
10826 shlibpath_overrides_runpath=no
10827 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10829 esac
10832 sysv4*MP*)
10833 if test -d /usr/nec ;then
10834 version_type=linux
10835 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10836 soname_spec='$libname${shared_ext}.$major'
10837 shlibpath_var=LD_LIBRARY_PATH
10841 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10842 version_type=freebsd-elf
10843 need_lib_prefix=no
10844 need_version=no
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10846 soname_spec='${libname}${release}${shared_ext}$major'
10847 shlibpath_var=LD_LIBRARY_PATH
10848 shlibpath_overrides_runpath=yes
10849 hardcode_into_libs=yes
10850 if test "$with_gnu_ld" = yes; then
10851 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10852 else
10853 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10854 case $host_os in
10855 sco3.2v5*)
10856 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10858 esac
10860 sys_lib_dlsearch_path_spec='/usr/lib'
10863 tpf*)
10864 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10865 version_type=linux
10866 need_lib_prefix=no
10867 need_version=no
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=no
10871 hardcode_into_libs=yes
10874 uts4*)
10875 version_type=linux
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 shlibpath_var=LD_LIBRARY_PATH
10882 dynamic_linker=no
10884 esac
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10886 $as_echo "$dynamic_linker" >&6; }
10887 test "$dynamic_linker" = no && can_build_shared=no
10889 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10890 if test "$GCC" = yes; then
10891 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10894 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10895 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10897 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10898 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10994 hardcode_action=
10995 if test -n "$hardcode_libdir_flag_spec" ||
10996 test -n "$runpath_var" ||
10997 test "X$hardcode_automatic" = "Xyes" ; then
10999 # We can hardcode non-existent directories.
11000 if test "$hardcode_direct" != no &&
11001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11002 # have to relink, otherwise we might link with an installed library
11003 # when we should be linking with a yet-to-be-installed one
11004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11005 test "$hardcode_minus_L" != no; then
11006 # Linking always hardcodes the temporary library directory.
11007 hardcode_action=relink
11008 else
11009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11010 hardcode_action=immediate
11012 else
11013 # We cannot hardcode anything, or else we can only hardcode existing
11014 # directories.
11015 hardcode_action=unsupported
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11018 $as_echo "$hardcode_action" >&6; }
11020 if test "$hardcode_action" = relink ||
11021 test "$inherit_rpath" = yes; then
11022 # Fast installation is not supported
11023 enable_fast_install=no
11024 elif test "$shlibpath_overrides_runpath" = yes ||
11025 test "$enable_shared" = no; then
11026 # Fast installation is not necessary
11027 enable_fast_install=needless
11035 if test "x$enable_dlopen" != xyes; then
11036 enable_dlopen=unknown
11037 enable_dlopen_self=unknown
11038 enable_dlopen_self_static=unknown
11039 else
11040 lt_cv_dlopen=no
11041 lt_cv_dlopen_libs=
11043 case $host_os in
11044 beos*)
11045 lt_cv_dlopen="load_add_on"
11046 lt_cv_dlopen_libs=
11047 lt_cv_dlopen_self=yes
11050 mingw* | pw32* | cegcc*)
11051 lt_cv_dlopen="LoadLibrary"
11052 lt_cv_dlopen_libs=
11055 cygwin*)
11056 lt_cv_dlopen="dlopen"
11057 lt_cv_dlopen_libs=
11060 darwin*)
11061 # if libdl is installed we need to link against it
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11063 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11064 if ${ac_cv_lib_dl_dlopen+:} false; then :
11065 $as_echo_n "(cached) " >&6
11066 else
11067 ac_check_lib_save_LIBS=$LIBS
11068 LIBS="-ldl $LIBS"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char dlopen ();
11080 main ()
11082 return dlopen ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11088 ac_cv_lib_dl_dlopen=yes
11089 else
11090 ac_cv_lib_dl_dlopen=no
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 LIBS=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11097 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11098 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11099 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11100 else
11102 lt_cv_dlopen="dyld"
11103 lt_cv_dlopen_libs=
11104 lt_cv_dlopen_self=yes
11111 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11112 if test "x$ac_cv_func_shl_load" = xyes; then :
11113 lt_cv_dlopen="shl_load"
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11116 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11117 if ${ac_cv_lib_dld_shl_load+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-ldld $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char shl_load ();
11133 main ()
11135 return shl_load ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_dld_shl_load=yes
11142 else
11143 ac_cv_lib_dld_shl_load=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11150 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11151 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11152 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11153 else
11154 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11155 if test "x$ac_cv_func_dlopen" = xyes; then :
11156 lt_cv_dlopen="dlopen"
11157 else
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11159 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11160 if ${ac_cv_lib_dl_dlopen+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-ldl $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char dlopen ();
11176 main ()
11178 return dlopen ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_dl_dlopen=yes
11185 else
11186 ac_cv_lib_dl_dlopen=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11193 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11194 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11195 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11196 else
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11198 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11199 if ${ac_cv_lib_svld_dlopen+:} false; then :
11200 $as_echo_n "(cached) " >&6
11201 else
11202 ac_check_lib_save_LIBS=$LIBS
11203 LIBS="-lsvld $LIBS"
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 char dlopen ();
11215 main ()
11217 return dlopen ();
11219 return 0;
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223 ac_cv_lib_svld_dlopen=yes
11224 else
11225 ac_cv_lib_svld_dlopen=no
11227 rm -f core conftest.err conftest.$ac_objext \
11228 conftest$ac_exeext conftest.$ac_ext
11229 LIBS=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11232 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11233 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11234 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11235 else
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11237 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11238 if ${ac_cv_lib_dld_dld_link+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-ldld $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char dld_link ();
11254 main ()
11256 return dld_link ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_dld_dld_link=yes
11263 else
11264 ac_cv_lib_dld_dld_link=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11271 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11272 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11273 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11292 esac
11294 if test "x$lt_cv_dlopen" != xno; then
11295 enable_dlopen=yes
11296 else
11297 enable_dlopen=no
11300 case $lt_cv_dlopen in
11301 dlopen)
11302 save_CPPFLAGS="$CPPFLAGS"
11303 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11305 save_LDFLAGS="$LDFLAGS"
11306 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11308 save_LIBS="$LIBS"
11309 LIBS="$lt_cv_dlopen_libs $LIBS"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11312 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11313 if ${lt_cv_dlopen_self+:} false; then :
11314 $as_echo_n "(cached) " >&6
11315 else
11316 if test "$cross_compiling" = yes; then :
11317 lt_cv_dlopen_self=cross
11318 else
11319 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11320 lt_status=$lt_dlunknown
11321 cat > conftest.$ac_ext <<_LT_EOF
11322 #line $LINENO "configure"
11323 #include "confdefs.h"
11325 #if HAVE_DLFCN_H
11326 #include <dlfcn.h>
11327 #endif
11329 #include <stdio.h>
11331 #ifdef RTLD_GLOBAL
11332 # define LT_DLGLOBAL RTLD_GLOBAL
11333 #else
11334 # ifdef DL_GLOBAL
11335 # define LT_DLGLOBAL DL_GLOBAL
11336 # else
11337 # define LT_DLGLOBAL 0
11338 # endif
11339 #endif
11341 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11342 find out it does not work in some platform. */
11343 #ifndef LT_DLLAZY_OR_NOW
11344 # ifdef RTLD_LAZY
11345 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11346 # else
11347 # ifdef DL_LAZY
11348 # define LT_DLLAZY_OR_NOW DL_LAZY
11349 # else
11350 # ifdef RTLD_NOW
11351 # define LT_DLLAZY_OR_NOW RTLD_NOW
11352 # else
11353 # ifdef DL_NOW
11354 # define LT_DLLAZY_OR_NOW DL_NOW
11355 # else
11356 # define LT_DLLAZY_OR_NOW 0
11357 # endif
11358 # endif
11359 # endif
11360 # endif
11361 #endif
11363 /* When -fvisbility=hidden is used, assume the code has been annotated
11364 correspondingly for the symbols needed. */
11365 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11366 int fnord () __attribute__((visibility("default")));
11367 #endif
11369 int fnord () { return 42; }
11370 int main ()
11372 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11373 int status = $lt_dlunknown;
11375 if (self)
11377 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11378 else
11380 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11381 else puts (dlerror ());
11383 /* dlclose (self); */
11385 else
11386 puts (dlerror ());
11388 return status;
11390 _LT_EOF
11391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11392 (eval $ac_link) 2>&5
11393 ac_status=$?
11394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11395 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11396 (./conftest; exit; ) >&5 2>/dev/null
11397 lt_status=$?
11398 case x$lt_status in
11399 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11400 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11401 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11402 esac
11403 else :
11404 # compilation failed
11405 lt_cv_dlopen_self=no
11408 rm -fr conftest*
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11413 $as_echo "$lt_cv_dlopen_self" >&6; }
11415 if test "x$lt_cv_dlopen_self" = xyes; then
11416 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11418 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11419 if ${lt_cv_dlopen_self_static+:} false; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 if test "$cross_compiling" = yes; then :
11423 lt_cv_dlopen_self_static=cross
11424 else
11425 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11426 lt_status=$lt_dlunknown
11427 cat > conftest.$ac_ext <<_LT_EOF
11428 #line $LINENO "configure"
11429 #include "confdefs.h"
11431 #if HAVE_DLFCN_H
11432 #include <dlfcn.h>
11433 #endif
11435 #include <stdio.h>
11437 #ifdef RTLD_GLOBAL
11438 # define LT_DLGLOBAL RTLD_GLOBAL
11439 #else
11440 # ifdef DL_GLOBAL
11441 # define LT_DLGLOBAL DL_GLOBAL
11442 # else
11443 # define LT_DLGLOBAL 0
11444 # endif
11445 #endif
11447 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11448 find out it does not work in some platform. */
11449 #ifndef LT_DLLAZY_OR_NOW
11450 # ifdef RTLD_LAZY
11451 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11452 # else
11453 # ifdef DL_LAZY
11454 # define LT_DLLAZY_OR_NOW DL_LAZY
11455 # else
11456 # ifdef RTLD_NOW
11457 # define LT_DLLAZY_OR_NOW RTLD_NOW
11458 # else
11459 # ifdef DL_NOW
11460 # define LT_DLLAZY_OR_NOW DL_NOW
11461 # else
11462 # define LT_DLLAZY_OR_NOW 0
11463 # endif
11464 # endif
11465 # endif
11466 # endif
11467 #endif
11469 /* When -fvisbility=hidden is used, assume the code has been annotated
11470 correspondingly for the symbols needed. */
11471 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11472 int fnord () __attribute__((visibility("default")));
11473 #endif
11475 int fnord () { return 42; }
11476 int main ()
11478 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11479 int status = $lt_dlunknown;
11481 if (self)
11483 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11484 else
11486 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11487 else puts (dlerror ());
11489 /* dlclose (self); */
11491 else
11492 puts (dlerror ());
11494 return status;
11496 _LT_EOF
11497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11498 (eval $ac_link) 2>&5
11499 ac_status=$?
11500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11501 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11502 (./conftest; exit; ) >&5 2>/dev/null
11503 lt_status=$?
11504 case x$lt_status in
11505 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11506 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11507 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11508 esac
11509 else :
11510 # compilation failed
11511 lt_cv_dlopen_self_static=no
11514 rm -fr conftest*
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11519 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11522 CPPFLAGS="$save_CPPFLAGS"
11523 LDFLAGS="$save_LDFLAGS"
11524 LIBS="$save_LIBS"
11526 esac
11528 case $lt_cv_dlopen_self in
11529 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11530 *) enable_dlopen_self=unknown ;;
11531 esac
11533 case $lt_cv_dlopen_self_static in
11534 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11535 *) enable_dlopen_self_static=unknown ;;
11536 esac
11555 striplib=
11556 old_striplib=
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11558 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11559 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11560 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11561 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11563 $as_echo "yes" >&6; }
11564 else
11565 # FIXME - insert some real tests, host_os isn't really good enough
11566 case $host_os in
11567 darwin*)
11568 if test -n "$STRIP" ; then
11569 striplib="$STRIP -x"
11570 old_striplib="$STRIP -S"
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11572 $as_echo "yes" >&6; }
11573 else
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11575 $as_echo "no" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11580 $as_echo "no" >&6; }
11582 esac
11596 # Report which library types will actually be built
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11598 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11600 $as_echo "$can_build_shared" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11603 $as_echo_n "checking whether to build shared libraries... " >&6; }
11604 test "$can_build_shared" = "no" && enable_shared=no
11606 # On AIX, shared libraries and static libraries use the same namespace, and
11607 # are all built from PIC.
11608 case $host_os in
11609 aix3*)
11610 test "$enable_shared" = yes && enable_static=no
11611 if test -n "$RANLIB"; then
11612 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11613 postinstall_cmds='$RANLIB $lib'
11617 aix[4-9]*)
11618 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11619 test "$enable_shared" = yes && enable_static=no
11622 esac
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11624 $as_echo "$enable_shared" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11627 $as_echo_n "checking whether to build static libraries... " >&6; }
11628 # Make sure either enable_shared or enable_static is yes.
11629 test "$enable_shared" = yes || enable_static=yes
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11631 $as_echo "$enable_static" >&6; }
11637 ac_ext=c
11638 ac_cpp='$CPP $CPPFLAGS'
11639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11643 CC="$lt_save_CC"
11657 ac_config_commands="$ac_config_commands libtool"
11662 # Only expand once:
11667 # Host specific.
11668 NO_UNDEFINED=
11669 case "$host" in
11670 *-*-mingw32* | *-*-cygwin*)
11672 $as_echo "#define HOST_W32 1" >>confdefs.h
11674 host_w32=yes
11675 if test x"$enable_shared" != "xno" ; then
11676 NO_UNDEFINED="-no-undefined"
11679 esac
11680 EXTRA_LIBQUVI_LDFLAGS="$NO_UNDEFINED"
11683 # Checks for programs.
11684 for ac_prog in gawk mawk nawk awk
11686 # Extract the first word of "$ac_prog", so it can be a program name with args.
11687 set dummy $ac_prog; ac_word=$2
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11689 $as_echo_n "checking for $ac_word... " >&6; }
11690 if ${ac_cv_prog_AWK+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 if test -n "$AWK"; then
11694 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11695 else
11696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11697 for as_dir in $PATH
11699 IFS=$as_save_IFS
11700 test -z "$as_dir" && as_dir=.
11701 for ac_exec_ext in '' $ac_executable_extensions; do
11702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11703 ac_cv_prog_AWK="$ac_prog"
11704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11705 break 2
11707 done
11708 done
11709 IFS=$as_save_IFS
11713 AWK=$ac_cv_prog_AWK
11714 if test -n "$AWK"; then
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11716 $as_echo "$AWK" >&6; }
11717 else
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11719 $as_echo "no" >&6; }
11723 test -n "$AWK" && break
11724 done
11726 ac_ext=c
11727 ac_cpp='$CPP $CPPFLAGS'
11728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11731 if test -n "$ac_tool_prefix"; then
11732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11733 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if ${ac_cv_prog_CC+:} false; then :
11737 $as_echo_n "(cached) " >&6
11738 else
11739 if test -n "$CC"; then
11740 ac_cv_prog_CC="$CC" # Let the user override the test.
11741 else
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11745 IFS=$as_save_IFS
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11751 break 2
11753 done
11754 done
11755 IFS=$as_save_IFS
11759 CC=$ac_cv_prog_CC
11760 if test -n "$CC"; then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11762 $as_echo "$CC" >&6; }
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11770 if test -z "$ac_cv_prog_CC"; then
11771 ac_ct_CC=$CC
11772 # Extract the first word of "gcc", so it can be a program name with args.
11773 set dummy gcc; ac_word=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 if test -n "$ac_ct_CC"; then
11780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11781 else
11782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11783 for as_dir in $PATH
11785 IFS=$as_save_IFS
11786 test -z "$as_dir" && as_dir=.
11787 for ac_exec_ext in '' $ac_executable_extensions; do
11788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789 ac_cv_prog_ac_ct_CC="gcc"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 break 2
11793 done
11794 done
11795 IFS=$as_save_IFS
11799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11800 if test -n "$ac_ct_CC"; then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11802 $as_echo "$ac_ct_CC" >&6; }
11803 else
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11808 if test "x$ac_ct_CC" = x; then
11809 CC=""
11810 else
11811 case $cross_compiling:$ac_tool_warned in
11812 yes:)
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11815 ac_tool_warned=yes ;;
11816 esac
11817 CC=$ac_ct_CC
11819 else
11820 CC="$ac_cv_prog_CC"
11823 if test -z "$CC"; then
11824 if test -n "$ac_tool_prefix"; then
11825 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11826 set dummy ${ac_tool_prefix}cc; ac_word=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11828 $as_echo_n "checking for $ac_word... " >&6; }
11829 if ${ac_cv_prog_CC+:} false; then :
11830 $as_echo_n "(cached) " >&6
11831 else
11832 if test -n "$CC"; then
11833 ac_cv_prog_CC="$CC" # Let the user override the test.
11834 else
11835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11836 for as_dir in $PATH
11838 IFS=$as_save_IFS
11839 test -z "$as_dir" && as_dir=.
11840 for ac_exec_ext in '' $ac_executable_extensions; do
11841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11842 ac_cv_prog_CC="${ac_tool_prefix}cc"
11843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11844 break 2
11846 done
11847 done
11848 IFS=$as_save_IFS
11852 CC=$ac_cv_prog_CC
11853 if test -n "$CC"; then
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11855 $as_echo "$CC" >&6; }
11856 else
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11864 if test -z "$CC"; then
11865 # Extract the first word of "cc", so it can be a program name with args.
11866 set dummy cc; ac_word=$2
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11868 $as_echo_n "checking for $ac_word... " >&6; }
11869 if ${ac_cv_prog_CC+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 if test -n "$CC"; then
11873 ac_cv_prog_CC="$CC" # Let the user override the test.
11874 else
11875 ac_prog_rejected=no
11876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11877 for as_dir in $PATH
11879 IFS=$as_save_IFS
11880 test -z "$as_dir" && as_dir=.
11881 for ac_exec_ext in '' $ac_executable_extensions; do
11882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11884 ac_prog_rejected=yes
11885 continue
11887 ac_cv_prog_CC="cc"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 break 2
11891 done
11892 done
11893 IFS=$as_save_IFS
11895 if test $ac_prog_rejected = yes; then
11896 # We found a bogon in the path, so make sure we never use it.
11897 set dummy $ac_cv_prog_CC
11898 shift
11899 if test $# != 0; then
11900 # We chose a different compiler from the bogus one.
11901 # However, it has the same basename, so the bogon will be chosen
11902 # first if we set CC to just the basename; use the full file name.
11903 shift
11904 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11909 CC=$ac_cv_prog_CC
11910 if test -n "$CC"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11912 $as_echo "$CC" >&6; }
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11920 if test -z "$CC"; then
11921 if test -n "$ac_tool_prefix"; then
11922 for ac_prog in cl.exe
11924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_prog_CC+:} false; then :
11929 $as_echo_n "(cached) " >&6
11930 else
11931 if test -n "$CC"; then
11932 ac_cv_prog_CC="$CC" # Let the user override the test.
11933 else
11934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11935 for as_dir in $PATH
11937 IFS=$as_save_IFS
11938 test -z "$as_dir" && as_dir=.
11939 for ac_exec_ext in '' $ac_executable_extensions; do
11940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11941 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11943 break 2
11945 done
11946 done
11947 IFS=$as_save_IFS
11951 CC=$ac_cv_prog_CC
11952 if test -n "$CC"; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11954 $as_echo "$CC" >&6; }
11955 else
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11961 test -n "$CC" && break
11962 done
11964 if test -z "$CC"; then
11965 ac_ct_CC=$CC
11966 for ac_prog in cl.exe
11968 # Extract the first word of "$ac_prog", so it can be a program name with args.
11969 set dummy $ac_prog; ac_word=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 if test -n "$ac_ct_CC"; then
11976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11977 else
11978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11979 for as_dir in $PATH
11981 IFS=$as_save_IFS
11982 test -z "$as_dir" && as_dir=.
11983 for ac_exec_ext in '' $ac_executable_extensions; do
11984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11985 ac_cv_prog_ac_ct_CC="$ac_prog"
11986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11987 break 2
11989 done
11990 done
11991 IFS=$as_save_IFS
11995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11996 if test -n "$ac_ct_CC"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11998 $as_echo "$ac_ct_CC" >&6; }
11999 else
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 $as_echo "no" >&6; }
12005 test -n "$ac_ct_CC" && break
12006 done
12008 if test "x$ac_ct_CC" = x; then
12009 CC=""
12010 else
12011 case $cross_compiling:$ac_tool_warned in
12012 yes:)
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12015 ac_tool_warned=yes ;;
12016 esac
12017 CC=$ac_ct_CC
12024 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12026 as_fn_error $? "no acceptable C compiler found in \$PATH
12027 See \`config.log' for more details" "$LINENO" 5; }
12029 # Provide some information about the compiler.
12030 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12031 set X $ac_compile
12032 ac_compiler=$2
12033 for ac_option in --version -v -V -qversion; do
12034 { { ac_try="$ac_compiler $ac_option >&5"
12035 case "(($ac_try" in
12036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12037 *) ac_try_echo=$ac_try;;
12038 esac
12039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12040 $as_echo "$ac_try_echo"; } >&5
12041 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12042 ac_status=$?
12043 if test -s conftest.err; then
12044 sed '10a\
12045 ... rest of stderr output deleted ...
12046 10q' conftest.err >conftest.er1
12047 cat conftest.er1 >&5
12049 rm -f conftest.er1 conftest.err
12050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12051 test $ac_status = 0; }
12052 done
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12055 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12056 if ${ac_cv_c_compiler_gnu+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12063 main ()
12065 #ifndef __GNUC__
12066 choke me
12067 #endif
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_compile "$LINENO"; then :
12074 ac_compiler_gnu=yes
12075 else
12076 ac_compiler_gnu=no
12078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12079 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12083 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12084 if test $ac_compiler_gnu = yes; then
12085 GCC=yes
12086 else
12087 GCC=
12089 ac_test_CFLAGS=${CFLAGS+set}
12090 ac_save_CFLAGS=$CFLAGS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12092 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12093 if ${ac_cv_prog_cc_g+:} false; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_save_c_werror_flag=$ac_c_werror_flag
12097 ac_c_werror_flag=yes
12098 ac_cv_prog_cc_g=no
12099 CFLAGS="-g"
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12104 main ()
12108 return 0;
12110 _ACEOF
12111 if ac_fn_c_try_compile "$LINENO"; then :
12112 ac_cv_prog_cc_g=yes
12113 else
12114 CFLAGS=""
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12119 main ()
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_compile "$LINENO"; then :
12128 else
12129 ac_c_werror_flag=$ac_save_c_werror_flag
12130 CFLAGS="-g"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12135 main ()
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_compile "$LINENO"; then :
12143 ac_cv_prog_cc_g=yes
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 ac_c_werror_flag=$ac_save_c_werror_flag
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12153 $as_echo "$ac_cv_prog_cc_g" >&6; }
12154 if test "$ac_test_CFLAGS" = set; then
12155 CFLAGS=$ac_save_CFLAGS
12156 elif test $ac_cv_prog_cc_g = yes; then
12157 if test "$GCC" = yes; then
12158 CFLAGS="-g -O2"
12159 else
12160 CFLAGS="-g"
12162 else
12163 if test "$GCC" = yes; then
12164 CFLAGS="-O2"
12165 else
12166 CFLAGS=
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12170 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12171 if ${ac_cv_prog_cc_c89+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_cv_prog_cc_c89=no
12175 ac_save_CC=$CC
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12178 #include <stdarg.h>
12179 #include <stdio.h>
12180 #include <sys/types.h>
12181 #include <sys/stat.h>
12182 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12183 struct buf { int x; };
12184 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12185 static char *e (p, i)
12186 char **p;
12187 int i;
12189 return p[i];
12191 static char *f (char * (*g) (char **, int), char **p, ...)
12193 char *s;
12194 va_list v;
12195 va_start (v,p);
12196 s = g (p, va_arg (v,int));
12197 va_end (v);
12198 return s;
12201 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12202 function prototypes and stuff, but not '\xHH' hex character constants.
12203 These don't provoke an error unfortunately, instead are silently treated
12204 as 'x'. The following induces an error, until -std is added to get
12205 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12206 array size at least. It's necessary to write '\x00'==0 to get something
12207 that's true only with -std. */
12208 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12210 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12211 inside strings and character constants. */
12212 #define FOO(x) 'x'
12213 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12215 int test (int i, double x);
12216 struct s1 {int (*f) (int a);};
12217 struct s2 {int (*f) (double a);};
12218 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12219 int argc;
12220 char **argv;
12222 main ()
12224 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12226 return 0;
12228 _ACEOF
12229 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12230 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12232 CC="$ac_save_CC $ac_arg"
12233 if ac_fn_c_try_compile "$LINENO"; then :
12234 ac_cv_prog_cc_c89=$ac_arg
12236 rm -f core conftest.err conftest.$ac_objext
12237 test "x$ac_cv_prog_cc_c89" != "xno" && break
12238 done
12239 rm -f conftest.$ac_ext
12240 CC=$ac_save_CC
12243 # AC_CACHE_VAL
12244 case "x$ac_cv_prog_cc_c89" in
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12247 $as_echo "none needed" >&6; } ;;
12248 xno)
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12250 $as_echo "unsupported" >&6; } ;;
12252 CC="$CC $ac_cv_prog_cc_c89"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12254 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12255 esac
12256 if test "x$ac_cv_prog_cc_c89" != xno; then :
12260 ac_ext=c
12261 ac_cpp='$CPP $CPPFLAGS'
12262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12266 ac_ext=cpp
12267 ac_cpp='$CXXCPP $CPPFLAGS'
12268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12271 if test -z "$CXX"; then
12272 if test -n "$CCC"; then
12273 CXX=$CCC
12274 else
12275 if test -n "$ac_tool_prefix"; then
12276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if ${ac_cv_prog_CXX+:} false; then :
12283 $as_echo_n "(cached) " >&6
12284 else
12285 if test -n "$CXX"; then
12286 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12287 else
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12291 IFS=$as_save_IFS
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12295 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12297 break 2
12299 done
12300 done
12301 IFS=$as_save_IFS
12305 CXX=$ac_cv_prog_CXX
12306 if test -n "$CXX"; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12308 $as_echo "$CXX" >&6; }
12309 else
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311 $as_echo "no" >&6; }
12315 test -n "$CXX" && break
12316 done
12318 if test -z "$CXX"; then
12319 ac_ct_CXX=$CXX
12320 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12322 # Extract the first word of "$ac_prog", so it can be a program name with args.
12323 set dummy $ac_prog; ac_word=$2
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12325 $as_echo_n "checking for $ac_word... " >&6; }
12326 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12327 $as_echo_n "(cached) " >&6
12328 else
12329 if test -n "$ac_ct_CXX"; then
12330 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12331 else
12332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12333 for as_dir in $PATH
12335 IFS=$as_save_IFS
12336 test -z "$as_dir" && as_dir=.
12337 for ac_exec_ext in '' $ac_executable_extensions; do
12338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12339 ac_cv_prog_ac_ct_CXX="$ac_prog"
12340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12341 break 2
12343 done
12344 done
12345 IFS=$as_save_IFS
12349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12350 if test -n "$ac_ct_CXX"; then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12352 $as_echo "$ac_ct_CXX" >&6; }
12353 else
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12359 test -n "$ac_ct_CXX" && break
12360 done
12362 if test "x$ac_ct_CXX" = x; then
12363 CXX="g++"
12364 else
12365 case $cross_compiling:$ac_tool_warned in
12366 yes:)
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12369 ac_tool_warned=yes ;;
12370 esac
12371 CXX=$ac_ct_CXX
12377 # Provide some information about the compiler.
12378 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12379 set X $ac_compile
12380 ac_compiler=$2
12381 for ac_option in --version -v -V -qversion; do
12382 { { ac_try="$ac_compiler $ac_option >&5"
12383 case "(($ac_try" in
12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12386 esac
12387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12388 $as_echo "$ac_try_echo"; } >&5
12389 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12390 ac_status=$?
12391 if test -s conftest.err; then
12392 sed '10a\
12393 ... rest of stderr output deleted ...
12394 10q' conftest.err >conftest.er1
12395 cat conftest.er1 >&5
12397 rm -f conftest.er1 conftest.err
12398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12399 test $ac_status = 0; }
12400 done
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12403 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12404 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12405 $as_echo_n "(cached) " >&6
12406 else
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12411 main ()
12413 #ifndef __GNUC__
12414 choke me
12415 #endif
12418 return 0;
12420 _ACEOF
12421 if ac_fn_cxx_try_compile "$LINENO"; then :
12422 ac_compiler_gnu=yes
12423 else
12424 ac_compiler_gnu=no
12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12427 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12431 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12432 if test $ac_compiler_gnu = yes; then
12433 GXX=yes
12434 else
12435 GXX=
12437 ac_test_CXXFLAGS=${CXXFLAGS+set}
12438 ac_save_CXXFLAGS=$CXXFLAGS
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12440 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12441 if ${ac_cv_prog_cxx_g+:} false; then :
12442 $as_echo_n "(cached) " >&6
12443 else
12444 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12445 ac_cxx_werror_flag=yes
12446 ac_cv_prog_cxx_g=no
12447 CXXFLAGS="-g"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12452 main ()
12456 return 0;
12458 _ACEOF
12459 if ac_fn_cxx_try_compile "$LINENO"; then :
12460 ac_cv_prog_cxx_g=yes
12461 else
12462 CXXFLAGS=""
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12467 main ()
12471 return 0;
12473 _ACEOF
12474 if ac_fn_cxx_try_compile "$LINENO"; then :
12476 else
12477 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12478 CXXFLAGS="-g"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12483 main ()
12487 return 0;
12489 _ACEOF
12490 if ac_fn_cxx_try_compile "$LINENO"; then :
12491 ac_cv_prog_cxx_g=yes
12493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12498 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12501 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12502 if test "$ac_test_CXXFLAGS" = set; then
12503 CXXFLAGS=$ac_save_CXXFLAGS
12504 elif test $ac_cv_prog_cxx_g = yes; then
12505 if test "$GXX" = yes; then
12506 CXXFLAGS="-g -O2"
12507 else
12508 CXXFLAGS="-g"
12510 else
12511 if test "$GXX" = yes; then
12512 CXXFLAGS="-O2"
12513 else
12514 CXXFLAGS=
12517 ac_ext=c
12518 ac_cpp='$CPP $CPPFLAGS'
12519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12523 depcc="$CXX" am_compiler_list=
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12526 $as_echo_n "checking dependency style of $depcc... " >&6; }
12527 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12531 # We make a subdir and do the tests there. Otherwise we can end up
12532 # making bogus files that we don't know about and never remove. For
12533 # instance it was reported that on HP-UX the gcc test will end up
12534 # making a dummy file named `D' -- because `-MD' means `put the output
12535 # in D'.
12536 mkdir conftest.dir
12537 # Copy depcomp to subdir because otherwise we won't find it if we're
12538 # using a relative directory.
12539 cp "$am_depcomp" conftest.dir
12540 cd conftest.dir
12541 # We will build objects and dependencies in a subdirectory because
12542 # it helps to detect inapplicable dependency modes. For instance
12543 # both Tru64's cc and ICC support -MD to output dependencies as a
12544 # side effect of compilation, but ICC will put the dependencies in
12545 # the current directory while Tru64 will put them in the object
12546 # directory.
12547 mkdir sub
12549 am_cv_CXX_dependencies_compiler_type=none
12550 if test "$am_compiler_list" = ""; then
12551 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12553 am__universal=false
12554 case " $depcc " in #(
12555 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12556 esac
12558 for depmode in $am_compiler_list; do
12559 # Setup a source with many dependencies, because some compilers
12560 # like to wrap large dependency lists on column 80 (with \), and
12561 # we should not choose a depcomp mode which is confused by this.
12563 # We need to recreate these files for each test, as the compiler may
12564 # overwrite some of them when testing with obscure command lines.
12565 # This happens at least with the AIX C compiler.
12566 : > sub/conftest.c
12567 for i in 1 2 3 4 5 6; do
12568 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12569 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12570 # Solaris 8's {/usr,}/bin/sh.
12571 touch sub/conftst$i.h
12572 done
12573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12575 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12576 # mode. It turns out that the SunPro C++ compiler does not properly
12577 # handle `-M -o', and we need to detect this. Also, some Intel
12578 # versions had trouble with output in subdirs
12579 am__obj=sub/conftest.${OBJEXT-o}
12580 am__minus_obj="-o $am__obj"
12581 case $depmode in
12582 gcc)
12583 # This depmode causes a compiler race in universal mode.
12584 test "$am__universal" = false || continue
12586 nosideeffect)
12587 # after this tag, mechanisms are not by side-effect, so they'll
12588 # only be used when explicitly requested
12589 if test "x$enable_dependency_tracking" = xyes; then
12590 continue
12591 else
12592 break
12595 msvisualcpp | msvcmsys)
12596 # This compiler won't grok `-c -o', but also, the minuso test has
12597 # not run yet. These depmodes are late enough in the game, and
12598 # so weak that their functioning should not be impacted.
12599 am__obj=conftest.${OBJEXT-o}
12600 am__minus_obj=
12602 none) break ;;
12603 esac
12604 if depmode=$depmode \
12605 source=sub/conftest.c object=$am__obj \
12606 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12607 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12608 >/dev/null 2>conftest.err &&
12609 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12610 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12611 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12612 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12613 # icc doesn't choke on unknown options, it will just issue warnings
12614 # or remarks (even with -Werror). So we grep stderr for any message
12615 # that says an option was ignored or not supported.
12616 # When given -MP, icc 7.0 and 7.1 complain thusly:
12617 # icc: Command line warning: ignoring option '-M'; no argument required
12618 # The diagnosis changed in icc 8.0:
12619 # icc: Command line remark: option '-MP' not supported
12620 if (grep 'ignoring option' conftest.err ||
12621 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12622 am_cv_CXX_dependencies_compiler_type=$depmode
12623 break
12626 done
12628 cd ..
12629 rm -rf conftest.dir
12630 else
12631 am_cv_CXX_dependencies_compiler_type=none
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12636 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12637 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12640 test "x$enable_dependency_tracking" != xno \
12641 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12642 am__fastdepCXX_TRUE=
12643 am__fastdepCXX_FALSE='#'
12644 else
12645 am__fastdepCXX_TRUE='#'
12646 am__fastdepCXX_FALSE=
12652 func_stripname_cnf ()
12654 case ${2} in
12655 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12656 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12657 esac
12658 } # func_stripname_cnf
12660 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12661 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12662 (test "X$CXX" != "Xg++"))) ; then
12663 ac_ext=cpp
12664 ac_cpp='$CXXCPP $CPPFLAGS'
12665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12669 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12670 if test -z "$CXXCPP"; then
12671 if ${ac_cv_prog_CXXCPP+:} false; then :
12672 $as_echo_n "(cached) " >&6
12673 else
12674 # Double quotes because CXXCPP needs to be expanded
12675 for CXXCPP in "$CXX -E" "/lib/cpp"
12677 ac_preproc_ok=false
12678 for ac_cxx_preproc_warn_flag in '' yes
12680 # Use a header file that comes with gcc, so configuring glibc
12681 # with a fresh cross-compiler works.
12682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12683 # <limits.h> exists even on freestanding compilers.
12684 # On the NeXT, cc -E runs the code through the compiler's parser,
12685 # not just through cpp. "Syntax error" is here to catch this case.
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12688 #ifdef __STDC__
12689 # include <limits.h>
12690 #else
12691 # include <assert.h>
12692 #endif
12693 Syntax error
12694 _ACEOF
12695 if ac_fn_cxx_try_cpp "$LINENO"; then :
12697 else
12698 # Broken: fails on valid input.
12699 continue
12701 rm -f conftest.err conftest.i conftest.$ac_ext
12703 # OK, works on sane cases. Now check whether nonexistent headers
12704 # can be detected and how.
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12707 #include <ac_nonexistent.h>
12708 _ACEOF
12709 if ac_fn_cxx_try_cpp "$LINENO"; then :
12710 # Broken: success on invalid input.
12711 continue
12712 else
12713 # Passes both tests.
12714 ac_preproc_ok=:
12715 break
12717 rm -f conftest.err conftest.i conftest.$ac_ext
12719 done
12720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12721 rm -f conftest.i conftest.err conftest.$ac_ext
12722 if $ac_preproc_ok; then :
12723 break
12726 done
12727 ac_cv_prog_CXXCPP=$CXXCPP
12730 CXXCPP=$ac_cv_prog_CXXCPP
12731 else
12732 ac_cv_prog_CXXCPP=$CXXCPP
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12735 $as_echo "$CXXCPP" >&6; }
12736 ac_preproc_ok=false
12737 for ac_cxx_preproc_warn_flag in '' yes
12739 # Use a header file that comes with gcc, so configuring glibc
12740 # with a fresh cross-compiler works.
12741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12742 # <limits.h> exists even on freestanding compilers.
12743 # On the NeXT, cc -E runs the code through the compiler's parser,
12744 # not just through cpp. "Syntax error" is here to catch this case.
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12747 #ifdef __STDC__
12748 # include <limits.h>
12749 #else
12750 # include <assert.h>
12751 #endif
12752 Syntax error
12753 _ACEOF
12754 if ac_fn_cxx_try_cpp "$LINENO"; then :
12756 else
12757 # Broken: fails on valid input.
12758 continue
12760 rm -f conftest.err conftest.i conftest.$ac_ext
12762 # OK, works on sane cases. Now check whether nonexistent headers
12763 # can be detected and how.
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12766 #include <ac_nonexistent.h>
12767 _ACEOF
12768 if ac_fn_cxx_try_cpp "$LINENO"; then :
12769 # Broken: success on invalid input.
12770 continue
12771 else
12772 # Passes both tests.
12773 ac_preproc_ok=:
12774 break
12776 rm -f conftest.err conftest.i conftest.$ac_ext
12778 done
12779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12780 rm -f conftest.i conftest.err conftest.$ac_ext
12781 if $ac_preproc_ok; then :
12783 else
12784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12786 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12787 See \`config.log' for more details" "$LINENO" 5; }
12790 ac_ext=c
12791 ac_cpp='$CPP $CPPFLAGS'
12792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12796 else
12797 _lt_caught_CXX_error=yes
12800 ac_ext=cpp
12801 ac_cpp='$CXXCPP $CPPFLAGS'
12802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12806 archive_cmds_need_lc_CXX=no
12807 allow_undefined_flag_CXX=
12808 always_export_symbols_CXX=no
12809 archive_expsym_cmds_CXX=
12810 compiler_needs_object_CXX=no
12811 export_dynamic_flag_spec_CXX=
12812 hardcode_direct_CXX=no
12813 hardcode_direct_absolute_CXX=no
12814 hardcode_libdir_flag_spec_CXX=
12815 hardcode_libdir_flag_spec_ld_CXX=
12816 hardcode_libdir_separator_CXX=
12817 hardcode_minus_L_CXX=no
12818 hardcode_shlibpath_var_CXX=unsupported
12819 hardcode_automatic_CXX=no
12820 inherit_rpath_CXX=no
12821 module_cmds_CXX=
12822 module_expsym_cmds_CXX=
12823 link_all_deplibs_CXX=unknown
12824 old_archive_cmds_CXX=$old_archive_cmds
12825 reload_flag_CXX=$reload_flag
12826 reload_cmds_CXX=$reload_cmds
12827 no_undefined_flag_CXX=
12828 whole_archive_flag_spec_CXX=
12829 enable_shared_with_static_runtimes_CXX=no
12831 # Source file extension for C++ test sources.
12832 ac_ext=cpp
12834 # Object file extension for compiled C++ test sources.
12835 objext=o
12836 objext_CXX=$objext
12838 # No sense in running all these tests if we already determined that
12839 # the CXX compiler isn't working. Some variables (like enable_shared)
12840 # are currently assumed to apply to all compilers on this platform,
12841 # and will be corrupted by setting them based on a non-working compiler.
12842 if test "$_lt_caught_CXX_error" != yes; then
12843 # Code to be used in simple compile tests
12844 lt_simple_compile_test_code="int some_variable = 0;"
12846 # Code to be used in simple link tests
12847 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12849 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12856 # If no C compiler was specified, use CC.
12857 LTCC=${LTCC-"$CC"}
12859 # If no C compiler flags were specified, use CFLAGS.
12860 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12862 # Allow CC to be a program name with arguments.
12863 compiler=$CC
12866 # save warnings/boilerplate of simple test code
12867 ac_outfile=conftest.$ac_objext
12868 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12869 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12870 _lt_compiler_boilerplate=`cat conftest.err`
12871 $RM conftest*
12873 ac_outfile=conftest.$ac_objext
12874 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12875 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12876 _lt_linker_boilerplate=`cat conftest.err`
12877 $RM -r conftest*
12880 # Allow CC to be a program name with arguments.
12881 lt_save_CC=$CC
12882 lt_save_CFLAGS=$CFLAGS
12883 lt_save_LD=$LD
12884 lt_save_GCC=$GCC
12885 GCC=$GXX
12886 lt_save_with_gnu_ld=$with_gnu_ld
12887 lt_save_path_LD=$lt_cv_path_LD
12888 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12889 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12890 else
12891 $as_unset lt_cv_prog_gnu_ld
12893 if test -n "${lt_cv_path_LDCXX+set}"; then
12894 lt_cv_path_LD=$lt_cv_path_LDCXX
12895 else
12896 $as_unset lt_cv_path_LD
12898 test -z "${LDCXX+set}" || LD=$LDCXX
12899 CC=${CXX-"c++"}
12900 CFLAGS=$CXXFLAGS
12901 compiler=$CC
12902 compiler_CXX=$CC
12903 for cc_temp in $compiler""; do
12904 case $cc_temp in
12905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12907 \-*) ;;
12908 *) break;;
12909 esac
12910 done
12911 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12914 if test -n "$compiler"; then
12915 # We don't want -fno-exception when compiling C++ code, so set the
12916 # no_builtin_flag separately
12917 if test "$GXX" = yes; then
12918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12919 else
12920 lt_prog_compiler_no_builtin_flag_CXX=
12923 if test "$GXX" = yes; then
12924 # Set up default GNU C++ configuration
12928 # Check whether --with-gnu-ld was given.
12929 if test "${with_gnu_ld+set}" = set; then :
12930 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12931 else
12932 with_gnu_ld=no
12935 ac_prog=ld
12936 if test "$GCC" = yes; then
12937 # Check if gcc -print-prog-name=ld gives a path.
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12939 $as_echo_n "checking for ld used by $CC... " >&6; }
12940 case $host in
12941 *-*-mingw*)
12942 # gcc leaves a trailing carriage return which upsets mingw
12943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12946 esac
12947 case $ac_prog in
12948 # Accept absolute paths.
12949 [\\/]* | ?:[\\/]*)
12950 re_direlt='/[^/][^/]*/\.\./'
12951 # Canonicalize the pathname of ld
12952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12955 done
12956 test -z "$LD" && LD="$ac_prog"
12959 # If it fails, then pretend we aren't using GCC.
12960 ac_prog=ld
12963 # If it is relative, then search for the first ld in PATH.
12964 with_gnu_ld=unknown
12966 esac
12967 elif test "$with_gnu_ld" = yes; then
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12969 $as_echo_n "checking for GNU ld... " >&6; }
12970 else
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12972 $as_echo_n "checking for non-GNU ld... " >&6; }
12974 if ${lt_cv_path_LD+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
12977 if test -z "$LD"; then
12978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12979 for ac_dir in $PATH; do
12980 IFS="$lt_save_ifs"
12981 test -z "$ac_dir" && ac_dir=.
12982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12983 lt_cv_path_LD="$ac_dir/$ac_prog"
12984 # Check to see if the program is GNU ld. I'd rather use --version,
12985 # but apparently some variants of GNU ld only accept -v.
12986 # Break only if it was the GNU/non-GNU ld that we prefer.
12987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12988 *GNU* | *'with BFD'*)
12989 test "$with_gnu_ld" != no && break
12992 test "$with_gnu_ld" != yes && break
12994 esac
12996 done
12997 IFS="$lt_save_ifs"
12998 else
12999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13003 LD="$lt_cv_path_LD"
13004 if test -n "$LD"; then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13006 $as_echo "$LD" >&6; }
13007 else
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009 $as_echo "no" >&6; }
13011 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13013 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13014 if ${lt_cv_prog_gnu_ld+:} false; then :
13015 $as_echo_n "(cached) " >&6
13016 else
13017 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13018 case `$LD -v 2>&1 </dev/null` in
13019 *GNU* | *'with BFD'*)
13020 lt_cv_prog_gnu_ld=yes
13023 lt_cv_prog_gnu_ld=no
13025 esac
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13028 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13029 with_gnu_ld=$lt_cv_prog_gnu_ld
13037 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13038 # archiving commands below assume that GNU ld is being used.
13039 if test "$with_gnu_ld" = yes; then
13040 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13041 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13043 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13044 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13046 # If archive_cmds runs LD, not CC, wlarc should be empty
13047 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13048 # investigate it a little bit more. (MM)
13049 wlarc='${wl}'
13051 # ancient GNU ld didn't support --whole-archive et. al.
13052 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13053 $GREP 'no-whole-archive' > /dev/null; then
13054 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13055 else
13056 whole_archive_flag_spec_CXX=
13058 else
13059 with_gnu_ld=no
13060 wlarc=
13062 # A generic and very simple default shared library creation
13063 # command for GNU C++ for the case where it uses the native
13064 # linker, instead of GNU ld. If possible, this setting should
13065 # overridden to take advantage of the native linker features on
13066 # the platform it is being used on.
13067 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13070 # Commands to make compiler produce verbose output that lists
13071 # what "hidden" libraries, object files and flags are used when
13072 # linking a shared library.
13073 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13075 else
13076 GXX=no
13077 with_gnu_ld=no
13078 wlarc=
13081 # PORTME: fill in a description of your system's C++ link characteristics
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13083 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13084 ld_shlibs_CXX=yes
13085 case $host_os in
13086 aix3*)
13087 # FIXME: insert proper C++ library support
13088 ld_shlibs_CXX=no
13090 aix[4-9]*)
13091 if test "$host_cpu" = ia64; then
13092 # On IA64, the linker does run time linking by default, so we don't
13093 # have to do anything special.
13094 aix_use_runtimelinking=no
13095 exp_sym_flag='-Bexport'
13096 no_entry_flag=""
13097 else
13098 aix_use_runtimelinking=no
13100 # Test if we are trying to use run time linking or normal
13101 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13102 # need to do runtime linking.
13103 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13104 for ld_flag in $LDFLAGS; do
13105 case $ld_flag in
13106 *-brtl*)
13107 aix_use_runtimelinking=yes
13108 break
13110 esac
13111 done
13113 esac
13115 exp_sym_flag='-bexport'
13116 no_entry_flag='-bnoentry'
13119 # When large executables or shared objects are built, AIX ld can
13120 # have problems creating the table of contents. If linking a library
13121 # or program results in "error TOC overflow" add -mminimal-toc to
13122 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13123 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13125 archive_cmds_CXX=''
13126 hardcode_direct_CXX=yes
13127 hardcode_direct_absolute_CXX=yes
13128 hardcode_libdir_separator_CXX=':'
13129 link_all_deplibs_CXX=yes
13130 file_list_spec_CXX='${wl}-f,'
13132 if test "$GXX" = yes; then
13133 case $host_os in aix4.[012]|aix4.[012].*)
13134 # We only want to do this on AIX 4.2 and lower, the check
13135 # below for broken collect2 doesn't work under 4.3+
13136 collect2name=`${CC} -print-prog-name=collect2`
13137 if test -f "$collect2name" &&
13138 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13139 then
13140 # We have reworked collect2
13142 else
13143 # We have old collect2
13144 hardcode_direct_CXX=unsupported
13145 # It fails to find uninstalled libraries when the uninstalled
13146 # path is not listed in the libpath. Setting hardcode_minus_L
13147 # to unsupported forces relinking
13148 hardcode_minus_L_CXX=yes
13149 hardcode_libdir_flag_spec_CXX='-L$libdir'
13150 hardcode_libdir_separator_CXX=
13152 esac
13153 shared_flag='-shared'
13154 if test "$aix_use_runtimelinking" = yes; then
13155 shared_flag="$shared_flag "'${wl}-G'
13157 else
13158 # not using gcc
13159 if test "$host_cpu" = ia64; then
13160 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13161 # chokes on -Wl,-G. The following line is correct:
13162 shared_flag='-G'
13163 else
13164 if test "$aix_use_runtimelinking" = yes; then
13165 shared_flag='${wl}-G'
13166 else
13167 shared_flag='${wl}-bM:SRE'
13172 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13173 # It seems that -bexpall does not export symbols beginning with
13174 # underscore (_), so it is better to generate a list of symbols to
13175 # export.
13176 always_export_symbols_CXX=yes
13177 if test "$aix_use_runtimelinking" = yes; then
13178 # Warning - without using the other runtime loading flags (-brtl),
13179 # -berok will link without error, but may produce a broken library.
13180 allow_undefined_flag_CXX='-berok'
13181 # Determine the default libpath from the value encoded in an empty
13182 # executable.
13183 if test "${lt_cv_aix_libpath+set}" = set; then
13184 aix_libpath=$lt_cv_aix_libpath
13185 else
13186 if ${lt_cv_aix_libpath__CXX+:} false; then :
13187 $as_echo_n "(cached) " >&6
13188 else
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13193 main ()
13197 return 0;
13199 _ACEOF
13200 if ac_fn_cxx_try_link "$LINENO"; then :
13202 lt_aix_libpath_sed='
13203 /Import File Strings/,/^$/ {
13204 /^0/ {
13205 s/^0 *\([^ ]*\) *$/\1/
13209 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13210 # Check for a 64-bit object if we didn't find anything.
13211 if test -z "$lt_cv_aix_libpath__CXX"; then
13212 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13215 rm -f core conftest.err conftest.$ac_objext \
13216 conftest$ac_exeext conftest.$ac_ext
13217 if test -z "$lt_cv_aix_libpath__CXX"; then
13218 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13223 aix_libpath=$lt_cv_aix_libpath__CXX
13226 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13228 archive_expsym_cmds_CXX='$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"
13229 else
13230 if test "$host_cpu" = ia64; then
13231 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13232 allow_undefined_flag_CXX="-z nodefs"
13233 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13234 else
13235 # Determine the default libpath from the value encoded in an
13236 # empty executable.
13237 if test "${lt_cv_aix_libpath+set}" = set; then
13238 aix_libpath=$lt_cv_aix_libpath
13239 else
13240 if ${lt_cv_aix_libpath__CXX+:} false; then :
13241 $as_echo_n "(cached) " >&6
13242 else
13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13247 main ()
13251 return 0;
13253 _ACEOF
13254 if ac_fn_cxx_try_link "$LINENO"; then :
13256 lt_aix_libpath_sed='
13257 /Import File Strings/,/^$/ {
13258 /^0/ {
13259 s/^0 *\([^ ]*\) *$/\1/
13263 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13264 # Check for a 64-bit object if we didn't find anything.
13265 if test -z "$lt_cv_aix_libpath__CXX"; then
13266 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13271 if test -z "$lt_cv_aix_libpath__CXX"; then
13272 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13277 aix_libpath=$lt_cv_aix_libpath__CXX
13280 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13281 # Warning - without using the other run time loading flags,
13282 # -berok will link without error, but may produce a broken library.
13283 no_undefined_flag_CXX=' ${wl}-bernotok'
13284 allow_undefined_flag_CXX=' ${wl}-berok'
13285 if test "$with_gnu_ld" = yes; then
13286 # We only use this code for GNU lds that support --whole-archive.
13287 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13288 else
13289 # Exported symbols can be pulled into shared objects from archives
13290 whole_archive_flag_spec_CXX='$convenience'
13292 archive_cmds_need_lc_CXX=yes
13293 # This is similar to how AIX traditionally builds its shared
13294 # libraries.
13295 archive_expsym_cmds_CXX="\$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'
13300 beos*)
13301 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13302 allow_undefined_flag_CXX=unsupported
13303 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13304 # support --undefined. This deserves some investigation. FIXME
13305 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13306 else
13307 ld_shlibs_CXX=no
13311 chorus*)
13312 case $cc_basename in
13314 # FIXME: insert proper C++ library support
13315 ld_shlibs_CXX=no
13317 esac
13320 cygwin* | mingw* | pw32* | cegcc*)
13321 case $GXX,$cc_basename in
13322 ,cl* | no,cl*)
13323 # Native MSVC
13324 # hardcode_libdir_flag_spec is actually meaningless, as there is
13325 # no search path for DLLs.
13326 hardcode_libdir_flag_spec_CXX=' '
13327 allow_undefined_flag_CXX=unsupported
13328 always_export_symbols_CXX=yes
13329 file_list_spec_CXX='@'
13330 # Tell ltmain to make .lib files, not .a files.
13331 libext=lib
13332 # Tell ltmain to make .dll files, not .so files.
13333 shrext_cmds=".dll"
13334 # FIXME: Setting linknames here is a bad hack.
13335 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13336 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13337 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13338 else
13339 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13341 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13342 linknames='
13343 # The linker will not automatically build a static lib if we build a DLL.
13344 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13345 enable_shared_with_static_runtimes_CXX=yes
13346 # Don't use ranlib
13347 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13348 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13349 lt_tool_outputfile="@TOOL_OUTPUT@"~
13350 case $lt_outputfile in
13351 *.exe|*.EXE) ;;
13353 lt_outputfile="$lt_outputfile.exe"
13354 lt_tool_outputfile="$lt_tool_outputfile.exe"
13356 esac~
13357 func_to_tool_file "$lt_outputfile"~
13358 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13359 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13360 $RM "$lt_outputfile.manifest";
13364 # g++
13365 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13366 # as there is no search path for DLLs.
13367 hardcode_libdir_flag_spec_CXX='-L$libdir'
13368 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13369 allow_undefined_flag_CXX=unsupported
13370 always_export_symbols_CXX=no
13371 enable_shared_with_static_runtimes_CXX=yes
13373 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13374 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13375 # If the export-symbols file already is a .def file (1st line
13376 # is EXPORTS), use it as is; otherwise, prepend...
13377 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13378 cp $export_symbols $output_objdir/$soname.def;
13379 else
13380 echo EXPORTS > $output_objdir/$soname.def;
13381 cat $export_symbols >> $output_objdir/$soname.def;
13383 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13384 else
13385 ld_shlibs_CXX=no
13388 esac
13390 darwin* | rhapsody*)
13393 archive_cmds_need_lc_CXX=no
13394 hardcode_direct_CXX=no
13395 hardcode_automatic_CXX=yes
13396 hardcode_shlibpath_var_CXX=unsupported
13397 if test "$lt_cv_ld_force_load" = "yes"; then
13398 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13399 else
13400 whole_archive_flag_spec_CXX=''
13402 link_all_deplibs_CXX=yes
13403 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13404 case $cc_basename in
13405 ifort*) _lt_dar_can_shared=yes ;;
13406 *) _lt_dar_can_shared=$GCC ;;
13407 esac
13408 if test "$_lt_dar_can_shared" = "yes"; then
13409 output_verbose_link_cmd=func_echo_all
13410 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13411 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13412 archive_expsym_cmds_CXX="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}"
13413 module_expsym_cmds_CXX="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}"
13414 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13415 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13416 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13419 else
13420 ld_shlibs_CXX=no
13425 dgux*)
13426 case $cc_basename in
13427 ec++*)
13428 # FIXME: insert proper C++ library support
13429 ld_shlibs_CXX=no
13431 ghcx*)
13432 # Green Hills C++ Compiler
13433 # FIXME: insert proper C++ library support
13434 ld_shlibs_CXX=no
13437 # FIXME: insert proper C++ library support
13438 ld_shlibs_CXX=no
13440 esac
13443 freebsd[12]*)
13444 # C++ shared libraries reported to be fairly broken before
13445 # switch to ELF
13446 ld_shlibs_CXX=no
13449 freebsd-elf*)
13450 archive_cmds_need_lc_CXX=no
13453 freebsd* | dragonfly*)
13454 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13455 # conventions
13456 ld_shlibs_CXX=yes
13459 gnu*)
13462 haiku*)
13463 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13464 link_all_deplibs_CXX=yes
13467 hpux9*)
13468 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13469 hardcode_libdir_separator_CXX=:
13470 export_dynamic_flag_spec_CXX='${wl}-E'
13471 hardcode_direct_CXX=yes
13472 hardcode_minus_L_CXX=yes # Not in the search PATH,
13473 # but as the default
13474 # location of the library.
13476 case $cc_basename in
13477 CC*)
13478 # FIXME: insert proper C++ library support
13479 ld_shlibs_CXX=no
13481 aCC*)
13482 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13483 # Commands to make compiler produce verbose output that lists
13484 # what "hidden" libraries, object files and flags are used when
13485 # linking a shared library.
13487 # There doesn't appear to be a way to prevent this compiler from
13488 # explicitly linking system object files so we need to strip them
13489 # from the output so that they don't get included in the library
13490 # dependencies.
13491 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13494 if test "$GXX" = yes; then
13495 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13496 else
13497 # FIXME: insert proper C++ library support
13498 ld_shlibs_CXX=no
13501 esac
13504 hpux10*|hpux11*)
13505 if test $with_gnu_ld = no; then
13506 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13507 hardcode_libdir_separator_CXX=:
13509 case $host_cpu in
13510 hppa*64*|ia64*)
13513 export_dynamic_flag_spec_CXX='${wl}-E'
13515 esac
13517 case $host_cpu in
13518 hppa*64*|ia64*)
13519 hardcode_direct_CXX=no
13520 hardcode_shlibpath_var_CXX=no
13523 hardcode_direct_CXX=yes
13524 hardcode_direct_absolute_CXX=yes
13525 hardcode_minus_L_CXX=yes # Not in the search PATH,
13526 # but as the default
13527 # location of the library.
13529 esac
13531 case $cc_basename in
13532 CC*)
13533 # FIXME: insert proper C++ library support
13534 ld_shlibs_CXX=no
13536 aCC*)
13537 case $host_cpu in
13538 hppa*64*)
13539 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13541 ia64*)
13542 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13545 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13547 esac
13548 # Commands to make compiler produce verbose output that lists
13549 # what "hidden" libraries, object files and flags are used when
13550 # linking a shared library.
13552 # There doesn't appear to be a way to prevent this compiler from
13553 # explicitly linking system object files so we need to strip them
13554 # from the output so that they don't get included in the library
13555 # dependencies.
13556 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13559 if test "$GXX" = yes; then
13560 if test $with_gnu_ld = no; then
13561 case $host_cpu in
13562 hppa*64*)
13563 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13565 ia64*)
13566 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13569 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13571 esac
13573 else
13574 # FIXME: insert proper C++ library support
13575 ld_shlibs_CXX=no
13578 esac
13581 interix[3-9]*)
13582 hardcode_direct_CXX=no
13583 hardcode_shlibpath_var_CXX=no
13584 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13585 export_dynamic_flag_spec_CXX='${wl}-E'
13586 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13587 # Instead, shared libraries are loaded at an image base (0x10000000 by
13588 # default) and relocated if they conflict, which is a slow very memory
13589 # consuming and fragmenting process. To avoid this, we pick a random,
13590 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13591 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13592 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13593 archive_expsym_cmds_CXX='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'
13595 irix5* | irix6*)
13596 case $cc_basename in
13597 CC*)
13598 # SGI C++
13599 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13601 # Archives containing C++ object files must be created using
13602 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13603 # necessary to make sure instantiated templates are included
13604 # in the archive.
13605 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13608 if test "$GXX" = yes; then
13609 if test "$with_gnu_ld" = no; then
13610 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13611 else
13612 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13615 link_all_deplibs_CXX=yes
13617 esac
13618 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13619 hardcode_libdir_separator_CXX=:
13620 inherit_rpath_CXX=yes
13623 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13624 case $cc_basename in
13625 KCC*)
13626 # Kuck and Associates, Inc. (KAI) C++ Compiler
13628 # KCC will only create a shared library if the output file
13629 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13630 # to its proper name (with version) after linking.
13631 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13632 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13633 # Commands to make compiler produce verbose output that lists
13634 # what "hidden" libraries, object files and flags are used when
13635 # linking a shared library.
13637 # There doesn't appear to be a way to prevent this compiler from
13638 # explicitly linking system object files so we need to strip them
13639 # from the output so that they don't get included in the library
13640 # dependencies.
13641 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13643 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13644 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13646 # Archives containing C++ object files must be created using
13647 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13648 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13650 icpc* | ecpc* )
13651 # Intel C++
13652 with_gnu_ld=yes
13653 # version 8.0 and above of icpc choke on multiply defined symbols
13654 # if we add $predep_objects and $postdep_objects, however 7.1 and
13655 # earlier do not add the objects themselves.
13656 case `$CC -V 2>&1` in
13657 *"Version 7."*)
13658 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13659 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13661 *) # Version 8.0 or newer
13662 tmp_idyn=
13663 case $host_cpu in
13664 ia64*) tmp_idyn=' -i_dynamic';;
13665 esac
13666 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13667 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13669 esac
13670 archive_cmds_need_lc_CXX=no
13671 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13672 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13673 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 case `$CC -V` in
13678 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13679 prelink_cmds_CXX='tpldir=Template.dir~
13680 rm -rf $tpldir~
13681 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13682 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13683 old_archive_cmds_CXX='tpldir=Template.dir~
13684 rm -rf $tpldir~
13685 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13686 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13687 $RANLIB $oldlib'
13688 archive_cmds_CXX='tpldir=Template.dir~
13689 rm -rf $tpldir~
13690 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13691 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13692 archive_expsym_cmds_CXX='tpldir=Template.dir~
13693 rm -rf $tpldir~
13694 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13695 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13697 *) # Version 6 and above use weak symbols
13698 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13699 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13701 esac
13703 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13704 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13705 whole_archive_flag_spec_CXX='${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'
13707 cxx*)
13708 # Compaq C++
13709 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13710 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13712 runpath_var=LD_RUN_PATH
13713 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13714 hardcode_libdir_separator_CXX=:
13716 # Commands to make compiler produce verbose output that lists
13717 # what "hidden" libraries, object files and flags are used when
13718 # linking a shared library.
13720 # There doesn't appear to be a way to prevent this compiler from
13721 # explicitly linking system object files so we need to strip them
13722 # from the output so that they don't get included in the library
13723 # dependencies.
13724 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13726 xl* | mpixl* | bgxl*)
13727 # IBM XL 8.0 on PPC, with GNU ld
13728 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13729 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13730 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13731 if test "x$supports_anon_versioning" = xyes; then
13732 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13733 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13734 echo "local: *; };" >> $output_objdir/$libname.ver~
13735 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13739 case `$CC -V 2>&1 | sed 5q` in
13740 *Sun\ C*)
13741 # Sun C++ 5.9
13742 no_undefined_flag_CXX=' -zdefs'
13743 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13744 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13745 hardcode_libdir_flag_spec_CXX='-R$libdir'
13746 whole_archive_flag_spec_CXX='${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'
13747 compiler_needs_object_CXX=yes
13749 # Not sure whether something based on
13750 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13751 # would be better.
13752 output_verbose_link_cmd='func_echo_all'
13754 # Archives containing C++ object files must be created using
13755 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13756 # necessary to make sure instantiated templates are included
13757 # in the archive.
13758 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13760 esac
13762 esac
13765 lynxos*)
13766 # FIXME: insert proper C++ library support
13767 ld_shlibs_CXX=no
13770 m88k*)
13771 # FIXME: insert proper C++ library support
13772 ld_shlibs_CXX=no
13775 mvs*)
13776 case $cc_basename in
13777 cxx*)
13778 # FIXME: insert proper C++ library support
13779 ld_shlibs_CXX=no
13782 # FIXME: insert proper C++ library support
13783 ld_shlibs_CXX=no
13785 esac
13788 netbsd*)
13789 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13790 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13791 wlarc=
13792 hardcode_libdir_flag_spec_CXX='-R$libdir'
13793 hardcode_direct_CXX=yes
13794 hardcode_shlibpath_var_CXX=no
13796 # Workaround some broken pre-1.5 toolchains
13797 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13800 *nto* | *qnx*)
13801 ld_shlibs_CXX=yes
13804 openbsd2*)
13805 # C++ shared libraries are fairly broken
13806 ld_shlibs_CXX=no
13809 openbsd*)
13810 if test -f /usr/libexec/ld.so; then
13811 hardcode_direct_CXX=yes
13812 hardcode_shlibpath_var_CXX=no
13813 hardcode_direct_absolute_CXX=yes
13814 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13815 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13816 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13817 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13818 export_dynamic_flag_spec_CXX='${wl}-E'
13819 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13821 output_verbose_link_cmd=func_echo_all
13822 else
13823 ld_shlibs_CXX=no
13827 osf3* | osf4* | osf5*)
13828 case $cc_basename in
13829 KCC*)
13830 # Kuck and Associates, Inc. (KAI) C++ Compiler
13832 # KCC will only create a shared library if the output file
13833 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13834 # to its proper name (with version) after linking.
13835 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13838 hardcode_libdir_separator_CXX=:
13840 # Archives containing C++ object files must be created using
13841 # the KAI C++ compiler.
13842 case $host in
13843 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13844 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13845 esac
13847 RCC*)
13848 # Rational C++ 2.4.1
13849 # FIXME: insert proper C++ library support
13850 ld_shlibs_CXX=no
13852 cxx*)
13853 case $host in
13854 osf3*)
13855 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13856 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13857 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13860 allow_undefined_flag_CXX=' -expect_unresolved \*'
13861 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13862 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13863 echo "-hidden">> $lib.exp~
13864 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13865 $RM $lib.exp'
13866 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13868 esac
13870 hardcode_libdir_separator_CXX=:
13872 # Commands to make compiler produce verbose output that lists
13873 # what "hidden" libraries, object files and flags are used when
13874 # linking a shared library.
13876 # There doesn't appear to be a way to prevent this compiler from
13877 # explicitly linking system object files so we need to strip them
13878 # from the output so that they don't get included in the library
13879 # dependencies.
13880 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13883 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13884 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13885 case $host in
13886 osf3*)
13887 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13890 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13892 esac
13894 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13895 hardcode_libdir_separator_CXX=:
13897 # Commands to make compiler produce verbose output that lists
13898 # what "hidden" libraries, object files and flags are used when
13899 # linking a shared library.
13900 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13902 else
13903 # FIXME: insert proper C++ library support
13904 ld_shlibs_CXX=no
13907 esac
13910 psos*)
13911 # FIXME: insert proper C++ library support
13912 ld_shlibs_CXX=no
13915 sunos4*)
13916 case $cc_basename in
13917 CC*)
13918 # Sun C++ 4.x
13919 # FIXME: insert proper C++ library support
13920 ld_shlibs_CXX=no
13922 lcc*)
13923 # Lucid
13924 # FIXME: insert proper C++ library support
13925 ld_shlibs_CXX=no
13928 # FIXME: insert proper C++ library support
13929 ld_shlibs_CXX=no
13931 esac
13934 solaris*)
13935 case $cc_basename in
13936 CC* | sunCC*)
13937 # Sun C++ 4.2, 5.x and Centerline C++
13938 archive_cmds_need_lc_CXX=yes
13939 no_undefined_flag_CXX=' -zdefs'
13940 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13941 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13942 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13944 hardcode_libdir_flag_spec_CXX='-R$libdir'
13945 hardcode_shlibpath_var_CXX=no
13946 case $host_os in
13947 solaris2.[0-5] | solaris2.[0-5].*) ;;
13949 # The compiler driver will combine and reorder linker options,
13950 # but understands `-z linker_flag'.
13951 # Supported since Solaris 2.6 (maybe 2.5.1?)
13952 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13954 esac
13955 link_all_deplibs_CXX=yes
13957 output_verbose_link_cmd='func_echo_all'
13959 # Archives containing C++ object files must be created using
13960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13961 # necessary to make sure instantiated templates are included
13962 # in the archive.
13963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13965 gcx*)
13966 # Green Hills C++ Compiler
13967 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13969 # The C++ compiler must be used to create the archive.
13970 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13973 # GNU C++ compiler with Solaris linker
13974 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13975 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13976 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13977 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13978 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13979 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13981 # Commands to make compiler produce verbose output that lists
13982 # what "hidden" libraries, object files and flags are used when
13983 # linking a shared library.
13984 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13985 else
13986 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13987 # platform.
13988 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13989 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13990 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13992 # Commands to make compiler produce verbose output that lists
13993 # what "hidden" libraries, object files and flags are used when
13994 # linking a shared library.
13995 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13998 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13999 case $host_os in
14000 solaris2.[0-5] | solaris2.[0-5].*) ;;
14002 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14004 esac
14007 esac
14010 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14011 no_undefined_flag_CXX='${wl}-z,text'
14012 archive_cmds_need_lc_CXX=no
14013 hardcode_shlibpath_var_CXX=no
14014 runpath_var='LD_RUN_PATH'
14016 case $cc_basename in
14017 CC*)
14018 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14019 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14022 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14023 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14025 esac
14028 sysv5* | sco3.2v5* | sco5v6*)
14029 # Note: We can NOT use -z defs as we might desire, because we do not
14030 # link with -lc, and that would cause any symbols used from libc to
14031 # always be unresolved, which means just about no library would
14032 # ever link correctly. If we're not using GNU ld we use -z text
14033 # though, which does catch some bad symbols but isn't as heavy-handed
14034 # as -z defs.
14035 no_undefined_flag_CXX='${wl}-z,text'
14036 allow_undefined_flag_CXX='${wl}-z,nodefs'
14037 archive_cmds_need_lc_CXX=no
14038 hardcode_shlibpath_var_CXX=no
14039 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14040 hardcode_libdir_separator_CXX=':'
14041 link_all_deplibs_CXX=yes
14042 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14043 runpath_var='LD_RUN_PATH'
14045 case $cc_basename in
14046 CC*)
14047 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14048 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14049 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14050 '"$old_archive_cmds_CXX"
14051 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14052 '"$reload_cmds_CXX"
14055 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14056 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14058 esac
14061 tandem*)
14062 case $cc_basename in
14063 NCC*)
14064 # NonStop-UX NCC 3.20
14065 # FIXME: insert proper C++ library support
14066 ld_shlibs_CXX=no
14069 # FIXME: insert proper C++ library support
14070 ld_shlibs_CXX=no
14072 esac
14075 vxworks*)
14076 # FIXME: insert proper C++ library support
14077 ld_shlibs_CXX=no
14081 # FIXME: insert proper C++ library support
14082 ld_shlibs_CXX=no
14084 esac
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14087 $as_echo "$ld_shlibs_CXX" >&6; }
14088 test "$ld_shlibs_CXX" = no && can_build_shared=no
14090 GCC_CXX="$GXX"
14091 LD_CXX="$LD"
14093 ## CAVEAT EMPTOR:
14094 ## There is no encapsulation within the following macros, do not change
14095 ## the running order or otherwise move them around unless you know exactly
14096 ## what you are doing...
14097 # Dependencies to place before and after the object being linked:
14098 predep_objects_CXX=
14099 postdep_objects_CXX=
14100 predeps_CXX=
14101 postdeps_CXX=
14102 compiler_lib_search_path_CXX=
14104 cat > conftest.$ac_ext <<_LT_EOF
14105 class Foo
14107 public:
14108 Foo (void) { a = 0; }
14109 private:
14110 int a;
14112 _LT_EOF
14115 _lt_libdeps_save_CFLAGS=$CFLAGS
14116 case "$CC $CFLAGS " in #(
14117 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14118 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14119 esac
14121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14122 (eval $ac_compile) 2>&5
14123 ac_status=$?
14124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14125 test $ac_status = 0; }; then
14126 # Parse the compiler output and extract the necessary
14127 # objects, libraries and library flags.
14129 # Sentinel used to keep track of whether or not we are before
14130 # the conftest object file.
14131 pre_test_object_deps_done=no
14133 for p in `eval "$output_verbose_link_cmd"`; do
14134 case ${prev}${p} in
14136 -L* | -R* | -l*)
14137 # Some compilers place space between "-{L,R}" and the path.
14138 # Remove the space.
14139 if test $p = "-L" ||
14140 test $p = "-R"; then
14141 prev=$p
14142 continue
14145 # Expand the sysroot to ease extracting the directories later.
14146 if test -z "$prev"; then
14147 case $p in
14148 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14149 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14150 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14151 esac
14153 case $p in
14154 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14155 esac
14156 if test "$pre_test_object_deps_done" = no; then
14157 case ${prev} in
14158 -L | -R)
14159 # Internal compiler library paths should come after those
14160 # provided the user. The postdeps already come after the
14161 # user supplied libs so there is no need to process them.
14162 if test -z "$compiler_lib_search_path_CXX"; then
14163 compiler_lib_search_path_CXX="${prev}${p}"
14164 else
14165 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14168 # The "-l" case would never come before the object being
14169 # linked, so don't bother handling this case.
14170 esac
14171 else
14172 if test -z "$postdeps_CXX"; then
14173 postdeps_CXX="${prev}${p}"
14174 else
14175 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14178 prev=
14181 *.lto.$objext) ;; # Ignore GCC LTO objects
14182 *.$objext)
14183 # This assumes that the test object file only shows up
14184 # once in the compiler output.
14185 if test "$p" = "conftest.$objext"; then
14186 pre_test_object_deps_done=yes
14187 continue
14190 if test "$pre_test_object_deps_done" = no; then
14191 if test -z "$predep_objects_CXX"; then
14192 predep_objects_CXX="$p"
14193 else
14194 predep_objects_CXX="$predep_objects_CXX $p"
14196 else
14197 if test -z "$postdep_objects_CXX"; then
14198 postdep_objects_CXX="$p"
14199 else
14200 postdep_objects_CXX="$postdep_objects_CXX $p"
14205 *) ;; # Ignore the rest.
14207 esac
14208 done
14210 # Clean up.
14211 rm -f a.out a.exe
14212 else
14213 echo "libtool.m4: error: problem compiling CXX test program"
14216 $RM -f confest.$objext
14217 CFLAGS=$_lt_libdeps_save_CFLAGS
14219 # PORTME: override above test on systems where it is broken
14220 case $host_os in
14221 interix[3-9]*)
14222 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14223 # hack all around it, let's just trust "g++" to DTRT.
14224 predep_objects_CXX=
14225 postdep_objects_CXX=
14226 postdeps_CXX=
14229 linux*)
14230 case `$CC -V 2>&1 | sed 5q` in
14231 *Sun\ C*)
14232 # Sun C++ 5.9
14234 # The more standards-conforming stlport4 library is
14235 # incompatible with the Cstd library. Avoid specifying
14236 # it if it's in CXXFLAGS. Ignore libCrun as
14237 # -library=stlport4 depends on it.
14238 case " $CXX $CXXFLAGS " in
14239 *" -library=stlport4 "*)
14240 solaris_use_stlport4=yes
14242 esac
14244 if test "$solaris_use_stlport4" != yes; then
14245 postdeps_CXX='-library=Cstd -library=Crun'
14248 esac
14251 solaris*)
14252 case $cc_basename in
14253 CC* | sunCC*)
14254 # The more standards-conforming stlport4 library is
14255 # incompatible with the Cstd library. Avoid specifying
14256 # it if it's in CXXFLAGS. Ignore libCrun as
14257 # -library=stlport4 depends on it.
14258 case " $CXX $CXXFLAGS " in
14259 *" -library=stlport4 "*)
14260 solaris_use_stlport4=yes
14262 esac
14264 # Adding this requires a known-good setup of shared libraries for
14265 # Sun compiler versions before 5.6, else PIC objects from an old
14266 # archive will be linked into the output, leading to subtle bugs.
14267 if test "$solaris_use_stlport4" != yes; then
14268 postdeps_CXX='-library=Cstd -library=Crun'
14271 esac
14273 esac
14276 case " $postdeps_CXX " in
14277 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14278 esac
14279 compiler_lib_search_dirs_CXX=
14280 if test -n "${compiler_lib_search_path_CXX}"; then
14281 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14314 lt_prog_compiler_wl_CXX=
14315 lt_prog_compiler_pic_CXX=
14316 lt_prog_compiler_static_CXX=
14319 # C++ specific cases for pic, static, wl, etc.
14320 if test "$GXX" = yes; then
14321 lt_prog_compiler_wl_CXX='-Wl,'
14322 lt_prog_compiler_static_CXX='-static'
14324 case $host_os in
14325 aix*)
14326 # All AIX code is PIC.
14327 if test "$host_cpu" = ia64; then
14328 # AIX 5 now supports IA64 processor
14329 lt_prog_compiler_static_CXX='-Bstatic'
14333 amigaos*)
14334 case $host_cpu in
14335 powerpc)
14336 # see comment about AmigaOS4 .so support
14337 lt_prog_compiler_pic_CXX='-fPIC'
14339 m68k)
14340 # FIXME: we need at least 68020 code to build shared libraries, but
14341 # adding the `-m68020' flag to GCC prevents building anything better,
14342 # like `-m68040'.
14343 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14345 esac
14348 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14349 # PIC is the default for these OSes.
14351 mingw* | cygwin* | os2* | pw32* | cegcc*)
14352 # This hack is so that the source file can tell whether it is being
14353 # built for inclusion in a dll (and should export symbols for example).
14354 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14355 # (--disable-auto-import) libraries
14356 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14358 darwin* | rhapsody*)
14359 # PIC is the default on this platform
14360 # Common symbols not allowed in MH_DYLIB files
14361 lt_prog_compiler_pic_CXX='-fno-common'
14363 *djgpp*)
14364 # DJGPP does not support shared libraries at all
14365 lt_prog_compiler_pic_CXX=
14367 haiku*)
14368 # PIC is the default for Haiku.
14369 # The "-static" flag exists, but is broken.
14370 lt_prog_compiler_static_CXX=
14372 interix[3-9]*)
14373 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14374 # Instead, we relocate shared libraries at runtime.
14376 sysv4*MP*)
14377 if test -d /usr/nec; then
14378 lt_prog_compiler_pic_CXX=-Kconform_pic
14381 hpux*)
14382 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14383 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14384 # sets the default TLS model and affects inlining.
14385 case $host_cpu in
14386 hppa*64*)
14389 lt_prog_compiler_pic_CXX='-fPIC'
14391 esac
14393 *qnx* | *nto*)
14394 # QNX uses GNU C++, but need to define -shared option too, otherwise
14395 # it will coredump.
14396 lt_prog_compiler_pic_CXX='-fPIC -shared'
14399 lt_prog_compiler_pic_CXX='-fPIC'
14401 esac
14402 else
14403 case $host_os in
14404 aix[4-9]*)
14405 # All AIX code is PIC.
14406 if test "$host_cpu" = ia64; then
14407 # AIX 5 now supports IA64 processor
14408 lt_prog_compiler_static_CXX='-Bstatic'
14409 else
14410 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14413 chorus*)
14414 case $cc_basename in
14415 cxch68*)
14416 # Green Hills C++ Compiler
14417 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14419 esac
14421 mingw* | cygwin* | os2* | pw32* | cegcc*)
14422 # This hack is so that the source file can tell whether it is being
14423 # built for inclusion in a dll (and should export symbols for example).
14424 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14426 dgux*)
14427 case $cc_basename in
14428 ec++*)
14429 lt_prog_compiler_pic_CXX='-KPIC'
14431 ghcx*)
14432 # Green Hills C++ Compiler
14433 lt_prog_compiler_pic_CXX='-pic'
14437 esac
14439 freebsd* | dragonfly*)
14440 # FreeBSD uses GNU C++
14442 hpux9* | hpux10* | hpux11*)
14443 case $cc_basename in
14444 CC*)
14445 lt_prog_compiler_wl_CXX='-Wl,'
14446 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14447 if test "$host_cpu" != ia64; then
14448 lt_prog_compiler_pic_CXX='+Z'
14451 aCC*)
14452 lt_prog_compiler_wl_CXX='-Wl,'
14453 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14454 case $host_cpu in
14455 hppa*64*|ia64*)
14456 # +Z the default
14459 lt_prog_compiler_pic_CXX='+Z'
14461 esac
14465 esac
14467 interix*)
14468 # This is c89, which is MS Visual C++ (no shared libs)
14469 # Anyone wants to do a port?
14471 irix5* | irix6* | nonstopux*)
14472 case $cc_basename in
14473 CC*)
14474 lt_prog_compiler_wl_CXX='-Wl,'
14475 lt_prog_compiler_static_CXX='-non_shared'
14476 # CC pic flag -KPIC is the default.
14480 esac
14482 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14483 case $cc_basename in
14484 KCC*)
14485 # KAI C++ Compiler
14486 lt_prog_compiler_wl_CXX='--backend -Wl,'
14487 lt_prog_compiler_pic_CXX='-fPIC'
14489 ecpc* )
14490 # old Intel C++ for x86_64 which still supported -KPIC.
14491 lt_prog_compiler_wl_CXX='-Wl,'
14492 lt_prog_compiler_pic_CXX='-KPIC'
14493 lt_prog_compiler_static_CXX='-static'
14495 icpc* )
14496 # Intel C++, used to be incompatible with GCC.
14497 # ICC 10 doesn't accept -KPIC any more.
14498 lt_prog_compiler_wl_CXX='-Wl,'
14499 lt_prog_compiler_pic_CXX='-fPIC'
14500 lt_prog_compiler_static_CXX='-static'
14502 pgCC* | pgcpp*)
14503 # Portland Group C++ compiler
14504 lt_prog_compiler_wl_CXX='-Wl,'
14505 lt_prog_compiler_pic_CXX='-fpic'
14506 lt_prog_compiler_static_CXX='-Bstatic'
14508 cxx*)
14509 # Compaq C++
14510 # Make sure the PIC flag is empty. It appears that all Alpha
14511 # Linux and Compaq Tru64 Unix objects are PIC.
14512 lt_prog_compiler_pic_CXX=
14513 lt_prog_compiler_static_CXX='-non_shared'
14515 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14516 # IBM XL 8.0, 9.0 on PPC and BlueGene
14517 lt_prog_compiler_wl_CXX='-Wl,'
14518 lt_prog_compiler_pic_CXX='-qpic'
14519 lt_prog_compiler_static_CXX='-qstaticlink'
14522 case `$CC -V 2>&1 | sed 5q` in
14523 *Sun\ C*)
14524 # Sun C++ 5.9
14525 lt_prog_compiler_pic_CXX='-KPIC'
14526 lt_prog_compiler_static_CXX='-Bstatic'
14527 lt_prog_compiler_wl_CXX='-Qoption ld '
14529 esac
14531 esac
14533 lynxos*)
14535 m88k*)
14537 mvs*)
14538 case $cc_basename in
14539 cxx*)
14540 lt_prog_compiler_pic_CXX='-W c,exportall'
14544 esac
14546 netbsd*)
14548 *qnx* | *nto*)
14549 # QNX uses GNU C++, but need to define -shared option too, otherwise
14550 # it will coredump.
14551 lt_prog_compiler_pic_CXX='-fPIC -shared'
14553 osf3* | osf4* | osf5*)
14554 case $cc_basename in
14555 KCC*)
14556 lt_prog_compiler_wl_CXX='--backend -Wl,'
14558 RCC*)
14559 # Rational C++ 2.4.1
14560 lt_prog_compiler_pic_CXX='-pic'
14562 cxx*)
14563 # Digital/Compaq C++
14564 lt_prog_compiler_wl_CXX='-Wl,'
14565 # Make sure the PIC flag is empty. It appears that all Alpha
14566 # Linux and Compaq Tru64 Unix objects are PIC.
14567 lt_prog_compiler_pic_CXX=
14568 lt_prog_compiler_static_CXX='-non_shared'
14572 esac
14574 psos*)
14576 solaris*)
14577 case $cc_basename in
14578 CC* | sunCC*)
14579 # Sun C++ 4.2, 5.x and Centerline C++
14580 lt_prog_compiler_pic_CXX='-KPIC'
14581 lt_prog_compiler_static_CXX='-Bstatic'
14582 lt_prog_compiler_wl_CXX='-Qoption ld '
14584 gcx*)
14585 # Green Hills C++ Compiler
14586 lt_prog_compiler_pic_CXX='-PIC'
14590 esac
14592 sunos4*)
14593 case $cc_basename in
14594 CC*)
14595 # Sun C++ 4.x
14596 lt_prog_compiler_pic_CXX='-pic'
14597 lt_prog_compiler_static_CXX='-Bstatic'
14599 lcc*)
14600 # Lucid
14601 lt_prog_compiler_pic_CXX='-pic'
14605 esac
14607 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14608 case $cc_basename in
14609 CC*)
14610 lt_prog_compiler_wl_CXX='-Wl,'
14611 lt_prog_compiler_pic_CXX='-KPIC'
14612 lt_prog_compiler_static_CXX='-Bstatic'
14614 esac
14616 tandem*)
14617 case $cc_basename in
14618 NCC*)
14619 # NonStop-UX NCC 3.20
14620 lt_prog_compiler_pic_CXX='-KPIC'
14624 esac
14626 vxworks*)
14629 lt_prog_compiler_can_build_shared_CXX=no
14631 esac
14634 case $host_os in
14635 # For platforms which do not support PIC, -DPIC is meaningless:
14636 *djgpp*)
14637 lt_prog_compiler_pic_CXX=
14640 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14642 esac
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14645 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14646 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14652 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14653 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14656 # Check to make sure the PIC flag actually works.
14658 if test -n "$lt_prog_compiler_pic_CXX"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14660 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14661 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 lt_cv_prog_compiler_pic_works_CXX=no
14665 ac_outfile=conftest.$ac_objext
14666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14667 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14668 # Insert the option either (1) after the last *FLAGS variable, or
14669 # (2) before a word containing "conftest.", or (3) at the end.
14670 # Note that $ac_compile itself does not contain backslashes and begins
14671 # with a dollar sign (not a hyphen), so the echo should work correctly.
14672 # The option is referenced via a variable to avoid confusing sed.
14673 lt_compile=`echo "$ac_compile" | $SED \
14674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14676 -e 's:$: $lt_compiler_flag:'`
14677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14678 (eval "$lt_compile" 2>conftest.err)
14679 ac_status=$?
14680 cat conftest.err >&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 if (exit $ac_status) && test -s "$ac_outfile"; then
14683 # The compiler can only warn and ignore the option if not recognized
14684 # So say no if there are warnings other than the usual output.
14685 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14687 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14688 lt_cv_prog_compiler_pic_works_CXX=yes
14691 $RM conftest*
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14695 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14697 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14698 case $lt_prog_compiler_pic_CXX in
14699 "" | " "*) ;;
14700 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14701 esac
14702 else
14703 lt_prog_compiler_pic_CXX=
14704 lt_prog_compiler_can_build_shared_CXX=no
14714 # Check to make sure the static flag actually works.
14716 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14718 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14719 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 lt_cv_prog_compiler_static_works_CXX=no
14723 save_LDFLAGS="$LDFLAGS"
14724 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14725 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14726 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14727 # The linker can only warn and ignore the option if not recognized
14728 # So say no if there are warnings
14729 if test -s conftest.err; then
14730 # Append any errors to the config.log.
14731 cat conftest.err 1>&5
14732 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14733 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14734 if diff conftest.exp conftest.er2 >/dev/null; then
14735 lt_cv_prog_compiler_static_works_CXX=yes
14737 else
14738 lt_cv_prog_compiler_static_works_CXX=yes
14741 $RM -r conftest*
14742 LDFLAGS="$save_LDFLAGS"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14746 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14748 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14750 else
14751 lt_prog_compiler_static_CXX=
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14759 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14760 $as_echo_n "(cached) " >&6
14761 else
14762 lt_cv_prog_compiler_c_o_CXX=no
14763 $RM -r conftest 2>/dev/null
14764 mkdir conftest
14765 cd conftest
14766 mkdir out
14767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14769 lt_compiler_flag="-o out/conftest2.$ac_objext"
14770 # Insert the option either (1) after the last *FLAGS variable, or
14771 # (2) before a word containing "conftest.", or (3) at the end.
14772 # Note that $ac_compile itself does not contain backslashes and begins
14773 # with a dollar sign (not a hyphen), so the echo should work correctly.
14774 lt_compile=`echo "$ac_compile" | $SED \
14775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14777 -e 's:$: $lt_compiler_flag:'`
14778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14779 (eval "$lt_compile" 2>out/conftest.err)
14780 ac_status=$?
14781 cat out/conftest.err >&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14784 then
14785 # The compiler can only warn and ignore the option if not recognized
14786 # So say no if there are warnings
14787 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14788 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14789 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14790 lt_cv_prog_compiler_c_o_CXX=yes
14793 chmod u+w . 2>&5
14794 $RM conftest*
14795 # SGI C++ compiler will create directory out/ii_files/ for
14796 # template instantiation
14797 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14798 $RM out/* && rmdir out
14799 cd ..
14800 $RM -r conftest
14801 $RM conftest*
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14805 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14811 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 lt_cv_prog_compiler_c_o_CXX=no
14815 $RM -r conftest 2>/dev/null
14816 mkdir conftest
14817 cd conftest
14818 mkdir out
14819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14821 lt_compiler_flag="-o out/conftest2.$ac_objext"
14822 # Insert the option either (1) after the last *FLAGS variable, or
14823 # (2) before a word containing "conftest.", or (3) at the end.
14824 # Note that $ac_compile itself does not contain backslashes and begins
14825 # with a dollar sign (not a hyphen), so the echo should work correctly.
14826 lt_compile=`echo "$ac_compile" | $SED \
14827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14829 -e 's:$: $lt_compiler_flag:'`
14830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14831 (eval "$lt_compile" 2>out/conftest.err)
14832 ac_status=$?
14833 cat out/conftest.err >&5
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14836 then
14837 # The compiler can only warn and ignore the option if not recognized
14838 # So say no if there are warnings
14839 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14842 lt_cv_prog_compiler_c_o_CXX=yes
14845 chmod u+w . 2>&5
14846 $RM conftest*
14847 # SGI C++ compiler will create directory out/ii_files/ for
14848 # template instantiation
14849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14850 $RM out/* && rmdir out
14851 cd ..
14852 $RM -r conftest
14853 $RM conftest*
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14857 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14862 hard_links="nottested"
14863 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14864 # do not overwrite the value of need_locks provided by the user
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14866 $as_echo_n "checking if we can lock with hard links... " >&6; }
14867 hard_links=yes
14868 $RM conftest*
14869 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14870 touch conftest.a
14871 ln conftest.a conftest.b 2>&5 || hard_links=no
14872 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14874 $as_echo "$hard_links" >&6; }
14875 if test "$hard_links" = no; then
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14878 need_locks=warn
14880 else
14881 need_locks=no
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14887 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14889 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14890 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14891 case $host_os in
14892 aix[4-9]*)
14893 # If we're using GNU nm, then we don't want the "-C" option.
14894 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14895 # Also, AIX nm treats weak defined symbols like other global defined
14896 # symbols, whereas GNU nm marks them as "W".
14897 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14898 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14899 else
14900 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14903 pw32*)
14904 export_symbols_cmds_CXX="$ltdll_cmds"
14906 cygwin* | mingw* | cegcc*)
14907 case $cc_basename in
14908 cl*) ;;
14910 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14911 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14913 esac
14916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14918 esac
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14921 $as_echo "$ld_shlibs_CXX" >&6; }
14922 test "$ld_shlibs_CXX" = no && can_build_shared=no
14924 with_gnu_ld_CXX=$with_gnu_ld
14932 # Do we need to explicitly link libc?
14934 case "x$archive_cmds_need_lc_CXX" in
14935 x|xyes)
14936 # Assume -lc should be added
14937 archive_cmds_need_lc_CXX=yes
14939 if test "$enable_shared" = yes && test "$GCC" = yes; then
14940 case $archive_cmds_CXX in
14941 *'~'*)
14942 # FIXME: we may have to deal with multi-command sequences.
14944 '$CC '*)
14945 # Test whether the compiler implicitly links with -lc since on some
14946 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14947 # to ld, don't add -lc before -lgcc.
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14949 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14950 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 $RM conftest*
14954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14957 (eval $ac_compile) 2>&5
14958 ac_status=$?
14959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14960 test $ac_status = 0; } 2>conftest.err; then
14961 soname=conftest
14962 lib=conftest
14963 libobjs=conftest.$ac_objext
14964 deplibs=
14965 wl=$lt_prog_compiler_wl_CXX
14966 pic_flag=$lt_prog_compiler_pic_CXX
14967 compiler_flags=-v
14968 linker_flags=-v
14969 verstring=
14970 output_objdir=.
14971 libname=conftest
14972 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14973 allow_undefined_flag_CXX=
14974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14975 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14976 ac_status=$?
14977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 test $ac_status = 0; }
14979 then
14980 lt_cv_archive_cmds_need_lc_CXX=no
14981 else
14982 lt_cv_archive_cmds_need_lc_CXX=yes
14984 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14985 else
14986 cat conftest.err 1>&5
14988 $RM conftest*
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14992 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14993 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14995 esac
14998 esac
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15064 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15066 library_names_spec=
15067 libname_spec='lib$name'
15068 soname_spec=
15069 shrext_cmds=".so"
15070 postinstall_cmds=
15071 postuninstall_cmds=
15072 finish_cmds=
15073 finish_eval=
15074 shlibpath_var=
15075 shlibpath_overrides_runpath=unknown
15076 version_type=none
15077 dynamic_linker="$host_os ld.so"
15078 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15079 need_lib_prefix=unknown
15080 hardcode_into_libs=no
15082 # when you set need_version to no, make sure it does not cause -set_version
15083 # flags to be left without arguments
15084 need_version=unknown
15086 case $host_os in
15087 aix3*)
15088 version_type=linux
15089 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15090 shlibpath_var=LIBPATH
15092 # AIX 3 has no versioning support, so we append a major version to the name.
15093 soname_spec='${libname}${release}${shared_ext}$major'
15096 aix[4-9]*)
15097 version_type=linux
15098 need_lib_prefix=no
15099 need_version=no
15100 hardcode_into_libs=yes
15101 if test "$host_cpu" = ia64; then
15102 # AIX 5 supports IA64
15103 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15104 shlibpath_var=LD_LIBRARY_PATH
15105 else
15106 # With GCC up to 2.95.x, collect2 would create an import file
15107 # for dependence libraries. The import file would start with
15108 # the line `#! .'. This would cause the generated library to
15109 # depend on `.', always an invalid library. This was fixed in
15110 # development snapshots of GCC prior to 3.0.
15111 case $host_os in
15112 aix4 | aix4.[01] | aix4.[01].*)
15113 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15114 echo ' yes '
15115 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15117 else
15118 can_build_shared=no
15121 esac
15122 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15123 # soname into executable. Probably we can add versioning support to
15124 # collect2, so additional links can be useful in future.
15125 if test "$aix_use_runtimelinking" = yes; then
15126 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15127 # instead of lib<name>.a to let people know that these are not
15128 # typical AIX shared libraries.
15129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15130 else
15131 # We preserve .a as extension for shared libraries through AIX4.2
15132 # and later when we are not doing run time linking.
15133 library_names_spec='${libname}${release}.a $libname.a'
15134 soname_spec='${libname}${release}${shared_ext}$major'
15136 shlibpath_var=LIBPATH
15140 amigaos*)
15141 case $host_cpu in
15142 powerpc)
15143 # Since July 2007 AmigaOS4 officially supports .so libraries.
15144 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15147 m68k)
15148 library_names_spec='$libname.ixlibrary $libname.a'
15149 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15150 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'
15152 esac
15155 beos*)
15156 library_names_spec='${libname}${shared_ext}'
15157 dynamic_linker="$host_os ld.so"
15158 shlibpath_var=LIBRARY_PATH
15161 bsdi[45]*)
15162 version_type=linux
15163 need_version=no
15164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15165 soname_spec='${libname}${release}${shared_ext}$major'
15166 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15167 shlibpath_var=LD_LIBRARY_PATH
15168 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15169 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15170 # the default ld.so.conf also contains /usr/contrib/lib and
15171 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15172 # libtool to hard-code these into programs
15175 cygwin* | mingw* | pw32* | cegcc*)
15176 version_type=windows
15177 shrext_cmds=".dll"
15178 need_version=no
15179 need_lib_prefix=no
15181 case $GCC,$cc_basename in
15182 yes,*)
15183 # gcc
15184 library_names_spec='$libname.dll.a'
15185 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15186 postinstall_cmds='base_file=`basename \${file}`~
15187 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15188 dldir=$destdir/`dirname \$dlpath`~
15189 test -d \$dldir || mkdir -p \$dldir~
15190 $install_prog $dir/$dlname \$dldir/$dlname~
15191 chmod a+x \$dldir/$dlname~
15192 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15193 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15195 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15196 dlpath=$dir/\$dldll~
15197 $RM \$dlpath'
15198 shlibpath_overrides_runpath=yes
15200 case $host_os in
15201 cygwin*)
15202 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15203 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15206 mingw* | cegcc*)
15207 # MinGW DLLs use traditional 'lib' prefix
15208 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15210 pw32*)
15211 # pw32 DLLs use 'pw' prefix rather than 'lib'
15212 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15214 esac
15215 dynamic_linker='Win32 ld.exe'
15218 *,cl*)
15219 # Native MSVC
15220 libname_spec='$name'
15221 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15222 library_names_spec='${libname}.dll.lib'
15224 case $build_os in
15225 mingw*)
15226 sys_lib_search_path_spec=
15227 lt_save_ifs=$IFS
15228 IFS=';'
15229 for lt_path in $LIB
15231 IFS=$lt_save_ifs
15232 # Let DOS variable expansion print the short 8.3 style file name.
15233 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15234 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15235 done
15236 IFS=$lt_save_ifs
15237 # Convert to MSYS style.
15238 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15240 cygwin*)
15241 # Convert to unix form, then to dos form, then back to unix form
15242 # but this time dos style (no spaces!) so that the unix form looks
15243 # like /cygdrive/c/PROGRA~1:/cygdr...
15244 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15245 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15246 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15249 sys_lib_search_path_spec="$LIB"
15250 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15251 # It is most probably a Windows format PATH.
15252 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15253 else
15254 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15256 # FIXME: find the short name or the path components, as spaces are
15257 # common. (e.g. "Program Files" -> "PROGRA~1")
15259 esac
15261 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15262 postinstall_cmds='base_file=`basename \${file}`~
15263 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15264 dldir=$destdir/`dirname \$dlpath`~
15265 test -d \$dldir || mkdir -p \$dldir~
15266 $install_prog $dir/$dlname \$dldir/$dlname'
15267 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15268 dlpath=$dir/\$dldll~
15269 $RM \$dlpath'
15270 shlibpath_overrides_runpath=yes
15271 dynamic_linker='Win32 link.exe'
15275 # Assume MSVC wrapper
15276 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15277 dynamic_linker='Win32 ld.exe'
15279 esac
15280 # FIXME: first we should search . and the directory the executable is in
15281 shlibpath_var=PATH
15284 darwin* | rhapsody*)
15285 dynamic_linker="$host_os dyld"
15286 version_type=darwin
15287 need_lib_prefix=no
15288 need_version=no
15289 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15290 soname_spec='${libname}${release}${major}$shared_ext'
15291 shlibpath_overrides_runpath=yes
15292 shlibpath_var=DYLD_LIBRARY_PATH
15293 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15295 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15298 dgux*)
15299 version_type=linux
15300 need_lib_prefix=no
15301 need_version=no
15302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15303 soname_spec='${libname}${release}${shared_ext}$major'
15304 shlibpath_var=LD_LIBRARY_PATH
15307 freebsd1*)
15308 dynamic_linker=no
15311 freebsd* | dragonfly*)
15312 # DragonFly does not have aout. When/if they implement a new
15313 # versioning mechanism, adjust this.
15314 if test -x /usr/bin/objformat; then
15315 objformat=`/usr/bin/objformat`
15316 else
15317 case $host_os in
15318 freebsd[123]*) objformat=aout ;;
15319 *) objformat=elf ;;
15320 esac
15322 version_type=freebsd-$objformat
15323 case $version_type in
15324 freebsd-elf*)
15325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15326 need_version=no
15327 need_lib_prefix=no
15329 freebsd-*)
15330 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15331 need_version=yes
15333 esac
15334 shlibpath_var=LD_LIBRARY_PATH
15335 case $host_os in
15336 freebsd2*)
15337 shlibpath_overrides_runpath=yes
15339 freebsd3.[01]* | freebsdelf3.[01]*)
15340 shlibpath_overrides_runpath=yes
15341 hardcode_into_libs=yes
15343 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15344 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15345 shlibpath_overrides_runpath=no
15346 hardcode_into_libs=yes
15348 *) # from 4.6 on, and DragonFly
15349 shlibpath_overrides_runpath=yes
15350 hardcode_into_libs=yes
15352 esac
15355 gnu*)
15356 version_type=linux
15357 need_lib_prefix=no
15358 need_version=no
15359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15360 soname_spec='${libname}${release}${shared_ext}$major'
15361 shlibpath_var=LD_LIBRARY_PATH
15362 hardcode_into_libs=yes
15365 haiku*)
15366 version_type=linux
15367 need_lib_prefix=no
15368 need_version=no
15369 dynamic_linker="$host_os runtime_loader"
15370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15371 soname_spec='${libname}${release}${shared_ext}$major'
15372 shlibpath_var=LIBRARY_PATH
15373 shlibpath_overrides_runpath=yes
15374 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15375 hardcode_into_libs=yes
15378 hpux9* | hpux10* | hpux11*)
15379 # Give a soname corresponding to the major version so that dld.sl refuses to
15380 # link against other versions.
15381 version_type=sunos
15382 need_lib_prefix=no
15383 need_version=no
15384 case $host_cpu in
15385 ia64*)
15386 shrext_cmds='.so'
15387 hardcode_into_libs=yes
15388 dynamic_linker="$host_os dld.so"
15389 shlibpath_var=LD_LIBRARY_PATH
15390 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 soname_spec='${libname}${release}${shared_ext}$major'
15393 if test "X$HPUX_IA64_MODE" = X32; then
15394 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15395 else
15396 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15398 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15400 hppa*64*)
15401 shrext_cmds='.sl'
15402 hardcode_into_libs=yes
15403 dynamic_linker="$host_os dld.sl"
15404 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15405 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15407 soname_spec='${libname}${release}${shared_ext}$major'
15408 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15409 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15412 shrext_cmds='.sl'
15413 dynamic_linker="$host_os dld.sl"
15414 shlibpath_var=SHLIB_PATH
15415 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 soname_spec='${libname}${release}${shared_ext}$major'
15419 esac
15420 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15421 postinstall_cmds='chmod 555 $lib'
15422 # or fails outright, so override atomically:
15423 install_override_mode=555
15426 interix[3-9]*)
15427 version_type=linux
15428 need_lib_prefix=no
15429 need_version=no
15430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15431 soname_spec='${libname}${release}${shared_ext}$major'
15432 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15433 shlibpath_var=LD_LIBRARY_PATH
15434 shlibpath_overrides_runpath=no
15435 hardcode_into_libs=yes
15438 irix5* | irix6* | nonstopux*)
15439 case $host_os in
15440 nonstopux*) version_type=nonstopux ;;
15442 if test "$lt_cv_prog_gnu_ld" = yes; then
15443 version_type=linux
15444 else
15445 version_type=irix
15446 fi ;;
15447 esac
15448 need_lib_prefix=no
15449 need_version=no
15450 soname_spec='${libname}${release}${shared_ext}$major'
15451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15452 case $host_os in
15453 irix5* | nonstopux*)
15454 libsuff= shlibsuff=
15457 case $LD in # libtool.m4 will add one of these switches to LD
15458 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15459 libsuff= shlibsuff= libmagic=32-bit;;
15460 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15461 libsuff=32 shlibsuff=N32 libmagic=N32;;
15462 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15463 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15464 *) libsuff= shlibsuff= libmagic=never-match;;
15465 esac
15467 esac
15468 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15469 shlibpath_overrides_runpath=no
15470 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15471 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15472 hardcode_into_libs=yes
15475 # No shared lib support for Linux oldld, aout, or coff.
15476 linux*oldld* | linux*aout* | linux*coff*)
15477 dynamic_linker=no
15480 # This must be Linux ELF.
15481 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15482 version_type=linux
15483 need_lib_prefix=no
15484 need_version=no
15485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15486 soname_spec='${libname}${release}${shared_ext}$major'
15487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15488 shlibpath_var=LD_LIBRARY_PATH
15489 shlibpath_overrides_runpath=no
15491 # Some binutils ld are patched to set DT_RUNPATH
15492 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15493 $as_echo_n "(cached) " >&6
15494 else
15495 lt_cv_shlibpath_overrides_runpath=no
15496 save_LDFLAGS=$LDFLAGS
15497 save_libdir=$libdir
15498 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15499 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15504 main ()
15508 return 0;
15510 _ACEOF
15511 if ac_fn_cxx_try_link "$LINENO"; then :
15512 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15513 lt_cv_shlibpath_overrides_runpath=yes
15516 rm -f core conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LDFLAGS=$save_LDFLAGS
15519 libdir=$save_libdir
15523 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15525 # This implies no fast_install, which is unacceptable.
15526 # Some rework will be needed to allow for fast_install
15527 # before this can be enabled.
15528 hardcode_into_libs=yes
15530 # Append ld.so.conf contents to the search path
15531 if test -f /etc/ld.so.conf; then
15532 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' ' '`
15533 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15536 # We used to test for /lib/ld.so.1 and disable shared libraries on
15537 # powerpc, because MkLinux only supported shared libraries with the
15538 # GNU dynamic linker. Since this was broken with cross compilers,
15539 # most powerpc-linux boxes support dynamic linking these days and
15540 # people can always --disable-shared, the test was removed, and we
15541 # assume the GNU/Linux dynamic linker is in use.
15542 dynamic_linker='GNU/Linux ld.so'
15545 netbsd*)
15546 version_type=sunos
15547 need_lib_prefix=no
15548 need_version=no
15549 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15551 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15552 dynamic_linker='NetBSD (a.out) ld.so'
15553 else
15554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15555 soname_spec='${libname}${release}${shared_ext}$major'
15556 dynamic_linker='NetBSD ld.elf_so'
15558 shlibpath_var=LD_LIBRARY_PATH
15559 shlibpath_overrides_runpath=yes
15560 hardcode_into_libs=yes
15563 newsos6)
15564 version_type=linux
15565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 shlibpath_var=LD_LIBRARY_PATH
15567 shlibpath_overrides_runpath=yes
15570 *nto* | *qnx*)
15571 version_type=qnx
15572 need_lib_prefix=no
15573 need_version=no
15574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15575 soname_spec='${libname}${release}${shared_ext}$major'
15576 shlibpath_var=LD_LIBRARY_PATH
15577 shlibpath_overrides_runpath=no
15578 hardcode_into_libs=yes
15579 dynamic_linker='ldqnx.so'
15582 openbsd*)
15583 version_type=sunos
15584 sys_lib_dlsearch_path_spec="/usr/lib"
15585 need_lib_prefix=no
15586 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15587 case $host_os in
15588 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15589 *) need_version=no ;;
15590 esac
15591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15592 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15593 shlibpath_var=LD_LIBRARY_PATH
15594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15595 case $host_os in
15596 openbsd2.[89] | openbsd2.[89].*)
15597 shlibpath_overrides_runpath=no
15600 shlibpath_overrides_runpath=yes
15602 esac
15603 else
15604 shlibpath_overrides_runpath=yes
15608 os2*)
15609 libname_spec='$name'
15610 shrext_cmds=".dll"
15611 need_lib_prefix=no
15612 library_names_spec='$libname${shared_ext} $libname.a'
15613 dynamic_linker='OS/2 ld.exe'
15614 shlibpath_var=LIBPATH
15617 osf3* | osf4* | osf5*)
15618 version_type=osf
15619 need_lib_prefix=no
15620 need_version=no
15621 soname_spec='${libname}${release}${shared_ext}$major'
15622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15623 shlibpath_var=LD_LIBRARY_PATH
15624 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15625 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15628 rdos*)
15629 dynamic_linker=no
15632 solaris*)
15633 version_type=linux
15634 need_lib_prefix=no
15635 need_version=no
15636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15637 soname_spec='${libname}${release}${shared_ext}$major'
15638 shlibpath_var=LD_LIBRARY_PATH
15639 shlibpath_overrides_runpath=yes
15640 hardcode_into_libs=yes
15641 # ldd complains unless libraries are executable
15642 postinstall_cmds='chmod +x $lib'
15645 sunos4*)
15646 version_type=sunos
15647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15648 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15649 shlibpath_var=LD_LIBRARY_PATH
15650 shlibpath_overrides_runpath=yes
15651 if test "$with_gnu_ld" = yes; then
15652 need_lib_prefix=no
15654 need_version=yes
15657 sysv4 | sysv4.3*)
15658 version_type=linux
15659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15660 soname_spec='${libname}${release}${shared_ext}$major'
15661 shlibpath_var=LD_LIBRARY_PATH
15662 case $host_vendor in
15663 sni)
15664 shlibpath_overrides_runpath=no
15665 need_lib_prefix=no
15666 runpath_var=LD_RUN_PATH
15668 siemens)
15669 need_lib_prefix=no
15671 motorola)
15672 need_lib_prefix=no
15673 need_version=no
15674 shlibpath_overrides_runpath=no
15675 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15677 esac
15680 sysv4*MP*)
15681 if test -d /usr/nec ;then
15682 version_type=linux
15683 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15684 soname_spec='$libname${shared_ext}.$major'
15685 shlibpath_var=LD_LIBRARY_PATH
15689 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15690 version_type=freebsd-elf
15691 need_lib_prefix=no
15692 need_version=no
15693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15694 soname_spec='${libname}${release}${shared_ext}$major'
15695 shlibpath_var=LD_LIBRARY_PATH
15696 shlibpath_overrides_runpath=yes
15697 hardcode_into_libs=yes
15698 if test "$with_gnu_ld" = yes; then
15699 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15700 else
15701 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15702 case $host_os in
15703 sco3.2v5*)
15704 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15706 esac
15708 sys_lib_dlsearch_path_spec='/usr/lib'
15711 tpf*)
15712 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15713 version_type=linux
15714 need_lib_prefix=no
15715 need_version=no
15716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15717 shlibpath_var=LD_LIBRARY_PATH
15718 shlibpath_overrides_runpath=no
15719 hardcode_into_libs=yes
15722 uts4*)
15723 version_type=linux
15724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725 soname_spec='${libname}${release}${shared_ext}$major'
15726 shlibpath_var=LD_LIBRARY_PATH
15730 dynamic_linker=no
15732 esac
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15734 $as_echo "$dynamic_linker" >&6; }
15735 test "$dynamic_linker" = no && can_build_shared=no
15737 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15738 if test "$GCC" = yes; then
15739 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15742 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15743 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15745 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15746 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15787 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15788 hardcode_action_CXX=
15789 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15790 test -n "$runpath_var_CXX" ||
15791 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15793 # We can hardcode non-existent directories.
15794 if test "$hardcode_direct_CXX" != no &&
15795 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15796 # have to relink, otherwise we might link with an installed library
15797 # when we should be linking with a yet-to-be-installed one
15798 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15799 test "$hardcode_minus_L_CXX" != no; then
15800 # Linking always hardcodes the temporary library directory.
15801 hardcode_action_CXX=relink
15802 else
15803 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15804 hardcode_action_CXX=immediate
15806 else
15807 # We cannot hardcode anything, or else we can only hardcode existing
15808 # directories.
15809 hardcode_action_CXX=unsupported
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15812 $as_echo "$hardcode_action_CXX" >&6; }
15814 if test "$hardcode_action_CXX" = relink ||
15815 test "$inherit_rpath_CXX" = yes; then
15816 # Fast installation is not supported
15817 enable_fast_install=no
15818 elif test "$shlibpath_overrides_runpath" = yes ||
15819 test "$enable_shared" = no; then
15820 # Fast installation is not necessary
15821 enable_fast_install=needless
15830 fi # test -n "$compiler"
15832 CC=$lt_save_CC
15833 CFLAGS=$lt_save_CFLAGS
15834 LDCXX=$LD
15835 LD=$lt_save_LD
15836 GCC=$lt_save_GCC
15837 with_gnu_ld=$lt_save_with_gnu_ld
15838 lt_cv_path_LDCXX=$lt_cv_path_LD
15839 lt_cv_path_LD=$lt_save_path_LD
15840 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15841 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15842 fi # test "$_lt_caught_CXX_error" != yes
15844 ac_ext=c
15845 ac_cpp='$CPP $CPPFLAGS'
15846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15852 $as_echo_n "checking whether ln -s works... " >&6; }
15853 LN_S=$as_ln_s
15854 if test "$LN_S" = "ln -s"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15856 $as_echo "yes" >&6; }
15857 else
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15859 $as_echo "no, using $LN_S" >&6; }
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15864 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15865 set x ${MAKE-make}
15866 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15867 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 cat >conftest.make <<\_ACEOF
15871 SHELL = /bin/sh
15872 all:
15873 @echo '@@@%%%=$(MAKE)=@@@%%%'
15874 _ACEOF
15875 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15876 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15877 *@@@%%%=?*=@@@%%%*)
15878 eval ac_cv_prog_make_${ac_make}_set=yes;;
15880 eval ac_cv_prog_make_${ac_make}_set=no;;
15881 esac
15882 rm -f conftest.make
15884 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15886 $as_echo "yes" >&6; }
15887 SET_MAKE=
15888 else
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15890 $as_echo "no" >&6; }
15891 SET_MAKE="MAKE=${MAKE-make}"
15896 # Extract the first word of "gengetopt", so it can be a program name with args.
15897 set dummy gengetopt; ac_word=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15899 $as_echo_n "checking for $ac_word... " >&6; }
15900 if ${ac_cv_path_GENGETOPT+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 case $GENGETOPT in
15904 [\\/]* | ?:[\\/]*)
15905 ac_cv_path_GENGETOPT="$GENGETOPT" # Let the user override the test with a path.
15908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15909 for as_dir in $PATH
15911 IFS=$as_save_IFS
15912 test -z "$as_dir" && as_dir=.
15913 for ac_exec_ext in '' $ac_executable_extensions; do
15914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15915 ac_cv_path_GENGETOPT="$as_dir/$ac_word$ac_exec_ext"
15916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15917 break 2
15919 done
15920 done
15921 IFS=$as_save_IFS
15923 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT="no"
15925 esac
15927 GENGETOPT=$ac_cv_path_GENGETOPT
15928 if test -n "$GENGETOPT"; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15930 $as_echo "$GENGETOPT" >&6; }
15931 else
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15933 $as_echo "no" >&6; }
15937 if test x"$GENGETOPT" != "xno"; then
15938 HAVE_GENGETOPT_TRUE=
15939 HAVE_GENGETOPT_FALSE='#'
15940 else
15941 HAVE_GENGETOPT_TRUE='#'
15942 HAVE_GENGETOPT_FALSE=
15947 # Extract the first word of "doxygen", so it can be a program name with args.
15948 set dummy doxygen; ac_word=$2
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15950 $as_echo_n "checking for $ac_word... " >&6; }
15951 if ${ac_cv_path_DOXYGEN+:} false; then :
15952 $as_echo_n "(cached) " >&6
15953 else
15954 case $DOXYGEN in
15955 [\\/]* | ?:[\\/]*)
15956 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15960 for as_dir in $PATH
15962 IFS=$as_save_IFS
15963 test -z "$as_dir" && as_dir=.
15964 for ac_exec_ext in '' $ac_executable_extensions; do
15965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15966 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15968 break 2
15970 done
15971 done
15972 IFS=$as_save_IFS
15974 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
15976 esac
15978 DOXYGEN=$ac_cv_path_DOXYGEN
15979 if test -n "$DOXYGEN"; then
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15981 $as_echo "$DOXYGEN" >&6; }
15982 else
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15984 $as_echo "no" >&6; }
15988 if test x"$DOXYGEN" != "xno"; then
15989 HAVE_DOXYGEN_TRUE=
15990 HAVE_DOXYGEN_FALSE='#'
15991 else
15992 HAVE_DOXYGEN_TRUE='#'
15993 HAVE_DOXYGEN_FALSE=
15998 # Extract the first word of "perl", so it can be a program name with args.
15999 set dummy perl; ac_word=$2
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16001 $as_echo_n "checking for $ac_word... " >&6; }
16002 if ${ac_cv_path_PERL+:} false; then :
16003 $as_echo_n "(cached) " >&6
16004 else
16005 case $PERL in
16006 [\\/]* | ?:[\\/]*)
16007 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16011 for as_dir in $PATH
16013 IFS=$as_save_IFS
16014 test -z "$as_dir" && as_dir=.
16015 for ac_exec_ext in '' $ac_executable_extensions; do
16016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16017 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16019 break 2
16021 done
16022 done
16023 IFS=$as_save_IFS
16025 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
16027 esac
16029 PERL=$ac_cv_path_PERL
16030 if test -n "$PERL"; then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16032 $as_echo "$PERL" >&6; }
16033 else
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16035 $as_echo "no" >&6; }
16039 if test x"$PERL" != "xno"; then
16040 HAVE_PERL_TRUE=
16041 HAVE_PERL_FALSE='#'
16042 else
16043 HAVE_PERL_TRUE='#'
16044 HAVE_PERL_FALSE=
16049 have_pod_checker=no
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Pod::Checker" >&5
16051 $as_echo_n "checking for Pod::Checker... " >&6; }
16052 if $PERL -mPod::Checker >/dev/null 2>&1 ; then
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16054 $as_echo "yes" >&6; }
16055 have_pod_checker=yes
16057 if test x"$have_pod_checker" = "xyes"; then
16058 HAVE_PERL_POD_CHECKER_TRUE=
16059 HAVE_PERL_POD_CHECKER_FALSE='#'
16060 else
16061 HAVE_PERL_POD_CHECKER_TRUE='#'
16062 HAVE_PERL_POD_CHECKER_FALSE=
16066 # Extract the first word of "pod2man", so it can be a program name with args.
16067 set dummy pod2man; ac_word=$2
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16069 $as_echo_n "checking for $ac_word... " >&6; }
16070 if ${ac_cv_path_POD2MAN+:} false; then :
16071 $as_echo_n "(cached) " >&6
16072 else
16073 case $POD2MAN in
16074 [\\/]* | ?:[\\/]*)
16075 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
16078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16079 for as_dir in $PATH
16081 IFS=$as_save_IFS
16082 test -z "$as_dir" && as_dir=.
16083 for ac_exec_ext in '' $ac_executable_extensions; do
16084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16085 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
16086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16087 break 2
16089 done
16090 done
16091 IFS=$as_save_IFS
16093 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="no"
16095 esac
16097 POD2MAN=$ac_cv_path_POD2MAN
16098 if test -n "$POD2MAN"; then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16100 $as_echo "$POD2MAN" >&6; }
16101 else
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16103 $as_echo "no" >&6; }
16107 if test x"$POD2MAN" != "xno"; then
16108 HAVE_POD2MAN_TRUE=
16109 HAVE_POD2MAN_FALSE='#'
16110 else
16111 HAVE_POD2MAN_TRUE='#'
16112 HAVE_POD2MAN_FALSE=
16117 # Extract the first word of "pod2html", so it can be a program name with args.
16118 set dummy pod2html; ac_word=$2
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16120 $as_echo_n "checking for $ac_word... " >&6; }
16121 if ${ac_cv_path_POD2HTML+:} false; then :
16122 $as_echo_n "(cached) " >&6
16123 else
16124 case $POD2HTML in
16125 [\\/]* | ?:[\\/]*)
16126 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
16129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16130 for as_dir in $PATH
16132 IFS=$as_save_IFS
16133 test -z "$as_dir" && as_dir=.
16134 for ac_exec_ext in '' $ac_executable_extensions; do
16135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16136 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
16137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16138 break 2
16140 done
16141 done
16142 IFS=$as_save_IFS
16144 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="no"
16146 esac
16148 POD2HTML=$ac_cv_path_POD2HTML
16149 if test -n "$POD2HTML"; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16151 $as_echo "$POD2HTML" >&6; }
16152 else
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16154 $as_echo "no" >&6; }
16158 if test x"$POD2HTML" != "xno"; then
16159 HAVE_POD2HTML_TRUE=
16160 HAVE_POD2HTML_FALSE='#'
16161 else
16162 HAVE_POD2HTML_TRUE='#'
16163 HAVE_POD2HTML_FALSE=
16168 # Extract the first word of "date", so it can be a program name with args.
16169 set dummy date; ac_word=$2
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16171 $as_echo_n "checking for $ac_word... " >&6; }
16172 if ${ac_cv_path_DATE+:} false; then :
16173 $as_echo_n "(cached) " >&6
16174 else
16175 case $DATE in
16176 [\\/]* | ?:[\\/]*)
16177 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16181 for as_dir in $PATH
16183 IFS=$as_save_IFS
16184 test -z "$as_dir" && as_dir=.
16185 for ac_exec_ext in '' $ac_executable_extensions; do
16186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16187 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16189 break 2
16191 done
16192 done
16193 IFS=$as_save_IFS
16195 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="no"
16197 esac
16199 DATE=$ac_cv_path_DATE
16200 if test -n "$DATE"; then
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16202 $as_echo "$DATE" >&6; }
16203 else
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16205 $as_echo "no" >&6; }
16209 if test x"$DATE" != "xno" ; then
16210 build_date=`"$DATE" +%Y-%m-%d 2>/dev/null`
16211 if test x"$build_date" != "x" ; then
16213 cat >>confdefs.h <<_ACEOF
16214 #define BUILD_DATE "$build_date"
16215 _ACEOF
16220 # Extract the first word of "git", so it can be a program name with args.
16221 set dummy git; ac_word=$2
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16223 $as_echo_n "checking for $ac_word... " >&6; }
16224 if ${ac_cv_path_GIT+:} false; then :
16225 $as_echo_n "(cached) " >&6
16226 else
16227 case $GIT in
16228 [\\/]* | ?:[\\/]*)
16229 ac_cv_path_GIT="$GIT" # Let the user override the test with a path.
16232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16233 for as_dir in $PATH
16235 IFS=$as_save_IFS
16236 test -z "$as_dir" && as_dir=.
16237 for ac_exec_ext in '' $ac_executable_extensions; do
16238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16239 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
16240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16241 break 2
16243 done
16244 done
16245 IFS=$as_save_IFS
16247 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT="no"
16249 esac
16251 GIT=$ac_cv_path_GIT
16252 if test -n "$GIT"; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16254 $as_echo "$GIT" >&6; }
16255 else
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16257 $as_echo "no" >&6; }
16261 if test x"$GIT" != "xno" ; then
16262 QUVI_BRANCH=master
16263 git_describe=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16264 if test x"$git_describe" != "x" ; then
16266 cat >>confdefs.h <<_ACEOF
16267 #define GIT_DESCRIBE "$git_describe"
16268 _ACEOF
16273 # Checks for libraries.
16275 if test "X$prefix" = "XNONE"; then
16276 acl_final_prefix="$ac_default_prefix"
16277 else
16278 acl_final_prefix="$prefix"
16280 if test "X$exec_prefix" = "XNONE"; then
16281 acl_final_exec_prefix='${prefix}'
16282 else
16283 acl_final_exec_prefix="$exec_prefix"
16285 acl_save_prefix="$prefix"
16286 prefix="$acl_final_prefix"
16287 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16288 prefix="$acl_save_prefix"
16291 # Check whether --with-gnu-ld was given.
16292 if test "${with_gnu_ld+set}" = set; then :
16293 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16294 else
16295 with_gnu_ld=no
16298 # Prepare PATH_SEPARATOR.
16299 # The user is always right.
16300 if test "${PATH_SEPARATOR+set}" != set; then
16301 echo "#! /bin/sh" >conf$$.sh
16302 echo "exit 0" >>conf$$.sh
16303 chmod +x conf$$.sh
16304 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16305 PATH_SEPARATOR=';'
16306 else
16307 PATH_SEPARATOR=:
16309 rm -f conf$$.sh
16311 ac_prog=ld
16312 if test "$GCC" = yes; then
16313 # Check if gcc -print-prog-name=ld gives a path.
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16315 $as_echo_n "checking for ld used by GCC... " >&6; }
16316 case $host in
16317 *-*-mingw*)
16318 # gcc leaves a trailing carriage return which upsets mingw
16319 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16321 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16322 esac
16323 case $ac_prog in
16324 # Accept absolute paths.
16325 [\\/]* | [A-Za-z]:[\\/]*)
16326 re_direlt='/[^/][^/]*/\.\./'
16327 # Canonicalize the path of ld
16328 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16329 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16330 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16331 done
16332 test -z "$LD" && LD="$ac_prog"
16335 # If it fails, then pretend we aren't using GCC.
16336 ac_prog=ld
16339 # If it is relative, then search for the first ld in PATH.
16340 with_gnu_ld=unknown
16342 esac
16343 elif test "$with_gnu_ld" = yes; then
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16345 $as_echo_n "checking for GNU ld... " >&6; }
16346 else
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16348 $as_echo_n "checking for non-GNU ld... " >&6; }
16350 if ${acl_cv_path_LD+:} false; then :
16351 $as_echo_n "(cached) " >&6
16352 else
16353 if test -z "$LD"; then
16354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16355 for ac_dir in $PATH; do
16356 test -z "$ac_dir" && ac_dir=.
16357 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16358 acl_cv_path_LD="$ac_dir/$ac_prog"
16359 # Check to see if the program is GNU ld. I'd rather use --version,
16360 # but apparently some GNU ld's only accept -v.
16361 # Break only if it was the GNU/non-GNU ld that we prefer.
16362 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16363 *GNU* | *'with BFD'*)
16364 test "$with_gnu_ld" != no && break ;;
16366 test "$with_gnu_ld" != yes && break ;;
16367 esac
16369 done
16370 IFS="$ac_save_ifs"
16371 else
16372 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16376 LD="$acl_cv_path_LD"
16377 if test -n "$LD"; then
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16379 $as_echo "$LD" >&6; }
16380 else
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16382 $as_echo "no" >&6; }
16384 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16386 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16387 if ${acl_cv_prog_gnu_ld+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16391 case `$LD -v 2>&1 </dev/null` in
16392 *GNU* | *'with BFD'*)
16393 acl_cv_prog_gnu_ld=yes ;;
16395 acl_cv_prog_gnu_ld=no ;;
16396 esac
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16399 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16400 with_gnu_ld=$acl_cv_prog_gnu_ld
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16406 $as_echo_n "checking for shared library run path origin... " >&6; }
16407 if ${acl_cv_rpath+:} false; then :
16408 $as_echo_n "(cached) " >&6
16409 else
16411 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16412 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16413 . ./conftest.sh
16414 rm -f ./conftest.sh
16415 acl_cv_rpath=done
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16419 $as_echo "$acl_cv_rpath" >&6; }
16420 wl="$acl_cv_wl"
16421 acl_libext="$acl_cv_libext"
16422 acl_shlibext="$acl_cv_shlibext"
16423 acl_libname_spec="$acl_cv_libname_spec"
16424 acl_library_names_spec="$acl_cv_library_names_spec"
16425 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16426 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16427 acl_hardcode_direct="$acl_cv_hardcode_direct"
16428 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16429 # Check whether --enable-rpath was given.
16430 if test "${enable_rpath+set}" = set; then :
16431 enableval=$enable_rpath; :
16432 else
16433 enable_rpath=yes
16439 acl_libdirstem=lib
16440 acl_libdirstem2=
16441 case "$host_os" in
16442 solaris*)
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16444 $as_echo_n "checking for 64-bit host... " >&6; }
16445 if ${gl_cv_solaris_64bit+:} false; then :
16446 $as_echo_n "(cached) " >&6
16447 else
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16451 #ifdef _LP64
16452 sixtyfour bits
16453 #endif
16455 _ACEOF
16456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16457 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
16458 gl_cv_solaris_64bit=yes
16459 else
16460 gl_cv_solaris_64bit=no
16462 rm -f conftest*
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16467 $as_echo "$gl_cv_solaris_64bit" >&6; }
16468 if test $gl_cv_solaris_64bit = yes; then
16469 acl_libdirstem=lib/64
16470 case "$host_cpu" in
16471 sparc*) acl_libdirstem2=lib/sparcv9 ;;
16472 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
16473 esac
16477 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16478 if test -n "$searchpath"; then
16479 acl_save_IFS="${IFS= }"; IFS=":"
16480 for searchdir in $searchpath; do
16481 if test -d "$searchdir"; then
16482 case "$searchdir" in
16483 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16484 */../ | */.. )
16485 # Better ignore directories of this form. They are misleading.
16487 *) searchdir=`cd "$searchdir" && pwd`
16488 case "$searchdir" in
16489 */lib64 ) acl_libdirstem=lib64 ;;
16490 esac ;;
16491 esac
16493 done
16494 IFS="$acl_save_IFS"
16497 esac
16498 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
16511 use_additional=yes
16513 acl_save_prefix="$prefix"
16514 prefix="$acl_final_prefix"
16515 acl_save_exec_prefix="$exec_prefix"
16516 exec_prefix="$acl_final_exec_prefix"
16518 eval additional_includedir=\"$includedir\"
16519 eval additional_libdir=\"$libdir\"
16521 exec_prefix="$acl_save_exec_prefix"
16522 prefix="$acl_save_prefix"
16525 # Check whether --with-libiconv-prefix was given.
16526 if test "${with_libiconv_prefix+set}" = set; then :
16527 withval=$with_libiconv_prefix;
16528 if test "X$withval" = "Xno"; then
16529 use_additional=no
16530 else
16531 if test "X$withval" = "X"; then
16533 acl_save_prefix="$prefix"
16534 prefix="$acl_final_prefix"
16535 acl_save_exec_prefix="$exec_prefix"
16536 exec_prefix="$acl_final_exec_prefix"
16538 eval additional_includedir=\"$includedir\"
16539 eval additional_libdir=\"$libdir\"
16541 exec_prefix="$acl_save_exec_prefix"
16542 prefix="$acl_save_prefix"
16544 else
16545 additional_includedir="$withval/include"
16546 additional_libdir="$withval/$acl_libdirstem"
16547 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16548 && ! test -d "$withval/$acl_libdirstem"; then
16549 additional_libdir="$withval/$acl_libdirstem2"
16556 LIBICONV=
16557 LTLIBICONV=
16558 INCICONV=
16559 LIBICONV_PREFIX=
16560 HAVE_LIBICONV=
16561 rpathdirs=
16562 ltrpathdirs=
16563 names_already_handled=
16564 names_next_round='iconv '
16565 while test -n "$names_next_round"; do
16566 names_this_round="$names_next_round"
16567 names_next_round=
16568 for name in $names_this_round; do
16569 already_handled=
16570 for n in $names_already_handled; do
16571 if test "$n" = "$name"; then
16572 already_handled=yes
16573 break
16575 done
16576 if test -z "$already_handled"; then
16577 names_already_handled="$names_already_handled $name"
16578 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16579 eval value=\"\$HAVE_LIB$uppername\"
16580 if test -n "$value"; then
16581 if test "$value" = yes; then
16582 eval value=\"\$LIB$uppername\"
16583 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16584 eval value=\"\$LTLIB$uppername\"
16585 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16586 else
16589 else
16590 found_dir=
16591 found_la=
16592 found_so=
16593 found_a=
16594 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16595 if test -n "$acl_shlibext"; then
16596 shrext=".$acl_shlibext" # typically: shrext=.so
16597 else
16598 shrext=
16600 if test $use_additional = yes; then
16601 dir="$additional_libdir"
16602 if test -n "$acl_shlibext"; then
16603 if test -f "$dir/$libname$shrext"; then
16604 found_dir="$dir"
16605 found_so="$dir/$libname$shrext"
16606 else
16607 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16608 ver=`(cd "$dir" && \
16609 for f in "$libname$shrext".*; do echo "$f"; done \
16610 | sed -e "s,^$libname$shrext\\\\.,," \
16611 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16612 | sed 1q ) 2>/dev/null`
16613 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16614 found_dir="$dir"
16615 found_so="$dir/$libname$shrext.$ver"
16617 else
16618 eval library_names=\"$acl_library_names_spec\"
16619 for f in $library_names; do
16620 if test -f "$dir/$f"; then
16621 found_dir="$dir"
16622 found_so="$dir/$f"
16623 break
16625 done
16629 if test "X$found_dir" = "X"; then
16630 if test -f "$dir/$libname.$acl_libext"; then
16631 found_dir="$dir"
16632 found_a="$dir/$libname.$acl_libext"
16635 if test "X$found_dir" != "X"; then
16636 if test -f "$dir/$libname.la"; then
16637 found_la="$dir/$libname.la"
16641 if test "X$found_dir" = "X"; then
16642 for x in $LDFLAGS $LTLIBICONV; do
16644 acl_save_prefix="$prefix"
16645 prefix="$acl_final_prefix"
16646 acl_save_exec_prefix="$exec_prefix"
16647 exec_prefix="$acl_final_exec_prefix"
16648 eval x=\"$x\"
16649 exec_prefix="$acl_save_exec_prefix"
16650 prefix="$acl_save_prefix"
16652 case "$x" in
16653 -L*)
16654 dir=`echo "X$x" | sed -e 's/^X-L//'`
16655 if test -n "$acl_shlibext"; then
16656 if test -f "$dir/$libname$shrext"; then
16657 found_dir="$dir"
16658 found_so="$dir/$libname$shrext"
16659 else
16660 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16661 ver=`(cd "$dir" && \
16662 for f in "$libname$shrext".*; do echo "$f"; done \
16663 | sed -e "s,^$libname$shrext\\\\.,," \
16664 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16665 | sed 1q ) 2>/dev/null`
16666 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16667 found_dir="$dir"
16668 found_so="$dir/$libname$shrext.$ver"
16670 else
16671 eval library_names=\"$acl_library_names_spec\"
16672 for f in $library_names; do
16673 if test -f "$dir/$f"; then
16674 found_dir="$dir"
16675 found_so="$dir/$f"
16676 break
16678 done
16682 if test "X$found_dir" = "X"; then
16683 if test -f "$dir/$libname.$acl_libext"; then
16684 found_dir="$dir"
16685 found_a="$dir/$libname.$acl_libext"
16688 if test "X$found_dir" != "X"; then
16689 if test -f "$dir/$libname.la"; then
16690 found_la="$dir/$libname.la"
16694 esac
16695 if test "X$found_dir" != "X"; then
16696 break
16698 done
16700 if test "X$found_dir" != "X"; then
16701 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16702 if test "X$found_so" != "X"; then
16703 if test "$enable_rpath" = no \
16704 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16705 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16706 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16707 else
16708 haveit=
16709 for x in $ltrpathdirs; do
16710 if test "X$x" = "X$found_dir"; then
16711 haveit=yes
16712 break
16714 done
16715 if test -z "$haveit"; then
16716 ltrpathdirs="$ltrpathdirs $found_dir"
16718 if test "$acl_hardcode_direct" = yes; then
16719 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16720 else
16721 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16722 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16723 haveit=
16724 for x in $rpathdirs; do
16725 if test "X$x" = "X$found_dir"; then
16726 haveit=yes
16727 break
16729 done
16730 if test -z "$haveit"; then
16731 rpathdirs="$rpathdirs $found_dir"
16733 else
16734 haveit=
16735 for x in $LDFLAGS $LIBICONV; do
16737 acl_save_prefix="$prefix"
16738 prefix="$acl_final_prefix"
16739 acl_save_exec_prefix="$exec_prefix"
16740 exec_prefix="$acl_final_exec_prefix"
16741 eval x=\"$x\"
16742 exec_prefix="$acl_save_exec_prefix"
16743 prefix="$acl_save_prefix"
16745 if test "X$x" = "X-L$found_dir"; then
16746 haveit=yes
16747 break
16749 done
16750 if test -z "$haveit"; then
16751 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16753 if test "$acl_hardcode_minus_L" != no; then
16754 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16755 else
16756 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16761 else
16762 if test "X$found_a" != "X"; then
16763 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16764 else
16765 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16768 additional_includedir=
16769 case "$found_dir" in
16770 */$acl_libdirstem | */$acl_libdirstem/)
16771 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16772 if test "$name" = 'iconv'; then
16773 LIBICONV_PREFIX="$basedir"
16775 additional_includedir="$basedir/include"
16777 */$acl_libdirstem2 | */$acl_libdirstem2/)
16778 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16779 if test "$name" = 'iconv'; then
16780 LIBICONV_PREFIX="$basedir"
16782 additional_includedir="$basedir/include"
16784 esac
16785 if test "X$additional_includedir" != "X"; then
16786 if test "X$additional_includedir" != "X/usr/include"; then
16787 haveit=
16788 if test "X$additional_includedir" = "X/usr/local/include"; then
16789 if test -n "$GCC"; then
16790 case $host_os in
16791 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16792 esac
16795 if test -z "$haveit"; then
16796 for x in $CPPFLAGS $INCICONV; do
16798 acl_save_prefix="$prefix"
16799 prefix="$acl_final_prefix"
16800 acl_save_exec_prefix="$exec_prefix"
16801 exec_prefix="$acl_final_exec_prefix"
16802 eval x=\"$x\"
16803 exec_prefix="$acl_save_exec_prefix"
16804 prefix="$acl_save_prefix"
16806 if test "X$x" = "X-I$additional_includedir"; then
16807 haveit=yes
16808 break
16810 done
16811 if test -z "$haveit"; then
16812 if test -d "$additional_includedir"; then
16813 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16819 if test -n "$found_la"; then
16820 save_libdir="$libdir"
16821 case "$found_la" in
16822 */* | *\\*) . "$found_la" ;;
16823 *) . "./$found_la" ;;
16824 esac
16825 libdir="$save_libdir"
16826 for dep in $dependency_libs; do
16827 case "$dep" in
16828 -L*)
16829 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16830 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16831 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16832 haveit=
16833 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16834 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16835 if test -n "$GCC"; then
16836 case $host_os in
16837 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16838 esac
16841 if test -z "$haveit"; then
16842 haveit=
16843 for x in $LDFLAGS $LIBICONV; do
16845 acl_save_prefix="$prefix"
16846 prefix="$acl_final_prefix"
16847 acl_save_exec_prefix="$exec_prefix"
16848 exec_prefix="$acl_final_exec_prefix"
16849 eval x=\"$x\"
16850 exec_prefix="$acl_save_exec_prefix"
16851 prefix="$acl_save_prefix"
16853 if test "X$x" = "X-L$additional_libdir"; then
16854 haveit=yes
16855 break
16857 done
16858 if test -z "$haveit"; then
16859 if test -d "$additional_libdir"; then
16860 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16863 haveit=
16864 for x in $LDFLAGS $LTLIBICONV; do
16866 acl_save_prefix="$prefix"
16867 prefix="$acl_final_prefix"
16868 acl_save_exec_prefix="$exec_prefix"
16869 exec_prefix="$acl_final_exec_prefix"
16870 eval x=\"$x\"
16871 exec_prefix="$acl_save_exec_prefix"
16872 prefix="$acl_save_prefix"
16874 if test "X$x" = "X-L$additional_libdir"; then
16875 haveit=yes
16876 break
16878 done
16879 if test -z "$haveit"; then
16880 if test -d "$additional_libdir"; then
16881 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16887 -R*)
16888 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16889 if test "$enable_rpath" != no; then
16890 haveit=
16891 for x in $rpathdirs; do
16892 if test "X$x" = "X$dir"; then
16893 haveit=yes
16894 break
16896 done
16897 if test -z "$haveit"; then
16898 rpathdirs="$rpathdirs $dir"
16900 haveit=
16901 for x in $ltrpathdirs; do
16902 if test "X$x" = "X$dir"; then
16903 haveit=yes
16904 break
16906 done
16907 if test -z "$haveit"; then
16908 ltrpathdirs="$ltrpathdirs $dir"
16912 -l*)
16913 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16915 *.la)
16916 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16919 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16920 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16922 esac
16923 done
16925 else
16926 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16927 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16931 done
16932 done
16933 if test "X$rpathdirs" != "X"; then
16934 if test -n "$acl_hardcode_libdir_separator"; then
16935 alldirs=
16936 for found_dir in $rpathdirs; do
16937 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16938 done
16939 acl_save_libdir="$libdir"
16940 libdir="$alldirs"
16941 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16942 libdir="$acl_save_libdir"
16943 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16944 else
16945 for found_dir in $rpathdirs; do
16946 acl_save_libdir="$libdir"
16947 libdir="$found_dir"
16948 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16949 libdir="$acl_save_libdir"
16950 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16951 done
16954 if test "X$ltrpathdirs" != "X"; then
16955 for found_dir in $ltrpathdirs; do
16956 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16957 done
16971 am_save_CPPFLAGS="$CPPFLAGS"
16973 for element in $INCICONV; do
16974 haveit=
16975 for x in $CPPFLAGS; do
16977 acl_save_prefix="$prefix"
16978 prefix="$acl_final_prefix"
16979 acl_save_exec_prefix="$exec_prefix"
16980 exec_prefix="$acl_final_exec_prefix"
16981 eval x=\"$x\"
16982 exec_prefix="$acl_save_exec_prefix"
16983 prefix="$acl_save_prefix"
16985 if test "X$x" = "X$element"; then
16986 haveit=yes
16987 break
16989 done
16990 if test -z "$haveit"; then
16991 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16993 done
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16997 $as_echo_n "checking for iconv... " >&6; }
16998 if ${am_cv_func_iconv+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17002 am_cv_func_iconv="no, consider installing GNU libiconv"
17003 am_cv_lib_iconv=no
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #include <stdlib.h>
17007 #include <iconv.h>
17009 main ()
17011 iconv_t cd = iconv_open("","");
17012 iconv(cd,NULL,NULL,NULL,NULL);
17013 iconv_close(cd);
17015 return 0;
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 am_cv_func_iconv=yes
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 if test "$am_cv_func_iconv" != yes; then
17024 am_save_LIBS="$LIBS"
17025 LIBS="$LIBS $LIBICONV"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <stdlib.h>
17029 #include <iconv.h>
17031 main ()
17033 iconv_t cd = iconv_open("","");
17034 iconv(cd,NULL,NULL,NULL,NULL);
17035 iconv_close(cd);
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 am_cv_lib_iconv=yes
17042 am_cv_func_iconv=yes
17044 rm -f core conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17046 LIBS="$am_save_LIBS"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17051 $as_echo "$am_cv_func_iconv" >&6; }
17052 if test "$am_cv_func_iconv" = yes; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17054 $as_echo_n "checking for working iconv... " >&6; }
17055 if ${am_cv_func_iconv_works+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17059 am_save_LIBS="$LIBS"
17060 if test $am_cv_lib_iconv = yes; then
17061 LIBS="$LIBS $LIBICONV"
17063 if test "$cross_compiling" = yes; then :
17064 case "$host_os" in
17065 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17066 *) am_cv_func_iconv_works="guessing yes" ;;
17067 esac
17068 else
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17072 #include <iconv.h>
17073 #include <string.h>
17074 int main ()
17076 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17077 returns. */
17079 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17080 if (cd_utf8_to_88591 != (iconv_t)(-1))
17082 static const char input[] = "\342\202\254"; /* EURO SIGN */
17083 char buf[10];
17084 const char *inptr = input;
17085 size_t inbytesleft = strlen (input);
17086 char *outptr = buf;
17087 size_t outbytesleft = sizeof (buf);
17088 size_t res = iconv (cd_utf8_to_88591,
17089 (char **) &inptr, &inbytesleft,
17090 &outptr, &outbytesleft);
17091 if (res == 0)
17092 return 1;
17095 /* Test against Solaris 10 bug: Failures are not distinguishable from
17096 successful returns. */
17098 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17099 if (cd_ascii_to_88591 != (iconv_t)(-1))
17101 static const char input[] = "\263";
17102 char buf[10];
17103 const char *inptr = input;
17104 size_t inbytesleft = strlen (input);
17105 char *outptr = buf;
17106 size_t outbytesleft = sizeof (buf);
17107 size_t res = iconv (cd_ascii_to_88591,
17108 (char **) &inptr, &inbytesleft,
17109 &outptr, &outbytesleft);
17110 if (res == 0)
17111 return 1;
17114 #if 0 /* This bug could be worked around by the caller. */
17115 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17117 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17118 if (cd_88591_to_utf8 != (iconv_t)(-1))
17120 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17121 char buf[50];
17122 const char *inptr = input;
17123 size_t inbytesleft = strlen (input);
17124 char *outptr = buf;
17125 size_t outbytesleft = sizeof (buf);
17126 size_t res = iconv (cd_88591_to_utf8,
17127 (char **) &inptr, &inbytesleft,
17128 &outptr, &outbytesleft);
17129 if ((int)res > 0)
17130 return 1;
17133 #endif
17134 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17135 provided. */
17136 if (/* Try standardized names. */
17137 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17138 /* Try IRIX, OSF/1 names. */
17139 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17140 /* Try AIX names. */
17141 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17142 /* Try HP-UX names. */
17143 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17144 return 1;
17145 return 0;
17147 _ACEOF
17148 if ac_fn_c_try_run "$LINENO"; then :
17149 am_cv_func_iconv_works=yes
17150 else
17151 am_cv_func_iconv_works=no
17153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17154 conftest.$ac_objext conftest.beam conftest.$ac_ext
17157 LIBS="$am_save_LIBS"
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17161 $as_echo "$am_cv_func_iconv_works" >&6; }
17162 case "$am_cv_func_iconv_works" in
17163 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17164 *) am_func_iconv=yes ;;
17165 esac
17166 else
17167 am_func_iconv=no am_cv_lib_iconv=no
17169 if test "$am_func_iconv" = yes; then
17171 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17174 if test "$am_cv_lib_iconv" = yes; then
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17176 $as_echo_n "checking how to link with libiconv... " >&6; }
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17178 $as_echo "$LIBICONV" >&6; }
17179 else
17180 CPPFLAGS="$am_save_CPPFLAGS"
17181 LIBICONV=
17182 LTLIBICONV=
17187 if test "$am_cv_func_iconv" = yes; then
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17189 $as_echo_n "checking for iconv declaration... " >&6; }
17190 if ${am_cv_proto_iconv+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17197 #include <stdlib.h>
17198 #include <iconv.h>
17199 extern
17200 #ifdef __cplusplus
17202 #endif
17203 #if defined(__STDC__) || defined(__cplusplus)
17204 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17205 #else
17206 size_t iconv();
17207 #endif
17210 main ()
17214 return 0;
17216 _ACEOF
17217 if ac_fn_c_try_compile "$LINENO"; then :
17218 am_cv_proto_iconv_arg1=""
17219 else
17220 am_cv_proto_iconv_arg1="const"
17222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17223 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
17226 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17228 $am_cv_proto_iconv" >&5
17229 $as_echo "
17230 $am_cv_proto_iconv" >&6; }
17232 cat >>confdefs.h <<_ACEOF
17233 #define ICONV_CONST $am_cv_proto_iconv_arg1
17234 _ACEOF
17244 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17245 if test -n "$ac_tool_prefix"; then
17246 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17247 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17249 $as_echo_n "checking for $ac_word... " >&6; }
17250 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 case $PKG_CONFIG in
17254 [\\/]* | ?:[\\/]*)
17255 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17259 for as_dir in $PATH
17261 IFS=$as_save_IFS
17262 test -z "$as_dir" && as_dir=.
17263 for ac_exec_ext in '' $ac_executable_extensions; do
17264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17265 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17267 break 2
17269 done
17270 done
17271 IFS=$as_save_IFS
17274 esac
17276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17277 if test -n "$PKG_CONFIG"; then
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17279 $as_echo "$PKG_CONFIG" >&6; }
17280 else
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17282 $as_echo "no" >&6; }
17287 if test -z "$ac_cv_path_PKG_CONFIG"; then
17288 ac_pt_PKG_CONFIG=$PKG_CONFIG
17289 # Extract the first word of "pkg-config", so it can be a program name with args.
17290 set dummy pkg-config; ac_word=$2
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17292 $as_echo_n "checking for $ac_word... " >&6; }
17293 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 case $ac_pt_PKG_CONFIG in
17297 [\\/]* | ?:[\\/]*)
17298 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17302 for as_dir in $PATH
17304 IFS=$as_save_IFS
17305 test -z "$as_dir" && as_dir=.
17306 for ac_exec_ext in '' $ac_executable_extensions; do
17307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17308 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17310 break 2
17312 done
17313 done
17314 IFS=$as_save_IFS
17317 esac
17319 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17320 if test -n "$ac_pt_PKG_CONFIG"; then
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17322 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17323 else
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17325 $as_echo "no" >&6; }
17328 if test "x$ac_pt_PKG_CONFIG" = x; then
17329 PKG_CONFIG=""
17330 else
17331 case $cross_compiling:$ac_tool_warned in
17332 yes:)
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17335 ac_tool_warned=yes ;;
17336 esac
17337 PKG_CONFIG=$ac_pt_PKG_CONFIG
17339 else
17340 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17344 if test -n "$PKG_CONFIG"; then
17345 _pkg_min_version=0.9.0
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17347 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17348 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17350 $as_echo "yes" >&6; }
17351 else
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17353 $as_echo "no" >&6; }
17354 PKG_CONFIG=""
17358 pkg_failed=no
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17360 $as_echo_n "checking for libcurl... " >&6; }
17362 if test -n "$libcurl_CFLAGS"; then
17363 pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
17364 elif test -n "$PKG_CONFIG"; then
17365 if test -n "$PKG_CONFIG" && \
17366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17367 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17368 ac_status=$?
17369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17370 test $ac_status = 0; }; then
17371 pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17372 else
17373 pkg_failed=yes
17375 else
17376 pkg_failed=untried
17378 if test -n "$libcurl_LIBS"; then
17379 pkg_cv_libcurl_LIBS="$libcurl_LIBS"
17380 elif test -n "$PKG_CONFIG"; then
17381 if test -n "$PKG_CONFIG" && \
17382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17383 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17384 ac_status=$?
17385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17386 test $ac_status = 0; }; then
17387 pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17388 else
17389 pkg_failed=yes
17391 else
17392 pkg_failed=untried
17397 if test $pkg_failed = yes; then
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17399 $as_echo "no" >&6; }
17401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17402 _pkg_short_errors_supported=yes
17403 else
17404 _pkg_short_errors_supported=no
17406 if test $_pkg_short_errors_supported = yes; then
17407 libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17408 else
17409 libcurl_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17411 # Put the nasty error message in config.log where it belongs
17412 echo "$libcurl_PKG_ERRORS" >&5
17414 as_fn_error $? "Package requirements (libcurl >= 7.18.0) were not met:
17416 $libcurl_PKG_ERRORS
17418 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17419 installed software in a non-standard prefix.
17421 Alternatively, you may set the environment variables libcurl_CFLAGS
17422 and libcurl_LIBS to avoid the need to call pkg-config.
17423 See the pkg-config man page for more details." "$LINENO" 5
17424 elif test $pkg_failed = untried; then
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17429 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17430 is in your PATH or set the PKG_CONFIG environment variable to the full
17431 path to pkg-config.
17433 Alternatively, you may set the environment variables libcurl_CFLAGS
17434 and libcurl_LIBS to avoid the need to call pkg-config.
17435 See the pkg-config man page for more details.
17437 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17438 See \`config.log' for more details" "$LINENO" 5; }
17439 else
17440 libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
17441 libcurl_LIBS=$pkg_cv_libcurl_LIBS
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17443 $as_echo "yes" >&6; }
17447 pkg_failed=no
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17449 $as_echo_n "checking for liblua... " >&6; }
17451 if test -n "$liblua_CFLAGS"; then
17452 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17453 elif test -n "$PKG_CONFIG"; then
17454 if test -n "$PKG_CONFIG" && \
17455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17456 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17457 ac_status=$?
17458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17459 test $ac_status = 0; }; then
17460 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17461 else
17462 pkg_failed=yes
17464 else
17465 pkg_failed=untried
17467 if test -n "$liblua_LIBS"; then
17468 pkg_cv_liblua_LIBS="$liblua_LIBS"
17469 elif test -n "$PKG_CONFIG"; then
17470 if test -n "$PKG_CONFIG" && \
17471 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17472 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17473 ac_status=$?
17474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17475 test $ac_status = 0; }; then
17476 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17477 else
17478 pkg_failed=yes
17480 else
17481 pkg_failed=untried
17486 if test $pkg_failed = yes; then
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17488 $as_echo "no" >&6; }
17490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17491 _pkg_short_errors_supported=yes
17492 else
17493 _pkg_short_errors_supported=no
17495 if test $_pkg_short_errors_supported = yes; then
17496 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17497 else
17498 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17500 # Put the nasty error message in config.log where it belongs
17501 echo "$liblua_PKG_ERRORS" >&5
17505 pkg_failed=no
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17507 $as_echo_n "checking for liblua... " >&6; }
17509 if test -n "$liblua_CFLAGS"; then
17510 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17511 elif test -n "$PKG_CONFIG"; then
17512 if test -n "$PKG_CONFIG" && \
17513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17514 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17515 ac_status=$?
17516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17517 test $ac_status = 0; }; then
17518 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17519 else
17520 pkg_failed=yes
17522 else
17523 pkg_failed=untried
17525 if test -n "$liblua_LIBS"; then
17526 pkg_cv_liblua_LIBS="$liblua_LIBS"
17527 elif test -n "$PKG_CONFIG"; then
17528 if test -n "$PKG_CONFIG" && \
17529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17530 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17531 ac_status=$?
17532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17533 test $ac_status = 0; }; then
17534 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17535 else
17536 pkg_failed=yes
17538 else
17539 pkg_failed=untried
17544 if test $pkg_failed = yes; then
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17546 $as_echo "no" >&6; }
17548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17549 _pkg_short_errors_supported=yes
17550 else
17551 _pkg_short_errors_supported=no
17553 if test $_pkg_short_errors_supported = yes; then
17554 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17555 else
17556 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17558 # Put the nasty error message in config.log where it belongs
17559 echo "$liblua_PKG_ERRORS" >&5
17563 pkg_failed=no
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17565 $as_echo_n "checking for liblua... " >&6; }
17567 if test -n "$liblua_CFLAGS"; then
17568 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17569 elif test -n "$PKG_CONFIG"; then
17570 if test -n "$PKG_CONFIG" && \
17571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17572 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17573 ac_status=$?
17574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17575 test $ac_status = 0; }; then
17576 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17577 else
17578 pkg_failed=yes
17580 else
17581 pkg_failed=untried
17583 if test -n "$liblua_LIBS"; then
17584 pkg_cv_liblua_LIBS="$liblua_LIBS"
17585 elif test -n "$PKG_CONFIG"; then
17586 if test -n "$PKG_CONFIG" && \
17587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17588 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17589 ac_status=$?
17590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17591 test $ac_status = 0; }; then
17592 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17593 else
17594 pkg_failed=yes
17596 else
17597 pkg_failed=untried
17602 if test $pkg_failed = yes; then
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17604 $as_echo "no" >&6; }
17606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17607 _pkg_short_errors_supported=yes
17608 else
17609 _pkg_short_errors_supported=no
17611 if test $_pkg_short_errors_supported = yes; then
17612 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17613 else
17614 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17616 # Put the nasty error message in config.log where it belongs
17617 echo "$liblua_PKG_ERRORS" >&5
17621 pkg_failed=no
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17623 $as_echo_n "checking for liblua... " >&6; }
17625 if test -n "$liblua_CFLAGS"; then
17626 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17627 elif test -n "$PKG_CONFIG"; then
17628 if test -n "$PKG_CONFIG" && \
17629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17630 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17631 ac_status=$?
17632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17633 test $ac_status = 0; }; then
17634 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17635 else
17636 pkg_failed=yes
17638 else
17639 pkg_failed=untried
17641 if test -n "$liblua_LIBS"; then
17642 pkg_cv_liblua_LIBS="$liblua_LIBS"
17643 elif test -n "$PKG_CONFIG"; then
17644 if test -n "$PKG_CONFIG" && \
17645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17646 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17647 ac_status=$?
17648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17649 test $ac_status = 0; }; then
17650 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17651 else
17652 pkg_failed=yes
17654 else
17655 pkg_failed=untried
17660 if test $pkg_failed = yes; then
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17662 $as_echo "no" >&6; }
17664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17665 _pkg_short_errors_supported=yes
17666 else
17667 _pkg_short_errors_supported=no
17669 if test $_pkg_short_errors_supported = yes; then
17670 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17671 else
17672 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17674 # Put the nasty error message in config.log where it belongs
17675 echo "$liblua_PKG_ERRORS" >&5
17677 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17679 $liblua_PKG_ERRORS
17681 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17682 installed software in a non-standard prefix.
17684 Alternatively, you may set the environment variables liblua_CFLAGS
17685 and liblua_LIBS to avoid the need to call pkg-config.
17686 See the pkg-config man page for more details." "$LINENO" 5
17687 elif test $pkg_failed = untried; then
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17689 $as_echo "no" >&6; }
17690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17692 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17693 is in your PATH or set the PKG_CONFIG environment variable to the full
17694 path to pkg-config.
17696 Alternatively, you may set the environment variables liblua_CFLAGS
17697 and liblua_LIBS to avoid the need to call pkg-config.
17698 See the pkg-config man page for more details.
17700 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17701 See \`config.log' for more details" "$LINENO" 5; }
17702 else
17703 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17704 liblua_LIBS=$pkg_cv_liblua_LIBS
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17706 $as_echo "yes" >&6; }
17710 elif test $pkg_failed = untried; then
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17712 $as_echo "no" >&6; }
17715 pkg_failed=no
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17717 $as_echo_n "checking for liblua... " >&6; }
17719 if test -n "$liblua_CFLAGS"; then
17720 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17721 elif test -n "$PKG_CONFIG"; then
17722 if test -n "$PKG_CONFIG" && \
17723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17724 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17725 ac_status=$?
17726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17727 test $ac_status = 0; }; then
17728 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17729 else
17730 pkg_failed=yes
17732 else
17733 pkg_failed=untried
17735 if test -n "$liblua_LIBS"; then
17736 pkg_cv_liblua_LIBS="$liblua_LIBS"
17737 elif test -n "$PKG_CONFIG"; then
17738 if test -n "$PKG_CONFIG" && \
17739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17740 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17741 ac_status=$?
17742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17743 test $ac_status = 0; }; then
17744 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17745 else
17746 pkg_failed=yes
17748 else
17749 pkg_failed=untried
17754 if test $pkg_failed = yes; then
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17756 $as_echo "no" >&6; }
17758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17759 _pkg_short_errors_supported=yes
17760 else
17761 _pkg_short_errors_supported=no
17763 if test $_pkg_short_errors_supported = yes; then
17764 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17765 else
17766 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17768 # Put the nasty error message in config.log where it belongs
17769 echo "$liblua_PKG_ERRORS" >&5
17771 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17773 $liblua_PKG_ERRORS
17775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17776 installed software in a non-standard prefix.
17778 Alternatively, you may set the environment variables liblua_CFLAGS
17779 and liblua_LIBS to avoid the need to call pkg-config.
17780 See the pkg-config man page for more details." "$LINENO" 5
17781 elif test $pkg_failed = untried; then
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17783 $as_echo "no" >&6; }
17784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17786 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17787 is in your PATH or set the PKG_CONFIG environment variable to the full
17788 path to pkg-config.
17790 Alternatively, you may set the environment variables liblua_CFLAGS
17791 and liblua_LIBS to avoid the need to call pkg-config.
17792 See the pkg-config man page for more details.
17794 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17795 See \`config.log' for more details" "$LINENO" 5; }
17796 else
17797 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17798 liblua_LIBS=$pkg_cv_liblua_LIBS
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17800 $as_echo "yes" >&6; }
17804 else
17805 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17806 liblua_LIBS=$pkg_cv_liblua_LIBS
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17808 $as_echo "yes" >&6; }
17812 elif test $pkg_failed = untried; then
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17814 $as_echo "no" >&6; }
17817 pkg_failed=no
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17819 $as_echo_n "checking for liblua... " >&6; }
17821 if test -n "$liblua_CFLAGS"; then
17822 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17823 elif test -n "$PKG_CONFIG"; then
17824 if test -n "$PKG_CONFIG" && \
17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17826 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17827 ac_status=$?
17828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17829 test $ac_status = 0; }; then
17830 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17831 else
17832 pkg_failed=yes
17834 else
17835 pkg_failed=untried
17837 if test -n "$liblua_LIBS"; then
17838 pkg_cv_liblua_LIBS="$liblua_LIBS"
17839 elif test -n "$PKG_CONFIG"; then
17840 if test -n "$PKG_CONFIG" && \
17841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17842 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17843 ac_status=$?
17844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17845 test $ac_status = 0; }; then
17846 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17847 else
17848 pkg_failed=yes
17850 else
17851 pkg_failed=untried
17856 if test $pkg_failed = yes; then
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17858 $as_echo "no" >&6; }
17860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17861 _pkg_short_errors_supported=yes
17862 else
17863 _pkg_short_errors_supported=no
17865 if test $_pkg_short_errors_supported = yes; then
17866 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17867 else
17868 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17870 # Put the nasty error message in config.log where it belongs
17871 echo "$liblua_PKG_ERRORS" >&5
17875 pkg_failed=no
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17877 $as_echo_n "checking for liblua... " >&6; }
17879 if test -n "$liblua_CFLAGS"; then
17880 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17881 elif test -n "$PKG_CONFIG"; then
17882 if test -n "$PKG_CONFIG" && \
17883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17884 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17885 ac_status=$?
17886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17887 test $ac_status = 0; }; then
17888 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17889 else
17890 pkg_failed=yes
17892 else
17893 pkg_failed=untried
17895 if test -n "$liblua_LIBS"; then
17896 pkg_cv_liblua_LIBS="$liblua_LIBS"
17897 elif test -n "$PKG_CONFIG"; then
17898 if test -n "$PKG_CONFIG" && \
17899 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17900 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17901 ac_status=$?
17902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17903 test $ac_status = 0; }; then
17904 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17905 else
17906 pkg_failed=yes
17908 else
17909 pkg_failed=untried
17914 if test $pkg_failed = yes; then
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17916 $as_echo "no" >&6; }
17918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17919 _pkg_short_errors_supported=yes
17920 else
17921 _pkg_short_errors_supported=no
17923 if test $_pkg_short_errors_supported = yes; then
17924 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17925 else
17926 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17928 # Put the nasty error message in config.log where it belongs
17929 echo "$liblua_PKG_ERRORS" >&5
17931 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17933 $liblua_PKG_ERRORS
17935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17936 installed software in a non-standard prefix.
17938 Alternatively, you may set the environment variables liblua_CFLAGS
17939 and liblua_LIBS to avoid the need to call pkg-config.
17940 See the pkg-config man page for more details." "$LINENO" 5
17941 elif test $pkg_failed = untried; then
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17943 $as_echo "no" >&6; }
17944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17946 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17947 is in your PATH or set the PKG_CONFIG environment variable to the full
17948 path to pkg-config.
17950 Alternatively, you may set the environment variables liblua_CFLAGS
17951 and liblua_LIBS to avoid the need to call pkg-config.
17952 See the pkg-config man page for more details.
17954 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17955 See \`config.log' for more details" "$LINENO" 5; }
17956 else
17957 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17958 liblua_LIBS=$pkg_cv_liblua_LIBS
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17960 $as_echo "yes" >&6; }
17964 elif test $pkg_failed = untried; then
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17966 $as_echo "no" >&6; }
17969 pkg_failed=no
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17971 $as_echo_n "checking for liblua... " >&6; }
17973 if test -n "$liblua_CFLAGS"; then
17974 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17975 elif test -n "$PKG_CONFIG"; then
17976 if test -n "$PKG_CONFIG" && \
17977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17978 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17979 ac_status=$?
17980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17981 test $ac_status = 0; }; then
17982 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17983 else
17984 pkg_failed=yes
17986 else
17987 pkg_failed=untried
17989 if test -n "$liblua_LIBS"; then
17990 pkg_cv_liblua_LIBS="$liblua_LIBS"
17991 elif test -n "$PKG_CONFIG"; then
17992 if test -n "$PKG_CONFIG" && \
17993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17994 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17995 ac_status=$?
17996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17997 test $ac_status = 0; }; then
17998 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17999 else
18000 pkg_failed=yes
18002 else
18003 pkg_failed=untried
18008 if test $pkg_failed = yes; then
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18010 $as_echo "no" >&6; }
18012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18013 _pkg_short_errors_supported=yes
18014 else
18015 _pkg_short_errors_supported=no
18017 if test $_pkg_short_errors_supported = yes; then
18018 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18019 else
18020 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18022 # Put the nasty error message in config.log where it belongs
18023 echo "$liblua_PKG_ERRORS" >&5
18025 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18027 $liblua_PKG_ERRORS
18029 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18030 installed software in a non-standard prefix.
18032 Alternatively, you may set the environment variables liblua_CFLAGS
18033 and liblua_LIBS to avoid the need to call pkg-config.
18034 See the pkg-config man page for more details." "$LINENO" 5
18035 elif test $pkg_failed = untried; then
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18037 $as_echo "no" >&6; }
18038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18040 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18041 is in your PATH or set the PKG_CONFIG environment variable to the full
18042 path to pkg-config.
18044 Alternatively, you may set the environment variables liblua_CFLAGS
18045 and liblua_LIBS to avoid the need to call pkg-config.
18046 See the pkg-config man page for more details.
18048 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18049 See \`config.log' for more details" "$LINENO" 5; }
18050 else
18051 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18052 liblua_LIBS=$pkg_cv_liblua_LIBS
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18054 $as_echo "yes" >&6; }
18058 else
18059 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18060 liblua_LIBS=$pkg_cv_liblua_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18062 $as_echo "yes" >&6; }
18066 else
18067 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18068 liblua_LIBS=$pkg_cv_liblua_LIBS
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18070 $as_echo "yes" >&6; }
18074 elif test $pkg_failed = untried; then
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18076 $as_echo "no" >&6; }
18079 pkg_failed=no
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18081 $as_echo_n "checking for liblua... " >&6; }
18083 if test -n "$liblua_CFLAGS"; then
18084 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18085 elif test -n "$PKG_CONFIG"; then
18086 if test -n "$PKG_CONFIG" && \
18087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18088 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18089 ac_status=$?
18090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18091 test $ac_status = 0; }; then
18092 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18093 else
18094 pkg_failed=yes
18096 else
18097 pkg_failed=untried
18099 if test -n "$liblua_LIBS"; then
18100 pkg_cv_liblua_LIBS="$liblua_LIBS"
18101 elif test -n "$PKG_CONFIG"; then
18102 if test -n "$PKG_CONFIG" && \
18103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18104 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18105 ac_status=$?
18106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18107 test $ac_status = 0; }; then
18108 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18109 else
18110 pkg_failed=yes
18112 else
18113 pkg_failed=untried
18118 if test $pkg_failed = yes; then
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18120 $as_echo "no" >&6; }
18122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18123 _pkg_short_errors_supported=yes
18124 else
18125 _pkg_short_errors_supported=no
18127 if test $_pkg_short_errors_supported = yes; then
18128 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18129 else
18130 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18132 # Put the nasty error message in config.log where it belongs
18133 echo "$liblua_PKG_ERRORS" >&5
18137 pkg_failed=no
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18139 $as_echo_n "checking for liblua... " >&6; }
18141 if test -n "$liblua_CFLAGS"; then
18142 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18143 elif test -n "$PKG_CONFIG"; then
18144 if test -n "$PKG_CONFIG" && \
18145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18146 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18147 ac_status=$?
18148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18149 test $ac_status = 0; }; then
18150 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18151 else
18152 pkg_failed=yes
18154 else
18155 pkg_failed=untried
18157 if test -n "$liblua_LIBS"; then
18158 pkg_cv_liblua_LIBS="$liblua_LIBS"
18159 elif test -n "$PKG_CONFIG"; then
18160 if test -n "$PKG_CONFIG" && \
18161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18162 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18163 ac_status=$?
18164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18165 test $ac_status = 0; }; then
18166 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18167 else
18168 pkg_failed=yes
18170 else
18171 pkg_failed=untried
18176 if test $pkg_failed = yes; then
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18178 $as_echo "no" >&6; }
18180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18181 _pkg_short_errors_supported=yes
18182 else
18183 _pkg_short_errors_supported=no
18185 if test $_pkg_short_errors_supported = yes; then
18186 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18187 else
18188 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18190 # Put the nasty error message in config.log where it belongs
18191 echo "$liblua_PKG_ERRORS" >&5
18195 pkg_failed=no
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18197 $as_echo_n "checking for liblua... " >&6; }
18199 if test -n "$liblua_CFLAGS"; then
18200 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18201 elif test -n "$PKG_CONFIG"; then
18202 if test -n "$PKG_CONFIG" && \
18203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18204 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18205 ac_status=$?
18206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18207 test $ac_status = 0; }; then
18208 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18209 else
18210 pkg_failed=yes
18212 else
18213 pkg_failed=untried
18215 if test -n "$liblua_LIBS"; then
18216 pkg_cv_liblua_LIBS="$liblua_LIBS"
18217 elif test -n "$PKG_CONFIG"; then
18218 if test -n "$PKG_CONFIG" && \
18219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18220 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18221 ac_status=$?
18222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223 test $ac_status = 0; }; then
18224 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18225 else
18226 pkg_failed=yes
18228 else
18229 pkg_failed=untried
18234 if test $pkg_failed = yes; then
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18239 _pkg_short_errors_supported=yes
18240 else
18241 _pkg_short_errors_supported=no
18243 if test $_pkg_short_errors_supported = yes; then
18244 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18245 else
18246 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18248 # Put the nasty error message in config.log where it belongs
18249 echo "$liblua_PKG_ERRORS" >&5
18251 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18253 $liblua_PKG_ERRORS
18255 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18256 installed software in a non-standard prefix.
18258 Alternatively, you may set the environment variables liblua_CFLAGS
18259 and liblua_LIBS to avoid the need to call pkg-config.
18260 See the pkg-config man page for more details." "$LINENO" 5
18261 elif test $pkg_failed = untried; then
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18263 $as_echo "no" >&6; }
18264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18266 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18267 is in your PATH or set the PKG_CONFIG environment variable to the full
18268 path to pkg-config.
18270 Alternatively, you may set the environment variables liblua_CFLAGS
18271 and liblua_LIBS to avoid the need to call pkg-config.
18272 See the pkg-config man page for more details.
18274 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18275 See \`config.log' for more details" "$LINENO" 5; }
18276 else
18277 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18278 liblua_LIBS=$pkg_cv_liblua_LIBS
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18280 $as_echo "yes" >&6; }
18284 elif test $pkg_failed = untried; then
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18286 $as_echo "no" >&6; }
18289 pkg_failed=no
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18291 $as_echo_n "checking for liblua... " >&6; }
18293 if test -n "$liblua_CFLAGS"; then
18294 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18295 elif test -n "$PKG_CONFIG"; then
18296 if test -n "$PKG_CONFIG" && \
18297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18298 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18299 ac_status=$?
18300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18301 test $ac_status = 0; }; then
18302 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18303 else
18304 pkg_failed=yes
18306 else
18307 pkg_failed=untried
18309 if test -n "$liblua_LIBS"; then
18310 pkg_cv_liblua_LIBS="$liblua_LIBS"
18311 elif test -n "$PKG_CONFIG"; then
18312 if test -n "$PKG_CONFIG" && \
18313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18314 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18315 ac_status=$?
18316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18317 test $ac_status = 0; }; then
18318 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18319 else
18320 pkg_failed=yes
18322 else
18323 pkg_failed=untried
18328 if test $pkg_failed = yes; then
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18330 $as_echo "no" >&6; }
18332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18333 _pkg_short_errors_supported=yes
18334 else
18335 _pkg_short_errors_supported=no
18337 if test $_pkg_short_errors_supported = yes; then
18338 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18339 else
18340 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18342 # Put the nasty error message in config.log where it belongs
18343 echo "$liblua_PKG_ERRORS" >&5
18345 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18347 $liblua_PKG_ERRORS
18349 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18350 installed software in a non-standard prefix.
18352 Alternatively, you may set the environment variables liblua_CFLAGS
18353 and liblua_LIBS to avoid the need to call pkg-config.
18354 See the pkg-config man page for more details." "$LINENO" 5
18355 elif test $pkg_failed = untried; then
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18357 $as_echo "no" >&6; }
18358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18360 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18361 is in your PATH or set the PKG_CONFIG environment variable to the full
18362 path to pkg-config.
18364 Alternatively, you may set the environment variables liblua_CFLAGS
18365 and liblua_LIBS to avoid the need to call pkg-config.
18366 See the pkg-config man page for more details.
18368 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18369 See \`config.log' for more details" "$LINENO" 5; }
18370 else
18371 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18372 liblua_LIBS=$pkg_cv_liblua_LIBS
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18374 $as_echo "yes" >&6; }
18378 else
18379 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18380 liblua_LIBS=$pkg_cv_liblua_LIBS
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18382 $as_echo "yes" >&6; }
18386 elif test $pkg_failed = untried; then
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18388 $as_echo "no" >&6; }
18391 pkg_failed=no
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18393 $as_echo_n "checking for liblua... " >&6; }
18395 if test -n "$liblua_CFLAGS"; then
18396 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18397 elif test -n "$PKG_CONFIG"; then
18398 if test -n "$PKG_CONFIG" && \
18399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18400 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18401 ac_status=$?
18402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18403 test $ac_status = 0; }; then
18404 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18405 else
18406 pkg_failed=yes
18408 else
18409 pkg_failed=untried
18411 if test -n "$liblua_LIBS"; then
18412 pkg_cv_liblua_LIBS="$liblua_LIBS"
18413 elif test -n "$PKG_CONFIG"; then
18414 if test -n "$PKG_CONFIG" && \
18415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18416 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18417 ac_status=$?
18418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18419 test $ac_status = 0; }; then
18420 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18421 else
18422 pkg_failed=yes
18424 else
18425 pkg_failed=untried
18430 if test $pkg_failed = yes; then
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18432 $as_echo "no" >&6; }
18434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18435 _pkg_short_errors_supported=yes
18436 else
18437 _pkg_short_errors_supported=no
18439 if test $_pkg_short_errors_supported = yes; then
18440 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18441 else
18442 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18444 # Put the nasty error message in config.log where it belongs
18445 echo "$liblua_PKG_ERRORS" >&5
18449 pkg_failed=no
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18451 $as_echo_n "checking for liblua... " >&6; }
18453 if test -n "$liblua_CFLAGS"; then
18454 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18455 elif test -n "$PKG_CONFIG"; then
18456 if test -n "$PKG_CONFIG" && \
18457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18458 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18459 ac_status=$?
18460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18461 test $ac_status = 0; }; then
18462 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18463 else
18464 pkg_failed=yes
18466 else
18467 pkg_failed=untried
18469 if test -n "$liblua_LIBS"; then
18470 pkg_cv_liblua_LIBS="$liblua_LIBS"
18471 elif test -n "$PKG_CONFIG"; then
18472 if test -n "$PKG_CONFIG" && \
18473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18474 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18475 ac_status=$?
18476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18477 test $ac_status = 0; }; then
18478 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18479 else
18480 pkg_failed=yes
18482 else
18483 pkg_failed=untried
18488 if test $pkg_failed = yes; then
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18490 $as_echo "no" >&6; }
18492 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18493 _pkg_short_errors_supported=yes
18494 else
18495 _pkg_short_errors_supported=no
18497 if test $_pkg_short_errors_supported = yes; then
18498 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18499 else
18500 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18502 # Put the nasty error message in config.log where it belongs
18503 echo "$liblua_PKG_ERRORS" >&5
18505 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18507 $liblua_PKG_ERRORS
18509 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18510 installed software in a non-standard prefix.
18512 Alternatively, you may set the environment variables liblua_CFLAGS
18513 and liblua_LIBS to avoid the need to call pkg-config.
18514 See the pkg-config man page for more details." "$LINENO" 5
18515 elif test $pkg_failed = untried; then
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18517 $as_echo "no" >&6; }
18518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18520 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18521 is in your PATH or set the PKG_CONFIG environment variable to the full
18522 path to pkg-config.
18524 Alternatively, you may set the environment variables liblua_CFLAGS
18525 and liblua_LIBS to avoid the need to call pkg-config.
18526 See the pkg-config man page for more details.
18528 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18529 See \`config.log' for more details" "$LINENO" 5; }
18530 else
18531 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18532 liblua_LIBS=$pkg_cv_liblua_LIBS
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18534 $as_echo "yes" >&6; }
18538 elif test $pkg_failed = untried; then
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18540 $as_echo "no" >&6; }
18543 pkg_failed=no
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18545 $as_echo_n "checking for liblua... " >&6; }
18547 if test -n "$liblua_CFLAGS"; then
18548 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18549 elif test -n "$PKG_CONFIG"; then
18550 if test -n "$PKG_CONFIG" && \
18551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18552 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18553 ac_status=$?
18554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18555 test $ac_status = 0; }; then
18556 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18557 else
18558 pkg_failed=yes
18560 else
18561 pkg_failed=untried
18563 if test -n "$liblua_LIBS"; then
18564 pkg_cv_liblua_LIBS="$liblua_LIBS"
18565 elif test -n "$PKG_CONFIG"; then
18566 if test -n "$PKG_CONFIG" && \
18567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18568 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18569 ac_status=$?
18570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18571 test $ac_status = 0; }; then
18572 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18573 else
18574 pkg_failed=yes
18576 else
18577 pkg_failed=untried
18582 if test $pkg_failed = yes; then
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18584 $as_echo "no" >&6; }
18586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18587 _pkg_short_errors_supported=yes
18588 else
18589 _pkg_short_errors_supported=no
18591 if test $_pkg_short_errors_supported = yes; then
18592 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18593 else
18594 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18596 # Put the nasty error message in config.log where it belongs
18597 echo "$liblua_PKG_ERRORS" >&5
18599 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18601 $liblua_PKG_ERRORS
18603 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18604 installed software in a non-standard prefix.
18606 Alternatively, you may set the environment variables liblua_CFLAGS
18607 and liblua_LIBS to avoid the need to call pkg-config.
18608 See the pkg-config man page for more details." "$LINENO" 5
18609 elif test $pkg_failed = untried; then
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18611 $as_echo "no" >&6; }
18612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18614 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18615 is in your PATH or set the PKG_CONFIG environment variable to the full
18616 path to pkg-config.
18618 Alternatively, you may set the environment variables liblua_CFLAGS
18619 and liblua_LIBS to avoid the need to call pkg-config.
18620 See the pkg-config man page for more details.
18622 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18623 See \`config.log' for more details" "$LINENO" 5; }
18624 else
18625 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18626 liblua_LIBS=$pkg_cv_liblua_LIBS
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18628 $as_echo "yes" >&6; }
18632 else
18633 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18634 liblua_LIBS=$pkg_cv_liblua_LIBS
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18636 $as_echo "yes" >&6; }
18640 else
18641 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18642 liblua_LIBS=$pkg_cv_liblua_LIBS
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18644 $as_echo "yes" >&6; }
18648 else
18649 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18650 liblua_LIBS=$pkg_cv_liblua_LIBS
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18652 $as_echo "yes" >&6; }
18655 # Check whether --enable-silent-rules was given.
18656 if test "${enable_silent_rules+set}" = set; then :
18657 enableval=$enable_silent_rules;
18660 case $enable_silent_rules in
18661 yes) AM_DEFAULT_VERBOSITY=0;;
18662 no) AM_DEFAULT_VERBOSITY=1;;
18663 *) AM_DEFAULT_VERBOSITY=0;;
18664 esac
18665 AM_BACKSLASH='\'
18668 # Checks for header files.
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18670 $as_echo_n "checking for ANSI C header files... " >&6; }
18671 if ${ac_cv_header_stdc+:} false; then :
18672 $as_echo_n "(cached) " >&6
18673 else
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #include <stdlib.h>
18677 #include <stdarg.h>
18678 #include <string.h>
18679 #include <float.h>
18682 main ()
18686 return 0;
18688 _ACEOF
18689 if ac_fn_c_try_compile "$LINENO"; then :
18690 ac_cv_header_stdc=yes
18691 else
18692 ac_cv_header_stdc=no
18694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 if test $ac_cv_header_stdc = yes; then
18697 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 #include <string.h>
18702 _ACEOF
18703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18704 $EGREP "memchr" >/dev/null 2>&1; then :
18706 else
18707 ac_cv_header_stdc=no
18709 rm -f conftest*
18713 if test $ac_cv_header_stdc = yes; then
18714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #include <stdlib.h>
18719 _ACEOF
18720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18721 $EGREP "free" >/dev/null 2>&1; then :
18723 else
18724 ac_cv_header_stdc=no
18726 rm -f conftest*
18730 if test $ac_cv_header_stdc = yes; then
18731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18732 if test "$cross_compiling" = yes; then :
18734 else
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <ctype.h>
18738 #include <stdlib.h>
18739 #if ((' ' & 0x0FF) == 0x020)
18740 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18741 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18742 #else
18743 # define ISLOWER(c) \
18744 (('a' <= (c) && (c) <= 'i') \
18745 || ('j' <= (c) && (c) <= 'r') \
18746 || ('s' <= (c) && (c) <= 'z'))
18747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18748 #endif
18750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18752 main ()
18754 int i;
18755 for (i = 0; i < 256; i++)
18756 if (XOR (islower (i), ISLOWER (i))
18757 || toupper (i) != TOUPPER (i))
18758 return 2;
18759 return 0;
18761 _ACEOF
18762 if ac_fn_c_try_run "$LINENO"; then :
18764 else
18765 ac_cv_header_stdc=no
18767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18768 conftest.$ac_objext conftest.beam conftest.$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18774 $as_echo "$ac_cv_header_stdc" >&6; }
18775 if test $ac_cv_header_stdc = yes; then
18777 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18780 # `stdlib.h', `stdarg.h', `string.h', ...
18781 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18782 do :
18783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18784 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18788 _ACEOF
18792 done
18795 # Checks for typedefs, structures, and compiler characteristics.
18796 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18797 if test "x$ac_cv_type_size_t" = xyes; then :
18799 else
18801 cat >>confdefs.h <<_ACEOF
18802 #define size_t unsigned int
18803 _ACEOF
18807 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18808 case $ac_cv_c_uint32_t in #(
18809 no|yes) ;; #(
18812 $as_echo "#define _UINT32_T 1" >>confdefs.h
18815 cat >>confdefs.h <<_ACEOF
18816 #define uint32_t $ac_cv_c_uint32_t
18817 _ACEOF
18819 esac
18821 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18822 case $ac_cv_c_uint64_t in #(
18823 no|yes) ;; #(
18826 $as_echo "#define _UINT64_T 1" >>confdefs.h
18829 cat >>confdefs.h <<_ACEOF
18830 #define uint64_t $ac_cv_c_uint64_t
18831 _ACEOF
18833 esac
18835 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18836 case $ac_cv_c_uint8_t in #(
18837 no|yes) ;; #(
18840 $as_echo "#define _UINT8_T 1" >>confdefs.h
18843 cat >>confdefs.h <<_ACEOF
18844 #define uint8_t $ac_cv_c_uint8_t
18845 _ACEOF
18847 esac
18849 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18850 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_PTRDIFF_T 1
18854 _ACEOF
18860 # Checks for library functions.
18861 if test x"$host_w32" = "xno" ; then
18862 for ac_header in stdlib.h
18863 do :
18864 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18865 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18866 cat >>confdefs.h <<_ACEOF
18867 #define HAVE_STDLIB_H 1
18868 _ACEOF
18872 done
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18875 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18876 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18877 $as_echo_n "(cached) " >&6
18878 else
18879 if test "$cross_compiling" = yes; then :
18880 ac_cv_func_malloc_0_nonnull=no
18881 else
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18885 # include <stdlib.h>
18886 #else
18887 char *malloc ();
18888 #endif
18891 main ()
18893 return ! malloc (0);
18895 return 0;
18897 _ACEOF
18898 if ac_fn_c_try_run "$LINENO"; then :
18899 ac_cv_func_malloc_0_nonnull=yes
18900 else
18901 ac_cv_func_malloc_0_nonnull=no
18903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18904 conftest.$ac_objext conftest.beam conftest.$ac_ext
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18909 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18910 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18912 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18914 else
18915 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18917 case " $LIBOBJS " in
18918 *" malloc.$ac_objext "* ) ;;
18919 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18921 esac
18924 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18929 for ac_header in stdlib.h
18930 do :
18931 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18932 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STDLIB_H 1
18935 _ACEOF
18939 done
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
18942 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
18943 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945 else
18946 if test "$cross_compiling" = yes; then :
18947 ac_cv_func_realloc_0_nonnull=no
18948 else
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18952 # include <stdlib.h>
18953 #else
18954 char *realloc ();
18955 #endif
18958 main ()
18960 return ! realloc (0, 0);
18962 return 0;
18964 _ACEOF
18965 if ac_fn_c_try_run "$LINENO"; then :
18966 ac_cv_func_realloc_0_nonnull=yes
18967 else
18968 ac_cv_func_realloc_0_nonnull=no
18970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18971 conftest.$ac_objext conftest.beam conftest.$ac_ext
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
18976 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
18977 if test $ac_cv_func_realloc_0_nonnull = yes; then :
18979 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
18981 else
18982 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
18984 case " $LIBOBJS " in
18985 *" realloc.$ac_objext "* ) ;;
18986 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
18988 esac
18991 $as_echo "#define realloc rpl_realloc" >>confdefs.h
18997 for ac_func in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
18998 do :
18999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19001 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19004 _ACEOF
19007 done
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19010 $as_echo_n "checking for working strtod... " >&6; }
19011 if ${ac_cv_func_strtod+:} false; then :
19012 $as_echo_n "(cached) " >&6
19013 else
19014 if test "$cross_compiling" = yes; then :
19015 ac_cv_func_strtod=no
19016 else
19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19020 $ac_includes_default
19021 #ifndef strtod
19022 double strtod ();
19023 #endif
19025 main()
19028 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19029 char *string = " +69";
19030 char *term;
19031 double value;
19032 value = strtod (string, &term);
19033 if (value != 69 || term != (string + 4))
19034 return 1;
19038 /* Under Solaris 2.4, strtod returns the wrong value for the
19039 terminating character under some conditions. */
19040 char *string = "NaN";
19041 char *term;
19042 strtod (string, &term);
19043 if (term != string && *(term - 1) == 0)
19044 return 1;
19046 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_run "$LINENO"; then :
19051 ac_cv_func_strtod=yes
19052 else
19053 ac_cv_func_strtod=no
19055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19056 conftest.$ac_objext conftest.beam conftest.$ac_ext
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19061 $as_echo "$ac_cv_func_strtod" >&6; }
19062 if test $ac_cv_func_strtod = no; then
19063 case " $LIBOBJS " in
19064 *" strtod.$ac_objext "* ) ;;
19065 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19067 esac
19069 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19070 if test "x$ac_cv_func_pow" = xyes; then :
19074 if test $ac_cv_func_pow = no; then
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19076 $as_echo_n "checking for pow in -lm... " >&6; }
19077 if ${ac_cv_lib_m_pow+:} false; then :
19078 $as_echo_n "(cached) " >&6
19079 else
19080 ac_check_lib_save_LIBS=$LIBS
19081 LIBS="-lm $LIBS"
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19085 /* Override any GCC internal prototype to avoid an error.
19086 Use char because int might match the return type of a GCC
19087 builtin and then its argument prototype would still apply. */
19088 #ifdef __cplusplus
19089 extern "C"
19090 #endif
19091 char pow ();
19093 main ()
19095 return pow ();
19097 return 0;
19099 _ACEOF
19100 if ac_fn_c_try_link "$LINENO"; then :
19101 ac_cv_lib_m_pow=yes
19102 else
19103 ac_cv_lib_m_pow=no
19105 rm -f core conftest.err conftest.$ac_objext \
19106 conftest$ac_exeext conftest.$ac_ext
19107 LIBS=$ac_check_lib_save_LIBS
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19110 $as_echo "$ac_cv_lib_m_pow" >&6; }
19111 if test "x$ac_cv_lib_m_pow" = xyes; then :
19112 POW_LIB=-lm
19113 else
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19115 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19123 have_asprintf=no
19124 for ac_func in vasprintf
19125 do :
19126 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19127 if test "x$ac_cv_func_vasprintf" = xyes; then :
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE_VASPRINTF 1
19130 _ACEOF
19132 for ac_func in asprintf
19133 do :
19134 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19135 if test "x$ac_cv_func_asprintf" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_ASPRINTF 1
19138 _ACEOF
19139 have_asprintf=yes
19141 done
19145 done
19147 if test x"$have_asprintf" != "xyes"; then
19148 NO_ASPRINTF_TRUE=
19149 NO_ASPRINTF_FALSE='#'
19150 else
19151 NO_ASPRINTF_TRUE='#'
19152 NO_ASPRINTF_FALSE=
19156 have_strupr=no
19157 for ac_func in strupr
19158 do :
19159 ac_fn_c_check_func "$LINENO" "strupr" "ac_cv_func_strupr"
19160 if test "x$ac_cv_func_strupr" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUPR 1
19163 _ACEOF
19164 have_strupr=yes
19166 done
19168 if test x"$have_strupr" != "xyes"; then
19169 NO_STRUPR_TRUE=
19170 NO_STRUPR_FALSE='#'
19171 else
19172 NO_STRUPR_TRUE='#'
19173 NO_STRUPR_FALSE=
19177 # --enable-quvi
19178 # Check whether --enable-quvi was given.
19179 if test "${enable_quvi+set}" = set; then :
19180 enableval=$enable_quvi;
19181 else
19182 enable_quvi=yes
19185 if test x"$enable_quvi" != "xno"; then
19186 ENABLE_QUVI_TRUE=
19187 ENABLE_QUVI_FALSE='#'
19188 else
19189 ENABLE_QUVI_TRUE='#'
19190 ENABLE_QUVI_FALSE=
19194 # --enable-examples
19195 # Check whether --enable-examples was given.
19196 if test "${enable_examples+set}" = set; then :
19197 enableval=$enable_examples;
19198 else
19199 enable_examples=no
19202 if test x"$enable_examples" != "xno"; then
19203 ENABLE_EXAMPLES_TRUE=
19204 ENABLE_EXAMPLES_FALSE='#'
19205 else
19206 ENABLE_EXAMPLES_TRUE='#'
19207 ENABLE_EXAMPLES_FALSE=
19211 # --enable-nsfw
19212 # Check whether --enable-nsfw was given.
19213 if test "${enable_nsfw+set}" = set; then :
19214 enableval=$enable_nsfw;
19215 else
19216 enable_nsfw=no
19219 if test x"$enable_nsfw" != "xno"; then
19220 ENABLE_NSFW_TRUE=
19221 ENABLE_NSFW_FALSE='#'
19222 else
19223 ENABLE_NSFW_TRUE='#'
19224 ENABLE_NSFW_FALSE=
19228 if test x"$enable_nsfw" != "xno" ; then
19230 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19234 # --enable-tests
19235 # Check whether --enable-tests was given.
19236 if test "${enable_tests+set}" = set; then :
19237 enableval=$enable_tests;
19238 else
19239 enable_tests=no
19242 if test x"$enable_tests" != "xno"; then
19243 ENABLE_TESTS_TRUE=
19244 ENABLE_TESTS_FALSE='#'
19245 else
19246 ENABLE_TESTS_TRUE='#'
19247 ENABLE_TESTS_FALSE=
19251 # --enable-broken
19252 # Check whether --enable-broken was given.
19253 if test "${enable_broken+set}" = set; then :
19254 enableval=$enable_broken;
19255 else
19256 enable_broken=no
19259 if test x"$enable_broken" != "xno"; then
19260 ENABLE_BROKEN_TRUE=
19261 ENABLE_BROKEN_FALSE='#'
19262 else
19263 ENABLE_BROKEN_TRUE='#'
19264 ENABLE_BROKEN_FALSE=
19268 if test x"$enable_broken" != "xno" ; then
19270 $as_echo "#define ENABLE_BROKEN 1" >>confdefs.h
19274 # --with-man
19276 # Check whether --with-man was given.
19277 if test "${with_man+set}" = set; then :
19278 withval=$with_man;
19279 else
19280 with_man=yes
19283 if test x"$with_man" != "xno"; then
19284 WITH_MAN_TRUE=
19285 WITH_MAN_FALSE='#'
19286 else
19287 WITH_MAN_TRUE='#'
19288 WITH_MAN_FALSE=
19292 # --with-doc
19294 # Check whether --with-doc was given.
19295 if test "${with_doc+set}" = set; then :
19296 withval=$with_doc;
19297 else
19298 with_doc=yes
19301 if test x"$with_doc" != "xno"; then
19302 WITH_DOC_TRUE=
19303 WITH_DOC_FALSE='#'
19304 else
19305 WITH_DOC_TRUE='#'
19306 WITH_DOC_FALSE=
19310 # GNU ld?
19311 if test x"$with_gnu_ld" = "xyes"; then
19312 HAVE_GNU_LD_TRUE=
19313 HAVE_GNU_LD_FALSE='#'
19314 else
19315 HAVE_GNU_LD_TRUE='#'
19316 HAVE_GNU_LD_FALSE=
19320 ac_config_files="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile man1/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile tests/quviTest.pm libquvi.pc doxygen.conf"
19323 cat >confcache <<\_ACEOF
19324 # This file is a shell script that caches the results of configure
19325 # tests run on this system so they can be shared between configure
19326 # scripts and configure runs, see configure's option --config-cache.
19327 # It is not useful on other systems. If it contains results you don't
19328 # want to keep, you may remove or edit it.
19330 # config.status only pays attention to the cache file if you give it
19331 # the --recheck option to rerun configure.
19333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19335 # following values.
19337 _ACEOF
19339 # The following way of writing the cache mishandles newlines in values,
19340 # but we know of no workaround that is simple, portable, and efficient.
19341 # So, we kill variables containing newlines.
19342 # Ultrix sh set writes to stderr and can't be redirected directly,
19343 # and sets the high bit in the cache file unless we assign to the vars.
19345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19346 eval ac_val=\$$ac_var
19347 case $ac_val in #(
19348 *${as_nl}*)
19349 case $ac_var in #(
19350 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19352 esac
19353 case $ac_var in #(
19354 _ | IFS | as_nl) ;; #(
19355 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19356 *) { eval $ac_var=; unset $ac_var;} ;;
19357 esac ;;
19358 esac
19359 done
19361 (set) 2>&1 |
19362 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19363 *${as_nl}ac_space=\ *)
19364 # `set' does not quote correctly, so add quotes: double-quote
19365 # substitution turns \\\\ into \\, and sed turns \\ into \.
19366 sed -n \
19367 "s/'/'\\\\''/g;
19368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19369 ;; #(
19371 # `set' quotes correctly as required by POSIX, so do not add quotes.
19372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19374 esac |
19375 sort
19377 sed '
19378 /^ac_cv_env_/b end
19379 t clear
19380 :clear
19381 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19382 t end
19383 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19384 :end' >>confcache
19385 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19386 if test -w "$cache_file"; then
19387 if test "x$cache_file" != "x/dev/null"; then
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19389 $as_echo "$as_me: updating cache $cache_file" >&6;}
19390 if test ! -f "$cache_file" || test -h "$cache_file"; then
19391 cat confcache >"$cache_file"
19392 else
19393 case $cache_file in #(
19394 */* | ?:*)
19395 mv -f confcache "$cache_file"$$ &&
19396 mv -f "$cache_file"$$ "$cache_file" ;; #(
19398 mv -f confcache "$cache_file" ;;
19399 esac
19402 else
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19404 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19407 rm -f confcache
19409 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19410 # Let make expand exec_prefix.
19411 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19413 DEFS=-DHAVE_CONFIG_H
19415 ac_libobjs=
19416 ac_ltlibobjs=
19418 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19419 # 1. Remove the extension, and $U if already installed.
19420 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19421 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19422 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19423 # will be set to the directory where LIBOBJS objects are built.
19424 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19425 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19426 done
19427 LIBOBJS=$ac_libobjs
19429 LTLIBOBJS=$ac_ltlibobjs
19432 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19433 as_fn_error $? "conditional \"AMDEP\" was never defined.
19434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19436 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19437 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19440 if test -n "$EXEEXT"; then
19441 am__EXEEXT_TRUE=
19442 am__EXEEXT_FALSE='#'
19443 else
19444 am__EXEEXT_TRUE='#'
19445 am__EXEEXT_FALSE=
19448 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19449 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19452 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19453 as_fn_error $? "conditional \"HAVE_GENGETOPT\" was never defined.
19454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19456 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19457 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
19458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19460 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
19461 as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
19462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19464 if test -z "${HAVE_PERL_POD_CHECKER_TRUE}" && test -z "${HAVE_PERL_POD_CHECKER_FALSE}"; then
19465 as_fn_error $? "conditional \"HAVE_PERL_POD_CHECKER\" was never defined.
19466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19468 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19469 as_fn_error $? "conditional \"HAVE_POD2MAN\" was never defined.
19470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19472 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19473 as_fn_error $? "conditional \"HAVE_POD2HTML\" was never defined.
19474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19476 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19477 as_fn_error $? "conditional \"NO_ASPRINTF\" was never defined.
19478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19480 if test -z "${NO_STRUPR_TRUE}" && test -z "${NO_STRUPR_FALSE}"; then
19481 as_fn_error $? "conditional \"NO_STRUPR\" was never defined.
19482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19484 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19485 as_fn_error $? "conditional \"ENABLE_QUVI\" was never defined.
19486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19488 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19489 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
19490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19492 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19493 as_fn_error $? "conditional \"ENABLE_NSFW\" was never defined.
19494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19496 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19497 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
19498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19500 if test -z "${ENABLE_BROKEN_TRUE}" && test -z "${ENABLE_BROKEN_FALSE}"; then
19501 as_fn_error $? "conditional \"ENABLE_BROKEN\" was never defined.
19502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19504 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19505 as_fn_error $? "conditional \"WITH_MAN\" was never defined.
19506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19508 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19509 as_fn_error $? "conditional \"WITH_DOC\" was never defined.
19510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19512 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19513 as_fn_error $? "conditional \"HAVE_GNU_LD\" was never defined.
19514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19517 : "${CONFIG_STATUS=./config.status}"
19518 ac_write_fail=0
19519 ac_clean_files_save=$ac_clean_files
19520 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19522 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19523 as_write_fail=0
19524 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19525 #! $SHELL
19526 # Generated by $as_me.
19527 # Run this file to recreate the current configuration.
19528 # Compiler output produced by configure, useful for debugging
19529 # configure, is in config.log if it exists.
19531 debug=false
19532 ac_cs_recheck=false
19533 ac_cs_silent=false
19535 SHELL=\${CONFIG_SHELL-$SHELL}
19536 export SHELL
19537 _ASEOF
19538 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19539 ## -------------------- ##
19540 ## M4sh Initialization. ##
19541 ## -------------------- ##
19543 # Be more Bourne compatible
19544 DUALCASE=1; export DUALCASE # for MKS sh
19545 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19546 emulate sh
19547 NULLCMD=:
19548 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19549 # is contrary to our usage. Disable this feature.
19550 alias -g '${1+"$@"}'='"$@"'
19551 setopt NO_GLOB_SUBST
19552 else
19553 case `(set -o) 2>/dev/null` in #(
19554 *posix*) :
19555 set -o posix ;; #(
19556 *) :
19558 esac
19562 as_nl='
19564 export as_nl
19565 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19566 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19568 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19569 # Prefer a ksh shell builtin over an external printf program on Solaris,
19570 # but without wasting forks for bash or zsh.
19571 if test -z "$BASH_VERSION$ZSH_VERSION" \
19572 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19573 as_echo='print -r --'
19574 as_echo_n='print -rn --'
19575 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19576 as_echo='printf %s\n'
19577 as_echo_n='printf %s'
19578 else
19579 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19580 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19581 as_echo_n='/usr/ucb/echo -n'
19582 else
19583 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19584 as_echo_n_body='eval
19585 arg=$1;
19586 case $arg in #(
19587 *"$as_nl"*)
19588 expr "X$arg" : "X\\(.*\\)$as_nl";
19589 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19590 esac;
19591 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19593 export as_echo_n_body
19594 as_echo_n='sh -c $as_echo_n_body as_echo'
19596 export as_echo_body
19597 as_echo='sh -c $as_echo_body as_echo'
19600 # The user is always right.
19601 if test "${PATH_SEPARATOR+set}" != set; then
19602 PATH_SEPARATOR=:
19603 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19604 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19605 PATH_SEPARATOR=';'
19610 # IFS
19611 # We need space, tab and new line, in precisely that order. Quoting is
19612 # there to prevent editors from complaining about space-tab.
19613 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19614 # splitting by setting IFS to empty value.)
19615 IFS=" "" $as_nl"
19617 # Find who we are. Look in the path if we contain no directory separator.
19618 as_myself=
19619 case $0 in #((
19620 *[\\/]* ) as_myself=$0 ;;
19621 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19622 for as_dir in $PATH
19624 IFS=$as_save_IFS
19625 test -z "$as_dir" && as_dir=.
19626 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19627 done
19628 IFS=$as_save_IFS
19631 esac
19632 # We did not find ourselves, most probably we were run as `sh COMMAND'
19633 # in which case we are not to be found in the path.
19634 if test "x$as_myself" = x; then
19635 as_myself=$0
19637 if test ! -f "$as_myself"; then
19638 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19639 exit 1
19642 # Unset variables that we do not need and which cause bugs (e.g. in
19643 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19644 # suppresses any "Segmentation fault" message there. '((' could
19645 # trigger a bug in pdksh 5.2.14.
19646 for as_var in BASH_ENV ENV MAIL MAILPATH
19647 do eval test x\${$as_var+set} = xset \
19648 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19649 done
19650 PS1='$ '
19651 PS2='> '
19652 PS4='+ '
19654 # NLS nuisances.
19655 LC_ALL=C
19656 export LC_ALL
19657 LANGUAGE=C
19658 export LANGUAGE
19660 # CDPATH.
19661 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19664 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19665 # ----------------------------------------
19666 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19667 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19668 # script with STATUS, using 1 if that was 0.
19669 as_fn_error ()
19671 as_status=$1; test $as_status -eq 0 && as_status=1
19672 if test "$4"; then
19673 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19674 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19676 $as_echo "$as_me: error: $2" >&2
19677 as_fn_exit $as_status
19678 } # as_fn_error
19681 # as_fn_set_status STATUS
19682 # -----------------------
19683 # Set $? to STATUS, without forking.
19684 as_fn_set_status ()
19686 return $1
19687 } # as_fn_set_status
19689 # as_fn_exit STATUS
19690 # -----------------
19691 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19692 as_fn_exit ()
19694 set +e
19695 as_fn_set_status $1
19696 exit $1
19697 } # as_fn_exit
19699 # as_fn_unset VAR
19700 # ---------------
19701 # Portably unset VAR.
19702 as_fn_unset ()
19704 { eval $1=; unset $1;}
19706 as_unset=as_fn_unset
19707 # as_fn_append VAR VALUE
19708 # ----------------------
19709 # Append the text in VALUE to the end of the definition contained in VAR. Take
19710 # advantage of any shell optimizations that allow amortized linear growth over
19711 # repeated appends, instead of the typical quadratic growth present in naive
19712 # implementations.
19713 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19714 eval 'as_fn_append ()
19716 eval $1+=\$2
19718 else
19719 as_fn_append ()
19721 eval $1=\$$1\$2
19723 fi # as_fn_append
19725 # as_fn_arith ARG...
19726 # ------------------
19727 # Perform arithmetic evaluation on the ARGs, and store the result in the
19728 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19729 # must be portable across $(()) and expr.
19730 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19731 eval 'as_fn_arith ()
19733 as_val=$(( $* ))
19735 else
19736 as_fn_arith ()
19738 as_val=`expr "$@" || test $? -eq 1`
19740 fi # as_fn_arith
19743 if expr a : '\(a\)' >/dev/null 2>&1 &&
19744 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19745 as_expr=expr
19746 else
19747 as_expr=false
19750 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19751 as_basename=basename
19752 else
19753 as_basename=false
19756 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19757 as_dirname=dirname
19758 else
19759 as_dirname=false
19762 as_me=`$as_basename -- "$0" ||
19763 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19764 X"$0" : 'X\(//\)$' \| \
19765 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19766 $as_echo X/"$0" |
19767 sed '/^.*\/\([^/][^/]*\)\/*$/{
19768 s//\1/
19771 /^X\/\(\/\/\)$/{
19772 s//\1/
19775 /^X\/\(\/\).*/{
19776 s//\1/
19779 s/.*/./; q'`
19781 # Avoid depending upon Character Ranges.
19782 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19783 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19784 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19785 as_cr_digits='0123456789'
19786 as_cr_alnum=$as_cr_Letters$as_cr_digits
19788 ECHO_C= ECHO_N= ECHO_T=
19789 case `echo -n x` in #(((((
19790 -n*)
19791 case `echo 'xy\c'` in
19792 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19793 xy) ECHO_C='\c';;
19794 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19795 ECHO_T=' ';;
19796 esac;;
19798 ECHO_N='-n';;
19799 esac
19801 rm -f conf$$ conf$$.exe conf$$.file
19802 if test -d conf$$.dir; then
19803 rm -f conf$$.dir/conf$$.file
19804 else
19805 rm -f conf$$.dir
19806 mkdir conf$$.dir 2>/dev/null
19808 if (echo >conf$$.file) 2>/dev/null; then
19809 if ln -s conf$$.file conf$$ 2>/dev/null; then
19810 as_ln_s='ln -s'
19811 # ... but there are two gotchas:
19812 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19813 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19814 # In both cases, we have to default to `cp -p'.
19815 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19816 as_ln_s='cp -p'
19817 elif ln conf$$.file conf$$ 2>/dev/null; then
19818 as_ln_s=ln
19819 else
19820 as_ln_s='cp -p'
19822 else
19823 as_ln_s='cp -p'
19825 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19826 rmdir conf$$.dir 2>/dev/null
19829 # as_fn_mkdir_p
19830 # -------------
19831 # Create "$as_dir" as a directory, including parents if necessary.
19832 as_fn_mkdir_p ()
19835 case $as_dir in #(
19836 -*) as_dir=./$as_dir;;
19837 esac
19838 test -d "$as_dir" || eval $as_mkdir_p || {
19839 as_dirs=
19840 while :; do
19841 case $as_dir in #(
19842 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19843 *) as_qdir=$as_dir;;
19844 esac
19845 as_dirs="'$as_qdir' $as_dirs"
19846 as_dir=`$as_dirname -- "$as_dir" ||
19847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19848 X"$as_dir" : 'X\(//\)[^/]' \| \
19849 X"$as_dir" : 'X\(//\)$' \| \
19850 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19851 $as_echo X"$as_dir" |
19852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19853 s//\1/
19856 /^X\(\/\/\)[^/].*/{
19857 s//\1/
19860 /^X\(\/\/\)$/{
19861 s//\1/
19864 /^X\(\/\).*/{
19865 s//\1/
19868 s/.*/./; q'`
19869 test -d "$as_dir" && break
19870 done
19871 test -z "$as_dirs" || eval "mkdir $as_dirs"
19872 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19875 } # as_fn_mkdir_p
19876 if mkdir -p . 2>/dev/null; then
19877 as_mkdir_p='mkdir -p "$as_dir"'
19878 else
19879 test -d ./-p && rmdir ./-p
19880 as_mkdir_p=false
19883 if test -x / >/dev/null 2>&1; then
19884 as_test_x='test -x'
19885 else
19886 if ls -dL / >/dev/null 2>&1; then
19887 as_ls_L_option=L
19888 else
19889 as_ls_L_option=
19891 as_test_x='
19892 eval sh -c '\''
19893 if test -d "$1"; then
19894 test -d "$1/.";
19895 else
19896 case $1 in #(
19897 -*)set "./$1";;
19898 esac;
19899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19900 ???[sx]*):;;*)false;;esac;fi
19901 '\'' sh
19904 as_executable_p=$as_test_x
19906 # Sed expression to map a string onto a valid CPP name.
19907 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19909 # Sed expression to map a string onto a valid variable name.
19910 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19913 exec 6>&1
19914 ## ----------------------------------- ##
19915 ## Main body of $CONFIG_STATUS script. ##
19916 ## ----------------------------------- ##
19917 _ASEOF
19918 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19921 # Save the log message, to keep $0 and so on meaningful, and to
19922 # report actual input values of CONFIG_FILES etc. instead of their
19923 # values after options handling.
19924 ac_log="
19925 This file was extended by quvi $as_me 0.2.10, which was
19926 generated by GNU Autoconf 2.68. Invocation command line was
19928 CONFIG_FILES = $CONFIG_FILES
19929 CONFIG_HEADERS = $CONFIG_HEADERS
19930 CONFIG_LINKS = $CONFIG_LINKS
19931 CONFIG_COMMANDS = $CONFIG_COMMANDS
19932 $ $0 $@
19934 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19937 _ACEOF
19939 case $ac_config_files in *"
19940 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19941 esac
19943 case $ac_config_headers in *"
19944 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19945 esac
19948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19949 # Files that config.status was made for.
19950 config_files="$ac_config_files"
19951 config_headers="$ac_config_headers"
19952 config_commands="$ac_config_commands"
19954 _ACEOF
19956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19957 ac_cs_usage="\
19958 \`$as_me' instantiates files and other configuration actions
19959 from templates according to the current configuration. Unless the files
19960 and actions are specified as TAGs, all are instantiated by default.
19962 Usage: $0 [OPTION]... [TAG]...
19964 -h, --help print this help, then exit
19965 -V, --version print version number and configuration settings, then exit
19966 --config print configuration, then exit
19967 -q, --quiet, --silent
19968 do not print progress messages
19969 -d, --debug don't remove temporary files
19970 --recheck update $as_me by reconfiguring in the same conditions
19971 --file=FILE[:TEMPLATE]
19972 instantiate the configuration file FILE
19973 --header=FILE[:TEMPLATE]
19974 instantiate the configuration header FILE
19976 Configuration files:
19977 $config_files
19979 Configuration headers:
19980 $config_headers
19982 Configuration commands:
19983 $config_commands
19985 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
19986 quvi home page: <http://quvi.sourceforge.net/>."
19988 _ACEOF
19989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19990 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19991 ac_cs_version="\\
19992 quvi config.status 0.2.10
19993 configured by $0, generated by GNU Autoconf 2.68,
19994 with options \\"\$ac_cs_config\\"
19996 Copyright (C) 2010 Free Software Foundation, Inc.
19997 This config.status script is free software; the Free Software Foundation
19998 gives unlimited permission to copy, distribute and modify it."
20000 ac_pwd='$ac_pwd'
20001 srcdir='$srcdir'
20002 INSTALL='$INSTALL'
20003 MKDIR_P='$MKDIR_P'
20004 AWK='$AWK'
20005 test -n "\$AWK" || AWK=awk
20006 _ACEOF
20008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20009 # The default lists apply if the user does not specify any file.
20010 ac_need_defaults=:
20011 while test $# != 0
20013 case $1 in
20014 --*=?*)
20015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20016 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20017 ac_shift=:
20019 --*=)
20020 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20021 ac_optarg=
20022 ac_shift=:
20025 ac_option=$1
20026 ac_optarg=$2
20027 ac_shift=shift
20029 esac
20031 case $ac_option in
20032 # Handling of the options.
20033 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20034 ac_cs_recheck=: ;;
20035 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20036 $as_echo "$ac_cs_version"; exit ;;
20037 --config | --confi | --conf | --con | --co | --c )
20038 $as_echo "$ac_cs_config"; exit ;;
20039 --debug | --debu | --deb | --de | --d | -d )
20040 debug=: ;;
20041 --file | --fil | --fi | --f )
20042 $ac_shift
20043 case $ac_optarg in
20044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20045 '') as_fn_error $? "missing file argument" ;;
20046 esac
20047 as_fn_append CONFIG_FILES " '$ac_optarg'"
20048 ac_need_defaults=false;;
20049 --header | --heade | --head | --hea )
20050 $ac_shift
20051 case $ac_optarg in
20052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20053 esac
20054 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20055 ac_need_defaults=false;;
20056 --he | --h)
20057 # Conflict between --help and --header
20058 as_fn_error $? "ambiguous option: \`$1'
20059 Try \`$0 --help' for more information.";;
20060 --help | --hel | -h )
20061 $as_echo "$ac_cs_usage"; exit ;;
20062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20063 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20064 ac_cs_silent=: ;;
20066 # This is an error.
20067 -*) as_fn_error $? "unrecognized option: \`$1'
20068 Try \`$0 --help' for more information." ;;
20070 *) as_fn_append ac_config_targets " $1"
20071 ac_need_defaults=false ;;
20073 esac
20074 shift
20075 done
20077 ac_configure_extra_args=
20079 if $ac_cs_silent; then
20080 exec 6>/dev/null
20081 ac_configure_extra_args="$ac_configure_extra_args --silent"
20084 _ACEOF
20085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20086 if \$ac_cs_recheck; then
20087 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20088 shift
20089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20090 CONFIG_SHELL='$SHELL'
20091 export CONFIG_SHELL
20092 exec "\$@"
20095 _ACEOF
20096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20097 exec 5>>config.log
20099 echo
20100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20101 ## Running $as_me. ##
20102 _ASBOX
20103 $as_echo "$ac_log"
20104 } >&5
20106 _ACEOF
20107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20109 # INIT-COMMANDS
20111 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20114 # The HP-UX ksh and POSIX shell print the target directory to stdout
20115 # if CDPATH is set.
20116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20118 sed_quote_subst='$sed_quote_subst'
20119 double_quote_subst='$double_quote_subst'
20120 delay_variable_subst='$delay_variable_subst'
20121 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20122 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20123 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20124 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20125 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20126 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20127 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20128 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20129 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20130 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20131 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20132 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20133 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20134 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20135 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20136 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20137 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20138 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20139 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20140 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20141 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20142 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20143 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20144 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20145 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20146 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20147 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20148 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20149 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20150 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20151 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20152 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20153 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20154 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20155 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20156 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20157 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20158 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20159 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20160 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20161 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20162 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20163 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20164 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20165 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20166 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20167 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20168 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20169 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20170 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20171 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20172 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20173 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20174 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20175 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20176 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"`'
20177 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20178 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20179 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20180 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20181 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20182 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20183 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20184 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20185 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20186 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20187 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20188 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20189 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20190 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20191 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20192 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20193 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20194 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20195 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20196 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20197 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20198 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20199 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20200 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20201 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20202 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20203 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20204 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20205 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20206 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20207 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20208 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20209 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20210 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20211 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20212 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20213 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20214 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20215 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20216 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20217 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20218 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20219 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20220 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20221 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20222 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20223 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20224 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20225 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20226 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20227 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20228 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20229 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20230 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20231 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20232 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20233 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20234 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20235 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20236 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20237 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20238 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20239 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20240 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20241 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20242 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20243 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20244 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20245 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20246 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20247 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20248 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20249 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20250 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20251 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20252 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20253 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20254 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20255 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20256 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20257 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20258 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20259 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20260 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20261 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20262 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20263 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20264 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20265 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20266 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20267 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20268 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20269 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20270 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20271 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20272 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20273 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20274 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20275 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20276 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20277 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20278 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20279 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20280 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20281 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20282 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20283 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20284 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20285 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20286 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20287 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20288 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20289 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20290 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20291 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20292 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20293 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20294 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20295 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20296 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20297 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20298 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20299 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20300 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20301 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20302 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20303 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20304 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20305 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20307 LTCC='$LTCC'
20308 LTCFLAGS='$LTCFLAGS'
20309 compiler='$compiler_DEFAULT'
20311 # A function that is used when there is no print builtin or printf.
20312 func_fallback_echo ()
20314 eval 'cat <<_LTECHO_EOF
20316 _LTECHO_EOF'
20319 # Quote evaled strings.
20320 for var in SHELL \
20321 ECHO \
20322 SED \
20323 GREP \
20324 EGREP \
20325 FGREP \
20326 LD \
20327 NM \
20328 LN_S \
20329 lt_SP2NL \
20330 lt_NL2SP \
20331 reload_flag \
20332 OBJDUMP \
20333 deplibs_check_method \
20334 file_magic_cmd \
20335 file_magic_glob \
20336 want_nocaseglob \
20337 DLLTOOL \
20338 sharedlib_from_linklib_cmd \
20339 AR \
20340 AR_FLAGS \
20341 archiver_list_spec \
20342 STRIP \
20343 RANLIB \
20344 CC \
20345 CFLAGS \
20346 compiler \
20347 lt_cv_sys_global_symbol_pipe \
20348 lt_cv_sys_global_symbol_to_cdecl \
20349 lt_cv_sys_global_symbol_to_c_name_address \
20350 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20351 nm_file_list_spec \
20352 lt_prog_compiler_no_builtin_flag \
20353 lt_prog_compiler_pic \
20354 lt_prog_compiler_wl \
20355 lt_prog_compiler_static \
20356 lt_cv_prog_compiler_c_o \
20357 need_locks \
20358 MANIFEST_TOOL \
20359 DSYMUTIL \
20360 NMEDIT \
20361 LIPO \
20362 OTOOL \
20363 OTOOL64 \
20364 shrext_cmds \
20365 export_dynamic_flag_spec \
20366 whole_archive_flag_spec \
20367 compiler_needs_object \
20368 with_gnu_ld \
20369 allow_undefined_flag \
20370 no_undefined_flag \
20371 hardcode_libdir_flag_spec \
20372 hardcode_libdir_flag_spec_ld \
20373 hardcode_libdir_separator \
20374 exclude_expsyms \
20375 include_expsyms \
20376 file_list_spec \
20377 variables_saved_for_relink \
20378 libname_spec \
20379 library_names_spec \
20380 soname_spec \
20381 install_override_mode \
20382 finish_eval \
20383 old_striplib \
20384 striplib \
20385 compiler_lib_search_dirs \
20386 predep_objects \
20387 postdep_objects \
20388 predeps \
20389 postdeps \
20390 compiler_lib_search_path \
20391 LD_CXX \
20392 reload_flag_CXX \
20393 compiler_CXX \
20394 lt_prog_compiler_no_builtin_flag_CXX \
20395 lt_prog_compiler_pic_CXX \
20396 lt_prog_compiler_wl_CXX \
20397 lt_prog_compiler_static_CXX \
20398 lt_cv_prog_compiler_c_o_CXX \
20399 export_dynamic_flag_spec_CXX \
20400 whole_archive_flag_spec_CXX \
20401 compiler_needs_object_CXX \
20402 with_gnu_ld_CXX \
20403 allow_undefined_flag_CXX \
20404 no_undefined_flag_CXX \
20405 hardcode_libdir_flag_spec_CXX \
20406 hardcode_libdir_flag_spec_ld_CXX \
20407 hardcode_libdir_separator_CXX \
20408 exclude_expsyms_CXX \
20409 include_expsyms_CXX \
20410 file_list_spec_CXX \
20411 compiler_lib_search_dirs_CXX \
20412 predep_objects_CXX \
20413 postdep_objects_CXX \
20414 predeps_CXX \
20415 postdeps_CXX \
20416 compiler_lib_search_path_CXX; do
20417 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20418 *[\\\\\\\`\\"\\\$]*)
20419 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20422 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20424 esac
20425 done
20427 # Double-quote double-evaled strings.
20428 for var in reload_cmds \
20429 old_postinstall_cmds \
20430 old_postuninstall_cmds \
20431 old_archive_cmds \
20432 extract_expsyms_cmds \
20433 old_archive_from_new_cmds \
20434 old_archive_from_expsyms_cmds \
20435 archive_cmds \
20436 archive_expsym_cmds \
20437 module_cmds \
20438 module_expsym_cmds \
20439 export_symbols_cmds \
20440 prelink_cmds \
20441 postlink_cmds \
20442 postinstall_cmds \
20443 postuninstall_cmds \
20444 finish_cmds \
20445 sys_lib_search_path_spec \
20446 sys_lib_dlsearch_path_spec \
20447 reload_cmds_CXX \
20448 old_archive_cmds_CXX \
20449 old_archive_from_new_cmds_CXX \
20450 old_archive_from_expsyms_cmds_CXX \
20451 archive_cmds_CXX \
20452 archive_expsym_cmds_CXX \
20453 module_cmds_CXX \
20454 module_expsym_cmds_CXX \
20455 export_symbols_cmds_CXX \
20456 prelink_cmds_CXX \
20457 postlink_cmds_CXX; do
20458 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20459 *[\\\\\\\`\\"\\\$]*)
20460 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20463 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20465 esac
20466 done
20468 ac_aux_dir='$ac_aux_dir'
20469 xsi_shell='$xsi_shell'
20470 lt_shell_append='$lt_shell_append'
20472 # See if we are running on zsh, and set the options which allow our
20473 # commands through without removal of \ escapes INIT.
20474 if test -n "\${ZSH_VERSION+set}" ; then
20475 setopt NO_GLOB_SUBST
20479 PACKAGE='$PACKAGE'
20480 VERSION='$VERSION'
20481 TIMESTAMP='$TIMESTAMP'
20482 RM='$RM'
20483 ofile='$ofile'
20490 _ACEOF
20492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20494 # Handling of arguments.
20495 for ac_config_target in $ac_config_targets
20497 case $ac_config_target in
20498 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20499 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20500 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20501 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20502 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20503 "include/quvi/Makefile") CONFIG_FILES="$CONFIG_FILES include/quvi/Makefile" ;;
20504 "include/quvi/quvi.h") CONFIG_FILES="$CONFIG_FILES include/quvi/quvi.h" ;;
20505 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20506 "man1/Makefile") CONFIG_FILES="$CONFIG_FILES man1/Makefile" ;;
20507 "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
20508 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20509 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20510 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20511 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20512 "tests/quviTest.pm") CONFIG_FILES="$CONFIG_FILES tests/quviTest.pm" ;;
20513 "libquvi.pc") CONFIG_FILES="$CONFIG_FILES libquvi.pc" ;;
20514 "doxygen.conf") CONFIG_FILES="$CONFIG_FILES doxygen.conf" ;;
20516 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20517 esac
20518 done
20521 # If the user did not use the arguments to specify the items to instantiate,
20522 # then the envvar interface is used. Set only those that are not.
20523 # We use the long form for the default assignment because of an extremely
20524 # bizarre bug on SunOS 4.1.3.
20525 if $ac_need_defaults; then
20526 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20527 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20528 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20531 # Have a temporary directory for convenience. Make it in the build tree
20532 # simply because there is no reason against having it here, and in addition,
20533 # creating and moving files from /tmp can sometimes cause problems.
20534 # Hook for its removal unless debugging.
20535 # Note that there is a small window in which the directory will not be cleaned:
20536 # after its creation but before its name has been assigned to `$tmp'.
20537 $debug ||
20539 tmp= ac_tmp=
20540 trap 'exit_status=$?
20541 : "${ac_tmp:=$tmp}"
20542 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20544 trap 'as_fn_exit 1' 1 2 13 15
20546 # Create a (secure) tmp directory for tmp files.
20549 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20550 test -d "$tmp"
20551 } ||
20553 tmp=./conf$$-$RANDOM
20554 (umask 077 && mkdir "$tmp")
20555 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20556 ac_tmp=$tmp
20558 # Set up the scripts for CONFIG_FILES section.
20559 # No need to generate them if there are no CONFIG_FILES.
20560 # This happens for instance with `./config.status config.h'.
20561 if test -n "$CONFIG_FILES"; then
20564 ac_cr=`echo X | tr X '\015'`
20565 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20566 # But we know of no other shell where ac_cr would be empty at this
20567 # point, so we can use a bashism as a fallback.
20568 if test "x$ac_cr" = x; then
20569 eval ac_cr=\$\'\\r\'
20571 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20572 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20573 ac_cs_awk_cr='\\r'
20574 else
20575 ac_cs_awk_cr=$ac_cr
20578 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20579 _ACEOF
20583 echo "cat >conf$$subs.awk <<_ACEOF" &&
20584 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20585 echo "_ACEOF"
20586 } >conf$$subs.sh ||
20587 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20588 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20589 ac_delim='%!_!# '
20590 for ac_last_try in false false false false false :; do
20591 . ./conf$$subs.sh ||
20592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20594 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20595 if test $ac_delim_n = $ac_delim_num; then
20596 break
20597 elif $ac_last_try; then
20598 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20599 else
20600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20602 done
20603 rm -f conf$$subs.sh
20605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20606 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20607 _ACEOF
20608 sed -n '
20610 s/^/S["/; s/!.*/"]=/
20613 s/^[^!]*!//
20614 :repl
20615 t repl
20616 s/'"$ac_delim"'$//
20617 t delim
20620 s/\(.\{148\}\)..*/\1/
20621 t more1
20622 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20625 b repl
20626 :more1
20627 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20630 s/.\{148\}//
20631 t nl
20632 :delim
20634 s/\(.\{148\}\)..*/\1/
20635 t more2
20636 s/["\\]/\\&/g; s/^/"/; s/$/"/
20639 :more2
20640 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20643 s/.\{148\}//
20644 t delim
20645 ' <conf$$subs.awk | sed '
20646 /^[^""]/{
20648 s/\n//
20650 ' >>$CONFIG_STATUS || ac_write_fail=1
20651 rm -f conf$$subs.awk
20652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20653 _ACAWK
20654 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20655 for (key in S) S_is_set[key] = 1
20656 FS = "\a"
20660 line = $ 0
20661 nfields = split(line, field, "@")
20662 substed = 0
20663 len = length(field[1])
20664 for (i = 2; i < nfields; i++) {
20665 key = field[i]
20666 keylen = length(key)
20667 if (S_is_set[key]) {
20668 value = S[key]
20669 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20670 len += length(value) + length(field[++i])
20671 substed = 1
20672 } else
20673 len += 1 + keylen
20676 print line
20679 _ACAWK
20680 _ACEOF
20681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20682 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20683 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20684 else
20686 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20687 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20688 _ACEOF
20690 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20691 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20692 # trailing colons and then remove the whole line if VPATH becomes empty
20693 # (actually we leave an empty line to preserve line numbers).
20694 if test "x$srcdir" = x.; then
20695 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20697 s///
20698 s/^/:/
20699 s/[ ]*$/:/
20700 s/:\$(srcdir):/:/g
20701 s/:\${srcdir}:/:/g
20702 s/:@srcdir@:/:/g
20703 s/^:*//
20704 s/:*$//
20706 s/\(=[ ]*\).*/\1/
20708 s/\n//
20709 s/^[^=]*=[ ]*$//
20713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20714 fi # test -n "$CONFIG_FILES"
20716 # Set up the scripts for CONFIG_HEADERS section.
20717 # No need to generate them if there are no CONFIG_HEADERS.
20718 # This happens for instance with `./config.status Makefile'.
20719 if test -n "$CONFIG_HEADERS"; then
20720 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20721 BEGIN {
20722 _ACEOF
20724 # Transform confdefs.h into an awk script `defines.awk', embedded as
20725 # here-document in config.status, that substitutes the proper values into
20726 # config.h.in to produce config.h.
20728 # Create a delimiter string that does not exist in confdefs.h, to ease
20729 # handling of long lines.
20730 ac_delim='%!_!# '
20731 for ac_last_try in false false :; do
20732 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20733 if test -z "$ac_tt"; then
20734 break
20735 elif $ac_last_try; then
20736 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20737 else
20738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20740 done
20742 # For the awk script, D is an array of macro values keyed by name,
20743 # likewise P contains macro parameters if any. Preserve backslash
20744 # newline sequences.
20746 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20747 sed -n '
20748 s/.\{148\}/&'"$ac_delim"'/g
20749 t rset
20750 :rset
20751 s/^[ ]*#[ ]*define[ ][ ]*/ /
20752 t def
20754 :def
20755 s/\\$//
20756 t bsnl
20757 s/["\\]/\\&/g
20758 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20759 D["\1"]=" \3"/p
20760 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20762 :bsnl
20763 s/["\\]/\\&/g
20764 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20765 D["\1"]=" \3\\\\\\n"\\/p
20766 t cont
20767 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20768 t cont
20770 :cont
20772 s/.\{148\}/&'"$ac_delim"'/g
20773 t clear
20774 :clear
20775 s/\\$//
20776 t bsnlc
20777 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20779 :bsnlc
20780 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20781 b cont
20782 ' <confdefs.h | sed '
20783 s/'"$ac_delim"'/"\\\
20784 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20787 for (key in D) D_is_set[key] = 1
20788 FS = "\a"
20790 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20791 line = \$ 0
20792 split(line, arg, " ")
20793 if (arg[1] == "#") {
20794 defundef = arg[2]
20795 mac1 = arg[3]
20796 } else {
20797 defundef = substr(arg[1], 2)
20798 mac1 = arg[2]
20800 split(mac1, mac2, "(") #)
20801 macro = mac2[1]
20802 prefix = substr(line, 1, index(line, defundef) - 1)
20803 if (D_is_set[macro]) {
20804 # Preserve the white space surrounding the "#".
20805 print prefix "define", macro P[macro] D[macro]
20806 next
20807 } else {
20808 # Replace #undef with comments. This is necessary, for example,
20809 # in the case of _POSIX_SOURCE, which is predefined and required
20810 # on some systems where configure will not decide to define it.
20811 if (defundef == "undef") {
20812 print "/*", prefix defundef, macro, "*/"
20813 next
20817 { print }
20818 _ACAWK
20819 _ACEOF
20820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20821 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20822 fi # test -n "$CONFIG_HEADERS"
20825 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20826 shift
20827 for ac_tag
20829 case $ac_tag in
20830 :[FHLC]) ac_mode=$ac_tag; continue;;
20831 esac
20832 case $ac_mode$ac_tag in
20833 :[FHL]*:*);;
20834 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20835 :[FH]-) ac_tag=-:-;;
20836 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20837 esac
20838 ac_save_IFS=$IFS
20839 IFS=:
20840 set x $ac_tag
20841 IFS=$ac_save_IFS
20842 shift
20843 ac_file=$1
20844 shift
20846 case $ac_mode in
20847 :L) ac_source=$1;;
20848 :[FH])
20849 ac_file_inputs=
20850 for ac_f
20852 case $ac_f in
20853 -) ac_f="$ac_tmp/stdin";;
20854 *) # Look for the file first in the build tree, then in the source tree
20855 # (if the path is not absolute). The absolute path cannot be DOS-style,
20856 # because $ac_f cannot contain `:'.
20857 test -f "$ac_f" ||
20858 case $ac_f in
20859 [\\/$]*) false;;
20860 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20861 esac ||
20862 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20863 esac
20864 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20865 as_fn_append ac_file_inputs " '$ac_f'"
20866 done
20868 # Let's still pretend it is `configure' which instantiates (i.e., don't
20869 # use $as_me), people would be surprised to read:
20870 # /* config.h. Generated by config.status. */
20871 configure_input='Generated from '`
20872 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20873 `' by configure.'
20874 if test x"$ac_file" != x-; then
20875 configure_input="$ac_file. $configure_input"
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20877 $as_echo "$as_me: creating $ac_file" >&6;}
20879 # Neutralize special characters interpreted by sed in replacement strings.
20880 case $configure_input in #(
20881 *\&* | *\|* | *\\* )
20882 ac_sed_conf_input=`$as_echo "$configure_input" |
20883 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20884 *) ac_sed_conf_input=$configure_input;;
20885 esac
20887 case $ac_tag in
20888 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20889 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20890 esac
20892 esac
20894 ac_dir=`$as_dirname -- "$ac_file" ||
20895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20896 X"$ac_file" : 'X\(//\)[^/]' \| \
20897 X"$ac_file" : 'X\(//\)$' \| \
20898 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20899 $as_echo X"$ac_file" |
20900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20901 s//\1/
20904 /^X\(\/\/\)[^/].*/{
20905 s//\1/
20908 /^X\(\/\/\)$/{
20909 s//\1/
20912 /^X\(\/\).*/{
20913 s//\1/
20916 s/.*/./; q'`
20917 as_dir="$ac_dir"; as_fn_mkdir_p
20918 ac_builddir=.
20920 case "$ac_dir" in
20921 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20923 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20924 # A ".." for each directory in $ac_dir_suffix.
20925 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20926 case $ac_top_builddir_sub in
20927 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20928 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20929 esac ;;
20930 esac
20931 ac_abs_top_builddir=$ac_pwd
20932 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20933 # for backward compatibility:
20934 ac_top_builddir=$ac_top_build_prefix
20936 case $srcdir in
20937 .) # We are building in place.
20938 ac_srcdir=.
20939 ac_top_srcdir=$ac_top_builddir_sub
20940 ac_abs_top_srcdir=$ac_pwd ;;
20941 [\\/]* | ?:[\\/]* ) # Absolute name.
20942 ac_srcdir=$srcdir$ac_dir_suffix;
20943 ac_top_srcdir=$srcdir
20944 ac_abs_top_srcdir=$srcdir ;;
20945 *) # Relative name.
20946 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20947 ac_top_srcdir=$ac_top_build_prefix$srcdir
20948 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20949 esac
20950 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20953 case $ac_mode in
20956 # CONFIG_FILE
20959 case $INSTALL in
20960 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20961 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20962 esac
20963 ac_MKDIR_P=$MKDIR_P
20964 case $MKDIR_P in
20965 [\\/$]* | ?:[\\/]* ) ;;
20966 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20967 esac
20968 _ACEOF
20970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20971 # If the template does not know about datarootdir, expand it.
20972 # FIXME: This hack should be removed a few years after 2.60.
20973 ac_datarootdir_hack=; ac_datarootdir_seen=
20974 ac_sed_dataroot='
20975 /datarootdir/ {
20979 /@datadir@/p
20980 /@docdir@/p
20981 /@infodir@/p
20982 /@localedir@/p
20983 /@mandir@/p'
20984 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20985 *datarootdir*) ac_datarootdir_seen=yes;;
20986 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20988 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20989 _ACEOF
20990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20991 ac_datarootdir_hack='
20992 s&@datadir@&$datadir&g
20993 s&@docdir@&$docdir&g
20994 s&@infodir@&$infodir&g
20995 s&@localedir@&$localedir&g
20996 s&@mandir@&$mandir&g
20997 s&\\\${datarootdir}&$datarootdir&g' ;;
20998 esac
20999 _ACEOF
21001 # Neutralize VPATH when `$srcdir' = `.'.
21002 # Shell code in configure.ac might set extrasub.
21003 # FIXME: do we really want to maintain this feature?
21004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21005 ac_sed_extra="$ac_vpsub
21006 $extrasub
21007 _ACEOF
21008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21010 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21011 s|@configure_input@|$ac_sed_conf_input|;t t
21012 s&@top_builddir@&$ac_top_builddir_sub&;t t
21013 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21014 s&@srcdir@&$ac_srcdir&;t t
21015 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21016 s&@top_srcdir@&$ac_top_srcdir&;t t
21017 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21018 s&@builddir@&$ac_builddir&;t t
21019 s&@abs_builddir@&$ac_abs_builddir&;t t
21020 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21021 s&@INSTALL@&$ac_INSTALL&;t t
21022 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21023 $ac_datarootdir_hack
21025 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21026 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21028 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21029 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21030 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21031 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21033 which seems to be undefined. Please make sure it is defined" >&5
21034 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21035 which seems to be undefined. Please make sure it is defined" >&2;}
21037 rm -f "$ac_tmp/stdin"
21038 case $ac_file in
21039 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21040 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21041 esac \
21042 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21046 # CONFIG_HEADER
21048 if test x"$ac_file" != x-; then
21050 $as_echo "/* $configure_input */" \
21051 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21052 } >"$ac_tmp/config.h" \
21053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21054 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21056 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21057 else
21058 rm -f "$ac_file"
21059 mv "$ac_tmp/config.h" "$ac_file" \
21060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21062 else
21063 $as_echo "/* $configure_input */" \
21064 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21065 || as_fn_error $? "could not create -" "$LINENO" 5
21067 # Compute "$ac_file"'s index in $config_headers.
21068 _am_arg="$ac_file"
21069 _am_stamp_count=1
21070 for _am_header in $config_headers :; do
21071 case $_am_header in
21072 $_am_arg | $_am_arg:* )
21073 break ;;
21075 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21076 esac
21077 done
21078 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21079 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21080 X"$_am_arg" : 'X\(//\)[^/]' \| \
21081 X"$_am_arg" : 'X\(//\)$' \| \
21082 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21083 $as_echo X"$_am_arg" |
21084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21085 s//\1/
21088 /^X\(\/\/\)[^/].*/{
21089 s//\1/
21092 /^X\(\/\/\)$/{
21093 s//\1/
21096 /^X\(\/\).*/{
21097 s//\1/
21100 s/.*/./; q'`/stamp-h$_am_stamp_count
21103 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21104 $as_echo "$as_me: executing $ac_file commands" >&6;}
21106 esac
21109 case $ac_file$ac_mode in
21110 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21111 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21112 # are listed without --file. Let's play safe and only enable the eval
21113 # if we detect the quoting.
21114 case $CONFIG_FILES in
21115 *\'*) eval set x "$CONFIG_FILES" ;;
21116 *) set x $CONFIG_FILES ;;
21117 esac
21118 shift
21119 for mf
21121 # Strip MF so we end up with the name of the file.
21122 mf=`echo "$mf" | sed -e 's/:.*$//'`
21123 # Check whether this is an Automake generated Makefile or not.
21124 # We used to match only the files named `Makefile.in', but
21125 # some people rename them; so instead we look at the file content.
21126 # Grep'ing the first line is not enough: some people post-process
21127 # each Makefile.in and add a new line on top of each file to say so.
21128 # Grep'ing the whole file is not good either: AIX grep has a line
21129 # limit of 2048, but all sed's we know have understand at least 4000.
21130 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21131 dirpart=`$as_dirname -- "$mf" ||
21132 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21133 X"$mf" : 'X\(//\)[^/]' \| \
21134 X"$mf" : 'X\(//\)$' \| \
21135 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21136 $as_echo X"$mf" |
21137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21138 s//\1/
21141 /^X\(\/\/\)[^/].*/{
21142 s//\1/
21145 /^X\(\/\/\)$/{
21146 s//\1/
21149 /^X\(\/\).*/{
21150 s//\1/
21153 s/.*/./; q'`
21154 else
21155 continue
21157 # Extract the definition of DEPDIR, am__include, and am__quote
21158 # from the Makefile without running `make'.
21159 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21160 test -z "$DEPDIR" && continue
21161 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21162 test -z "am__include" && continue
21163 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21164 # When using ansi2knr, U may be empty or an underscore; expand it
21165 U=`sed -n 's/^U = //p' < "$mf"`
21166 # Find all dependency output files, they are included files with
21167 # $(DEPDIR) in their names. We invoke sed twice because it is the
21168 # simplest approach to changing $(DEPDIR) to its actual value in the
21169 # expansion.
21170 for file in `sed -n "
21171 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21172 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21173 # Make sure the directory exists.
21174 test -f "$dirpart/$file" && continue
21175 fdir=`$as_dirname -- "$file" ||
21176 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21177 X"$file" : 'X\(//\)[^/]' \| \
21178 X"$file" : 'X\(//\)$' \| \
21179 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21180 $as_echo X"$file" |
21181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21182 s//\1/
21185 /^X\(\/\/\)[^/].*/{
21186 s//\1/
21189 /^X\(\/\/\)$/{
21190 s//\1/
21193 /^X\(\/\).*/{
21194 s//\1/
21197 s/.*/./; q'`
21198 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21199 # echo "creating $dirpart/$file"
21200 echo '# dummy' > "$dirpart/$file"
21201 done
21202 done
21205 "libtool":C)
21207 # See if we are running on zsh, and set the options which allow our
21208 # commands through without removal of \ escapes.
21209 if test -n "${ZSH_VERSION+set}" ; then
21210 setopt NO_GLOB_SUBST
21213 cfgfile="${ofile}T"
21214 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21215 $RM "$cfgfile"
21217 cat <<_LT_EOF >> "$cfgfile"
21218 #! $SHELL
21220 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21221 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21222 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21223 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21225 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21226 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21227 # Inc.
21228 # Written by Gordon Matzigkeit, 1996
21230 # This file is part of GNU Libtool.
21232 # GNU Libtool is free software; you can redistribute it and/or
21233 # modify it under the terms of the GNU General Public License as
21234 # published by the Free Software Foundation; either version 2 of
21235 # the License, or (at your option) any later version.
21237 # As a special exception to the GNU General Public License,
21238 # if you distribute this file as part of a program or library that
21239 # is built using GNU Libtool, you may include this file under the
21240 # same distribution terms that you use for the rest of that program.
21242 # GNU Libtool is distributed in the hope that it will be useful,
21243 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21244 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21245 # GNU General Public License for more details.
21247 # You should have received a copy of the GNU General Public License
21248 # along with GNU Libtool; see the file COPYING. If not, a copy
21249 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21250 # obtained by writing to the Free Software Foundation, Inc.,
21251 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21254 # The names of the tagged configurations supported by this script.
21255 available_tags="CXX "
21257 # ### BEGIN LIBTOOL CONFIG
21259 # Which release of libtool.m4 was used?
21260 macro_version=$macro_version
21261 macro_revision=$macro_revision
21263 # Whether or not to build shared libraries.
21264 build_libtool_libs=$enable_shared
21266 # Whether or not to build static libraries.
21267 build_old_libs=$enable_static
21269 # What type of objects to build.
21270 pic_mode=$pic_mode
21272 # Whether or not to optimize for fast installation.
21273 fast_install=$enable_fast_install
21275 # Shell to use when invoking shell scripts.
21276 SHELL=$lt_SHELL
21278 # An echo program that protects backslashes.
21279 ECHO=$lt_ECHO
21281 # The host system.
21282 host_alias=$host_alias
21283 host=$host
21284 host_os=$host_os
21286 # The build system.
21287 build_alias=$build_alias
21288 build=$build
21289 build_os=$build_os
21291 # A sed program that does not truncate output.
21292 SED=$lt_SED
21294 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21295 Xsed="\$SED -e 1s/^X//"
21297 # A grep program that handles long lines.
21298 GREP=$lt_GREP
21300 # An ERE matcher.
21301 EGREP=$lt_EGREP
21303 # A literal string matcher.
21304 FGREP=$lt_FGREP
21306 # A BSD- or MS-compatible name lister.
21307 NM=$lt_NM
21309 # Whether we need soft or hard links.
21310 LN_S=$lt_LN_S
21312 # What is the maximum length of a command?
21313 max_cmd_len=$max_cmd_len
21315 # Object file suffix (normally "o").
21316 objext=$ac_objext
21318 # Executable file suffix (normally "").
21319 exeext=$exeext
21321 # whether the shell understands "unset".
21322 lt_unset=$lt_unset
21324 # turn spaces into newlines.
21325 SP2NL=$lt_lt_SP2NL
21327 # turn newlines into spaces.
21328 NL2SP=$lt_lt_NL2SP
21330 # convert \$build file names to \$host format.
21331 to_host_file_cmd=$lt_cv_to_host_file_cmd
21333 # convert \$build files to toolchain format.
21334 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21336 # An object symbol dumper.
21337 OBJDUMP=$lt_OBJDUMP
21339 # Method to check whether dependent libraries are shared objects.
21340 deplibs_check_method=$lt_deplibs_check_method
21342 # Command to use when deplibs_check_method = "file_magic".
21343 file_magic_cmd=$lt_file_magic_cmd
21345 # How to find potential files when deplibs_check_method = "file_magic".
21346 file_magic_glob=$lt_file_magic_glob
21348 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21349 want_nocaseglob=$lt_want_nocaseglob
21351 # DLL creation program.
21352 DLLTOOL=$lt_DLLTOOL
21354 # Command to associate shared and link libraries.
21355 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21357 # The archiver.
21358 AR=$lt_AR
21360 # Flags to create an archive.
21361 AR_FLAGS=$lt_AR_FLAGS
21363 # How to feed a file listing to the archiver.
21364 archiver_list_spec=$lt_archiver_list_spec
21366 # A symbol stripping program.
21367 STRIP=$lt_STRIP
21369 # Commands used to install an old-style archive.
21370 RANLIB=$lt_RANLIB
21371 old_postinstall_cmds=$lt_old_postinstall_cmds
21372 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21374 # Whether to use a lock for old archive extraction.
21375 lock_old_archive_extraction=$lock_old_archive_extraction
21377 # A C compiler.
21378 LTCC=$lt_CC
21380 # LTCC compiler flags.
21381 LTCFLAGS=$lt_CFLAGS
21383 # Take the output of nm and produce a listing of raw symbols and C names.
21384 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21386 # Transform the output of nm in a proper C declaration.
21387 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21389 # Transform the output of nm in a C name address pair.
21390 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21392 # Transform the output of nm in a C name address pair when lib prefix is needed.
21393 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21395 # Specify filename containing input files for \$NM.
21396 nm_file_list_spec=$lt_nm_file_list_spec
21398 # The root where to search for dependent libraries,and in which our libraries should be installed.
21399 lt_sysroot=$lt_sysroot
21401 # The name of the directory that contains temporary libtool files.
21402 objdir=$objdir
21404 # Used to examine libraries when file_magic_cmd begins with "file".
21405 MAGIC_CMD=$MAGIC_CMD
21407 # Must we lock files when doing compilation?
21408 need_locks=$lt_need_locks
21410 # Manifest tool.
21411 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21413 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21414 DSYMUTIL=$lt_DSYMUTIL
21416 # Tool to change global to local symbols on Mac OS X.
21417 NMEDIT=$lt_NMEDIT
21419 # Tool to manipulate fat objects and archives on Mac OS X.
21420 LIPO=$lt_LIPO
21422 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21423 OTOOL=$lt_OTOOL
21425 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21426 OTOOL64=$lt_OTOOL64
21428 # Old archive suffix (normally "a").
21429 libext=$libext
21431 # Shared library suffix (normally ".so").
21432 shrext_cmds=$lt_shrext_cmds
21434 # The commands to extract the exported symbol list from a shared archive.
21435 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21437 # Variables whose values should be saved in libtool wrapper scripts and
21438 # restored at link time.
21439 variables_saved_for_relink=$lt_variables_saved_for_relink
21441 # Do we need the "lib" prefix for modules?
21442 need_lib_prefix=$need_lib_prefix
21444 # Do we need a version for libraries?
21445 need_version=$need_version
21447 # Library versioning type.
21448 version_type=$version_type
21450 # Shared library runtime path variable.
21451 runpath_var=$runpath_var
21453 # Shared library path variable.
21454 shlibpath_var=$shlibpath_var
21456 # Is shlibpath searched before the hard-coded library search path?
21457 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21459 # Format of library name prefix.
21460 libname_spec=$lt_libname_spec
21462 # List of archive names. First name is the real one, the rest are links.
21463 # The last name is the one that the linker finds with -lNAME
21464 library_names_spec=$lt_library_names_spec
21466 # The coded name of the library, if different from the real name.
21467 soname_spec=$lt_soname_spec
21469 # Permission mode override for installation of shared libraries.
21470 install_override_mode=$lt_install_override_mode
21472 # Command to use after installation of a shared archive.
21473 postinstall_cmds=$lt_postinstall_cmds
21475 # Command to use after uninstallation of a shared archive.
21476 postuninstall_cmds=$lt_postuninstall_cmds
21478 # Commands used to finish a libtool library installation in a directory.
21479 finish_cmds=$lt_finish_cmds
21481 # As "finish_cmds", except a single script fragment to be evaled but
21482 # not shown.
21483 finish_eval=$lt_finish_eval
21485 # Whether we should hardcode library paths into libraries.
21486 hardcode_into_libs=$hardcode_into_libs
21488 # Compile-time system search path for libraries.
21489 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21491 # Run-time system search path for libraries.
21492 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21494 # Whether dlopen is supported.
21495 dlopen_support=$enable_dlopen
21497 # Whether dlopen of programs is supported.
21498 dlopen_self=$enable_dlopen_self
21500 # Whether dlopen of statically linked programs is supported.
21501 dlopen_self_static=$enable_dlopen_self_static
21503 # Commands to strip libraries.
21504 old_striplib=$lt_old_striplib
21505 striplib=$lt_striplib
21508 # The linker used to build libraries.
21509 LD=$lt_LD
21511 # How to create reloadable object files.
21512 reload_flag=$lt_reload_flag
21513 reload_cmds=$lt_reload_cmds
21515 # Commands used to build an old-style archive.
21516 old_archive_cmds=$lt_old_archive_cmds
21518 # A language specific compiler.
21519 CC=$lt_compiler
21521 # Is the compiler the GNU compiler?
21522 with_gcc=$GCC
21524 # Compiler flag to turn off builtin functions.
21525 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21527 # Additional compiler flags for building library objects.
21528 pic_flag=$lt_lt_prog_compiler_pic
21530 # How to pass a linker flag through the compiler.
21531 wl=$lt_lt_prog_compiler_wl
21533 # Compiler flag to prevent dynamic linking.
21534 link_static_flag=$lt_lt_prog_compiler_static
21536 # Does compiler simultaneously support -c and -o options?
21537 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21539 # Whether or not to add -lc for building shared libraries.
21540 build_libtool_need_lc=$archive_cmds_need_lc
21542 # Whether or not to disallow shared libs when runtime libs are static.
21543 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21545 # Compiler flag to allow reflexive dlopens.
21546 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21548 # Compiler flag to generate shared objects directly from archives.
21549 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21551 # Whether the compiler copes with passing no objects directly.
21552 compiler_needs_object=$lt_compiler_needs_object
21554 # Create an old-style archive from a shared archive.
21555 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21557 # Create a temporary old-style archive to link instead of a shared archive.
21558 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21560 # Commands used to build a shared archive.
21561 archive_cmds=$lt_archive_cmds
21562 archive_expsym_cmds=$lt_archive_expsym_cmds
21564 # Commands used to build a loadable module if different from building
21565 # a shared archive.
21566 module_cmds=$lt_module_cmds
21567 module_expsym_cmds=$lt_module_expsym_cmds
21569 # Whether we are building with GNU ld or not.
21570 with_gnu_ld=$lt_with_gnu_ld
21572 # Flag that allows shared libraries with undefined symbols to be built.
21573 allow_undefined_flag=$lt_allow_undefined_flag
21575 # Flag that enforces no undefined symbols.
21576 no_undefined_flag=$lt_no_undefined_flag
21578 # Flag to hardcode \$libdir into a binary during linking.
21579 # This must work even if \$libdir does not exist
21580 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21582 # If ld is used when linking, flag to hardcode \$libdir into a binary
21583 # during linking. This must work even if \$libdir does not exist.
21584 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21586 # Whether we need a single "-rpath" flag with a separated argument.
21587 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21589 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21590 # DIR into the resulting binary.
21591 hardcode_direct=$hardcode_direct
21593 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21594 # DIR into the resulting binary and the resulting library dependency is
21595 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21596 # library is relocated.
21597 hardcode_direct_absolute=$hardcode_direct_absolute
21599 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21600 # into the resulting binary.
21601 hardcode_minus_L=$hardcode_minus_L
21603 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21604 # into the resulting binary.
21605 hardcode_shlibpath_var=$hardcode_shlibpath_var
21607 # Set to "yes" if building a shared library automatically hardcodes DIR
21608 # into the library and all subsequent libraries and executables linked
21609 # against it.
21610 hardcode_automatic=$hardcode_automatic
21612 # Set to yes if linker adds runtime paths of dependent libraries
21613 # to runtime path list.
21614 inherit_rpath=$inherit_rpath
21616 # Whether libtool must link a program against all its dependency libraries.
21617 link_all_deplibs=$link_all_deplibs
21619 # Set to "yes" if exported symbols are required.
21620 always_export_symbols=$always_export_symbols
21622 # The commands to list exported symbols.
21623 export_symbols_cmds=$lt_export_symbols_cmds
21625 # Symbols that should not be listed in the preloaded symbols.
21626 exclude_expsyms=$lt_exclude_expsyms
21628 # Symbols that must always be exported.
21629 include_expsyms=$lt_include_expsyms
21631 # Commands necessary for linking programs (against libraries) with templates.
21632 prelink_cmds=$lt_prelink_cmds
21634 # Commands necessary for finishing linking programs.
21635 postlink_cmds=$lt_postlink_cmds
21637 # Specify filename containing input files.
21638 file_list_spec=$lt_file_list_spec
21640 # How to hardcode a shared library path into an executable.
21641 hardcode_action=$hardcode_action
21643 # The directories searched by this compiler when creating a shared library.
21644 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21646 # Dependencies to place before and after the objects being linked to
21647 # create a shared library.
21648 predep_objects=$lt_predep_objects
21649 postdep_objects=$lt_postdep_objects
21650 predeps=$lt_predeps
21651 postdeps=$lt_postdeps
21653 # The library search path used internally by the compiler when linking
21654 # a shared library.
21655 compiler_lib_search_path=$lt_compiler_lib_search_path
21657 # ### END LIBTOOL CONFIG
21659 _LT_EOF
21661 case $host_os in
21662 aix3*)
21663 cat <<\_LT_EOF >> "$cfgfile"
21664 # AIX sometimes has problems with the GCC collect2 program. For some
21665 # reason, if we set the COLLECT_NAMES environment variable, the problems
21666 # vanish in a puff of smoke.
21667 if test "X${COLLECT_NAMES+set}" != Xset; then
21668 COLLECT_NAMES=
21669 export COLLECT_NAMES
21671 _LT_EOF
21673 esac
21676 ltmain="$ac_aux_dir/ltmain.sh"
21679 # We use sed instead of cat because bash on DJGPP gets confused if
21680 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21681 # text mode, it properly converts lines to CR/LF. This bash problem
21682 # is reportedly fixed, but why not run on old versions too?
21683 sed '$q' "$ltmain" >> "$cfgfile" \
21684 || (rm -f "$cfgfile"; exit 1)
21686 if test x"$xsi_shell" = xyes; then
21687 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21688 func_dirname ()\
21690 \ case ${1} in\
21691 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21692 \ * ) func_dirname_result="${3}" ;;\
21693 \ esac\
21694 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21695 && mv -f "$cfgfile.tmp" "$cfgfile" \
21696 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21697 test 0 -eq $? || _lt_function_replace_fail=:
21700 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21701 func_basename ()\
21703 \ func_basename_result="${1##*/}"\
21704 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21705 && mv -f "$cfgfile.tmp" "$cfgfile" \
21706 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21707 test 0 -eq $? || _lt_function_replace_fail=:
21710 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21711 func_dirname_and_basename ()\
21713 \ case ${1} in\
21714 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21715 \ * ) func_dirname_result="${3}" ;;\
21716 \ esac\
21717 \ func_basename_result="${1##*/}"\
21718 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21719 && mv -f "$cfgfile.tmp" "$cfgfile" \
21720 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21721 test 0 -eq $? || _lt_function_replace_fail=:
21724 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21725 func_stripname ()\
21727 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21728 \ # positional parameters, so assign one to ordinary parameter first.\
21729 \ func_stripname_result=${3}\
21730 \ func_stripname_result=${func_stripname_result#"${1}"}\
21731 \ func_stripname_result=${func_stripname_result%"${2}"}\
21732 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21733 && mv -f "$cfgfile.tmp" "$cfgfile" \
21734 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21735 test 0 -eq $? || _lt_function_replace_fail=:
21738 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21739 func_split_long_opt ()\
21741 \ func_split_long_opt_name=${1%%=*}\
21742 \ func_split_long_opt_arg=${1#*=}\
21743 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21744 && mv -f "$cfgfile.tmp" "$cfgfile" \
21745 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21746 test 0 -eq $? || _lt_function_replace_fail=:
21749 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21750 func_split_short_opt ()\
21752 \ func_split_short_opt_arg=${1#??}\
21753 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21754 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21755 && mv -f "$cfgfile.tmp" "$cfgfile" \
21756 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21757 test 0 -eq $? || _lt_function_replace_fail=:
21760 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21761 func_lo2o ()\
21763 \ case ${1} in\
21764 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21765 \ *) func_lo2o_result=${1} ;;\
21766 \ esac\
21767 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21768 && mv -f "$cfgfile.tmp" "$cfgfile" \
21769 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21770 test 0 -eq $? || _lt_function_replace_fail=:
21773 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21774 func_xform ()\
21776 func_xform_result=${1%.*}.lo\
21777 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21778 && mv -f "$cfgfile.tmp" "$cfgfile" \
21779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21780 test 0 -eq $? || _lt_function_replace_fail=:
21783 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21784 func_arith ()\
21786 func_arith_result=$(( $* ))\
21787 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21788 && mv -f "$cfgfile.tmp" "$cfgfile" \
21789 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21790 test 0 -eq $? || _lt_function_replace_fail=:
21793 sed -e '/^func_len ()$/,/^} # func_len /c\
21794 func_len ()\
21796 func_len_result=${#1}\
21797 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21798 && mv -f "$cfgfile.tmp" "$cfgfile" \
21799 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21800 test 0 -eq $? || _lt_function_replace_fail=:
21804 if test x"$lt_shell_append" = xyes; then
21805 sed -e '/^func_append ()$/,/^} # func_append /c\
21806 func_append ()\
21808 eval "${1}+=\\${2}"\
21809 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21810 && mv -f "$cfgfile.tmp" "$cfgfile" \
21811 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21812 test 0 -eq $? || _lt_function_replace_fail=:
21815 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21816 func_append_quoted ()\
21818 \ func_quote_for_eval "${2}"\
21819 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21820 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21821 && mv -f "$cfgfile.tmp" "$cfgfile" \
21822 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21823 test 0 -eq $? || _lt_function_replace_fail=:
21826 # Save a `func_append' function call where possible by direct use of '+='
21827 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21828 && mv -f "$cfgfile.tmp" "$cfgfile" \
21829 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21830 test 0 -eq $? || _lt_function_replace_fail=:
21831 else
21832 # Save a `func_append' function call even when '+=' is not available
21833 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21834 && mv -f "$cfgfile.tmp" "$cfgfile" \
21835 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21836 test 0 -eq $? || _lt_function_replace_fail=:
21839 if test x"$_lt_function_replace_fail" = x":"; then
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21841 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21845 mv -f "$cfgfile" "$ofile" ||
21846 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21847 chmod +x "$ofile"
21850 cat <<_LT_EOF >> "$ofile"
21852 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21854 # The linker used to build libraries.
21855 LD=$lt_LD_CXX
21857 # How to create reloadable object files.
21858 reload_flag=$lt_reload_flag_CXX
21859 reload_cmds=$lt_reload_cmds_CXX
21861 # Commands used to build an old-style archive.
21862 old_archive_cmds=$lt_old_archive_cmds_CXX
21864 # A language specific compiler.
21865 CC=$lt_compiler_CXX
21867 # Is the compiler the GNU compiler?
21868 with_gcc=$GCC_CXX
21870 # Compiler flag to turn off builtin functions.
21871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21873 # Additional compiler flags for building library objects.
21874 pic_flag=$lt_lt_prog_compiler_pic_CXX
21876 # How to pass a linker flag through the compiler.
21877 wl=$lt_lt_prog_compiler_wl_CXX
21879 # Compiler flag to prevent dynamic linking.
21880 link_static_flag=$lt_lt_prog_compiler_static_CXX
21882 # Does compiler simultaneously support -c and -o options?
21883 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21885 # Whether or not to add -lc for building shared libraries.
21886 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21888 # Whether or not to disallow shared libs when runtime libs are static.
21889 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21891 # Compiler flag to allow reflexive dlopens.
21892 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21894 # Compiler flag to generate shared objects directly from archives.
21895 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21897 # Whether the compiler copes with passing no objects directly.
21898 compiler_needs_object=$lt_compiler_needs_object_CXX
21900 # Create an old-style archive from a shared archive.
21901 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21903 # Create a temporary old-style archive to link instead of a shared archive.
21904 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21906 # Commands used to build a shared archive.
21907 archive_cmds=$lt_archive_cmds_CXX
21908 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21910 # Commands used to build a loadable module if different from building
21911 # a shared archive.
21912 module_cmds=$lt_module_cmds_CXX
21913 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21915 # Whether we are building with GNU ld or not.
21916 with_gnu_ld=$lt_with_gnu_ld_CXX
21918 # Flag that allows shared libraries with undefined symbols to be built.
21919 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21921 # Flag that enforces no undefined symbols.
21922 no_undefined_flag=$lt_no_undefined_flag_CXX
21924 # Flag to hardcode \$libdir into a binary during linking.
21925 # This must work even if \$libdir does not exist
21926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21928 # If ld is used when linking, flag to hardcode \$libdir into a binary
21929 # during linking. This must work even if \$libdir does not exist.
21930 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21932 # Whether we need a single "-rpath" flag with a separated argument.
21933 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21936 # DIR into the resulting binary.
21937 hardcode_direct=$hardcode_direct_CXX
21939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21940 # DIR into the resulting binary and the resulting library dependency is
21941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21942 # library is relocated.
21943 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21946 # into the resulting binary.
21947 hardcode_minus_L=$hardcode_minus_L_CXX
21949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21950 # into the resulting binary.
21951 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21953 # Set to "yes" if building a shared library automatically hardcodes DIR
21954 # into the library and all subsequent libraries and executables linked
21955 # against it.
21956 hardcode_automatic=$hardcode_automatic_CXX
21958 # Set to yes if linker adds runtime paths of dependent libraries
21959 # to runtime path list.
21960 inherit_rpath=$inherit_rpath_CXX
21962 # Whether libtool must link a program against all its dependency libraries.
21963 link_all_deplibs=$link_all_deplibs_CXX
21965 # Set to "yes" if exported symbols are required.
21966 always_export_symbols=$always_export_symbols_CXX
21968 # The commands to list exported symbols.
21969 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21971 # Symbols that should not be listed in the preloaded symbols.
21972 exclude_expsyms=$lt_exclude_expsyms_CXX
21974 # Symbols that must always be exported.
21975 include_expsyms=$lt_include_expsyms_CXX
21977 # Commands necessary for linking programs (against libraries) with templates.
21978 prelink_cmds=$lt_prelink_cmds_CXX
21980 # Commands necessary for finishing linking programs.
21981 postlink_cmds=$lt_postlink_cmds_CXX
21983 # Specify filename containing input files.
21984 file_list_spec=$lt_file_list_spec_CXX
21986 # How to hardcode a shared library path into an executable.
21987 hardcode_action=$hardcode_action_CXX
21989 # The directories searched by this compiler when creating a shared library.
21990 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21992 # Dependencies to place before and after the objects being linked to
21993 # create a shared library.
21994 predep_objects=$lt_predep_objects_CXX
21995 postdep_objects=$lt_postdep_objects_CXX
21996 predeps=$lt_predeps_CXX
21997 postdeps=$lt_postdeps_CXX
21999 # The library search path used internally by the compiler when linking
22000 # a shared library.
22001 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22003 # ### END LIBTOOL TAG CONFIG: CXX
22004 _LT_EOF
22008 esac
22009 done # for ac_tag
22012 as_fn_exit 0
22013 _ACEOF
22014 ac_clean_files=$ac_clean_files_save
22016 test $ac_write_fail = 0 ||
22017 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22020 # configure is writing to config.log, and then calls config.status.
22021 # config.status does its own redirection, appending to config.log.
22022 # Unfortunately, on DOS this fails, as config.log is still kept open
22023 # by configure, so config.status won't be able to write to it; its
22024 # output is simply discarded. So we exec the FD to /dev/null,
22025 # effectively closing config.log, so it can be properly (re)opened and
22026 # appended to by config.status. When coming back to configure, we
22027 # need to make the FD available again.
22028 if test "$no_create" != yes; then
22029 ac_cs_success=:
22030 ac_config_status_args=
22031 test "$silent" = yes &&
22032 ac_config_status_args="$ac_config_status_args --quiet"
22033 exec 5>/dev/null
22034 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22035 exec 5>>config.log
22036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22037 # would make configure fail if this is the last instruction.
22038 $ac_cs_success || as_fn_exit 1
22040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22042 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build quvi/libquvi:
22048 quvi version: ${VERSION} g:$git_describe b:$build_date
22049 host setup: ${host}
22050 install prefix: ${prefix}
22051 compiler: ${CC}
22052 cflags: ${CFLAGS}
22054 Options:
22055 build libquvi: shared=${enable_shared} static=${enable_static}
22056 build quvi: ${enable_quvi}
22057 build examples: ${enable_examples}
22058 enable nsfw: ${enable_nsfw}
22059 enable broken: ${enable_broken}
22060 enable tests: ${enable_tests}
22061 install manual: ${with_man}
22062 install docs: ${with_doc}
22063 " >&5
22064 $as_echo "$as_me: Configured to build quvi/libquvi:
22066 quvi version: ${VERSION} g:$git_describe b:$build_date
22067 host setup: ${host}
22068 install prefix: ${prefix}
22069 compiler: ${CC}
22070 cflags: ${CFLAGS}
22072 Options:
22073 build libquvi: shared=${enable_shared} static=${enable_static}
22074 build quvi: ${enable_quvi}
22075 build examples: ${enable_examples}
22076 enable nsfw: ${enable_nsfw}
22077 enable broken: ${enable_broken}
22078 enable tests: ${enable_tests}
22079 install manual: ${with_man}
22080 install docs: ${with_doc}
22081 " >&6;}
22083 #Other:
22084 # gengetopt: ${GENGETOPT}
22085 # doxygen: ${DOXYGEN}
22086 # perl: ${PERL}
22087 # Pod::Checker: ${have_pod_checker}
22088 # pod2man: ${POD2MAN}
22089 # pod2html: ${POD2HTML}