2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.6.
5 # Report bugs to <http://is.gd/fIt4T>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 :
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+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
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
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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 :
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+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
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 :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
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 :
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
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.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and http://is.gd/fIt4T
250 $0: about your system, including any error possibly output
251 $0: before this message. Then install a modern shell, or
252 $0: manually run the script under such a shell if you do
259 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
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 :
373 as_val
=`expr "$@" || test $? -eq 1`
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.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
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
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 ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
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
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`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
572 PACKAGE_TARNAME
='quvi'
573 PACKAGE_VERSION
='0.2.6'
574 PACKAGE_STRING
='quvi 0.2.6'
575 PACKAGE_BUGREPORT
='http://is.gd/fIt4T'
576 PACKAGE_URL
='http://quvi.googlecode.com/'
578 ac_unique_file
="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
630 ENABLE_EXAMPLES_FALSE
663 HAVE_PERL_POD_CHECKER_FALSE
664 HAVE_PERL_POD_CHECKER_TRUE
681 EXTRA_LIBQUVI_LDFLAGS
718 INSTALL_STRIP_PROGRAM
785 program_transform_name
798 enable_option_checking
799 enable_dependency_tracking
818 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error $?
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error $?
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error $?
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $?
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used" >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $?
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $?
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var
in $ac_precious_vars; do
1369 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1371 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures quvi 0.2.6 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1445 --build=BUILD configure
for building on BUILD
[guessed
]
1446 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1447 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive
) echo "Configuration of quvi 0.2.6:";;
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --disable-dependency-tracking speeds up one-time build
1462 --enable-dependency-tracking do not reject slow dependency extractors
1463 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1464 --enable-static[=PKGS
] build static libraries
[default
=yes]
1465 --enable-fast-install[=PKGS
]
1466 optimize
for fast installation
[default
=yes]
1467 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1468 --disable-rpath do not hardcode runtime library paths
1469 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1470 --disable-silent-rules verbose build output (undo: `make V
=0')
1471 --enable-quvi build quvi command line tool[default=yes]
1472 --enable-examples build examples [default=no]
1473 --enable-smut build with adult website support [default=no]
1474 --enable-tests enable tests [default=no]
1475 --enable-broken build with broken website support [default=no]
1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1480 --with-pic try to use only PIC/non-PIC objects [default=use
1482 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1483 --with-sysroot=DIR Search for dependent libraries within DIR
1484 (or the compiler's sysroot
if not specified
).
1485 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1486 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1487 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1488 --with-man install manual pages [default=yes]
1489 --with-doc install documentation [default=yes]
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1500 CXX C++ compiler command
1501 CXXFLAGS C++ compiler flags
1502 CXXCPP C++ preprocessor
1503 PKG_CONFIG path to pkg-config utility
1505 directories to add to pkg-config's search path
1507 path overriding pkg-config
's built-in search path
1509 C compiler flags for libcurl, overriding pkg-config
1511 linker flags for libcurl, overriding pkg-config
1513 C compiler flags for libpcre, overriding pkg-config
1515 linker flags for libpcre, overriding pkg-config
1517 C compiler flags for liblua, overriding pkg-config
1518 liblua_LIBS linker flags for liblua, overriding pkg-config
1520 Use these variables to override the choices made by `configure' or to
help
1521 it to
find libraries and programs with nonstandard names
/locations.
1523 Report bugs to
<http
://is.gd
/fIt4T
>.
1524 quvi home page
: <http
://quvi.googlecode.com
/>.
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1538 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1540 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1545 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1548 ac_abs_top_builddir
=$ac_pwd
1549 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir
=$ac_top_build_prefix
1554 .
) # We are building in place.
1556 ac_top_srcdir
=$ac_top_builddir_sub
1557 ac_abs_top_srcdir
=$ac_pwd ;;
1558 [\\/]* | ?
:[\\/]* ) # Absolute name.
1559 ac_srcdir
=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir
=$srcdir
1561 ac_abs_top_srcdir
=$srcdir ;;
1563 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1567 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1587 quvi configure
0.2.6
1588 generated by GNU Autoconf
2.68
1590 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1591 This configure
script is free software
; the Free Software Foundation
1592 gives unlimited permission to copy
, distribute and modify it.
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile
()
1606 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1607 rm -f conftest.
$ac_objext
1608 if { { ac_try
="$ac_compile"
1610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.$ac_objext; then :
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_cpp LINENO
1640 # ----------------------
1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 if { { ac_try="$ac_cpp conftest.$ac_ext"
1647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1648 *) ac_try_echo
=$ac_try;;
1650 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1654 if test -s conftest.err
; then
1655 grep -v '^ *+' conftest.err
>conftest.er1
1656 cat conftest.er1
>&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } > conftest.i
&& {
1661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.
$ac_ext >&5
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status
$ac_retval
1676 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1679 # the include files in INCLUDES and setting the cache variable VAR
1681 ac_fn_c_check_header_mongrel
()
1683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1684 if eval \
${$3+:} false
; then :
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \
${$3+:} false
; then :
1688 $as_echo_n "(cached) " >&6
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 # Is the header compilable?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1696 $as_echo_n "checking $2 usability... " >&6; }
1697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile
"$LINENO"; then :
1703 ac_header_compiler
=yes
1705 ac_header_compiler
=no
1707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1709 $as_echo "$ac_header_compiler" >&6; }
1711 # Is the header present?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1713 $as_echo_n "checking $2 presence... " >&6; }
1714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1718 if ac_fn_c_try_cpp
"$LINENO"; then :
1719 ac_header_preproc
=yes
1721 ac_header_preproc
=no
1723 rm -f conftest.err conftest.i conftest.
$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1725 $as_echo "$ac_header_preproc" >&6; }
1727 # So? What about this header?
1728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1731 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1737 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1739 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1741 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1743 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746 ( $as_echo "## --------------------------------- ##
1747 ## Report this to http://is.gd/fIt4T ##
1748 ## --------------------------------- ##"
1749 ) |
sed "s/^/$as_me: WARNING: /" >&2
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \
${$3+:} false
; then :
1755 $as_echo_n "(cached) " >&6
1757 eval "$3=\$ac_header_compiler"
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_mongrel
1767 # ac_fn_c_try_run LINENO
1768 # ----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770 # that executables *can* be run.
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 if { { ac_try
="$ac_link"
1776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785 { { case "(($ac_try" in
1786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1787 *) ac_try_echo
=$ac_try;;
1789 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_try") 2>&5
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; }; }; then :
1797 $as_echo "$as_me: program exited with status $ac_status" >&5
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.
$ac_ext >&5
1801 ac_retval
=$ac_status
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status
$ac_retval
1809 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1810 # -------------------------------------------------------
1811 # Tests whether HEADER exists and can be compiled using the include files in
1812 # INCLUDES, setting the cache variable VAR accordingly.
1813 ac_fn_c_check_header_compile
()
1815 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \
${$3+:} false
; then :
1819 $as_echo_n "(cached) " >&6
1821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1826 if ac_fn_c_try_compile
"$LINENO"; then :
1831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 } # ac_fn_c_check_header_compile
1840 # ac_fn_c_try_link LINENO
1841 # -----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
1845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1846 rm -f conftest.
$ac_objext conftest
$ac_exeext
1847 if { { ac_try
="$ac_link"
1849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>conftest.err
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && {
1863 test -z "$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1865 } && test -s conftest$ac_exeext && {
1866 test "$cross_compiling" = yes ||
1867 $as_test_x conftest$ac_exeext
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1878 # interfere with the next link command; also delete a directory that is
1879 # left behind by Apple's compiler. We do this before executing the actions.
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1884 } # ac_fn_c_try_link
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1909 # include <limits.h>
1911 # include <assert.h>
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1938 if ac_fn_c_try_link "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext \
1944 conftest$ac_exeext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_cxx_try_compile LINENO
1954 # ----------------------------
1955 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1956 ac_fn_cxx_try_compile ()
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 rm -f conftest.$ac_objext
1960 if { { ac_try="$ac_compile"
1962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_compile") 2>conftest.err
1969 if test -s conftest.err
; then
1970 grep -v '^ *+' conftest.err
>conftest.er1
1971 cat conftest.er1
>&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && {
1976 test -z "$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1978 } && test -s conftest.
$ac_objext; then :
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status
$ac_retval
1989 } # ac_fn_cxx_try_compile
1991 # ac_fn_cxx_try_cpp LINENO
1992 # ------------------------
1993 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_cpp
()
1996 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1997 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2006 if test -s conftest.err; then
2007 grep -v '^ *+' conftest.err >conftest.er1
2008 cat conftest.er1 >&5
2009 mv -f conftest.er1 conftest.err
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; } > conftest.i && {
2013 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2014 test ! -s conftest.err
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status $ac_retval
2026 } # ac_fn_cxx_try_cpp
2028 # ac_fn_cxx_try_link LINENO
2029 # -------------------------
2030 # Try to link conftest.$ac_ext, and return whether this succeeded.
2031 ac_fn_cxx_try_link ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 rm -f conftest.$ac_objext conftest$ac_exeext
2035 if { { ac_try="$ac_link"
2037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2038 *) ac_try_echo
=$ac_try;;
2040 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041 $as_echo "$ac_try_echo"; } >&5
2042 (eval "$ac_link") 2>conftest.err
2044 if test -s conftest.err
; then
2045 grep -v '^ *+' conftest.err
>conftest.er1
2046 cat conftest.er1
>&5
2047 mv -f conftest.er1 conftest.err
2049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2050 test $ac_status = 0; } && {
2051 test -z "$ac_cxx_werror_flag" ||
2052 test ! -s conftest.err
2053 } && test -s conftest
$ac_exeext && {
2054 test "$cross_compiling" = yes ||
2055 $as_test_x conftest
$ac_exeext
2059 $as_echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.
$ac_ext >&5
2064 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2065 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2066 # interfere with the next link command; also delete a directory that is
2067 # left behind by Apple's compiler. We do this before executing the actions.
2068 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 as_fn_set_status
$ac_retval
2072 } # ac_fn_cxx_try_link
2074 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2075 # -------------------------------------------
2076 # Tests whether TYPE exists after having included INCLUDES, setting cache
2077 # variable VAR accordingly.
2078 ac_fn_c_check_type
()
2080 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if eval \
${$3+:} false
; then :
2084 $as_echo_n "(cached) " >&6
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2099 if ac_fn_c_try_compile
"$LINENO"; then :
2100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2112 if ac_fn_c_try_compile
"$LINENO"; then :
2117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_c_check_type
2128 # ac_fn_c_find_uintX_t LINENO BITS VAR
2129 # ------------------------------------
2130 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2132 ac_fn_c_find_uintX_t
()
2134 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2136 $as_echo_n "checking for uint$2_t... " >&6; }
2137 if eval \
${$3+:} false
; then :
2138 $as_echo_n "(cached) " >&6
2141 # Order is important - never check a type that is potentially smaller
2142 # than half of the expected target width.
2143 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2144 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2147 $ac_includes_default
2151 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2158 if ac_fn_c_try_compile
"$LINENO"; then :
2163 eval "$3=\$ac_type" ;;
2166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2167 if eval test \"x\$
"$3"\" = x
"no"; then :
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 } # ac_fn_c_find_uintX_t
2180 cat >config.log
<<_ACEOF
2181 This file contains any messages produced by compilers while
2182 running configure, to aid debugging if configure makes a mistake.
2184 It was created by quvi $as_me 0.2.6, which was
2185 generated by GNU Autoconf 2.68. Invocation command line was
2197 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2198 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2199 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2200 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2201 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2203 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2204 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2206 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2207 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2208 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2209 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2210 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2211 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2212 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2220 test -z "$as_dir" && as_dir
=.
2221 $as_echo "PATH: $as_dir"
2237 # Keep a trace of the command line.
2238 # Strip out --no-create and --no-recursion so they do not pile up.
2239 # Strip out --silent because we don't want to record it for future runs.
2240 # Also quote any args containing shell meta-characters.
2241 # Make two passes to allow for proper duplicate-argument suppression.
2245 ac_must_keep_next
=false
2251 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2252 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2253 |
-silent |
--silent |
--silen |
--sile |
--sil)
2256 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2259 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2261 as_fn_append ac_configure_args1
" '$ac_arg'"
2262 if test $ac_must_keep_next = true
; then
2263 ac_must_keep_next
=false
# Got value, back to normal.
2266 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2267 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2268 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2269 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2270 case "$ac_configure_args0 " in
2271 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2274 -* ) ac_must_keep_next
=true
;;
2277 as_fn_append ac_configure_args
" '$ac_arg'"
2282 { ac_configure_args0
=; unset ac_configure_args0
;}
2283 { ac_configure_args1
=; unset ac_configure_args1
;}
2285 # When interrupted or exit'd, cleanup temporary files, and complete
2286 # config.log. We remove comments because anyway the quotes in there
2287 # would cause problems or look ugly.
2288 # WARNING: Use '\'' to represent an apostrophe within the trap.
2289 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2290 trap 'exit_status=$?
2291 # Save into config.log some information that might help in debugging.
2295 $as_echo "## ---------------- ##
2296 ## Cache variables. ##
2297 ## ---------------- ##"
2299 # The following way of writing the cache mishandles newlines in values,
2301 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2302 eval ac_val=\$$ac_var
2306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2310 _ | IFS | as_nl) ;; #(
2311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2312 *) { eval $ac_var=; unset $ac_var;} ;;
2317 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2318 *${as_nl}ac_space=\ *)
2320 "s/'\''/'\''\\\\'\'''\''/g;
2321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2331 $as_echo "## ----------------- ##
2332 ## Output variables. ##
2333 ## ----------------- ##"
2335 for ac_var in $ac_subst_vars
2337 eval ac_val=\$$ac_var
2339 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 $as_echo "$ac_var='\''$ac_val'\''"
2345 if test -n "$ac_subst_files"; then
2346 $as_echo "## ------------------- ##
2347 ## File substitutions. ##
2348 ## ------------------- ##"
2350 for ac_var
in $ac_subst_files
2352 eval ac_val
=\$
$ac_var
2354 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2356 $as_echo "$ac_var='\''$ac_val'\''"
2361 if test -s confdefs.h; then
2362 $as_echo "## ----------- ##
2369 test "$ac_signal" != 0 &&
2370 $as_echo "$as_me: caught signal $ac_signal"
2371 $as_echo "$as_me: exit $exit_status"
2373 rm -f core *.core core.conftest.* &&
2374 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2377 for ac_signal
in 1 2 13 15; do
2378 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2382 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2383 rm -f -r conftest
* confdefs.h
2385 $as_echo "/* confdefs.h */" > confdefs.h
2387 # Predefined preprocessor variables.
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_NAME "$PACKAGE_NAME"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_STRING "$PACKAGE_STRING"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_URL "$PACKAGE_URL"
2414 # Let the site file select an alternate cache file if it wants to.
2415 # Prefer an explicitly selected file to automatically selected ones.
2418 if test -n "$CONFIG_SITE"; then
2419 # We do not want a PATH search for config.site.
2420 case $CONFIG_SITE in #((
2421 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2422 */*) ac_site_file1
=$CONFIG_SITE;;
2423 *) ac_site_file1
=.
/$CONFIG_SITE;;
2425 elif test "x$prefix" != xNONE
; then
2426 ac_site_file1
=$prefix/share
/config.site
2427 ac_site_file2
=$prefix/etc
/config.site
2429 ac_site_file1
=$ac_default_prefix/share
/config.site
2430 ac_site_file2
=$ac_default_prefix/etc
/config.site
2432 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2434 test "x$ac_site_file" = xNONE
&& continue
2435 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2437 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2438 sed 's/^/| /' "$ac_site_file" >&5
2440 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 as_fn_error $?
"failed to load site script $ac_site_file
2443 See \`config.log' for more details" "$LINENO" 5; }
2447 if test -r "$cache_file"; then
2448 # Some versions of bash will fail to source /dev/null (special files
2449 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2450 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2452 $as_echo "$as_me: loading cache $cache_file" >&6;}
2454 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2455 *) .
"./$cache_file";;
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2460 $as_echo "$as_me: creating cache $cache_file" >&6;}
2464 # Check that the precious variables saved in the cache have kept the same
2466 ac_cache_corrupted
=false
2467 for ac_var
in $ac_precious_vars; do
2468 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2469 eval ac_new_set
=\
$ac_env_${ac_var}_set
2470 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2471 eval ac_new_val
=\
$ac_env_${ac_var}_value
2472 case $ac_old_set,$ac_new_set in
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2475 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2476 ac_cache_corrupted
=: ;;
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2479 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2480 ac_cache_corrupted
=: ;;
2483 if test "x$ac_old_val" != "x$ac_new_val"; then
2484 # differences in whitespace do not lead to failure.
2485 ac_old_val_w
=`echo x $ac_old_val`
2486 ac_new_val_w
=`echo x $ac_new_val`
2487 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2489 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2490 ac_cache_corrupted
=:
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2493 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2494 eval $ac_var=\
$ac_old_val
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2497 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2499 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2502 # Pass precious variables to config.status.
2503 if test "$ac_new_set" = set; then
2505 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2506 *) ac_arg
=$ac_var=$ac_new_val ;;
2508 case " $ac_configure_args " in
2509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2510 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2514 if $ac_cache_corrupted; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2518 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2519 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2521 ## -------------------- ##
2522 ## Main body of script. ##
2523 ## -------------------- ##
2526 ac_cpp
='$CPP $CPPFLAGS'
2527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2542 ac_config_headers
="$ac_config_headers config.h"
2545 for ac_dir
in config.aux
"$srcdir"/config.aux
; do
2546 if test -f "$ac_dir/install-sh"; then
2548 ac_install_sh
="$ac_aux_dir/install-sh -c"
2550 elif test -f "$ac_dir/install.sh"; then
2552 ac_install_sh
="$ac_aux_dir/install.sh -c"
2554 elif test -f "$ac_dir/shtool"; then
2556 ac_install_sh
="$ac_aux_dir/shtool install -c"
2560 if test -z "$ac_aux_dir"; then
2561 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2564 # These three variables are undocumented and unsupported,
2565 # and are intended to be withdrawn in a future Autoconf release.
2566 # They can cause serious problems if a builder's source tree is in a directory
2567 # whose full name contains unusual characters.
2568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2570 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2575 # Make sure we can run config.sub.
2576 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2577 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2580 $as_echo_n "checking build system type... " >&6; }
2581 if ${ac_cv_build+:} false
; then :
2582 $as_echo_n "(cached) " >&6
2584 ac_build_alias
=$build_alias
2585 test "x$ac_build_alias" = x
&&
2586 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2587 test "x$ac_build_alias" = x
&&
2588 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2589 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2590 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2594 $as_echo "$ac_cv_build" >&6; }
2595 case $ac_cv_build in
2597 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2600 ac_save_IFS
=$IFS; IFS
='-'
2606 # Remember, the first character of IFS is used to create $*,
2607 # except with old shells:
2610 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2614 $as_echo_n "checking host system type... " >&6; }
2615 if ${ac_cv_host+:} false
; then :
2616 $as_echo_n "(cached) " >&6
2618 if test "x$host_alias" = x
; then
2619 ac_cv_host
=$ac_cv_build
2621 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2622 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2627 $as_echo "$ac_cv_host" >&6; }
2630 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2633 ac_save_IFS
=$IFS; IFS
='-'
2639 # Remember, the first character of IFS is used to create $*,
2640 # except with old shells:
2643 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2647 $as_echo_n "checking target system type... " >&6; }
2648 if ${ac_cv_target+:} false
; then :
2649 $as_echo_n "(cached) " >&6
2651 if test "x$target_alias" = x
; then
2652 ac_cv_target
=$ac_cv_host
2654 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2655 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2660 $as_echo "$ac_cv_target" >&6; }
2661 case $ac_cv_target in
2663 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2665 target
=$ac_cv_target
2666 ac_save_IFS
=$IFS; IFS
='-'
2672 # Remember, the first character of IFS is used to create $*,
2673 # except with old shells:
2676 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2679 # The aliases save the names the user supplied, while $host etc.
2680 # will get canonicalized.
2681 test -n "$target_alias" &&
2682 test "$program_prefix$program_suffix$program_transform_name" = \
2684 program_prefix
=${target_alias}-
2687 ac_cpp
='$CPP $CPPFLAGS'
2688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2691 if test -n "$ac_tool_prefix"; then
2692 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2693 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_CC+:} false
; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$CC"; then
2700 ac_cv_prog_CC
="$CC" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test -n "$CC"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2722 $as_echo "$CC" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2730 if test -z "$ac_cv_prog_CC"; then
2732 # Extract the first word of "gcc", so it can be a program name with args.
2733 set dummy gcc
; ac_word
=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$ac_ct_CC"; then
2740 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_ac_ct_CC
="gcc"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2760 if test -n "$ac_ct_CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2762 $as_echo "$ac_ct_CC" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2768 if test "x$ac_ct_CC" = x
; then
2771 case $cross_compiling:$ac_tool_warned in
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775 ac_tool_warned
=yes ;;
2783 if test -z "$CC"; then
2784 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2786 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_CC+:} false
; then :
2790 $as_echo_n "(cached) " >&6
2792 if test -n "$CC"; then
2793 ac_cv_prog_CC
="$CC" # Let the user override the test.
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_exec_ext
in '' $ac_executable_extensions; do
2801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2802 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815 $as_echo "$CC" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2824 if test -z "$CC"; then
2825 # Extract the first word of "cc", so it can be a program name with args.
2826 set dummy cc
; ac_word
=$2
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828 $as_echo_n "checking for $ac_word... " >&6; }
2829 if ${ac_cv_prog_CC+:} false
; then :
2830 $as_echo_n "(cached) " >&6
2832 if test -n "$CC"; then
2833 ac_cv_prog_CC
="$CC" # Let the user override the test.
2836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir
=.
2841 for ac_exec_ext
in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2844 ac_prog_rejected
=yes
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 if test $ac_prog_rejected = yes; then
2856 # We found a bogon in the path, so make sure we never use it.
2857 set dummy
$ac_cv_prog_CC
2859 if test $# != 0; then
2860 # We chose a different compiler from the bogus one.
2861 # However, it has the same basename, so the bogon will be chosen
2862 # first if we set CC to just the basename; use the full file name.
2864 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2870 if test -n "$CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2872 $as_echo "$CC" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2880 if test -z "$CC"; then
2881 if test -n "$ac_tool_prefix"; then
2882 for ac_prog
in cl.exe
2884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2885 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CC+:} false
; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$CC"; then
2892 ac_cv_prog_CC
="$CC" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$CC" && break
2924 if test -z "$CC"; then
2926 for ac_prog
in cl.exe
2928 # Extract the first word of "$ac_prog", so it can be a program name with args.
2929 set dummy
$ac_prog; ac_word
=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$ac_ct_CC"; then
2936 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_ac_ct_CC
="$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2956 if test -n "$ac_ct_CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2958 $as_echo "$ac_ct_CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$ac_ct_CC" && break
2968 if test "x$ac_ct_CC" = x
; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned
=yes ;;
2984 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 as_fn_error $?
"no acceptable C compiler found in \$PATH
2987 See \`config.log' for more details" "$LINENO" 5; }
2989 # Provide some information about the compiler.
2990 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2993 for ac_option
in --version -v -V -qversion; do
2994 { { ac_try
="$ac_compiler $ac_option >&5"
2996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3003 if test -s conftest.err; then
3005 ... rest of stderr output deleted ...
3006 10q' conftest.err >conftest.er1
3007 cat conftest.er1 >&5
3009 rm -f conftest.er1 conftest.err
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; }
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3025 ac_clean_files_save=$ac_clean_files
3026 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3027 # Try to create an executable without -o first, disregard a.out.
3028 # It will help us diagnose broken compilers, and finding out an intuition
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3031 $as_echo_n "checking whether the C compiler works... " >&6; }
3032 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3034 # The possible output files:
3035 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3038 for ac_file in $ac_files
3041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3042 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3047 if { { ac_try="$ac_link_default"
3049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3050 *) ac_try_echo
=$ac_try;;
3052 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_link_default") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; then :
3058 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3059 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3060 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3061 # so that the user can short-circuit this test for compilers unknown to
3063 for ac_file
in $ac_files ''
3065 test -f "$ac_file" ||
continue
3067 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3070 # We found the default executable, but exeext='' is most
3074 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3076 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3078 # We set ac_cv_exeext here because the later test for it is not
3079 # safe: cross compilers may not add the suffix if given an `-o'
3080 # argument, so we may need to know it at that point already.
3081 # Even if this section looks crufty: it has the advantage of
3088 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3093 if test -z "$ac_file"; then :
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error
77 "C compiler cannot create executables
3102 See \`config.log' for more details" "$LINENO" 5; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3105 $as_echo "yes" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3108 $as_echo_n "checking for C compiler default output file name... " >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3110 $as_echo "$ac_file" >&6; }
3111 ac_exeext
=$ac_cv_exeext
3113 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3114 ac_clean_files
=$ac_clean_files_save
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3116 $as_echo_n "checking for suffix of executables... " >&6; }
3117 if { { ac_try
="$ac_link"
3119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_link") 2>&5
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; then :
3128 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3129 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3130 # work properly (i.e., refer to `conftest.exe'), while it won't with
3132 for ac_file
in conftest.exe conftest conftest.
*; do
3133 test -f "$ac_file" ||
continue
3135 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3136 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3144 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3145 See \`config.log' for more details" "$LINENO" 5; }
3147 rm -f conftest conftest
$ac_cv_exeext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3149 $as_echo "$ac_cv_exeext" >&6; }
3151 rm -f conftest.
$ac_ext
3152 EXEEXT
=$ac_cv_exeext
3154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3160 FILE *f = fopen ("conftest.out", "w");
3161 return ferror (f) || fclose (f) != 0;
3167 ac_clean_files
="$ac_clean_files conftest.out"
3168 # Check that the compiler produces executables we can run. If not, either
3169 # the compiler is broken, or we cross compile.
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3171 $as_echo_n "checking whether we are cross compiling... " >&6; }
3172 if test "$cross_compiling" != yes; then
3173 { { ac_try
="$ac_link"
3175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_link") 2>&5
3182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }
3184 if { ac_try='./conftest$ac_cv_exeext'
3185 { { case "(($ac_try" in
3186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3187 *) ac_try_echo
=$ac_try;;
3189 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3190 $as_echo "$ac_try_echo"; } >&5
3191 (eval "$ac_try") 2>&5
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }; }; then
3197 if test "$cross_compiling" = maybe
; then
3200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202 as_fn_error $?
"cannot run C compiled programs.
3203 If you meant to cross compile, use \`--host'.
3204 See \`config.log' for more details" "$LINENO" 5; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3209 $as_echo "$cross_compiling" >&6; }
3211 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3212 ac_clean_files
=$ac_clean_files_save
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3214 $as_echo_n "checking for suffix of object files... " >&6; }
3215 if ${ac_cv_objext+:} false
; then :
3216 $as_echo_n "(cached) " >&6
3218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3229 rm -f conftest.o conftest.obj
3230 if { { ac_try
="$ac_compile"
3232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_compile") 2>&5
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }; then :
3241 for ac_file in conftest.o conftest.obj conftest.*; do
3242 test -f "$ac_file" || continue;
3244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3245 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3256 See \
`config.log' for more details" "$LINENO" 5; }
3258 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3261 $as_echo "$ac_cv_objext" >&6; }
3262 OBJEXT=$ac_cv_objext
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3265 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3266 if ${ac_cv_c_compiler_gnu+:} false; then :
3267 $as_echo_n "(cached) " >&6
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3293 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3294 if test $ac_compiler_gnu = yes; then
3299 ac_test_CFLAGS=${CFLAGS+set}
3300 ac_save_CFLAGS=$CFLAGS
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3302 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3303 if ${ac_cv_prog_cc_g+:} false; then :
3304 $as_echo_n "(cached) " >&6
3306 ac_save_c_werror_flag=$ac_c_werror_flag
3307 ac_c_werror_flag=yes
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3321 if ac_fn_c_try_compile "$LINENO"; then :
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 if ac_fn_c_try_compile "$LINENO"; then :
3339 ac_c_werror_flag=$ac_save_c_werror_flag
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3352 if ac_fn_c_try_compile "$LINENO"; then :
3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 ac_c_werror_flag=$ac_save_c_werror_flag
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3363 $as_echo "$ac_cv_prog_cc_g" >&6; }
3364 if test "$ac_test_CFLAGS" = set; then
3365 CFLAGS=$ac_save_CFLAGS
3366 elif test $ac_cv_prog_cc_g = yes; then
3367 if test "$GCC" = yes; then
3373 if test "$GCC" = yes; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3380 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3381 if ${ac_cv_prog_cc_c89+:} false; then :
3382 $as_echo_n "(cached) " >&6
3384 ac_cv_prog_cc_c89=no
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 #include <sys/types.h>
3391 #include <sys/stat.h>
3392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3393 struct buf { int x; };
3394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3395 static char *e (p, i)
3401 static char *f (char * (*g) (char **, int), char **p, ...)
3406 s = g (p, va_arg (v,int));
3411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3412 function prototypes and stuff, but not '\xHH' hex character constants.
3413 These don't provoke an error unfortunately, instead are silently treated
3414 as 'x'. The following induces an error, until -std is added to get
3415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3416 array size at least. It's necessary to write '\x00'==0 to get something
3417 that's true only with -std. */
3418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3421 inside strings and character constants. */
3423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3425 int test (int i, double x);
3426 struct s1 {int (*f) (int a);};
3427 struct s2 {int (*f) (double a);};
3428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3442 CC="$ac_save_CC $ac_arg"
3443 if ac_fn_c_try_compile "$LINENO"; then :
3444 ac_cv_prog_cc_c89=$ac_arg
3446 rm -f core conftest.err conftest.$ac_objext
3447 test "x$ac_cv_prog_cc_c89" != "xno" && break
3449 rm -f conftest.$ac_ext
3454 case "x$ac_cv_prog_cc_c89" in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3457 $as_echo "none needed" >&6; } ;;
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3460 $as_echo "unsupported" >&6; } ;;
3462 CC="$CC $ac_cv_prog_cc_c89"
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3464 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3466 if test "x$ac_cv_prog_cc_c89" != xno; then :
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 ac_cpp='$CPP $CPPFLAGS'
3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3483 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3484 # On Suns, sometimes $CPP names a directory.
3485 if test -n "$CPP" && test -d "$CPP"; then
3488 if test -z "$CPP"; then
3489 if ${ac_cv_prog_CPP+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 # Double quotes because CPP needs to be expanded
3493 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3496 for ac_c_preproc_warn_flag in '' yes
3498 # Use a header file that comes with gcc, so configuring glibc
3499 # with a fresh cross-compiler works.
3500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3501 # <limits.h> exists even on freestanding compilers.
3502 # On the NeXT, cc -E runs the code through the compiler's parser,
3503 # not just through cpp. "Syntax error" is here to catch this case.
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3507 # include <limits.h>
3509 # include <assert.h>
3513 if ac_fn_c_try_cpp "$LINENO"; then :
3516 # Broken: fails on valid input.
3519 rm -f conftest.err conftest.i conftest.$ac_ext
3521 # OK, works on sane cases. Now check whether nonexistent headers
3522 # can be detected and how.
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3527 if ac_fn_c_try_cpp "$LINENO"; then :
3528 # Broken: success on invalid input.
3531 # Passes both tests.
3535 rm -f conftest.err conftest.i conftest.$ac_ext
3538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3539 rm -f conftest.i conftest.err conftest.
$ac_ext
3540 if $ac_preproc_ok; then :
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3553 $as_echo "$CPP" >&6; }
3555 for ac_c_preproc_warn_flag
in '' yes
3557 # Use a header file that comes with gcc, so configuring glibc
3558 # with a fresh cross-compiler works.
3559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3560 # <limits.h> exists even on freestanding compilers.
3561 # On the NeXT, cc -E runs the code through the compiler's parser,
3562 # not just through cpp. "Syntax error" is here to catch this case.
3563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3566 # include <limits.h>
3568 # include <assert.h>
3572 if ac_fn_c_try_cpp
"$LINENO"; then :
3575 # Broken: fails on valid input.
3578 rm -f conftest.err conftest.i conftest.
$ac_ext
3580 # OK, works on sane cases. Now check whether nonexistent headers
3581 # can be detected and how.
3582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3584 #include <ac_nonexistent.h>
3586 if ac_fn_c_try_cpp
"$LINENO"; then :
3587 # Broken: success on invalid input.
3590 # Passes both tests.
3594 rm -f conftest.err conftest.i conftest.
$ac_ext
3597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598 rm -f conftest.i conftest.err conftest.
$ac_ext
3599 if $ac_preproc_ok; then :
3602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3605 See \`config.log' for more details" "$LINENO" 5; }
3609 ac_cpp
='$CPP $CPPFLAGS'
3610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3616 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3617 if ${ac_cv_path_GREP+:} false
; then :
3618 $as_echo_n "(cached) " >&6
3620 if test -z "$GREP"; then
3621 ac_path_GREP_found
=false
3622 # Loop through the user's path and test for each of PROGNAME-LIST
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_prog
in grep ggrep
; do
3629 for ac_exec_ext
in '' $ac_executable_extensions; do
3630 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3631 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3632 # Check for GNU ac_path_GREP and select it if it is found.
3633 # Check for GNU $ac_path_GREP
3634 case `"$ac_path_GREP" --version 2>&1` in
3636 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3639 $as_echo_n 0123456789 >"conftest.in"
3642 cat "conftest.in" "conftest.in" >"conftest.tmp"
3643 mv "conftest.tmp" "conftest.in"
3644 cp "conftest.in" "conftest.nl"
3645 $as_echo 'GREP' >> "conftest.nl"
3646 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3647 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3648 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3649 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3650 # Best one so far, save it but keep looking for a better one
3651 ac_cv_path_GREP
="$ac_path_GREP"
3652 ac_path_GREP_max
=$ac_count
3654 # 10*(2^10) chars as input seems more than enough
3655 test $ac_count -gt 10 && break
3657 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3660 $ac_path_GREP_found && break 3
3665 if test -z "$ac_cv_path_GREP"; then
3666 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3669 ac_cv_path_GREP
=$GREP
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3674 $as_echo "$ac_cv_path_GREP" >&6; }
3675 GREP
="$ac_cv_path_GREP"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3679 $as_echo_n "checking for egrep... " >&6; }
3680 if ${ac_cv_path_EGREP+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3684 then ac_cv_path_EGREP
="$GREP -E"
3686 if test -z "$EGREP"; then
3687 ac_path_EGREP_found
=false
3688 # Loop through the user's path and test for each of PROGNAME-LIST
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_prog
in egrep; do
3695 for ac_exec_ext
in '' $ac_executable_extensions; do
3696 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3697 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3698 # Check for GNU ac_path_EGREP and select it if it is found.
3699 # Check for GNU $ac_path_EGREP
3700 case `"$ac_path_EGREP" --version 2>&1` in
3702 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3705 $as_echo_n 0123456789 >"conftest.in"
3708 cat "conftest.in" "conftest.in" >"conftest.tmp"
3709 mv "conftest.tmp" "conftest.in"
3710 cp "conftest.in" "conftest.nl"
3711 $as_echo 'EGREP' >> "conftest.nl"
3712 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3713 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3714 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3715 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3716 # Best one so far, save it but keep looking for a better one
3717 ac_cv_path_EGREP
="$ac_path_EGREP"
3718 ac_path_EGREP_max
=$ac_count
3720 # 10*(2^10) chars as input seems more than enough
3721 test $ac_count -gt 10 && break
3723 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3726 $ac_path_EGREP_found && break 3
3731 if test -z "$ac_cv_path_EGREP"; then
3732 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3735 ac_cv_path_EGREP
=$EGREP
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3741 $as_echo "$ac_cv_path_EGREP" >&6; }
3742 EGREP
="$ac_cv_path_EGREP"
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3746 $as_echo_n "checking for ANSI C header files... " >&6; }
3747 if ${ac_cv_header_stdc+:} false
; then :
3748 $as_echo_n "(cached) " >&6
3750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3765 if ac_fn_c_try_compile
"$LINENO"; then :
3766 ac_cv_header_stdc
=yes
3768 ac_cv_header_stdc
=no
3770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3772 if test $ac_cv_header_stdc = yes; then
3773 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3780 $EGREP "memchr" >/dev
/null
2>&1; then :
3783 ac_cv_header_stdc
=no
3789 if test $ac_cv_header_stdc = yes; then
3790 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3797 $EGREP "free" >/dev
/null
2>&1; then :
3800 ac_cv_header_stdc
=no
3806 if test $ac_cv_header_stdc = yes; then
3807 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3808 if test "$cross_compiling" = yes; then :
3811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3815 #if ((' ' & 0x0FF) == 0x020)
3816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3817 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3819 # define ISLOWER(c) \
3820 (('a' <= (c) && (c) <= 'i') \
3821 || ('j' <= (c) && (c) <= 'r') \
3822 || ('s' <= (c) && (c) <= 'z'))
3823 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3831 for (i = 0; i < 256; i++)
3832 if (XOR (islower (i), ISLOWER (i))
3833 || toupper (i) != TOUPPER (i))
3838 if ac_fn_c_try_run
"$LINENO"; then :
3841 ac_cv_header_stdc
=no
3843 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3844 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3850 $as_echo "$ac_cv_header_stdc" >&6; }
3851 if test $ac_cv_header_stdc = yes; then
3853 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3857 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3858 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3859 inttypes.h stdint.h unistd.h
3861 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3862 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3864 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3865 cat >>confdefs.h
<<_ACEOF
3866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3875 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3876 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3883 if test "$MINIX" = yes; then
3885 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3888 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3891 $as_echo "#define _MINIX 1" >>confdefs.h
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3897 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3898 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3899 $as_echo_n "(cached) " >&6
3901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3904 # define __EXTENSIONS__ 1
3905 $ac_includes_default
3914 if ac_fn_c_try_compile
"$LINENO"; then :
3915 ac_cv_safe_to_define___extensions__
=yes
3917 ac_cv_safe_to_define___extensions__
=no
3919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3922 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3923 test $ac_cv_safe_to_define___extensions__ = yes &&
3924 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3926 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3928 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3930 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3932 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3938 cat >>confdefs.h
<<_ACEOF
3939 #define CANONICAL_TARGET "$target"
3943 cat >>confdefs.h
<<_ACEOF
3944 #define CANONICAL_HOST "$host"
3948 am__api_version
='1.11'
3950 # Find a good install program. We prefer a C program (faster),
3951 # so one script is as good as another. But avoid the broken or
3952 # incompatible versions:
3953 # SysV /etc/install, /usr/sbin/install
3954 # SunOS /usr/etc/install
3955 # IRIX /sbin/install
3957 # AmigaOS /C/install, which installs bootblocks on floppy discs
3958 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3959 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3960 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3961 # OS/2's system install, which has a completely different semantic
3962 # ./install, which can be erroneously created by make from ./install.sh.
3963 # Reject install programs that cannot install multiple files.
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3965 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3966 if test -z "$INSTALL"; then
3967 if ${ac_cv_path_install+:} false
; then :
3968 $as_echo_n "(cached) " >&6
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir
=.
3975 # Account for people who put trailing slashes in PATH elements.
3976 case $as_dir/ in #((
3977 .
/ | .
// |
/[cC
]/* | \
3978 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3979 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3982 # OSF1 and SCO ODT 3.0 have their own names for install.
3983 # Don't use installbsd from OSF since it installs stuff as root
3985 for ac_prog
in ginstall scoinst
install; do
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3988 if test $ac_prog = install &&
3989 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3990 # AIX install. It has an incompatible calling convention.
3992 elif test $ac_prog = install &&
3993 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3994 # program-specific install script used by HP pwplus--don't use.
3997 rm -rf conftest.one conftest.two conftest.dir
3998 echo one
> conftest.one
3999 echo two
> conftest.two
4001 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4002 test -s conftest.one
&& test -s conftest.two
&&
4003 test -s conftest.dir
/conftest.one
&&
4004 test -s conftest.dir
/conftest.two
4006 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4019 rm -rf conftest.one conftest.two conftest.dir
4022 if test "${ac_cv_path_install+set}" = set; then
4023 INSTALL
=$ac_cv_path_install
4025 # As a last resort, use the slow shell script. Don't cache a
4026 # value for INSTALL within a source directory, because that will
4027 # break other packages using the cache if that directory is
4028 # removed, or if the value is a relative name.
4029 INSTALL
=$ac_install_sh
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4033 $as_echo "$INSTALL" >&6; }
4035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4036 # It thinks the first close brace ends the variable substitution.
4037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4041 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4044 $as_echo_n "checking whether build environment is sane... " >&6; }
4047 echo timestamp
> conftest.
file
4048 # Reject unsafe characters in $srcdir or the absolute working directory
4049 # name. Accept space and tab only in the latter.
4053 *[\\\"\
#\$\&\'\`$am_lf]*)
4054 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4057 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4058 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4061 # Do `set' in a subshell so we don't clobber the current shell's
4062 # arguments. Must try -L first in case configure is actually a
4063 # symlink; some systems play weird games with the mod time of symlinks
4064 # (eg FreeBSD returns the mod time of the symlink's containing
4067 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4068 if test "$*" = "X"; then
4070 set X
`ls -t "$srcdir/configure" conftest.file`
4073 if test "$*" != "X $srcdir/configure conftest.file" \
4074 && test "$*" != "X conftest.file $srcdir/configure"; then
4076 # If neither matched, then we have a broken ls. This can happen
4077 # if, for instance, CONFIG_SHELL is bash and it inherits a
4078 # broken ls alias from the environment. This has actually
4079 # happened. Such a system could not be considered "sane".
4080 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4081 alias in your environment" "$LINENO" 5
4084 test "$2" = conftest.
file
4090 as_fn_error $?
"newly created file is older than distributed files!
4091 Check your system clock" "$LINENO" 5
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4094 $as_echo "yes" >&6; }
4095 test "$program_prefix" != NONE
&&
4096 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4097 # Use a double $ so make ignores it.
4098 test "$program_suffix" != NONE
&&
4099 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4100 # Double any \ or $.
4101 # By default was `s,x,x', remove it if useless.
4102 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4103 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4105 # expand $ac_aux_dir to an absolute path
4106 am_aux_dir
=`cd $ac_aux_dir && pwd`
4108 if test x
"${MISSING+set}" != xset
; then
4111 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4113 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4116 # Use eval to expand $SHELL
4117 if eval "$MISSING --run true"; then
4118 am_missing_run
="$MISSING --run "
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4122 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4125 if test x
"${install_sh}" != xset
; then
4128 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4130 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4134 # Installed binaries are usually stripped using `strip' when the user
4135 # run `make install-strip'. However `strip' might not be the right
4136 # tool to use in cross-compilation environments, therefore Automake
4137 # will honor the `STRIP' environment variable to overrule this program.
4138 if test "$cross_compiling" != no
; then
4139 if test -n "$ac_tool_prefix"; then
4140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4141 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_prog_STRIP+:} false
; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -n "$STRIP"; then
4148 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4157 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 STRIP
=$ac_cv_prog_STRIP
4168 if test -n "$STRIP"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4170 $as_echo "$STRIP" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4178 if test -z "$ac_cv_prog_STRIP"; then
4180 # Extract the first word of "strip", so it can be a program name with args.
4181 set dummy strip
; ac_word
=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -n "$ac_ct_STRIP"; then
4188 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4197 ac_cv_prog_ac_ct_STRIP
="strip"
4198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4208 if test -n "$ac_ct_STRIP"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4210 $as_echo "$ac_ct_STRIP" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4216 if test "x$ac_ct_STRIP" = x
; then
4219 case $cross_compiling:$ac_tool_warned in
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4223 ac_tool_warned
=yes ;;
4228 STRIP
="$ac_cv_prog_STRIP"
4232 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4235 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4236 if test -z "$MKDIR_P"; then
4237 if ${ac_cv_path_mkdir+:} false
; then :
4238 $as_echo_n "(cached) " >&6
4240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4241 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4244 test -z "$as_dir" && as_dir
=.
4245 for ac_prog
in mkdir gmkdir
; do
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4248 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4249 'mkdir (GNU coreutils) '* | \
4250 'mkdir (coreutils) '* | \
4251 'mkdir (fileutils) '4.1*)
4252 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4262 test -d .
/--version && rmdir .
/--version
4263 if test "${ac_cv_path_mkdir+set}" = set; then
4264 MKDIR_P
="$ac_cv_path_mkdir -p"
4266 # As a last resort, use the slow shell script. Don't cache a
4267 # value for MKDIR_P within a source directory, because that will
4268 # break other packages using the cache if that directory is
4269 # removed, or if the value is a relative name.
4270 MKDIR_P
="$ac_install_sh -d"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4274 $as_echo "$MKDIR_P" >&6; }
4278 [\\/$
]* | ?
:[\\/]*) ;;
4279 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4282 for ac_prog
in gawk mawk nawk
awk
4284 # Extract the first word of "$ac_prog", so it can be a program name with args.
4285 set dummy
$ac_prog; ac_word
=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if ${ac_cv_prog_AWK+:} false
; then :
4289 $as_echo_n "(cached) " >&6
4291 if test -n "$AWK"; then
4292 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir
=.
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_AWK
="$ac_prog"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test -n "$AWK"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4314 $as_echo "$AWK" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4321 test -n "$AWK" && break
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4325 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4327 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4328 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4329 $as_echo_n "(cached) " >&6
4331 cat >conftest.
make <<\_ACEOF
4334 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4336 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4337 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4339 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4341 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4345 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4347 $as_echo "yes" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4352 SET_MAKE
="MAKE=${MAKE-make}"
4355 rm -rf .tst
2>/dev
/null
4356 mkdir .tst
2>/dev
/null
4357 if test -d .tst
; then
4362 rmdir .tst
2>/dev
/null
4364 DEPDIR
="${am__leading_dot}deps"
4366 ac_config_commands
="$ac_config_commands depfiles"
4369 am_make
=${MAKE-make}
4370 cat > confinc
<< 'END'
4372 @
echo this is the am__doit target
4375 # If we don't find an include directive, just comment out the code.
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4381 # First try GNU make style include.
4382 echo "include confinc" > confmf
4383 # Ignore all kinds of additional output from `make'.
4384 case `$am_make -s -f confmf 2> /dev/null` in #(
4385 *the\ am__doit\ target
*)
4391 # Now try BSD make style include.
4392 if test "$am__include" = "#"; then
4393 echo '.include "confinc"' > confmf
4394 case `$am_make -s -f confmf 2> /dev/null` in #(
4395 *the\ am__doit\ target
*)
4396 am__include
=.include
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4405 $as_echo "$_am_result" >&6; }
4406 rm -f confinc confmf
4408 # Check whether --enable-dependency-tracking was given.
4409 if test "${enable_dependency_tracking+set}" = set; then :
4410 enableval
=$enable_dependency_tracking;
4413 if test "x$enable_dependency_tracking" != xno
; then
4414 am_depcomp
="$ac_aux_dir/depcomp"
4417 if test "x$enable_dependency_tracking" != xno; then
4426 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4427 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4428 # is not polluted with repeated "-I."
4429 am__isrc
=' -I$(srcdir)'
4430 # test to see if srcdir already configured
4431 if test -f $srcdir/config.status
; then
4432 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4436 # test whether we have cygpath
4437 if test -z "$CYGPATH_W"; then
4438 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4439 CYGPATH_W
='cygpath -w'
4446 # Define the identity of the package.
4451 cat >>confdefs.h
<<_ACEOF
4452 #define PACKAGE "$PACKAGE"
4456 cat >>confdefs.h
<<_ACEOF
4457 #define VERSION "$VERSION"
4460 # Some tools Automake needs.
4462 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4465 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4468 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4471 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4474 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4476 # We need awk for the "check" target. The system "awk" is bad on
4478 # Always define AMTAR for backward compatibility.
4480 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4482 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4487 depcc
="$CC" am_compiler_list
=
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4490 $as_echo_n "checking dependency style of $depcc... " >&6; }
4491 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4492 $as_echo_n "(cached) " >&6
4494 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4495 # We make a subdir and do the tests there. Otherwise we can end up
4496 # making bogus files that we don't know about and never remove. For
4497 # instance it was reported that on HP-UX the gcc test will end up
4498 # making a dummy file named `D' -- because `-MD' means `put the output
4501 # Copy depcomp to subdir because otherwise we won't find it if we're
4502 # using a relative directory.
4503 cp "$am_depcomp" conftest.dir
4505 # We will build objects and dependencies in a subdirectory because
4506 # it helps to detect inapplicable dependency modes. For instance
4507 # both Tru64's cc and ICC support -MD to output dependencies as a
4508 # side effect of compilation, but ICC will put the dependencies in
4509 # the current directory while Tru64 will put them in the object
4513 am_cv_CC_dependencies_compiler_type
=none
4514 if test "$am_compiler_list" = ""; then
4515 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4518 case " $depcc " in #(
4519 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4522 for depmode
in $am_compiler_list; do
4523 # Setup a source with many dependencies, because some compilers
4524 # like to wrap large dependency lists on column 80 (with \), and
4525 # we should not choose a depcomp mode which is confused by this.
4527 # We need to recreate these files for each test, as the compiler may
4528 # overwrite some of them when testing with obscure command lines.
4529 # This happens at least with the AIX C compiler.
4531 for i
in 1 2 3 4 5 6; do
4532 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4533 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4534 # Solaris 8's {/usr,}/bin/sh.
4535 touch sub
/conftst
$i.h
4537 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4539 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4540 # mode. It turns out that the SunPro C++ compiler does not properly
4541 # handle `-M -o', and we need to detect this. Also, some Intel
4542 # versions had trouble with output in subdirs
4543 am__obj
=sub
/conftest.
${OBJEXT-o}
4544 am__minus_obj
="-o $am__obj"
4547 # This depmode causes a compiler race in universal mode.
4548 test "$am__universal" = false ||
continue
4551 # after this tag, mechanisms are not by side-effect, so they'll
4552 # only be used when explicitly requested
4553 if test "x$enable_dependency_tracking" = xyes
; then
4559 msvisualcpp | msvcmsys
)
4560 # This compiler won't grok `-c -o', but also, the minuso test has
4561 # not run yet. These depmodes are late enough in the game, and
4562 # so weak that their functioning should not be impacted.
4563 am__obj
=conftest.
${OBJEXT-o}
4568 if depmode
=$depmode \
4569 source=sub
/conftest.c object
=$am__obj \
4570 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4571 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4572 >/dev
/null
2>conftest.err
&&
4573 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4574 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4575 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4576 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4577 # icc doesn't choke on unknown options, it will just issue warnings
4578 # or remarks (even with -Werror). So we grep stderr for any message
4579 # that says an option was ignored or not supported.
4580 # When given -MP, icc 7.0 and 7.1 complain thusly:
4581 # icc: Command line warning: ignoring option '-M'; no argument required
4582 # The diagnosis changed in icc 8.0:
4583 # icc: Command line remark: option '-MP' not supported
4584 if (grep 'ignoring option' conftest.err ||
4585 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4586 am_cv_CC_dependencies_compiler_type
=$depmode
4595 am_cv_CC_dependencies_compiler_type
=none
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4600 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4601 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4604 test "x$enable_dependency_tracking" != xno \
4605 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4607 am__fastdepCC_FALSE
='#'
4609 am__fastdepCC_TRUE
='#'
4610 am__fastdepCC_FALSE
=
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4619 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4625 macro_revision
='1.3293'
4639 ltmain
="$ac_aux_dir/ltmain.sh"
4641 # Backslashify metacharacters that are still active within
4642 # double-quoted strings.
4643 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4645 # Same as above, but do not quote variable references.
4646 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4648 # Sed substitution to delay expansion of an escaped shell variable in a
4649 # double_quote_subst'ed string.
4650 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4652 # Sed substitution to delay expansion of an escaped single quote.
4653 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4655 # Sed substitution to avoid accidental globbing in evaled expressions
4656 no_glob_subst
='s/\*/\\\*/g'
4658 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4659 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4660 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4663 $as_echo_n "checking how to print strings... " >&6; }
4664 # Test print first, because it will be a builtin if present.
4665 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4666 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4668 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4671 # Use this function as a fallback that always works.
4672 func_fallback_echo ()
4674 eval 'cat <<_LTECHO_EOF
4678 ECHO='func_fallback_echo
'
4681 # func_echo_all arg...
4682 # Invoke $ECHO with all args, space-separated.
4689 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4690 $as_echo "printf" >&6; } ;;
4691 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4692 $as_echo "print -r" >&6; } ;;
4693 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4694 $as_echo "cat" >&6; } ;;
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4711 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4712 if ${ac_cv_path_SED+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4716 for ac_i in 1 2 3 4 5 6 7; do
4717 ac_script="$ac_script$as_nl$ac_script"
4719 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4720 { ac_script=; unset ac_script;}
4721 if test -z "$SED"; then
4722 ac_path_SED_found=false
4723 # Loop through the user's path and
test for each of PROGNAME-LIST
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_prog
in sed gsed
; do
4730 for ac_exec_ext
in '' $ac_executable_extensions; do
4731 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4732 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4733 # Check for GNU ac_path_SED and select it if it is found.
4734 # Check for GNU $ac_path_SED
4735 case `"$ac_path_SED" --version 2>&1` in
4737 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4740 $as_echo_n 0123456789 >"conftest.in"
4743 cat "conftest.in" "conftest.in" >"conftest.tmp"
4744 mv "conftest.tmp" "conftest.in"
4745 cp "conftest.in" "conftest.nl"
4746 $as_echo '' >> "conftest.nl"
4747 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4748 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4749 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4750 if test $ac_count -gt ${ac_path_SED_max-0}; then
4751 # Best one so far, save it but keep looking for a better one
4752 ac_cv_path_SED
="$ac_path_SED"
4753 ac_path_SED_max
=$ac_count
4755 # 10*(2^10) chars as input seems more than enough
4756 test $ac_count -gt 10 && break
4758 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4761 $ac_path_SED_found && break 3
4766 if test -z "$ac_cv_path_SED"; then
4767 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4775 $as_echo "$ac_cv_path_SED" >&6; }
4776 SED
="$ac_cv_path_SED"
4779 test -z "$SED" && SED
=sed
4780 Xsed
="$SED -e 1s/^X//"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4793 $as_echo_n "checking for fgrep... " >&6; }
4794 if ${ac_cv_path_FGREP+:} false
; then :
4795 $as_echo_n "(cached) " >&6
4797 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4798 then ac_cv_path_FGREP
="$GREP -F"
4800 if test -z "$FGREP"; then
4801 ac_path_FGREP_found
=false
4802 # Loop through the user's path and test for each of PROGNAME-LIST
4803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4807 test -z "$as_dir" && as_dir
=.
4808 for ac_prog
in fgrep
; do
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4811 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4812 # Check for GNU ac_path_FGREP and select it if it is found.
4813 # Check for GNU $ac_path_FGREP
4814 case `"$ac_path_FGREP" --version 2>&1` in
4816 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4819 $as_echo_n 0123456789 >"conftest.in"
4822 cat "conftest.in" "conftest.in" >"conftest.tmp"
4823 mv "conftest.tmp" "conftest.in"
4824 cp "conftest.in" "conftest.nl"
4825 $as_echo 'FGREP' >> "conftest.nl"
4826 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4827 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4828 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4829 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4830 # Best one so far, save it but keep looking for a better one
4831 ac_cv_path_FGREP
="$ac_path_FGREP"
4832 ac_path_FGREP_max
=$ac_count
4834 # 10*(2^10) chars as input seems more than enough
4835 test $ac_count -gt 10 && break
4837 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4840 $ac_path_FGREP_found && break 3
4845 if test -z "$ac_cv_path_FGREP"; then
4846 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4849 ac_cv_path_FGREP
=$FGREP
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4855 $as_echo "$ac_cv_path_FGREP" >&6; }
4856 FGREP
="$ac_cv_path_FGREP"
4859 test -z "$GREP" && GREP
=grep
4879 # Check whether --with-gnu-ld was given.
4880 if test "${with_gnu_ld+set}" = set; then :
4881 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4887 if test "$GCC" = yes; then
4888 # Check if gcc -print-prog-name=ld gives a path.
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4890 $as_echo_n "checking for ld used by $CC... " >&6; }
4893 # gcc leaves a trailing carriage return which upsets mingw
4894 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4896 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4899 # Accept absolute paths.
4901 re_direlt
='/[^/][^/]*/\.\./'
4902 # Canonicalize the pathname of ld
4903 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4904 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4905 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4907 test -z "$LD" && LD
="$ac_prog"
4910 # If it fails, then pretend we aren't using GCC.
4914 # If it is relative, then search for the first ld in PATH.
4918 elif test "$with_gnu_ld" = yes; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4920 $as_echo_n "checking for GNU ld... " >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4923 $as_echo_n "checking for non-GNU ld... " >&6; }
4925 if ${lt_cv_path_LD+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -z "$LD"; then
4929 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4930 for ac_dir
in $PATH; do
4932 test -z "$ac_dir" && ac_dir
=.
4933 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4934 lt_cv_path_LD
="$ac_dir/$ac_prog"
4935 # Check to see if the program is GNU ld. I'd rather use --version,
4936 # but apparently some variants of GNU ld only accept -v.
4937 # Break only if it was the GNU/non-GNU ld that we prefer.
4938 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4939 *GNU
* |
*'with BFD'*)
4940 test "$with_gnu_ld" != no
&& break
4943 test "$with_gnu_ld" != yes && break
4950 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4955 if test -n "$LD"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4957 $as_echo "$LD" >&6; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4962 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4964 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4965 if ${lt_cv_prog_gnu_ld+:} false
; then :
4966 $as_echo_n "(cached) " >&6
4968 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4969 case `$LD -v 2>&1 </dev/null` in
4970 *GNU
* |
*'with BFD'*)
4971 lt_cv_prog_gnu_ld
=yes
4974 lt_cv_prog_gnu_ld
=no
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4979 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4980 with_gnu_ld
=$lt_cv_prog_gnu_ld
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4991 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4992 if ${lt_cv_path_NM+:} false
; then :
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$NM"; then
4996 # Let the user override the test.
4999 lt_nm_to_check
="${ac_tool_prefix}nm"
5000 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5001 lt_nm_to_check
="$lt_nm_to_check nm"
5003 for lt_tmp_nm
in $lt_nm_to_check; do
5004 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5005 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5007 test -z "$ac_dir" && ac_dir
=.
5008 tmp_nm
="$ac_dir/$lt_tmp_nm"
5009 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5010 # Check to see if the nm accepts a BSD-compat flag.
5011 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5012 # nm: unknown option "B" ignored
5013 # Tru64's nm complains that /dev/null is an invalid object file
5014 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5015 */dev
/null
* |
*'Invalid file or object type'*)
5016 lt_cv_path_NM
="$tmp_nm -B"
5020 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5022 lt_cv_path_NM
="$tmp_nm -p"
5026 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5027 continue # so that we can try to find one that supports BSD flags
5036 : ${lt_cv_path_NM=no}
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5040 $as_echo "$lt_cv_path_NM" >&6; }
5041 if test "$lt_cv_path_NM" != "no"; then
5044 # Didn't find any BSD compatible name lister, look for dumpbin.
5045 if test -n "$DUMPBIN"; then :
5046 # Let the user override the test.
5048 if test -n "$ac_tool_prefix"; then
5049 for ac_prog
in dumpbin
"link -dump"
5051 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5052 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$DUMPBIN"; then
5059 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir
=.
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 DUMPBIN
=$ac_cv_prog_DUMPBIN
5079 if test -n "$DUMPBIN"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5081 $as_echo "$DUMPBIN" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 test -n "$DUMPBIN" && break
5091 if test -z "$DUMPBIN"; then
5092 ac_ct_DUMPBIN
=$DUMPBIN
5093 for ac_prog
in dumpbin
"link -dump"
5095 # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy
$ac_prog; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$ac_ct_DUMPBIN"; then
5103 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5123 if test -n "$ac_ct_DUMPBIN"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5125 $as_echo "$ac_ct_DUMPBIN" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$ac_ct_DUMPBIN" && break
5135 if test "x$ac_ct_DUMPBIN" = x
; then
5138 case $cross_compiling:$ac_tool_warned in
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5142 ac_tool_warned
=yes ;;
5144 DUMPBIN
=$ac_ct_DUMPBIN
5148 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5150 DUMPBIN
="$DUMPBIN -symbols"
5158 if test "$DUMPBIN" != ":"; then
5162 test -z "$NM" && NM
=nm
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5170 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5171 if ${lt_cv_nm_interface+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 lt_cv_nm_interface
="BSD nm"
5175 echo "int some_variable = 0;" > conftest.
$ac_ext
5176 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5177 (eval "$ac_compile" 2>conftest.err
)
5178 cat conftest.err
>&5
5179 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5180 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5181 cat conftest.err
>&5
5182 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5183 cat conftest.out
>&5
5184 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5185 lt_cv_nm_interface
="MS dumpbin"
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5190 $as_echo "$lt_cv_nm_interface" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5193 $as_echo_n "checking whether ln -s works... " >&6; }
5195 if test "$LN_S" = "ln -s"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197 $as_echo "yes" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5200 $as_echo "no, using $LN_S" >&6; }
5203 # find the maximum length of command line arguments
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5205 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5206 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5207 $as_echo_n "(cached) " >&6
5214 # On DJGPP, this test can blow up pretty badly due to problems in libc
5215 # (any single argument exceeding 2000 bytes causes a buffer overrun
5216 # during glob expansion). Even if it were fixed, the result of this
5217 # check would be larger than it should be.
5218 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5222 # Under GNU Hurd, this test is not required because there is
5223 # no limit to the length of command line arguments.
5224 # Libtool will interpret -1 as no limit whatsoever
5225 lt_cv_sys_max_cmd_len
=-1;
5228 cygwin
* | mingw
* | cegcc
*)
5229 # On Win9x/ME, this test blows up -- it succeeds, but takes
5230 # about 5 minutes as the teststring grows exponentially.
5231 # Worse, since 9x/ME are not pre-emptively multitasking,
5232 # you end up with a "frozen" computer, even though with patience
5233 # the test eventually succeeds (with a max line length of 256k).
5234 # Instead, let's just punt: use the minimum linelength reported by
5235 # all of the supported platforms: 8192 (on NT/2K/XP).
5236 lt_cv_sys_max_cmd_len
=8192;
5240 # On MiNT this can take a long time and run out of memory.
5241 lt_cv_sys_max_cmd_len
=8192;
5245 # On AmigaOS with pdksh, this test takes hours, literally.
5246 # So we just punt and use a minimum line length of 8192.
5247 lt_cv_sys_max_cmd_len
=8192;
5250 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5251 # This has been around since 386BSD, at least. Likely further.
5252 if test -x /sbin
/sysctl
; then
5253 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5254 elif test -x /usr
/sbin
/sysctl
; then
5255 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5257 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5259 # And add a safety zone
5260 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5261 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5265 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5266 lt_cv_sys_max_cmd_len
=196608
5270 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5271 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5272 # nice to cause kernel panics so lets avoid the loop below.
5273 # First set a reasonable default.
5274 lt_cv_sys_max_cmd_len
=16384
5276 if test -x /sbin
/sysconfig
; then
5277 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5278 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5283 lt_cv_sys_max_cmd_len
=102400
5285 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5286 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5287 if test -n "$kargmax"; then
5288 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5290 lt_cv_sys_max_cmd_len
=32768
5294 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5295 if test -n "$lt_cv_sys_max_cmd_len"; then
5296 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5297 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5299 # Make teststring a little bigger before we do anything with it.
5300 # a 1K string should be a reasonable start.
5301 for i
in 1 2 3 4 5 6 7 8 ; do
5302 teststring
=$teststring$teststring
5304 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5305 # If test is not a shell built-in, we'll probably end up computing a
5306 # maximum length that is only half of the actual maximum length, but
5308 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5309 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5310 test $i != 17 # 1/2 MB should be enough
5313 teststring
=$teststring$teststring
5315 # Only check the string length outside the loop.
5316 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5318 # Add a significant safety factor because C++ compilers can tack on
5319 # massive amounts of additional arguments before passing them to the
5320 # linker. It appears as though 1/2 is a usable value.
5321 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5328 if test -n $lt_cv_sys_max_cmd_len ; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5330 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5333 $as_echo "none" >&6; }
5335 max_cmd_len
=$lt_cv_sys_max_cmd_len
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5347 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5348 # Try some XSI features
5351 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5353 && eval 'test $(( 1 + 1 )) -eq 2 \
5354 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5357 $as_echo "$xsi_shell" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5361 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5363 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5365 && lt_shell_append=yes
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5367 $as_echo "$lt_shell_append" >&6; }
5370 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5380 # test EBCDIC or ASCII
5381 case `echo X|tr X '\101'` in
5382 A) # ASCII based system
5383 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5384 lt_SP2NL='tr \040 \012'
5385 lt_NL2SP='tr \015\012 \040\040'
5387 *) # EBCDIC based system
5388 lt_SP2NL='tr \100 \n'
5389 lt_NL2SP='tr \r\n \100\100'
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5402 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5403 if ${lt_cv_to_host_file_cmd+:} false; then :
5404 $as_echo_n "(cached
) " >&6
5409 *-*-mingw* ) # actually msys
5410 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5413 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5415 * ) # otherwise, assume *nix
5416 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5422 *-*-mingw* ) # actually msys
5423 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5426 lt_cv_to_host_file_cmd=func_convert_file_noop
5428 * ) # otherwise, assume *nix
5429 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5433 * ) # unhandled hosts (and "normal
" native builds)
5434 lt_cv_to_host_file_cmd=func_convert_file_noop
5440 to_host_file_cmd=$lt_cv_to_host_file_cmd
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5442 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5449 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5450 if ${lt_cv_to_tool_file_cmd+:} false; then :
5451 $as_echo_n "(cached
) " >&6
5453 #assume ordinary cross tools, or native build.
5454 lt_cv_to_tool_file_cmd=func_convert_file_noop
5458 *-*-mingw* ) # actually msys
5459 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5467 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5469 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5476 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5477 if ${lt_cv_ld_reload_flag+:} false; then :
5478 $as_echo_n "(cached
) " >&6
5480 lt_cv_ld_reload_flag='-r'
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5483 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5484 reload_flag=$lt_cv_ld_reload_flag
5485 case $reload_flag in
5487 *) reload_flag=" $reload_flag" ;;
5489 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5491 cygwin* | mingw* | pw32* | cegcc*)
5492 if test "$GCC" != yes; then
5497 if test "$GCC" = yes; then
5498 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5500 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5513 if test -n "$ac_tool_prefix"; then
5514 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5515 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5517 $as_echo_n "checking
for $ac_word...
" >&6; }
5518 if ${ac_cv_prog_OBJDUMP+:} false; then :
5519 $as_echo_n "(cached
) " >&6
5521 if test -n "$OBJDUMP"; then
5522 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5541 OBJDUMP=$ac_cv_prog_OBJDUMP
5542 if test -n "$OBJDUMP"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5544 $as_echo "$OBJDUMP" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5547 $as_echo "no
" >&6; }
5552 if test -z "$ac_cv_prog_OBJDUMP"; then
5553 ac_ct_OBJDUMP=$OBJDUMP
5554 # Extract the first word of "objdump
", so it can be a program name with args.
5555 set dummy objdump; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5557 $as_echo_n "checking
for $ac_word...
" >&6; }
5558 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5559 $as_echo_n "(cached
) " >&6
5561 if test -n "$ac_ct_OBJDUMP"; then
5562 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5581 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5582 if test -n "$ac_ct_OBJDUMP"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5584 $as_echo "$ac_ct_OBJDUMP" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5587 $as_echo "no
" >&6; }
5590 if test "x
$ac_ct_OBJDUMP" = x; then
5593 case $cross_compiling:$ac_tool_warned in
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5596 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5597 ac_tool_warned=yes ;;
5599 OBJDUMP=$ac_ct_OBJDUMP
5602 OBJDUMP="$ac_cv_prog_OBJDUMP"
5605 test -z "$OBJDUMP" && OBJDUMP=objdump
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5616 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5617 if ${lt_cv_deplibs_check_method+:} false; then :
5618 $as_echo_n "(cached
) " >&6
5620 lt_cv_file_magic_cmd='$MAGIC_CMD'
5621 lt_cv_file_magic_test_file=
5622 lt_cv_deplibs_check_method='unknown'
5623 # Need to set the preceding variable on all platforms that support
5624 # interlibrary dependencies.
5625 # 'none' -- dependencies not supported.
5626 # `unknown' -- same as none, but documents that we really don't know.
5627 # 'pass_all' -- all dependencies passed with no checks.
5628 # 'test_compile' -- check by making test program.
5629 # 'file_magic [[regex]]' -- check by looking for files in library path
5630 # which responds to the $file_magic_cmd with a given extended regex.
5631 # If you have `file' or equivalent on your system and you're not sure
5632 # whether `pass_all' will *always* work, you probably want this one.
5636 lt_cv_deplibs_check_method=pass_all
5640 lt_cv_deplibs_check_method=pass_all
5644 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5645 lt_cv_file_magic_cmd='/usr/bin/file -L'
5646 lt_cv_file_magic_test_file=/shlib/libc.so
5650 # func_win32_libid is a shell function defined in ltmain.sh
5651 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5652 lt_cv_file_magic_cmd='func_win32_libid'
5656 # Base MSYS/MinGW do not provide the 'file' command needed by
5657 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5658 # unless we find 'file', for example because we are cross-compiling.
5659 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5660 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5661 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5662 lt_cv_file_magic_cmd='func_win32_libid'
5664 # Keep this pattern in sync with the one in func_win32_libid.
5665 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5666 lt_cv_file_magic_cmd='$OBJDUMP -f'
5671 # use the weaker test based on 'objdump'. See mingw*.
5672 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5673 lt_cv_file_magic_cmd='$OBJDUMP -f'
5676 darwin* | rhapsody*)
5677 lt_cv_deplibs_check_method=pass_all
5680 freebsd* | dragonfly*)
5681 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5684 # Not sure whether the presence of OpenBSD here was a mistake.
5685 # Let's accept both of them until this is cleared up.
5686 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5687 lt_cv_file_magic_cmd=/usr/bin/file
5688 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5692 lt_cv_deplibs_check_method=pass_all
5697 lt_cv_deplibs_check_method=pass_all
5701 lt_cv_deplibs_check_method=pass_all
5704 hpux10.20* | hpux11*)
5705 lt_cv_file_magic_cmd=/usr/bin/file
5708 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5709 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5712 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]'
5713 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5716 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5717 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5723 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5724 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5727 irix5* | irix6* | nonstopux*)
5729 *-32|*"-32 ") libmagic=32-bit;;
5730 *-n32|*"-n32 ") libmagic=N32;;
5731 *-64|*"-64 ") libmagic=64-bit;;
5732 *) libmagic=never-match;;
5734 lt_cv_deplibs_check_method=pass_all
5737 # This must be Linux ELF.
5738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5739 lt_cv_deplibs_check_method=pass_all
5743 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5744 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5752 lt_cv_file_magic_cmd=/usr/bin/file
5753 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5757 lt_cv_deplibs_check_method=pass_all
5761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5762 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5764 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5768 osf3* | osf4* | osf5*)
5769 lt_cv_deplibs_check_method=pass_all
5773 lt_cv_deplibs_check_method=pass_all
5777 lt_cv_deplibs_check_method=pass_all
5780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5781 lt_cv_deplibs_check_method=pass_all
5785 case $host_vendor in
5787 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]'
5788 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5791 lt_cv_deplibs_check_method=pass_all
5794 lt_cv_file_magic_cmd='/bin/file'
5795 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5798 lt_cv_file_magic_cmd='/bin/file'
5799 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5800 lt_cv_file_magic_test_file=/lib/libc.so
5803 lt_cv_deplibs_check_method=pass_all
5806 lt_cv_deplibs_check_method=pass_all
5812 lt_cv_deplibs_check_method=pass_all
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5818 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5822 if test "$build" = "$host"; then
5825 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5828 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5834 file_magic_cmd=$lt_cv_file_magic_cmd
5835 deplibs_check_method=$lt_cv_deplibs_check_method
5836 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5859 if test -n "$ac_tool_prefix"; then
5860 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5861 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5863 $as_echo_n "checking
for $ac_word...
" >&6; }
5864 if ${ac_cv_prog_DLLTOOL+:} false; then :
5865 $as_echo_n "(cached
) " >&6
5867 if test -n "$DLLTOOL"; then
5868 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5887 DLLTOOL=$ac_cv_prog_DLLTOOL
5888 if test -n "$DLLTOOL"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5890 $as_echo "$DLLTOOL" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5893 $as_echo "no
" >&6; }
5898 if test -z "$ac_cv_prog_DLLTOOL"; then
5899 ac_ct_DLLTOOL=$DLLTOOL
5900 # Extract the first word of "dlltool
", so it can be a program name with args.
5901 set dummy dlltool; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5903 $as_echo_n "checking
for $ac_word...
" >&6; }
5904 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5905 $as_echo_n "(cached
) " >&6
5907 if test -n "$ac_ct_DLLTOOL"; then
5908 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5917 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5927 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5928 if test -n "$ac_ct_DLLTOOL"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5930 $as_echo "$ac_ct_DLLTOOL" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5933 $as_echo "no
" >&6; }
5936 if test "x
$ac_ct_DLLTOOL" = x; then
5939 case $cross_compiling:$ac_tool_warned in
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5942 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5943 ac_tool_warned=yes ;;
5945 DLLTOOL=$ac_ct_DLLTOOL
5948 DLLTOOL="$ac_cv_prog_DLLTOOL"
5951 test -z "$DLLTOOL" && DLLTOOL=dlltool
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5963 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5964 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5965 $as_echo_n "(cached
) " >&6
5967 lt_cv_sharedlib_from_linklib_cmd='unknown'
5970 cygwin* | mingw* | pw32* | cegcc*)
5971 # two different shell functions defined in ltmain.sh
5972 # decide which to use based on capabilities of $DLLTOOL
5973 case `$DLLTOOL --help 2>&1` in
5974 *--identify-strict*)
5975 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5978 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5983 # fallback: assume linklib IS sharedlib
5984 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5990 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5991 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5992 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6000 if test -n "$ac_tool_prefix"; then
6003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6006 $as_echo_n "checking
for $ac_word...
" >&6; }
6007 if ${ac_cv_prog_AR+:} false; then :
6008 $as_echo_n "(cached
) " >&6
6010 if test -n "$AR"; then
6011 ac_cv_prog_AR="$AR" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6031 if test -n "$AR"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6033 $as_echo "$AR" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6036 $as_echo "no
" >&6; }
6040 test -n "$AR" && break
6043 if test -z "$AR"; then
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6050 $as_echo_n "checking
for $ac_word...
" >&6; }
6051 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6052 $as_echo_n "(cached
) " >&6
6054 if test -n "$ac_ct_AR"; then
6055 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_ac_ct_AR="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6074 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6075 if test -n "$ac_ct_AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6077 $as_echo "$ac_ct_AR" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6080 $as_echo "no
" >&6; }
6084 test -n "$ac_ct_AR" && break
6087 if test "x
$ac_ct_AR" = x; then
6090 case $cross_compiling:$ac_tool_warned in
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6093 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6094 ac_tool_warned=yes ;;
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6114 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6115 if ${lt_cv_ar_at_file+:} false; then :
6116 $as_echo_n "(cached
) " >&6
6119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6120 /* end confdefs.h. */
6130 if ac_fn_c_try_compile "$LINENO"; then :
6131 echo conftest.$ac_objext > conftest.lst
6132 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6133 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6134 (eval $lt_ar_try) 2>&5
6136 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6137 test $ac_status = 0; }
6138 if test "$ac_status" -eq 0; then
6139 # Ensure the archiver fails upon bogus file names.
6140 rm -f conftest.$ac_objext libconftest.a
6141 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6142 (eval $lt_ar_try) 2>&5
6144 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6145 test $ac_status = 0; }
6146 if test "$ac_status" -ne 0; then
6150 rm -f conftest.* libconftest.a
6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6157 $as_echo "$lt_cv_ar_at_file" >&6; }
6159 if test "x
$lt_cv_ar_at_file" = xno; then
6162 archiver_list_spec=$lt_cv_ar_at_file
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}strip; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6175 $as_echo_n "checking
for $ac_word...
" >&6; }
6176 if ${ac_cv_prog_STRIP+:} false; then :
6177 $as_echo_n "(cached
) " >&6
6179 if test -n "$STRIP"; then
6180 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6189 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6199 STRIP=$ac_cv_prog_STRIP
6200 if test -n "$STRIP"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6202 $as_echo "$STRIP" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6205 $as_echo "no
" >&6; }
6210 if test -z "$ac_cv_prog_STRIP"; then
6212 # Extract the first word of "strip
", so it can be a program name with args.
6213 set dummy strip; ac_word=$2
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6215 $as_echo_n "checking
for $ac_word...
" >&6; }
6216 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6217 $as_echo_n "(cached
) " >&6
6219 if test -n "$ac_ct_STRIP"; then
6220 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 test -z "$as_dir" && as_dir=.
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6229 ac_cv_prog_ac_ct_STRIP="strip
"
6230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6239 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6240 if test -n "$ac_ct_STRIP"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6242 $as_echo "$ac_ct_STRIP" >&6; }
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6245 $as_echo "no
" >&6; }
6248 if test "x
$ac_ct_STRIP" = x; then
6251 case $cross_compiling:$ac_tool_warned in
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6254 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6255 ac_tool_warned=yes ;;
6260 STRIP="$ac_cv_prog_STRIP"
6263 test -z "$STRIP" && STRIP=:
6270 if test -n "$ac_tool_prefix"; then
6271 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6272 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6274 $as_echo_n "checking
for $ac_word...
" >&6; }
6275 if ${ac_cv_prog_RANLIB+:} false; then :
6276 $as_echo_n "(cached
) " >&6
6278 if test -n "$RANLIB"; then
6279 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6298 RANLIB=$ac_cv_prog_RANLIB
6299 if test -n "$RANLIB"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6301 $as_echo "$RANLIB" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6304 $as_echo "no
" >&6; }
6309 if test -z "$ac_cv_prog_RANLIB"; then
6310 ac_ct_RANLIB=$RANLIB
6311 # Extract the first word of "ranlib
", so it can be a program name with args.
6312 set dummy ranlib; ac_word=$2
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6314 $as_echo_n "checking
for $ac_word...
" >&6; }
6315 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6316 $as_echo_n "(cached
) " >&6
6318 if test -n "$ac_ct_RANLIB"; then
6319 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6338 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6339 if test -n "$ac_ct_RANLIB"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6341 $as_echo "$ac_ct_RANLIB" >&6; }
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6344 $as_echo "no
" >&6; }
6347 if test "x
$ac_ct_RANLIB" = x; then
6350 case $cross_compiling:$ac_tool_warned in
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6353 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6354 ac_tool_warned=yes ;;
6356 RANLIB=$ac_ct_RANLIB
6359 RANLIB="$ac_cv_prog_RANLIB"
6362 test -z "$RANLIB" && RANLIB=:
6369 # Determine commands to create old-style static archives.
6370 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6371 old_postinstall_cmds='chmod 644 $oldlib'
6372 old_postuninstall_cmds=
6374 if test -n "$RANLIB"; then
6377 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6380 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6383 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6388 lock_old_archive_extraction=yes ;;
6390 lock_old_archive_extraction=no ;;
6431 # If no C compiler was specified, use CC.
6434 # If no C compiler flags were specified, use CFLAGS.
6435 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6437 # Allow CC to be a program name with arguments.
6441 # Check for command to grab the raw symbol name followed by C symbol from nm.
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6443 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6444 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6445 $as_echo_n "(cached
) " >&6
6448 # These are sane defaults that work on at least a few old systems.
6449 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6451 # Character class describing NM global symbol codes.
6452 symcode='[BCDEGRST]'
6454 # Regexp to match symbols that can be accessed directly from C.
6455 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6457 # Define system-specific variables.
6462 cygwin* | mingw* | pw32* | cegcc*)
6463 symcode='[ABCDGISTW]'
6466 if test "$host_cpu" = ia64; then
6467 symcode='[ABCDEGRST]'
6471 symcode='[BCDEGRST]'
6474 symcode='[BCDEGQRST]'
6485 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6493 # If we're using GNU nm, then use its standard symbol codes.
6494 case `$NM -V 2>&1` in
6495 *GNU* | *'with BFD'*)
6496 symcode='[ABCDGIRSTW]' ;;
6499 # Transform an extracted symbol line into a proper C declaration.
6500 # Some systems (esp. on ia64) link data and code symbols differently,
6501 # so use this general approach.
6502 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6504 # Transform an extracted symbol line into symbol name and symbol address
6505 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6506 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'"
6508 # Handle CRLF in mingw tool chain
6512 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6516 # Try without a prefix underscore, then with it.
6517 for ac_symprfx in "" "_
"; do
6519 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6520 symxfrm="\\1 $ac_symprfx\\2 \\2"
6522 # Write the raw and C identifiers.
6523 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6524 # Fake it for dumpbin and say T for any non-static function
6525 # and D for any global variable.
6526 # Also find C++ and __fastcall symbols from MSVC++,
6527 # which start with @ or ?.
6528 lt_cv_sys_global_symbol_pipe="$AWK '"\
6529 " {last_section=section; section=\$ 3};"\
6530 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6531 " \$ 0!~/External *\|/{next};"\
6532 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6533 " {if(hide[section]) next};"\
6534 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6535 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6536 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6537 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6538 " ' prfx
=^
$ac_symprfx"
6540 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6542 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6544 # Check to see that the pipe works correctly.
6548 cat > conftest.$ac_ext <<_LT_EOF
6553 void nm_test_func(void);
6554 void nm_test_func(void){}
6558 int main(){nm_test_var='a';nm_test_func();return(0);}
6561 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6562 (eval $ac_compile) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6565 test $ac_status = 0; }; then
6566 # Now try to grab the symbols.
6568 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6569 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6571 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6572 test $ac_status = 0; } && test -s "$nlist"; then
6573 # Try sorting and uniquifying the output.
6574 if sort "$nlist" | uniq > "$nlist"T; then
6575 mv -f "$nlist"T "$nlist"
6580 # Make sure that we snagged all the symbols we need.
6581 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6582 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6583 cat <<_LT_EOF > conftest.$ac_ext
6584 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6585 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6586 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6587 relocations are performed -- see ld's documentation on pseudo-relocs. */
6588 # define LT_DLSYM_CONST
6589 #elif defined(__osf__)
6590 /* This system does not cope well with relocations in const data. */
6591 # define LT_DLSYM_CONST
6593 # define LT_DLSYM_CONST const
6601 # Now generate the symbol file.
6602 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6604 cat <<_LT_EOF >> conftest.$ac_ext
6606 /* The mapping between symbol names and symbols. */
6607 LT_DLSYM_CONST struct {
6611 lt__PROGRAM__LTX_preloaded_symbols[] =
6613 { "@PROGRAM@
", (void *) 0 },
6615 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6616 cat <<\_LT_EOF >> conftest.$ac_ext
6620 /* This works around a problem in FreeBSD linker */
6621 #ifdef FREEBSD_WORKAROUND
6622 static const void *lt_preloaded_setup() {
6623 return lt__PROGRAM__LTX_preloaded_symbols;
6631 # Now try linking the two files.
6632 mv conftest.$ac_objext conftstm.$ac_objext
6633 lt_globsym_save_LIBS=$LIBS
6634 lt_globsym_save_CFLAGS=$CFLAGS
6635 LIBS="conftstm.
$ac_objext"
6636 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6637 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6638 (eval $ac_link) 2>&5
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6641 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6644 LIBS=$lt_globsym_save_LIBS
6645 CFLAGS=$lt_globsym_save_CFLAGS
6647 echo "cannot
find nm_test_func
in $nlist" >&5
6650 echo "cannot
find nm_test_var
in $nlist" >&5
6653 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6656 echo "$progname: failed program was
:" >&5
6657 cat conftest.$ac_ext >&5
6659 rm -rf conftest* conftst*
6661 # Do not use the global_symbol_pipe unless it works.
6662 if test "$pipe_works" = yes; then
6665 lt_cv_sys_global_symbol_pipe=
6671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6672 lt_cv_sys_global_symbol_to_cdecl=
6674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6676 $as_echo "failed
" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6679 $as_echo "ok
" >&6; }
6682 # Response file support.
6683 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6684 nm_file_list_spec='@'
6685 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6686 nm_file_list_spec='@'
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6716 $as_echo_n "checking
for sysroot...
" >&6; }
6718 # Check whether --with-sysroot was given.
6719 if test "${with_sysroot+set}" = set; then :
6720 withval=$with_sysroot;
6727 case ${with_sysroot} in #(
6729 if test "$GCC" = yes; then
6730 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6734 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6740 $as_echo "${with_sysroot}" >&6; }
6741 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6746 $as_echo "${lt_sysroot:-no}" >&6; }
6752 # Check whether --enable-libtool-lock was given.
6753 if test "${enable_libtool_lock+set}" = set; then :
6754 enableval=$enable_libtool_lock;
6757 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6759 # Some flags need to be propagated to the compiler or linker for good
6763 # Find out which ABI we are using.
6764 echo 'int i;' > conftest.$ac_ext
6765 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6766 (eval $ac_compile) 2>&5
6768 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6769 test $ac_status = 0; }; then
6770 case `/usr/bin/file conftest.$ac_objext` in
6782 # Find out which ABI we are using.
6783 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6784 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785 (eval $ac_compile) 2>&5
6787 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6788 test $ac_status = 0; }; then
6789 if test "$lt_cv_prog_gnu_ld" = yes; then
6790 case `/usr/bin/file conftest.$ac_objext` in
6792 LD="${LD-ld} -melf32bsmip"
6795 LD="${LD-ld} -melf32bmipn32"
6798 LD="${LD-ld} -melf64bmip"
6802 case `/usr/bin/file conftest.$ac_objext` in
6818 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6819 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6820 # Find out which ABI we are using.
6821 echo 'int i;' > conftest.$ac_ext
6822 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823 (eval $ac_compile) 2>&5
6825 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6826 test $ac_status = 0; }; then
6827 case `/usr/bin/file conftest.o` in
6830 x86_64-*kfreebsd*-gnu)
6831 LD="${LD-ld} -m elf_i386_fbsd
"
6834 LD="${LD-ld} -m elf_i386
"
6836 ppc64-*linux*|powerpc64-*linux*)
6837 LD="${LD-ld} -m elf32ppclinux
"
6840 LD="${LD-ld} -m elf_s390
"
6843 LD="${LD-ld} -m elf32_sparc
"
6849 x86_64-*kfreebsd*-gnu)
6850 LD="${LD-ld} -m elf_x86_64_fbsd
"
6853 LD="${LD-ld} -m elf_x86_64
"
6855 ppc*-*linux*|powerpc*-*linux*)
6856 LD="${LD-ld} -m elf64ppc
"
6858 s390*-*linux*|s390*-*tpf*)
6859 LD="${LD-ld} -m elf64_s390
"
6862 LD="${LD-ld} -m elf64_sparc
"
6872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6873 SAVE_CFLAGS="$CFLAGS"
6874 CFLAGS="$CFLAGS -belf"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6876 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6877 if ${lt_cv_cc_needs_belf+:} false; then :
6878 $as_echo_n "(cached
) " >&6
6881 ac_cpp='$CPP $CPPFLAGS'
6882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6897 if ac_fn_c_try_link "$LINENO"; then :
6898 lt_cv_cc_needs_belf=yes
6900 lt_cv_cc_needs_belf=no
6902 rm -f core conftest.err conftest.$ac_objext \
6903 conftest$ac_exeext conftest.$ac_ext
6905 ac_cpp='$CPP $CPPFLAGS'
6906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6915 CFLAGS="$SAVE_CFLAGS"
6919 # Find out which ABI we are using.
6920 echo 'int i;' > conftest.$ac_ext
6921 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6922 (eval $ac_compile) 2>&5
6924 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6925 test $ac_status = 0; }; then
6926 case `/usr/bin/file conftest.o` in
6928 case $lt_cv_prog_gnu_ld in
6929 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6931 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6943 need_locks="$enable_libtool_lock"
6945 if test -n "$ac_tool_prefix"; then
6946 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6947 set dummy ${ac_tool_prefix}mt; ac_word=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6949 $as_echo_n "checking
for $ac_word...
" >&6; }
6950 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6951 $as_echo_n "(cached
) " >&6
6953 if test -n "$MANIFEST_TOOL"; then
6954 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir=.
6961 for ac_exec_ext in '' $ac_executable_extensions; do
6962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6973 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6974 if test -n "$MANIFEST_TOOL"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6976 $as_echo "$MANIFEST_TOOL" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6979 $as_echo "no
" >&6; }
6984 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6985 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6986 # Extract the first word of "mt
", so it can be a program name with args.
6987 set dummy mt; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6989 $as_echo_n "checking
for $ac_word...
" >&6; }
6990 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6991 $as_echo_n "(cached
) " >&6
6993 if test -n "$ac_ct_MANIFEST_TOOL"; then
6994 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7013 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7014 if test -n "$ac_ct_MANIFEST_TOOL"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7016 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7019 $as_echo "no
" >&6; }
7022 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7025 case $cross_compiling:$ac_tool_warned in
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7028 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7029 ac_tool_warned=yes ;;
7031 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7034 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7037 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7039 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7040 if ${lt_cv_path_mainfest_tool+:} false; then :
7041 $as_echo_n "(cached
) " >&6
7043 lt_cv_path_mainfest_tool=no
7044 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7045 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7046 cat conftest.err >&5
7047 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7048 lt_cv_path_mainfest_tool=yes
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7053 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7054 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7064 rhapsody* | darwin*)
7065 if test -n "$ac_tool_prefix"; then
7066 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7067 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7069 $as_echo_n "checking
for $ac_word...
" >&6; }
7070 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7071 $as_echo_n "(cached
) " >&6
7073 if test -n "$DSYMUTIL"; then
7074 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7093 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7094 if test -n "$DSYMUTIL"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7096 $as_echo "$DSYMUTIL" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7099 $as_echo "no
" >&6; }
7104 if test -z "$ac_cv_prog_DSYMUTIL"; then
7105 ac_ct_DSYMUTIL=$DSYMUTIL
7106 # Extract the first word of "dsymutil
", so it can be a program name with args.
7107 set dummy dsymutil; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7109 $as_echo_n "checking
for $ac_word...
" >&6; }
7110 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7111 $as_echo_n "(cached
) " >&6
7113 if test -n "$ac_ct_DSYMUTIL"; then
7114 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir=.
7121 for ac_exec_ext in '' $ac_executable_extensions; do
7122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7123 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7133 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7134 if test -n "$ac_ct_DSYMUTIL"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7136 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7139 $as_echo "no
" >&6; }
7142 if test "x
$ac_ct_DSYMUTIL" = x; then
7145 case $cross_compiling:$ac_tool_warned in
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7148 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7149 ac_tool_warned=yes ;;
7151 DSYMUTIL=$ac_ct_DSYMUTIL
7154 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7157 if test -n "$ac_tool_prefix"; then
7158 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7159 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7161 $as_echo_n "checking
for $ac_word...
" >&6; }
7162 if ${ac_cv_prog_NMEDIT+:} false; then :
7163 $as_echo_n "(cached
) " >&6
7165 if test -n "$NMEDIT"; then
7166 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7175 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7185 NMEDIT=$ac_cv_prog_NMEDIT
7186 if test -n "$NMEDIT"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7188 $as_echo "$NMEDIT" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7191 $as_echo "no
" >&6; }
7196 if test -z "$ac_cv_prog_NMEDIT"; then
7197 ac_ct_NMEDIT=$NMEDIT
7198 # Extract the first word of "nmedit
", so it can be a program name with args.
7199 set dummy nmedit; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7201 $as_echo_n "checking
for $ac_word...
" >&6; }
7202 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7203 $as_echo_n "(cached
) " >&6
7205 if test -n "$ac_ct_NMEDIT"; then
7206 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7225 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7226 if test -n "$ac_ct_NMEDIT"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7228 $as_echo "$ac_ct_NMEDIT" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7231 $as_echo "no
" >&6; }
7234 if test "x
$ac_ct_NMEDIT" = x; then
7237 case $cross_compiling:$ac_tool_warned in
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7240 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7241 ac_tool_warned=yes ;;
7243 NMEDIT=$ac_ct_NMEDIT
7246 NMEDIT="$ac_cv_prog_NMEDIT"
7249 if test -n "$ac_tool_prefix"; then
7250 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7251 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7253 $as_echo_n "checking
for $ac_word...
" >&6; }
7254 if ${ac_cv_prog_LIPO+:} false; then :
7255 $as_echo_n "(cached
) " >&6
7257 if test -n "$LIPO"; then
7258 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 test -z "$as_dir" && as_dir=.
7265 for ac_exec_ext in '' $ac_executable_extensions; do
7266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7267 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7277 LIPO=$ac_cv_prog_LIPO
7278 if test -n "$LIPO"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7280 $as_echo "$LIPO" >&6; }
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7283 $as_echo "no
" >&6; }
7288 if test -z "$ac_cv_prog_LIPO"; then
7290 # Extract the first word of "lipo
", so it can be a program name with args.
7291 set dummy lipo; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7293 $as_echo_n "checking
for $ac_word...
" >&6; }
7294 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7295 $as_echo_n "(cached
) " >&6
7297 if test -n "$ac_ct_LIPO"; then
7298 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_ac_ct_LIPO="lipo
"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7317 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7318 if test -n "$ac_ct_LIPO"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7320 $as_echo "$ac_ct_LIPO" >&6; }
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7323 $as_echo "no
" >&6; }
7326 if test "x
$ac_ct_LIPO" = x; then
7329 case $cross_compiling:$ac_tool_warned in
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7332 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7333 ac_tool_warned=yes ;;
7338 LIPO="$ac_cv_prog_LIPO"
7341 if test -n "$ac_tool_prefix"; then
7342 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7343 set dummy ${ac_tool_prefix}otool; ac_word=$2
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7345 $as_echo_n "checking
for $ac_word...
" >&6; }
7346 if ${ac_cv_prog_OTOOL+:} false; then :
7347 $as_echo_n "(cached
) " >&6
7349 if test -n "$OTOOL"; then
7350 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 test -z "$as_dir" && as_dir=.
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7369 OTOOL=$ac_cv_prog_OTOOL
7370 if test -n "$OTOOL"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7372 $as_echo "$OTOOL" >&6; }
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7375 $as_echo "no
" >&6; }
7380 if test -z "$ac_cv_prog_OTOOL"; then
7382 # Extract the first word of "otool
", so it can be a program name with args.
7383 set dummy otool; ac_word=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7385 $as_echo_n "checking
for $ac_word...
" >&6; }
7386 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7387 $as_echo_n "(cached
) " >&6
7389 if test -n "$ac_ct_OTOOL"; then
7390 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_prog_ac_ct_OTOOL="otool
"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7409 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7410 if test -n "$ac_ct_OTOOL"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7412 $as_echo "$ac_ct_OTOOL" >&6; }
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7415 $as_echo "no
" >&6; }
7418 if test "x
$ac_ct_OTOOL" = x; then
7421 case $cross_compiling:$ac_tool_warned in
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7424 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7425 ac_tool_warned=yes ;;
7430 OTOOL="$ac_cv_prog_OTOOL"
7433 if test -n "$ac_tool_prefix"; then
7434 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7435 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7437 $as_echo_n "checking
for $ac_word...
" >&6; }
7438 if ${ac_cv_prog_OTOOL64+:} false; then :
7439 $as_echo_n "(cached
) " >&6
7441 if test -n "$OTOOL64"; then
7442 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7461 OTOOL64=$ac_cv_prog_OTOOL64
7462 if test -n "$OTOOL64"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7464 $as_echo "$OTOOL64" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7467 $as_echo "no
" >&6; }
7472 if test -z "$ac_cv_prog_OTOOL64"; then
7473 ac_ct_OTOOL64=$OTOOL64
7474 # Extract the first word of "otool64
", so it can be a program name with args.
7475 set dummy otool64; ac_word=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7477 $as_echo_n "checking
for $ac_word...
" >&6; }
7478 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7479 $as_echo_n "(cached
) " >&6
7481 if test -n "$ac_ct_OTOOL64"; then
7482 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488 test -z "$as_dir" && as_dir=.
7489 for ac_exec_ext in '' $ac_executable_extensions; do
7490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7501 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7502 if test -n "$ac_ct_OTOOL64"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7504 $as_echo "$ac_ct_OTOOL64" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7507 $as_echo "no
" >&6; }
7510 if test "x
$ac_ct_OTOOL64" = x; then
7513 case $cross_compiling:$ac_tool_warned in
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7516 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7517 ac_tool_warned=yes ;;
7519 OTOOL64=$ac_ct_OTOOL64
7522 OTOOL64="$ac_cv_prog_OTOOL64"
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7552 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7553 if ${lt_cv_apple_cc_single_mod+:} false; then :
7554 $as_echo_n "(cached
) " >&6
7556 lt_cv_apple_cc_single_mod=no
7557 if test -z "${LT_MULTI_MODULE}"; then
7558 # By default we will add the -single_module flag. You can override
7559 # by either setting the environment variable LT_MULTI_MODULE
7560 # non-empty at configure time, or by adding -multi_module to the
7562 rm -rf libconftest.dylib*
7563 echo "int foo
(void
){return 1;}" > conftest.c
7564 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7565 -dynamiclib -Wl,-single_module conftest.c
" >&5
7566 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7567 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7569 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7570 lt_cv_apple_cc_single_mod=yes
7572 cat conftest.err >&5
7574 rm -rf libconftest.dylib*
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7579 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7581 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7582 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7583 $as_echo_n "(cached
) " >&6
7585 lt_cv_ld_exported_symbols_list=no
7586 save_LDFLAGS=$LDFLAGS
7587 echo "_main
" > conftest.sym
7588 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7600 if ac_fn_c_try_link "$LINENO"; then :
7601 lt_cv_ld_exported_symbols_list=yes
7603 lt_cv_ld_exported_symbols_list=no
7605 rm -f core conftest.err conftest.$ac_objext \
7606 conftest$ac_exeext conftest.$ac_ext
7607 LDFLAGS="$save_LDFLAGS"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7611 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7613 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7614 if ${lt_cv_ld_force_load+:} false; then :
7615 $as_echo_n "(cached
) " >&6
7617 lt_cv_ld_force_load=no
7618 cat > conftest.c << _LT_EOF
7619 int forced_loaded() { return 2;}
7621 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7622 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7623 echo "$AR cru libconftest.a conftest.o
" >&5
7624 $AR cru libconftest.a conftest.o 2>&5
7625 echo "$RANLIB libconftest.a
" >&5
7626 $RANLIB libconftest.a 2>&5
7627 cat > conftest.c << _LT_EOF
7628 int main() { return 0;}
7630 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7631 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7633 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7634 lt_cv_ld_force_load=yes
7636 cat conftest.err >&5
7638 rm -f conftest.err libconftest.a conftest conftest.c
7639 rm -rf conftest.dSYM
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7643 $as_echo "$lt_cv_ld_force_load" >&6; }
7645 rhapsody* | darwin1.[012])
7646 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7648 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7649 darwin*) # darwin 5.x on
7650 # if running on 10.5 or later, the deployment target defaults
7651 # to the OS version, if on x86, and 10.4, the deployment
7652 # target defaults to 10.4. Don't you love it?
7653 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7654 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7655 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7657 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7659 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7663 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7664 _lt_dar_single_mod='$single_module'
7666 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7667 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7669 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7671 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7672 _lt_dsymutil='~$DSYMUTIL $lib || :'
7679 for ac_header in dlfcn.h
7681 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7683 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define HAVE_DLFCN_H 1
7706 # Check whether --enable-shared was given.
7707 if test "${enable_shared+set}" = set; then :
7708 enableval=$enable_shared; p=${PACKAGE-default}
7710 yes) enable_shared=yes ;;
7711 no) enable_shared=no ;;
7714 # Look at the argument we got. We use all the common list separators.
7715 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7716 for pkg in $enableval; do
7718 if test "X
$pkg" = "X
$p"; then
7737 # Check whether --enable-static was given.
7738 if test "${enable_static+set}" = set; then :
7739 enableval=$enable_static; p=${PACKAGE-default}
7741 yes) enable_static=yes ;;
7742 no) enable_static=no ;;
7745 # Look at the argument we got. We use all the common list separators.
7746 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7747 for pkg in $enableval; do
7749 if test "X
$pkg" = "X
$p"; then
7769 # Check whether --with-pic was given.
7770 if test "${with_pic+set}" = set; then :
7771 withval=$with_pic; pic_mode="$withval"
7777 test -z "$pic_mode" && pic_mode=default
7785 # Check whether --enable-fast-install was given.
7786 if test "${enable_fast_install+set}" = set; then :
7787 enableval=$enable_fast_install; p=${PACKAGE-default}
7789 yes) enable_fast_install=yes ;;
7790 no) enable_fast_install=no ;;
7792 enable_fast_install=no
7793 # Look at the argument we got. We use all the common list separators.
7794 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7795 for pkg in $enableval; do
7797 if test "X
$pkg" = "X
$p"; then
7798 enable_fast_install=yes
7805 enable_fast_install=yes
7818 # This can be used to rebuild libtool when needed
7819 LIBTOOL_DEPS="$ltmain"
7821 # Always use our own libtool.
7822 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7849 test -z "$LN_S" && LN_S="ln -s"
7864 if test -n "${ZSH_VERSION+set}" ; then
7865 setopt NO_GLOB_SUBST
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7869 $as_echo_n "checking
for objdir...
" >&6; }
7870 if ${lt_cv_objdir+:} false; then :
7871 $as_echo_n "(cached
) " >&6
7873 rm -f .libs 2>/dev/null
7874 mkdir .libs 2>/dev/null
7875 if test -d .libs; then
7878 # MS-DOS does not allow filenames that begin with a dot.
7881 rmdir .libs 2>/dev/null
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7884 $as_echo "$lt_cv_objdir" >&6; }
7885 objdir=$lt_cv_objdir
7891 cat >>confdefs.h <<_ACEOF
7892 #define LT_OBJDIR "$lt_cv_objdir/"
7900 # AIX sometimes has problems with the GCC collect2 program. For some
7901 # reason, if we set the COLLECT_NAMES environment variable, the problems
7902 # vanish in a puff of smoke.
7903 if test "X
${COLLECT_NAMES+set}" != Xset; then
7905 export COLLECT_NAMES
7912 can_build_shared=yes
7914 # All known linkers require a `.a' archive for static linking (except MSVC,
7915 # which needs '.lib').
7918 with_gnu_ld="$lt_cv_prog_gnu_ld"
7921 old_CFLAGS="$CFLAGS"
7923 # Set sane defaults for various variables
7924 test -z "$CC" && CC=cc
7925 test -z "$LTCC" && LTCC=$CC
7926 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7927 test -z "$LD" && LD=ld
7928 test -z "$ac_objext" && ac_objext=o
7930 for cc_temp in $compiler""; do
7932 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7933 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7938 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7941 # Only perform the check for file, if the check method requires it
7942 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7943 case $deplibs_check_method in
7945 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7947 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7948 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7949 $as_echo_n "(cached
) " >&6
7953 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7956 lt_save_MAGIC_CMD="$MAGIC_CMD"
7957 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7958 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7959 for ac_dir in $ac_dummy; do
7961 test -z "$ac_dir" && ac_dir=.
7962 if test -f $ac_dir/${ac_tool_prefix}file; then
7963 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7964 if test -n "$file_magic_test_file"; then
7965 case $deplibs_check_method in
7967 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7968 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7969 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7970 $EGREP "$file_magic_regex" > /dev/null; then
7975 *** Warning: the command libtool uses to detect shared libraries,
7976 *** $file_magic_cmd, produces output that libtool cannot recognize.
7977 *** The result is that libtool may fail to recognize shared libraries
7978 *** as such. This will affect the creation of libtool libraries that
7979 *** depend on shared libraries, but programs linked with such libtool
7980 *** libraries will work regardless of this problem. Nevertheless, you
7981 *** may want to report the problem to your system manager and/or to
7982 *** bug-libtool@gnu.org
7992 MAGIC_CMD="$lt_save_MAGIC_CMD"
7997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7998 if test -n "$MAGIC_CMD"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8000 $as_echo "$MAGIC_CMD" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8003 $as_echo "no
" >&6; }
8010 if test -z "$lt_cv_path_MAGIC_CMD"; then
8011 if test -n "$ac_tool_prefix"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8013 $as_echo_n "checking
for file...
" >&6; }
8014 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8015 $as_echo_n "(cached
) " >&6
8019 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8022 lt_save_MAGIC_CMD="$MAGIC_CMD"
8023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8024 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8025 for ac_dir in $ac_dummy; do
8027 test -z "$ac_dir" && ac_dir=.
8028 if test -f $ac_dir/file; then
8029 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8030 if test -n "$file_magic_test_file"; then
8031 case $deplibs_check_method in
8033 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8034 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8035 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8036 $EGREP "$file_magic_regex" > /dev/null; then
8041 *** Warning: the command libtool uses to detect shared libraries,
8042 *** $file_magic_cmd, produces output that libtool cannot recognize.
8043 *** The result is that libtool may fail to recognize shared libraries
8044 *** as such. This will affect the creation of libtool libraries that
8045 *** depend on shared libraries, but programs linked with such libtool
8046 *** libraries will work regardless of this problem. Nevertheless, you
8047 *** may want to report the problem to your system manager and/or to
8048 *** bug-libtool@gnu.org
8058 MAGIC_CMD="$lt_save_MAGIC_CMD"
8063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064 if test -n "$MAGIC_CMD"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8066 $as_echo "$MAGIC_CMD" >&6; }
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8069 $as_echo "no
" >&6; }
8082 # Use C for the default configuration in the libtool script
8086 ac_cpp='$CPP $CPPFLAGS'
8087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8092 # Source file extension for C test sources.
8095 # Object file extension for compiled C test sources.
8099 # Code to be used in simple compile tests
8100 lt_simple_compile_test_code="int some_variable
= 0;"
8102 # Code to be used in simple link tests
8103 lt_simple_link_test_code='int main(){return(0);}'
8111 # If no C compiler was specified, use CC.
8114 # If no C compiler flags were specified, use CFLAGS.
8115 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8117 # Allow CC to be a program name with arguments.
8120 # Save the default compiler, since it gets overwritten when the other
8121 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8122 compiler_DEFAULT=$CC
8124 # save warnings/boilerplate of simple test code
8125 ac_outfile=conftest.$ac_objext
8126 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8127 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8128 _lt_compiler_boilerplate=`cat conftest.err`
8131 ac_outfile=conftest.$ac_objext
8132 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8133 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8134 _lt_linker_boilerplate=`cat conftest.err`
8139 ## There is no encapsulation within the following macros, do not change
8140 ## the running order or otherwise move them around unless you know exactly
8141 ## what you are doing...
8142 if test -n "$compiler"; then
8144 lt_prog_compiler_no_builtin_flag=
8146 if test "$GCC" = yes; then
8147 case $cc_basename in
8149 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8151 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8155 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8156 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8157 $as_echo_n "(cached
) " >&6
8159 lt_cv_prog_compiler_rtti_exceptions=no
8160 ac_outfile=conftest.$ac_objext
8161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8162 lt_compiler_flag="-fno-rtti -fno-exceptions"
8163 # Insert the option either (1) after the last *FLAGS variable, or
8164 # (2) before a word containing "conftest.
", or (3) at the end.
8165 # Note that $ac_compile itself does not contain backslashes and begins
8166 # with a dollar sign (not a hyphen), so the echo should work correctly.
8167 # The option is referenced via a variable to avoid confusing sed.
8168 lt_compile=`echo "$ac_compile" | $SED \
8169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8171 -e 's:$: $lt_compiler_flag:'`
8172 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8173 (eval "$lt_compile" 2>conftest.err)
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8177 if (exit $ac_status) && test -s "$ac_outfile"; then
8178 # The compiler can only warn and ignore the option if not recognized
8179 # So say no if there are warnings other than the usual output.
8180 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8181 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8182 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8183 lt_cv_prog_compiler_rtti_exceptions=yes
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8190 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8192 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8193 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8205 lt_prog_compiler_wl=
8206 lt_prog_compiler_pic=
8207 lt_prog_compiler_static=
8210 if test "$GCC" = yes; then
8211 lt_prog_compiler_wl='-Wl,'
8212 lt_prog_compiler_static='-static'
8216 # All AIX code is PIC.
8217 if test "$host_cpu" = ia64; then
8218 # AIX 5 now supports IA64 processor
8219 lt_prog_compiler_static='-Bstatic'
8226 # see comment about AmigaOS4 .so support
8227 lt_prog_compiler_pic='-fPIC'
8230 # FIXME: we need at least 68020 code to build shared libraries, but
8231 # adding the `-m68020' flag to GCC prevents building anything better,
8233 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8238 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8239 # PIC is the default for these OSes.
8242 mingw* | cygwin* | pw32* | os2* | cegcc*)
8243 # This hack is so that the source file can tell whether it is being
8244 # built for inclusion in a dll (and should export symbols for example).
8245 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8246 # (--disable-auto-import) libraries
8247 lt_prog_compiler_pic='-DDLL_EXPORT'
8250 darwin* | rhapsody*)
8251 # PIC is the default on this platform
8252 # Common symbols not allowed in MH_DYLIB files
8253 lt_prog_compiler_pic='-fno-common'
8257 # PIC is the default for Haiku.
8258 # The "-static" flag exists, but is broken.
8259 lt_prog_compiler_static=
8263 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8264 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8265 # sets the default TLS model and affects inlining.
8271 lt_prog_compiler_pic='-fPIC'
8277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8278 # Instead, we relocate shared libraries at runtime.
8282 # Just because we use GCC doesn't mean we suddenly get shared libraries
8283 # on systems that don't support them.
8284 lt_prog_compiler_can_build_shared=no
8289 # QNX uses GNU C++, but need to define -shared option too, otherwise
8291 lt_prog_compiler_pic='-fPIC -shared'
8295 if test -d /usr/nec; then
8296 lt_prog_compiler_pic=-Kconform_pic
8301 lt_prog_compiler_pic='-fPIC'
8305 case $cc_basename in
8306 nvcc*) # Cuda Compiler Driver 2.2
8307 lt_prog_compiler_wl='-Xlinker '
8308 lt_prog_compiler_pic='-Xcompiler -fPIC'
8312 # PORTME Check for flag to pass linker flags through the system compiler.
8315 lt_prog_compiler_wl='-Wl,'
8316 if test "$host_cpu" = ia64; then
8317 # AIX 5 now supports IA64 processor
8318 lt_prog_compiler_static='-Bstatic'
8320 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8324 mingw* | cygwin* | pw32* | os2* | cegcc*)
8325 # This hack is so that the source file can tell whether it is being
8326 # built for inclusion in a dll (and should export symbols for example).
8327 lt_prog_compiler_pic='-DDLL_EXPORT'
8330 hpux9* | hpux10* | hpux11*)
8331 lt_prog_compiler_wl='-Wl,'
8332 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8339 lt_prog_compiler_pic='+Z'
8342 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8343 lt_prog_compiler_static='${wl}-a ${wl}archive'
8346 irix5* | irix6* | nonstopux*)
8347 lt_prog_compiler_wl='-Wl,'
8348 # PIC (with -KPIC) is the default.
8349 lt_prog_compiler_static='-non_shared'
8352 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8353 case $cc_basename in
8354 # old Intel for x86_64 which still supported -KPIC.
8356 lt_prog_compiler_wl='-Wl,'
8357 lt_prog_compiler_pic='-KPIC'
8358 lt_prog_compiler_static='-static'
8360 # icc used to be incompatible with GCC.
8361 # ICC 10 doesn't accept -KPIC any more.
8363 lt_prog_compiler_wl='-Wl,'
8364 lt_prog_compiler_pic='-fPIC'
8365 lt_prog_compiler_static='-static'
8367 # Lahey Fortran 8.1.
8369 lt_prog_compiler_wl='-Wl,'
8370 lt_prog_compiler_pic='--shared'
8371 lt_prog_compiler_static='--static'
8374 # NAG Fortran compiler
8375 lt_prog_compiler_wl='-Wl,-Wl,,'
8376 lt_prog_compiler_pic='-PIC'
8377 lt_prog_compiler_static='-Bstatic'
8379 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8380 # Portland Group compilers (*not* the Pentium gcc compiler,
8381 # which looks to be a dead project)
8382 lt_prog_compiler_wl='-Wl,'
8383 lt_prog_compiler_pic='-fpic'
8384 lt_prog_compiler_static='-Bstatic'
8387 lt_prog_compiler_wl='-Wl,'
8388 # All Alpha code is PIC.
8389 lt_prog_compiler_static='-non_shared'
8391 xl* | bgxl* | bgf* | mpixl*)
8392 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8393 lt_prog_compiler_wl='-Wl,'
8394 lt_prog_compiler_pic='-qpic'
8395 lt_prog_compiler_static='-qstaticlink'
8398 case `$CC -V 2>&1 | sed 5q` in
8399 *Sun\ F* | *Sun*Fortran*)
8400 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8401 lt_prog_compiler_pic='-KPIC'
8402 lt_prog_compiler_static='-Bstatic'
8403 lt_prog_compiler_wl=''
8407 lt_prog_compiler_pic='-KPIC'
8408 lt_prog_compiler_static='-Bstatic'
8409 lt_prog_compiler_wl='-Wl,'
8417 lt_prog_compiler_pic='-KPIC'
8418 lt_prog_compiler_static='-Bstatic'
8422 # QNX uses GNU C++, but need to define -shared option too, otherwise
8424 lt_prog_compiler_pic='-fPIC -shared'
8427 osf3* | osf4* | osf5*)
8428 lt_prog_compiler_wl='-Wl,'
8429 # All OSF/1 code is PIC.
8430 lt_prog_compiler_static='-non_shared'
8434 lt_prog_compiler_static='-non_shared'
8438 lt_prog_compiler_pic='-KPIC'
8439 lt_prog_compiler_static='-Bstatic'
8440 case $cc_basename in
8441 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8442 lt_prog_compiler_wl='-Qoption ld ';;
8444 lt_prog_compiler_wl='-Wl,';;
8449 lt_prog_compiler_wl='-Qoption ld '
8450 lt_prog_compiler_pic='-PIC'
8451 lt_prog_compiler_static='-Bstatic'
8454 sysv4 | sysv4.2uw2* | sysv4.3*)
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='-KPIC'
8457 lt_prog_compiler_static='-Bstatic'
8461 if test -d /usr/nec ;then
8462 lt_prog_compiler_pic='-Kconform_pic'
8463 lt_prog_compiler_static='-Bstatic'
8467 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_pic='-KPIC'
8470 lt_prog_compiler_static='-Bstatic'
8474 lt_prog_compiler_wl='-Wl,'
8475 lt_prog_compiler_can_build_shared=no
8479 lt_prog_compiler_pic='-pic'
8480 lt_prog_compiler_static='-Bstatic'
8484 lt_prog_compiler_can_build_shared=no
8490 # For platforms which do not support PIC, -DPIC is meaningless:
8492 lt_prog_compiler_pic=
8495 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8500 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8501 if ${lt_cv_prog_compiler_pic+:} false; then :
8502 $as_echo_n "(cached
) " >&6
8504 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
8507 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8508 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8511 # Check to make sure the PIC flag actually works.
8513 if test -n "$lt_prog_compiler_pic"; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8515 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8516 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8517 $as_echo_n "(cached
) " >&6
8519 lt_cv_prog_compiler_pic_works=no
8520 ac_outfile=conftest.$ac_objext
8521 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8522 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8523 # Insert the option either (1) after the last *FLAGS variable, or
8524 # (2) before a word containing "conftest.
", or (3) at the end.
8525 # Note that $ac_compile itself does not contain backslashes and begins
8526 # with a dollar sign (not a hyphen), so the echo should work correctly.
8527 # The option is referenced via a variable to avoid confusing sed.
8528 lt_compile=`echo "$ac_compile" | $SED \
8529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8531 -e 's:$: $lt_compiler_flag:'`
8532 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8533 (eval "$lt_compile" 2>conftest.err)
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8537 if (exit $ac_status) && test -s "$ac_outfile"; then
8538 # The compiler can only warn and ignore the option if not recognized
8539 # So say no if there are warnings other than the usual output.
8540 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8541 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8542 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8543 lt_cv_prog_compiler_pic_works=yes
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8550 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8552 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8553 case $lt_prog_compiler_pic in
8555 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8558 lt_prog_compiler_pic=
8559 lt_prog_compiler_can_build_shared=no
8575 # Check to make sure the static flag actually works.
8577 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8579 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8580 if ${lt_cv_prog_compiler_static_works+:} false; then :
8581 $as_echo_n "(cached
) " >&6
8583 lt_cv_prog_compiler_static_works=no
8584 save_LDFLAGS="$LDFLAGS"
8585 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8586 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8587 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8588 # The linker can only warn and ignore the option if not recognized
8589 # So say no if there are warnings
8590 if test -s conftest.err; then
8591 # Append any errors to the config.log.
8592 cat conftest.err 1>&5
8593 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_static_works=yes
8599 lt_cv_prog_compiler_static_works=yes
8603 LDFLAGS="$save_LDFLAGS"
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8607 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8609 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8612 lt_prog_compiler_static=
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8622 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8623 if ${lt_cv_prog_compiler_c_o+:} false; then :
8624 $as_echo_n "(cached
) " >&6
8626 lt_cv_prog_compiler_c_o=no
8627 $RM -r conftest 2>/dev/null
8631 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8633 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8634 # Insert the option either (1) after the last *FLAGS variable, or
8635 # (2) before a word containing "conftest.
", or (3) at the end.
8636 # Note that $ac_compile itself does not contain backslashes and begins
8637 # with a dollar sign (not a hyphen), so the echo should work correctly.
8638 lt_compile=`echo "$ac_compile" | $SED \
8639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8641 -e 's:$: $lt_compiler_flag:'`
8642 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8643 (eval "$lt_compile" 2>out/conftest.err)
8645 cat out/conftest.err >&5
8646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8647 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8649 # The compiler can only warn and ignore the option if not recognized
8650 # So say no if there are warnings
8651 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8652 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8653 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8654 lt_cv_prog_compiler_c_o=yes
8659 # SGI C++ compiler will create directory out/ii_files/ for
8660 # template instantiation
8661 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8662 $RM out/* && rmdir out
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8669 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8677 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8678 if ${lt_cv_prog_compiler_c_o+:} false; then :
8679 $as_echo_n "(cached
) " >&6
8681 lt_cv_prog_compiler_c_o=no
8682 $RM -r conftest 2>/dev/null
8686 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8688 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8689 # Insert the option either (1) after the last *FLAGS variable, or
8690 # (2) before a word containing "conftest.
", or (3) at the end.
8691 # Note that $ac_compile itself does not contain backslashes and begins
8692 # with a dollar sign (not a hyphen), so the echo should work correctly.
8693 lt_compile=`echo "$ac_compile" | $SED \
8694 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8696 -e 's:$: $lt_compiler_flag:'`
8697 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8698 (eval "$lt_compile" 2>out/conftest.err)
8700 cat out/conftest.err >&5
8701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8702 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8704 # The compiler can only warn and ignore the option if not recognized
8705 # So say no if there are warnings
8706 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8707 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8708 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8709 lt_cv_prog_compiler_c_o=yes
8714 # SGI C++ compiler will create directory out/ii_files/ for
8715 # template instantiation
8716 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8717 $RM out/* && rmdir out
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8724 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8729 hard_links="nottested
"
8730 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8731 # do not overwrite the value of need_locks provided by the user
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8733 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8736 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8738 ln conftest.a conftest.b 2>&5 || hard_links=no
8739 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8741 $as_echo "$hard_links" >&6; }
8742 if test "$hard_links" = no; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8744 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8757 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8760 allow_undefined_flag=
8761 always_export_symbols=no
8763 archive_expsym_cmds=
8764 compiler_needs_object=no
8765 enable_shared_with_static_runtimes=no
8766 export_dynamic_flag_spec=
8767 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8768 hardcode_automatic=no
8770 hardcode_direct_absolute=no
8771 hardcode_libdir_flag_spec=
8772 hardcode_libdir_flag_spec_ld=
8773 hardcode_libdir_separator=
8775 hardcode_shlibpath_var=unsupported
8777 link_all_deplibs=unknown
8780 old_archive_from_new_cmds=
8781 old_archive_from_expsyms_cmds=
8782 thread_safe_flag_spec=
8783 whole_archive_flag_spec=
8784 # include_expsyms should be a list of space-separated symbols to be *always*
8785 # included in the symbol list
8787 # exclude_expsyms can be an extended regexp of symbols to exclude
8788 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8789 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8790 # as well as any symbol that contains `d'.
8791 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8792 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8793 # platforms (ab)use it in PIC code, but their linkers get confused if
8794 # the symbol is explicitly referenced. Since portable code cannot
8795 # rely on this symbol name, it's probably fine to never include it in
8796 # preloaded symbol tables.
8797 # Exclude shared library initialization/finalization symbols.
8798 extract_expsyms_cmds=
8801 cygwin* | mingw* | pw32* | cegcc*)
8802 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8803 # When not using gcc, we currently assume that we are using
8804 # Microsoft Visual C++.
8805 if test "$GCC" != yes; then
8810 # we just hope/assume this is gcc and not c89 (= MSVC++)
8820 # On some targets, GNU ld is compatible enough with the native linker
8821 # that we're better off using the native interface for both.
8822 lt_use_gnu_ld_interface=no
8823 if test "$with_gnu_ld" = yes; then
8826 # The AIX port of GNU ld has always aspired to compatibility
8827 # with the native linker. However, as the warning in the GNU ld
8828 # block says, versions before 2.19.5* couldn't really create working
8829 # shared libraries, regardless of the interface used.
8830 case `$LD -v 2>&1` in
8831 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8832 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8833 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8835 lt_use_gnu_ld_interface=yes
8840 lt_use_gnu_ld_interface=yes
8845 if test "$lt_use_gnu_ld_interface" = yes; then
8846 # If archive_cmds runs LD, not CC, wlarc should be empty
8849 # Set some defaults for GNU ld with shared library support. These
8850 # are reset later if shared libraries are not supported. Putting them
8851 # here allows them to be overridden if necessary.
8852 runpath_var=LD_RUN_PATH
8853 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8854 export_dynamic_flag_spec='${wl}--export-dynamic'
8855 # ancient GNU ld didn't support --whole-archive et. al.
8856 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8857 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8859 whole_archive_flag_spec=
8861 supports_anon_versioning=no
8862 case `$LD -v 2>&1` in
8863 *GNU\ gold*) supports_anon_versioning=yes ;;
8864 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8865 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8866 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8867 *\ 2.11.*) ;; # other 2.11 versions
8868 *) supports_anon_versioning=yes ;;
8871 # See if GNU ld supports shared libraries.
8874 # On AIX/PPC, the GNU linker is very broken
8875 if test "$host_cpu" != ia64; then
8879 *** Warning: the GNU linker, at least up to release 2.19, is reported
8880 *** to be unable to reliably create shared libraries on AIX.
8881 *** Therefore, libtool is disabling shared libraries support. If you
8882 *** really care for shared libraries, you may want to install binutils
8883 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8884 *** You will then need to restart the configuration process.
8893 # see comment about AmigaOS4 .so support
8894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895 archive_expsym_cmds=''
8898 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8899 hardcode_libdir_flag_spec
='-L$libdir'
8900 hardcode_minus_L
=yes
8906 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8907 allow_undefined_flag
=unsupported
8908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8909 # support --undefined. This deserves some investigation. FIXME
8910 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8916 cygwin
* | mingw
* | pw32
* | cegcc
*)
8917 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8918 # as there is no search path for DLLs.
8919 hardcode_libdir_flag_spec
='-L$libdir'
8920 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8921 allow_undefined_flag
=unsupported
8922 always_export_symbols
=no
8923 enable_shared_with_static_runtimes
=yes
8924 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'
8925 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8927 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8929 # If the export-symbols file already is a .def file (1st line
8930 # is EXPORTS), use it as is; otherwise, prepend...
8931 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8932 cp $export_symbols $output_objdir/$soname.def;
8934 echo EXPORTS > $output_objdir/$soname.def;
8935 cat $export_symbols >> $output_objdir/$soname.def;
8937 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945 link_all_deplibs
=yes
8950 hardcode_shlibpath_var
=no
8951 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8952 export_dynamic_flag_spec
='${wl}-E'
8953 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8954 # Instead, shared libraries are loaded at an image base (0x10000000 by
8955 # default) and relocated if they conflict, which is a slow very memory
8956 # consuming and fragmenting process. To avoid this, we pick a random,
8957 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8958 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8959 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8960 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'
8963 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8965 if test "$host_os" = linux-dietlibc
; then
8966 case $cc_basename in
8967 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8970 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8971 && test "$tmp_diet" = no
8973 tmp_addflag
=' $pic_flag'
8974 tmp_sharedflag
='-shared'
8975 case $cc_basename,$host_cpu in
8976 pgcc
*) # Portland Group C compiler
8977 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'
8978 tmp_addflag
=' $pic_flag'
8980 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8981 # Portland Group f77 and f90 compilers
8982 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'
8983 tmp_addflag
=' $pic_flag -Mnomain' ;;
8984 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8985 tmp_addflag
=' -i_dynamic' ;;
8986 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8987 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8988 ifc
* | ifort
*) # Intel Fortran compiler
8989 tmp_addflag
=' -nofor_main' ;;
8990 lf95
*) # Lahey Fortran 8.1
8991 whole_archive_flag_spec
=
8992 tmp_sharedflag
='--shared' ;;
8993 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8994 tmp_sharedflag
='-qmkshrobj'
8996 nvcc
*) # Cuda Compiler Driver 2.2
8997 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'
8998 compiler_needs_object
=yes
9001 case `$CC -V 2>&1 | sed 5q` in
9002 *Sun\ C
*) # Sun C 5.9
9003 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'
9004 compiler_needs_object
=yes
9005 tmp_sharedflag
='-G' ;;
9006 *Sun\ F
*) # Sun Fortran 8.3
9007 tmp_sharedflag
='-G' ;;
9009 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011 if test "x$supports_anon_versioning" = xyes
; then
9012 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9014 echo "local: *; };" >> $output_objdir/$libname.ver~
9015 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9018 case $cc_basename in
9019 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9020 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9021 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9022 hardcode_libdir_flag_spec
=
9023 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9024 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9025 if test "x$supports_anon_versioning" = xyes
; then
9026 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9028 echo "local: *; };" >> $output_objdir/$libname.ver~
9029 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9039 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9040 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9043 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9049 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9053 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9054 *** create shared libraries on Solaris systems. Therefore, libtool
9055 *** is disabling shared libraries support. We urge you to upgrade GNU
9056 *** binutils to release 2.9.1 or newer. Another option is to modify
9057 *** your PATH or compiler configuration so that the native linker is
9058 *** used, and then restart.
9061 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9062 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9063 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9069 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9070 case `$LD -v 2>&1` in
9071 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9075 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9076 *** reliably create shared libraries on SCO systems. Therefore, libtool
9077 *** is disabling shared libraries support. We urge you to upgrade GNU
9078 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9079 *** your PATH or compiler configuration so that the native linker is
9080 *** used, and then restart.
9085 # For security reasons, it is highly recommended that you always
9086 # use absolute paths for naming shared libraries, and exclude the
9087 # DT_RUNPATH tag from executables and libraries. But doing so
9088 # requires that you compile everything twice, which is a pain.
9089 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9090 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9091 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9101 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9104 hardcode_shlibpath_var
=no
9108 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9109 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9110 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9117 if test "$ld_shlibs" = no
; then
9119 hardcode_libdir_flag_spec
=
9120 export_dynamic_flag_spec
=
9121 whole_archive_flag_spec
=
9124 # PORTME fill in a description of your system's linker (not GNU ld)
9127 allow_undefined_flag
=unsupported
9128 always_export_symbols
=yes
9129 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'
9130 # Note: this linker hardcodes the directories in LIBPATH if there
9131 # are no directories specified by -L.
9132 hardcode_minus_L
=yes
9133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9134 # Neither direct hardcoding nor static linking is supported with a
9136 hardcode_direct
=unsupported
9141 if test "$host_cpu" = ia64
; then
9142 # On IA64, the linker does run time linking by default, so we don't
9143 # have to do anything special.
9144 aix_use_runtimelinking
=no
9145 exp_sym_flag
='-Bexport'
9148 # If we're using GNU nm, then we don't want the "-C" option.
9149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9150 # Also, AIX nm treats weak defined symbols like other global
9151 # defined symbols, whereas GNU nm marks them as "W".
9152 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9153 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'
9155 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'
9157 aix_use_runtimelinking
=no
9159 # Test if we are trying to use run time linking or normal
9160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9161 # need to do runtime linking.
9162 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9163 for ld_flag
in $LDFLAGS; do
9164 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9165 aix_use_runtimelinking
=yes
9172 exp_sym_flag
='-bexport'
9173 no_entry_flag
='-bnoentry'
9176 # When large executables or shared objects are built, AIX ld can
9177 # have problems creating the table of contents. If linking a library
9178 # or program results in "error TOC overflow" add -mminimal-toc to
9179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9184 hardcode_direct_absolute
=yes
9185 hardcode_libdir_separator
=':'
9186 link_all_deplibs
=yes
9187 file_list_spec
='${wl}-f,'
9189 if test "$GCC" = yes; then
9190 case $host_os in aix4.
[012]|aix4.
[012].
*)
9191 # We only want to do this on AIX 4.2 and lower, the check
9192 # below for broken collect2 doesn't work under 4.3+
9193 collect2name
=`${CC} -print-prog-name=collect2`
9194 if test -f "$collect2name" &&
9195 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9197 # We have reworked collect2
9200 # We have old collect2
9201 hardcode_direct
=unsupported
9202 # It fails to find uninstalled libraries when the uninstalled
9203 # path is not listed in the libpath. Setting hardcode_minus_L
9204 # to unsupported forces relinking
9205 hardcode_minus_L
=yes
9206 hardcode_libdir_flag_spec
='-L$libdir'
9207 hardcode_libdir_separator
=
9211 shared_flag
='-shared'
9212 if test "$aix_use_runtimelinking" = yes; then
9213 shared_flag
="$shared_flag "'${wl}-G'
9217 if test "$host_cpu" = ia64
; then
9218 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9219 # chokes on -Wl,-G. The following line is correct:
9222 if test "$aix_use_runtimelinking" = yes; then
9223 shared_flag
='${wl}-G'
9225 shared_flag
='${wl}-bM:SRE'
9230 export_dynamic_flag_spec
='${wl}-bexpall'
9231 # It seems that -bexpall does not export symbols beginning with
9232 # underscore (_), so it is better to generate a list of symbols to export.
9233 always_export_symbols
=yes
9234 if test "$aix_use_runtimelinking" = yes; then
9235 # Warning - without using the other runtime loading flags (-brtl),
9236 # -berok will link without error, but may produce a broken library.
9237 allow_undefined_flag
='-berok'
9238 # Determine the default libpath from the value encoded in an
9240 if test "${lt_cv_aix_libpath+set}" = set; then
9241 aix_libpath
=$lt_cv_aix_libpath
9243 if ${lt_cv_aix_libpath_+:} false
; then :
9244 $as_echo_n "(cached) " >&6
9246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9257 if ac_fn_c_try_link
"$LINENO"; then :
9259 lt_aix_libpath_sed
='
9260 /Import File Strings/,/^$/ {
9262 s/^0 *\([^ ]*\) *$/\1/
9266 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9267 # Check for a 64-bit object if we didn't find anything.
9268 if test -z "$lt_cv_aix_libpath_"; then
9269 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9272 rm -f core conftest.err conftest.
$ac_objext \
9273 conftest
$ac_exeext conftest.
$ac_ext
9274 if test -z "$lt_cv_aix_libpath_"; then
9275 lt_cv_aix_libpath_
="/usr/lib:/lib"
9280 aix_libpath
=$lt_cv_aix_libpath_
9283 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9284 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"
9286 if test "$host_cpu" = ia64
; then
9287 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9288 allow_undefined_flag
="-z nodefs"
9289 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"
9291 # Determine the default libpath from the value encoded in an
9293 if test "${lt_cv_aix_libpath+set}" = set; then
9294 aix_libpath
=$lt_cv_aix_libpath
9296 if ${lt_cv_aix_libpath_+:} false
; then :
9297 $as_echo_n "(cached) " >&6
9299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9310 if ac_fn_c_try_link
"$LINENO"; then :
9312 lt_aix_libpath_sed
='
9313 /Import File Strings/,/^$/ {
9315 s/^0 *\([^ ]*\) *$/\1/
9319 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9320 # Check for a 64-bit object if we didn't find anything.
9321 if test -z "$lt_cv_aix_libpath_"; then
9322 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9325 rm -f core conftest.err conftest.
$ac_objext \
9326 conftest
$ac_exeext conftest.
$ac_ext
9327 if test -z "$lt_cv_aix_libpath_"; then
9328 lt_cv_aix_libpath_
="/usr/lib:/lib"
9333 aix_libpath
=$lt_cv_aix_libpath_
9336 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9337 # Warning - without using the other run time loading flags,
9338 # -berok will link without error, but may produce a broken library.
9339 no_undefined_flag
=' ${wl}-bernotok'
9340 allow_undefined_flag
=' ${wl}-berok'
9341 if test "$with_gnu_ld" = yes; then
9342 # We only use this code for GNU lds that support --whole-archive.
9343 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9345 # Exported symbols can be pulled into shared objects from archives
9346 whole_archive_flag_spec
='$convenience'
9348 archive_cmds_need_lc
=yes
9349 # This is similar to how AIX traditionally builds its shared libraries.
9350 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'
9358 # see comment about AmigaOS4 .so support
9359 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds
=''
9363 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)'
9364 hardcode_libdir_flag_spec
='-L$libdir'
9365 hardcode_minus_L
=yes
9371 export_dynamic_flag_spec
=-rdynamic
9374 cygwin
* | mingw
* | pw32
* | cegcc
*)
9375 # When not using gcc, we currently assume that we are using
9376 # Microsoft Visual C++.
9377 # hardcode_libdir_flag_spec is actually meaningless, as there is
9378 # no search path for DLLs.
9379 case $cc_basename in
9382 hardcode_libdir_flag_spec
=' '
9383 allow_undefined_flag
=unsupported
9384 always_export_symbols
=yes
9386 # Tell ltmain to make .lib files, not .a files.
9388 # Tell ltmain to make .dll files, not .so files.
9390 # FIXME: Setting linknames here is a bad hack.
9391 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9392 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9393 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9395 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9397 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9399 # The linker will not automatically build a static lib if we build a DLL.
9400 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9401 enable_shared_with_static_runtimes
=yes
9402 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9404 old_postinstall_cmds
='chmod 644 $oldlib'
9405 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9406 lt_tool_outputfile="@TOOL_OUTPUT@"~
9407 case $lt_outputfile in
9410 lt_outputfile="$lt_outputfile.exe"
9411 lt_tool_outputfile="$lt_tool_outputfile.exe"
9414 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9415 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9416 $RM "$lt_outputfile.manifest";
9420 # Assume MSVC wrapper
9421 hardcode_libdir_flag_spec
=' '
9422 allow_undefined_flag
=unsupported
9423 # Tell ltmain to make .lib files, not .a files.
9425 # Tell ltmain to make .dll files, not .so files.
9427 # FIXME: Setting linknames here is a bad hack.
9428 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9429 # The linker will automatically build a .lib file if we build a DLL.
9430 old_archive_from_new_cmds
='true'
9431 # FIXME: Should let the user specify the lib program.
9432 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9433 enable_shared_with_static_runtimes
=yes
9438 darwin
* | rhapsody
*)
9441 archive_cmds_need_lc
=no
9443 hardcode_automatic
=yes
9444 hardcode_shlibpath_var
=unsupported
9445 if test "$lt_cv_ld_force_load" = "yes"; then
9446 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\"`'
9448 whole_archive_flag_spec
=''
9450 link_all_deplibs
=yes
9451 allow_undefined_flag
="$_lt_dar_allow_undefined"
9452 case $cc_basename in
9453 ifort
*) _lt_dar_can_shared
=yes ;;
9454 *) _lt_dar_can_shared
=$GCC ;;
9456 if test "$_lt_dar_can_shared" = "yes"; then
9457 output_verbose_link_cmd
=func_echo_all
9458 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9459 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9460 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}"
9461 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}"
9470 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9471 hardcode_libdir_flag_spec
='-L$libdir'
9472 hardcode_shlibpath_var
=no
9479 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9480 # support. Future versions do this automatically, but an explicit c++rt0.o
9481 # does not break anything, and helps significantly (at the cost of a little
9484 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9485 hardcode_libdir_flag_spec
='-R$libdir'
9487 hardcode_shlibpath_var
=no
9490 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9492 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9494 hardcode_minus_L
=yes
9495 hardcode_shlibpath_var
=no
9498 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9499 freebsd
* | dragonfly
*)
9500 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9501 hardcode_libdir_flag_spec
='-R$libdir'
9503 hardcode_shlibpath_var
=no
9507 if test "$GCC" = yes; then
9508 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'
9510 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'
9512 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9513 hardcode_libdir_separator
=:
9516 # hardcode_minus_L: Not really in the search PATH,
9517 # but as the default location of the library.
9518 hardcode_minus_L
=yes
9519 export_dynamic_flag_spec
='${wl}-E'
9523 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9524 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9528 if test "$with_gnu_ld" = no
; then
9529 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9530 hardcode_libdir_flag_spec_ld
='+b $libdir'
9531 hardcode_libdir_separator
=:
9533 hardcode_direct_absolute
=yes
9534 export_dynamic_flag_spec
='${wl}-E'
9535 # hardcode_minus_L: Not really in the search PATH,
9536 # but as the default location of the library.
9537 hardcode_minus_L
=yes
9542 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9545 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9560 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9564 # Older versions of the 11.00 compiler do not understand -b yet
9565 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9567 $as_echo_n "checking if $CC understands -b... " >&6; }
9568 if ${lt_cv_prog_compiler__b+:} false
; then :
9569 $as_echo_n "(cached) " >&6
9571 lt_cv_prog_compiler__b
=no
9572 save_LDFLAGS
="$LDFLAGS"
9573 LDFLAGS
="$LDFLAGS -b"
9574 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9575 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9576 # The linker can only warn and ignore the option if not recognized
9577 # So say no if there are warnings
9578 if test -s conftest.err
; then
9579 # Append any errors to the config.log.
9580 cat conftest.err
1>&5
9581 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9582 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9583 if diff conftest.exp conftest.er2
>/dev
/null
; then
9584 lt_cv_prog_compiler__b
=yes
9587 lt_cv_prog_compiler__b
=yes
9591 LDFLAGS
="$save_LDFLAGS"
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9595 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9597 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9598 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9606 if test "$with_gnu_ld" = no
; then
9607 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9608 hardcode_libdir_separator
=:
9613 hardcode_shlibpath_var
=no
9617 hardcode_direct_absolute
=yes
9618 export_dynamic_flag_spec
='${wl}-E'
9620 # hardcode_minus_L: Not really in the search PATH,
9621 # but as the default location of the library.
9622 hardcode_minus_L
=yes
9628 irix5
* | irix6
* | nonstopux
*)
9629 if test "$GCC" = yes; then
9630 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'
9631 # Try to use the -exported_symbol ld option, if it does not
9632 # work, assume that -exports_file does not work either and
9633 # implicitly export all symbols.
9634 # This should be the same for all languages, so no per-tag cache variable.
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9636 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9637 if ${lt_cv_irix_exported_symbol+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 save_LDFLAGS
="$LDFLAGS"
9641 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9644 int foo (void) { return 0; }
9646 if ac_fn_c_try_link
"$LINENO"; then :
9647 lt_cv_irix_exported_symbol
=yes
9649 lt_cv_irix_exported_symbol
=no
9651 rm -f core conftest.err conftest.
$ac_objext \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 LDFLAGS
="$save_LDFLAGS"
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9656 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9657 if test "$lt_cv_irix_exported_symbol" = yes; then
9658 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'
9661 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'
9662 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'
9664 archive_cmds_need_lc
='no'
9665 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9666 hardcode_libdir_separator
=:
9668 link_all_deplibs
=yes
9672 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9673 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9675 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9677 hardcode_libdir_flag_spec
='-R$libdir'
9679 hardcode_shlibpath_var
=no
9683 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9686 hardcode_libdir_separator
=:
9687 hardcode_shlibpath_var
=no
9694 if test -f /usr
/libexec
/ld.so
; then
9696 hardcode_shlibpath_var
=no
9697 hardcode_direct_absolute
=yes
9698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9699 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9701 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9702 export_dynamic_flag_spec
='${wl}-E'
9705 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9706 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_libdir_flag_spec
='-R$libdir'
9710 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9711 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9721 hardcode_libdir_flag_spec
='-L$libdir'
9722 hardcode_minus_L
=yes
9723 allow_undefined_flag
=unsupported
9724 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'
9725 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9729 if test "$GCC" = yes; then
9730 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9731 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'
9733 allow_undefined_flag
=' -expect_unresolved \*'
9734 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'
9736 archive_cmds_need_lc
='no'
9737 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9738 hardcode_libdir_separator
=:
9741 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9742 if test "$GCC" = yes; then
9743 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9744 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'
9745 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9747 allow_undefined_flag
=' -expect_unresolved \*'
9748 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'
9749 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~
9750 $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'
9752 # Both c and cxx compiler support -rpath directly
9753 hardcode_libdir_flag_spec
='-rpath $libdir'
9755 archive_cmds_need_lc
='no'
9756 hardcode_libdir_separator
=:
9760 no_undefined_flag
=' -z defs'
9761 if test "$GCC" = yes; then
9763 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9765 $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'
9767 case `$CC -V 2>&1` in
9770 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9771 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9772 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9776 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9777 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9778 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9782 hardcode_libdir_flag_spec
='-R$libdir'
9783 hardcode_shlibpath_var
=no
9785 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9787 # The compiler driver will combine and reorder linker options,
9788 # but understands `-z linker_flag'. GCC discards it without `$wl',
9789 # but is careful enough not to reorder.
9790 # Supported since Solaris 2.6 (maybe 2.5.1?)
9791 if test "$GCC" = yes; then
9792 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9794 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9798 link_all_deplibs
=yes
9802 if test "x$host_vendor" = xsequent
; then
9803 # Use $CC to link under sequent, because it throws in some extra .o
9804 # files that make .init and .fini sections work.
9805 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_libdir_flag_spec
='-L$libdir'
9811 hardcode_minus_L
=yes
9812 hardcode_shlibpath_var
=no
9816 case $host_vendor in
9818 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9819 hardcode_direct
=yes # is this really true???
9822 ## LD is ld it makes a PLAMLIB
9823 ## CC just makes a GrossModule.
9824 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9825 reload_cmds
='$CC -r -o $output$reload_objs'
9829 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9830 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9833 runpath_var
='LD_RUN_PATH'
9834 hardcode_shlibpath_var
=no
9838 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_shlibpath_var
=no
9840 export_dynamic_flag_spec
='-Bexport'
9844 if test -d /usr
/nec
; then
9845 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9846 hardcode_shlibpath_var
=no
9847 runpath_var
=LD_RUN_PATH
9848 hardcode_runpath_var
=yes
9853 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9854 no_undefined_flag
='${wl}-z,text'
9855 archive_cmds_need_lc
=no
9856 hardcode_shlibpath_var
=no
9857 runpath_var
='LD_RUN_PATH'
9859 if test "$GCC" = yes; then
9860 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9863 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 sysv5
* | sco3.2v5
* | sco5v6
*)
9869 # Note: We can NOT use -z defs as we might desire, because we do not
9870 # link with -lc, and that would cause any symbols used from libc to
9871 # always be unresolved, which means just about no library would
9872 # ever link correctly. If we're not using GNU ld we use -z text
9873 # though, which does catch some bad symbols but isn't as heavy-handed
9875 no_undefined_flag
='${wl}-z,text'
9876 allow_undefined_flag
='${wl}-z,nodefs'
9877 archive_cmds_need_lc
=no
9878 hardcode_shlibpath_var
=no
9879 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9880 hardcode_libdir_separator
=':'
9881 link_all_deplibs
=yes
9882 export_dynamic_flag_spec
='${wl}-Bexport'
9883 runpath_var
='LD_RUN_PATH'
9885 if test "$GCC" = yes; then
9886 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9896 hardcode_libdir_flag_spec
='-L$libdir'
9897 hardcode_shlibpath_var
=no
9905 if test x
$host_vendor = xsni
; then
9907 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9908 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9915 $as_echo "$ld_shlibs" >&6; }
9916 test "$ld_shlibs" = no
&& can_build_shared
=no
9918 with_gnu_ld
=$with_gnu_ld
9935 # Do we need to explicitly link libc?
9937 case "x$archive_cmds_need_lc" in
9939 # Assume -lc should be added
9940 archive_cmds_need_lc
=yes
9942 if test "$enable_shared" = yes && test "$GCC" = yes; then
9943 case $archive_cmds in
9945 # FIXME: we may have to deal with multi-command sequences.
9948 # Test whether the compiler implicitly links with -lc since on some
9949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9950 # to ld, don't add -lc before -lgcc.
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9953 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9954 $as_echo_n "(cached) " >&6
9957 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9960 (eval $ac_compile) 2>&5
9962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9963 test $ac_status = 0; } 2>conftest.err
; then
9966 libobjs
=conftest.
$ac_objext
9968 wl
=$lt_prog_compiler_wl
9969 pic_flag
=$lt_prog_compiler_pic
9975 lt_save_allow_undefined_flag
=$allow_undefined_flag
9976 allow_undefined_flag
=
9977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9978 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981 test $ac_status = 0; }
9983 lt_cv_archive_cmds_need_lc
=no
9985 lt_cv_archive_cmds_need_lc
=yes
9987 allow_undefined_flag
=$lt_save_allow_undefined_flag
9989 cat conftest.err
1>&5
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9995 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9996 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10160 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10162 if test "$GCC" = yes; then
10164 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10165 *) lt_awk_arg
="/^libraries:/" ;;
10168 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10169 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10171 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10172 case $lt_search_path_spec in
10174 # if the path contains ";" then we assume it to be the separator
10175 # otherwise default to the standard path separator (i.e. ":") - it is
10176 # assumed that no part of a normal pathname contains ";" but that should
10177 # okay in the real world where ";" in dirpaths is itself problematic.
10178 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10181 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10184 # Ok, now we have the path, separated by spaces, we can step through it
10185 # and add multilib dir if necessary.
10186 lt_tmp_lt_search_path_spec
=
10187 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10188 for lt_sys_path
in $lt_search_path_spec; do
10189 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10190 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10192 test -d "$lt_sys_path" && \
10193 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10196 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10197 BEGIN {RS=" "; FS="/|\n";} {
10200 for (lt_i = NF; lt_i > 0; lt_i--) {
10201 if ($lt_i != "" && $lt_i != ".") {
10202 if ($lt_i == "..") {
10205 if (lt_count == 0) {
10206 lt_foo="/" $lt_i lt_foo;
10213 if (lt_foo != "") { lt_freq[lt_foo]++; }
10214 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10216 # AWK program above erroneously prepends '/' to C:/dos/paths
10219 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10220 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10222 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10224 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10226 library_names_spec
=
10227 libname_spec
='lib$name'
10231 postuninstall_cmds
=
10235 shlibpath_overrides_runpath
=unknown
10237 dynamic_linker
="$host_os ld.so"
10238 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10239 need_lib_prefix
=unknown
10240 hardcode_into_libs
=no
10242 # when you set need_version to no, make sure it does not cause -set_version
10243 # flags to be left without arguments
10244 need_version
=unknown
10249 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10250 shlibpath_var
=LIBPATH
10252 # AIX 3 has no versioning support, so we append a major version to the name.
10253 soname_spec
='${libname}${release}${shared_ext}$major'
10260 hardcode_into_libs
=yes
10261 if test "$host_cpu" = ia64
; then
10262 # AIX 5 supports IA64
10263 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10264 shlibpath_var
=LD_LIBRARY_PATH
10266 # With GCC up to 2.95.x, collect2 would create an import file
10267 # for dependence libraries. The import file would start with
10268 # the line `#! .'. This would cause the generated library to
10269 # depend on `.', always an invalid library. This was fixed in
10270 # development snapshots of GCC prior to 3.0.
10272 aix4 | aix4.
[01] | aix4.
[01].
*)
10273 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10275 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10278 can_build_shared
=no
10282 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10283 # soname into executable. Probably we can add versioning support to
10284 # collect2, so additional links can be useful in future.
10285 if test "$aix_use_runtimelinking" = yes; then
10286 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10287 # instead of lib<name>.a to let people know that these are not
10288 # typical AIX shared libraries.
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10291 # We preserve .a as extension for shared libraries through AIX4.2
10292 # and later when we are not doing run time linking.
10293 library_names_spec
='${libname}${release}.a $libname.a'
10294 soname_spec
='${libname}${release}${shared_ext}$major'
10296 shlibpath_var
=LIBPATH
10303 # Since July 2007 AmigaOS4 officially supports .so libraries.
10304 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 library_names_spec
='$libname.ixlibrary $libname.a'
10309 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10310 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'
10316 library_names_spec
='${libname}${shared_ext}'
10317 dynamic_linker
="$host_os ld.so"
10318 shlibpath_var
=LIBRARY_PATH
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325 soname_spec
='${libname}${release}${shared_ext}$major'
10326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10327 shlibpath_var
=LD_LIBRARY_PATH
10328 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10329 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10330 # the default ld.so.conf also contains /usr/contrib/lib and
10331 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10332 # libtool to hard-code these into programs
10335 cygwin
* | mingw
* | pw32
* | cegcc
*)
10336 version_type
=windows
10341 case $GCC,$cc_basename in
10344 library_names_spec
='$libname.dll.a'
10345 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10346 postinstall_cmds
='base_file=`basename \${file}`~
10347 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10348 dldir=$destdir/`dirname \$dlpath`~
10349 test -d \$dldir || mkdir -p \$dldir~
10350 $install_prog $dir/$dlname \$dldir/$dlname~
10351 chmod a+x \$dldir/$dlname~
10352 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10353 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10355 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10356 dlpath=$dir/\$dldll~
10358 shlibpath_overrides_runpath
=yes
10362 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10363 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10365 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10368 # MinGW DLLs use traditional 'lib' prefix
10369 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10372 # pw32 DLLs use 'pw' prefix rather than 'lib'
10373 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10376 dynamic_linker
='Win32 ld.exe'
10381 libname_spec
='$name'
10382 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383 library_names_spec
='${libname}.dll.lib'
10387 sys_lib_search_path_spec
=
10390 for lt_path
in $LIB
10393 # Let DOS variable expansion print the short 8.3 style file name.
10394 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10395 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10398 # Convert to MSYS style.
10399 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10402 # Convert to unix form, then to dos form, then back to unix form
10403 # but this time dos style (no spaces!) so that the unix form looks
10404 # like /cygdrive/c/PROGRA~1:/cygdr...
10405 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10406 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10407 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10410 sys_lib_search_path_spec
="$LIB"
10411 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10412 # It is most probably a Windows format PATH.
10413 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10415 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10417 # FIXME: find the short name or the path components, as spaces are
10418 # common. (e.g. "Program Files" -> "PROGRA~1")
10422 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10423 postinstall_cmds
='base_file=`basename \${file}`~
10424 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10425 dldir=$destdir/`dirname \$dlpath`~
10426 test -d \$dldir || mkdir -p \$dldir~
10427 $install_prog $dir/$dlname \$dldir/$dlname'
10428 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10429 dlpath=$dir/\$dldll~
10431 shlibpath_overrides_runpath
=yes
10432 dynamic_linker
='Win32 link.exe'
10436 # Assume MSVC wrapper
10437 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10438 dynamic_linker
='Win32 ld.exe'
10441 # FIXME: first we should search . and the directory the executable is in
10445 darwin
* | rhapsody
*)
10446 dynamic_linker
="$host_os dyld"
10447 version_type
=darwin
10450 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10451 soname_spec
='${libname}${release}${major}$shared_ext'
10452 shlibpath_overrides_runpath
=yes
10453 shlibpath_var
=DYLD_LIBRARY_PATH
10454 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10456 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10457 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10465 soname_spec
='${libname}${release}${shared_ext}$major'
10466 shlibpath_var
=LD_LIBRARY_PATH
10473 freebsd
* | dragonfly
*)
10474 # DragonFly does not have aout. When/if they implement a new
10475 # versioning mechanism, adjust this.
10476 if test -x /usr
/bin
/objformat
; then
10477 objformat
=`/usr/bin/objformat`
10480 freebsd
[123]*) objformat
=aout
;;
10481 *) objformat
=elf
;;
10484 version_type
=freebsd-
$objformat
10485 case $version_type in
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10492 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10496 shlibpath_var
=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath
=yes
10501 freebsd3.
[01]* | freebsdelf3.
[01]*)
10502 shlibpath_overrides_runpath
=yes
10503 hardcode_into_libs
=yes
10505 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10506 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10507 shlibpath_overrides_runpath
=no
10508 hardcode_into_libs
=yes
10510 *) # from 4.6 on, and DragonFly
10511 shlibpath_overrides_runpath
=yes
10512 hardcode_into_libs
=yes
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10522 soname_spec
='${libname}${release}${shared_ext}$major'
10523 shlibpath_var
=LD_LIBRARY_PATH
10524 hardcode_into_libs
=yes
10531 dynamic_linker
="$host_os runtime_loader"
10532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10533 soname_spec
='${libname}${release}${shared_ext}$major'
10534 shlibpath_var
=LIBRARY_PATH
10535 shlibpath_overrides_runpath
=yes
10536 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10537 hardcode_into_libs
=yes
10540 hpux9
* | hpux10
* | hpux11
*)
10541 # Give a soname corresponding to the major version so that dld.sl refuses to
10542 # link against other versions.
10549 hardcode_into_libs
=yes
10550 dynamic_linker
="$host_os dld.so"
10551 shlibpath_var
=LD_LIBRARY_PATH
10552 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec
='${libname}${release}${shared_ext}$major'
10555 if test "X$HPUX_IA64_MODE" = X32
; then
10556 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10558 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10560 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10564 hardcode_into_libs
=yes
10565 dynamic_linker
="$host_os dld.sl"
10566 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10567 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
10570 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10571 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10575 dynamic_linker
="$host_os dld.sl"
10576 shlibpath_var
=SHLIB_PATH
10577 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 soname_spec
='${libname}${release}${shared_ext}$major'
10582 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10583 postinstall_cmds
='chmod 555 $lib'
10584 # or fails outright, so override atomically:
10585 install_override_mode
=555
10592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10593 soname_spec
='${libname}${release}${shared_ext}$major'
10594 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10595 shlibpath_var
=LD_LIBRARY_PATH
10596 shlibpath_overrides_runpath
=no
10597 hardcode_into_libs
=yes
10600 irix5
* | irix6
* | nonstopux
*)
10602 nonstopux
*) version_type
=nonstopux
;;
10604 if test "$lt_cv_prog_gnu_ld" = yes; then
10612 soname_spec
='${libname}${release}${shared_ext}$major'
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10615 irix5
* | nonstopux
*)
10616 libsuff
= shlibsuff
=
10619 case $LD in # libtool.m4 will add one of these switches to LD
10620 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10621 libsuff
= shlibsuff
= libmagic
=32-bit;;
10622 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10623 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10624 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10625 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10626 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10630 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10631 shlibpath_overrides_runpath
=no
10632 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10633 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10634 hardcode_into_libs
=yes
10637 # No shared lib support for Linux oldld, aout, or coff.
10638 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10642 # This must be Linux ELF.
10643 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec
='${libname}${release}${shared_ext}$major'
10649 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10650 shlibpath_var
=LD_LIBRARY_PATH
10651 shlibpath_overrides_runpath
=no
10653 # Some binutils ld are patched to set DT_RUNPATH
10654 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10655 $as_echo_n "(cached) " >&6
10657 lt_cv_shlibpath_overrides_runpath
=no
10658 save_LDFLAGS
=$LDFLAGS
10659 save_libdir
=$libdir
10660 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10661 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10673 if ac_fn_c_try_link
"$LINENO"; then :
10674 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10675 lt_cv_shlibpath_overrides_runpath
=yes
10678 rm -f core conftest.err conftest.
$ac_objext \
10679 conftest
$ac_exeext conftest.
$ac_ext
10680 LDFLAGS
=$save_LDFLAGS
10681 libdir
=$save_libdir
10685 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10687 # This implies no fast_install, which is unacceptable.
10688 # Some rework will be needed to allow for fast_install
10689 # before this can be enabled.
10690 hardcode_into_libs
=yes
10692 # Append ld.so.conf contents to the search path
10693 if test -f /etc
/ld.so.conf
; then
10694 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' ' '`
10695 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10698 # We used to test for /lib/ld.so.1 and disable shared libraries on
10699 # powerpc, because MkLinux only supported shared libraries with the
10700 # GNU dynamic linker. Since this was broken with cross compilers,
10701 # most powerpc-linux boxes support dynamic linking these days and
10702 # people can always --disable-shared, the test was removed, and we
10703 # assume the GNU/Linux dynamic linker is in use.
10704 dynamic_linker
='GNU/Linux ld.so'
10711 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10714 dynamic_linker
='NetBSD (a.out) ld.so'
10716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10717 soname_spec
='${libname}${release}${shared_ext}$major'
10718 dynamic_linker
='NetBSD ld.elf_so'
10720 shlibpath_var
=LD_LIBRARY_PATH
10721 shlibpath_overrides_runpath
=yes
10722 hardcode_into_libs
=yes
10727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 shlibpath_var
=LD_LIBRARY_PATH
10729 shlibpath_overrides_runpath
=yes
10736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec
='${libname}${release}${shared_ext}$major'
10738 shlibpath_var
=LD_LIBRARY_PATH
10739 shlibpath_overrides_runpath
=no
10740 hardcode_into_libs
=yes
10741 dynamic_linker
='ldqnx.so'
10746 sys_lib_dlsearch_path_spec
="/usr/lib"
10748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10750 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10751 *) need_version
=no
;;
10753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10755 shlibpath_var
=LD_LIBRARY_PATH
10756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10758 openbsd2.
[89] | openbsd2.
[89].
*)
10759 shlibpath_overrides_runpath
=no
10762 shlibpath_overrides_runpath
=yes
10766 shlibpath_overrides_runpath
=yes
10771 libname_spec
='$name'
10774 library_names_spec
='$libname${shared_ext} $libname.a'
10775 dynamic_linker
='OS/2 ld.exe'
10776 shlibpath_var
=LIBPATH
10779 osf3
* | osf4
* | osf5
*)
10783 soname_spec
='${libname}${release}${shared_ext}$major'
10784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 shlibpath_var
=LD_LIBRARY_PATH
10786 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10787 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799 soname_spec
='${libname}${release}${shared_ext}$major'
10800 shlibpath_var
=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath
=yes
10802 hardcode_into_libs
=yes
10803 # ldd complains unless libraries are executable
10804 postinstall_cmds
='chmod +x $lib'
10809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10811 shlibpath_var
=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath
=yes
10813 if test "$with_gnu_ld" = yes; then
10821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10822 soname_spec
='${libname}${release}${shared_ext}$major'
10823 shlibpath_var
=LD_LIBRARY_PATH
10824 case $host_vendor in
10826 shlibpath_overrides_runpath
=no
10828 runpath_var
=LD_RUN_PATH
10836 shlibpath_overrides_runpath
=no
10837 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10843 if test -d /usr
/nec
;then
10845 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10846 soname_spec
='$libname${shared_ext}.$major'
10847 shlibpath_var
=LD_LIBRARY_PATH
10851 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10852 version_type
=freebsd-elf
10855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10856 soname_spec
='${libname}${release}${shared_ext}$major'
10857 shlibpath_var
=LD_LIBRARY_PATH
10858 shlibpath_overrides_runpath
=yes
10859 hardcode_into_libs
=yes
10860 if test "$with_gnu_ld" = yes; then
10861 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10863 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10866 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10870 sys_lib_dlsearch_path_spec
='/usr/lib'
10874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879 shlibpath_var
=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath
=no
10881 hardcode_into_libs
=yes
10886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 soname_spec
='${libname}${release}${shared_ext}$major'
10888 shlibpath_var
=LD_LIBRARY_PATH
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10896 $as_echo "$dynamic_linker" >&6; }
10897 test "$dynamic_linker" = no
&& can_build_shared
=no
10899 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10900 if test "$GCC" = yes; then
10901 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10905 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10908 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11003 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11005 if test -n "$hardcode_libdir_flag_spec" ||
11006 test -n "$runpath_var" ||
11007 test "X$hardcode_automatic" = "Xyes" ; then
11009 # We can hardcode non-existent directories.
11010 if test "$hardcode_direct" != no
&&
11011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11012 # have to relink, otherwise we might link with an installed library
11013 # when we should be linking with a yet-to-be-installed one
11014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11015 test "$hardcode_minus_L" != no
; then
11016 # Linking always hardcodes the temporary library directory.
11017 hardcode_action
=relink
11019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11020 hardcode_action
=immediate
11023 # We cannot hardcode anything, or else we can only hardcode existing
11025 hardcode_action
=unsupported
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11028 $as_echo "$hardcode_action" >&6; }
11030 if test "$hardcode_action" = relink ||
11031 test "$inherit_rpath" = yes; then
11032 # Fast installation is not supported
11033 enable_fast_install
=no
11034 elif test "$shlibpath_overrides_runpath" = yes ||
11035 test "$enable_shared" = no
; then
11036 # Fast installation is not necessary
11037 enable_fast_install
=needless
11045 if test "x$enable_dlopen" != xyes
; then
11046 enable_dlopen
=unknown
11047 enable_dlopen_self
=unknown
11048 enable_dlopen_self_static
=unknown
11055 lt_cv_dlopen
="load_add_on"
11057 lt_cv_dlopen_self
=yes
11060 mingw
* | pw32
* | cegcc
*)
11061 lt_cv_dlopen
="LoadLibrary"
11066 lt_cv_dlopen
="dlopen"
11071 # if libdl is installed we need to link against it
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11073 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11074 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11075 $as_echo_n "(cached) " >&6
11077 ac_check_lib_save_LIBS
=$LIBS
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11097 if ac_fn_c_try_link
"$LINENO"; then :
11098 ac_cv_lib_dl_dlopen
=yes
11100 ac_cv_lib_dl_dlopen
=no
11102 rm -f core conftest.err conftest.
$ac_objext \
11103 conftest
$ac_exeext conftest.
$ac_ext
11104 LIBS
=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11107 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11108 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11109 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11112 lt_cv_dlopen
="dyld"
11114 lt_cv_dlopen_self
=yes
11121 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11122 if test "x$ac_cv_func_shl_load" = xyes
; then :
11123 lt_cv_dlopen
="shl_load"
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11126 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11127 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11128 $as_echo_n "(cached) " >&6
11130 ac_check_lib_save_LIBS
=$LIBS
11132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11145 return shl_load ();
11150 if ac_fn_c_try_link
"$LINENO"; then :
11151 ac_cv_lib_dld_shl_load
=yes
11153 ac_cv_lib_dld_shl_load
=no
11155 rm -f core conftest.err conftest.
$ac_objext \
11156 conftest
$ac_exeext conftest.
$ac_ext
11157 LIBS
=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11160 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11161 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11162 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11164 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11165 if test "x$ac_cv_func_dlopen" = xyes
; then :
11166 lt_cv_dlopen
="dlopen"
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11169 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11170 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11171 $as_echo_n "(cached) " >&6
11173 ac_check_lib_save_LIBS
=$LIBS
11175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11193 if ac_fn_c_try_link
"$LINENO"; then :
11194 ac_cv_lib_dl_dlopen
=yes
11196 ac_cv_lib_dl_dlopen
=no
11198 rm -f core conftest.err conftest.
$ac_objext \
11199 conftest
$ac_exeext conftest.
$ac_ext
11200 LIBS
=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11203 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11204 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11205 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11208 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11209 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11210 $as_echo_n "(cached) " >&6
11212 ac_check_lib_save_LIBS
=$LIBS
11213 LIBS
="-lsvld $LIBS"
11214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11232 if ac_fn_c_try_link
"$LINENO"; then :
11233 ac_cv_lib_svld_dlopen
=yes
11235 ac_cv_lib_svld_dlopen
=no
11237 rm -f core conftest.err conftest.
$ac_objext \
11238 conftest
$ac_exeext conftest.
$ac_ext
11239 LIBS
=$ac_check_lib_save_LIBS
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11242 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11243 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11244 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11247 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11248 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11249 $as_echo_n "(cached) " >&6
11251 ac_check_lib_save_LIBS
=$LIBS
11253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11266 return dld_link ();
11271 if ac_fn_c_try_link
"$LINENO"; then :
11272 ac_cv_lib_dld_dld_link
=yes
11274 ac_cv_lib_dld_dld_link
=no
11276 rm -f core conftest.err conftest.
$ac_objext \
11277 conftest
$ac_exeext conftest.
$ac_ext
11278 LIBS
=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11281 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11282 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11283 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11304 if test "x$lt_cv_dlopen" != xno
; then
11310 case $lt_cv_dlopen in
11312 save_CPPFLAGS
="$CPPFLAGS"
11313 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11315 save_LDFLAGS
="$LDFLAGS"
11316 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11319 LIBS
="$lt_cv_dlopen_libs $LIBS"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11322 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11323 if ${lt_cv_dlopen_self+:} false
; then :
11324 $as_echo_n "(cached) " >&6
11326 if test "$cross_compiling" = yes; then :
11327 lt_cv_dlopen_self
=cross
11329 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11330 lt_status
=$lt_dlunknown
11331 cat > conftest.
$ac_ext <<_LT_EOF
11332 #line $LINENO "configure"
11333 #include "confdefs.h"
11342 # define LT_DLGLOBAL RTLD_GLOBAL
11345 # define LT_DLGLOBAL DL_GLOBAL
11347 # define LT_DLGLOBAL 0
11351 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11352 find out it does not work in some platform. */
11353 #ifndef LT_DLLAZY_OR_NOW
11355 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11358 # define LT_DLLAZY_OR_NOW DL_LAZY
11361 # define LT_DLLAZY_OR_NOW RTLD_NOW
11364 # define LT_DLLAZY_OR_NOW DL_NOW
11366 # define LT_DLLAZY_OR_NOW 0
11373 /* When -fvisbility=hidden is used, assume the code has been annotated
11374 correspondingly for the symbols needed. */
11375 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11376 int fnord () __attribute__((visibility("default")));
11379 int fnord () { return 42; }
11382 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11383 int status = $lt_dlunknown;
11387 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11390 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11391 else puts (dlerror ());
11393 /* dlclose (self); */
11401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11402 (eval $ac_link) 2>&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11406 (.
/conftest
; exit; ) >&5 2>/dev
/null
11408 case x
$lt_status in
11409 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11410 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11411 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11414 # compilation failed
11415 lt_cv_dlopen_self
=no
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11423 $as_echo "$lt_cv_dlopen_self" >&6; }
11425 if test "x$lt_cv_dlopen_self" = xyes
; then
11426 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11428 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11429 if ${lt_cv_dlopen_self_static+:} false
; then :
11430 $as_echo_n "(cached) " >&6
11432 if test "$cross_compiling" = yes; then :
11433 lt_cv_dlopen_self_static
=cross
11435 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11436 lt_status
=$lt_dlunknown
11437 cat > conftest.
$ac_ext <<_LT_EOF
11438 #line $LINENO "configure"
11439 #include "confdefs.h"
11448 # define LT_DLGLOBAL RTLD_GLOBAL
11451 # define LT_DLGLOBAL DL_GLOBAL
11453 # define LT_DLGLOBAL 0
11457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11458 find out it does not work in some platform. */
11459 #ifndef LT_DLLAZY_OR_NOW
11461 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11464 # define LT_DLLAZY_OR_NOW DL_LAZY
11467 # define LT_DLLAZY_OR_NOW RTLD_NOW
11470 # define LT_DLLAZY_OR_NOW DL_NOW
11472 # define LT_DLLAZY_OR_NOW 0
11479 /* When -fvisbility=hidden is used, assume the code has been annotated
11480 correspondingly for the symbols needed. */
11481 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11482 int fnord () __attribute__((visibility("default")));
11485 int fnord () { return 42; }
11488 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11489 int status = $lt_dlunknown;
11493 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11496 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11497 else puts (dlerror ());
11499 /* dlclose (self); */
11507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11508 (eval $ac_link) 2>&5
11510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11511 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11512 (.
/conftest
; exit; ) >&5 2>/dev
/null
11514 case x
$lt_status in
11515 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11516 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11517 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11520 # compilation failed
11521 lt_cv_dlopen_self_static
=no
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11529 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11532 CPPFLAGS
="$save_CPPFLAGS"
11533 LDFLAGS
="$save_LDFLAGS"
11538 case $lt_cv_dlopen_self in
11539 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11540 *) enable_dlopen_self
=unknown
;;
11543 case $lt_cv_dlopen_self_static in
11544 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11545 *) enable_dlopen_self_static
=unknown
;;
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11568 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11569 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11570 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11571 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11573 $as_echo "yes" >&6; }
11575 # FIXME - insert some real tests, host_os isn't really good enough
11578 if test -n "$STRIP" ; then
11579 striplib
="$STRIP -x"
11580 old_striplib
="$STRIP -S"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11582 $as_echo "yes" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11585 $as_echo "no" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11606 # Report which library types will actually be built
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11608 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11610 $as_echo "$can_build_shared" >&6; }
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11613 $as_echo_n "checking whether to build shared libraries... " >&6; }
11614 test "$can_build_shared" = "no" && enable_shared
=no
11616 # On AIX, shared libraries and static libraries use the same namespace, and
11617 # are all built from PIC.
11620 test "$enable_shared" = yes && enable_static
=no
11621 if test -n "$RANLIB"; then
11622 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11623 postinstall_cmds
='$RANLIB $lib'
11628 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11629 test "$enable_shared" = yes && enable_static
=no
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11634 $as_echo "$enable_shared" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11637 $as_echo_n "checking whether to build static libraries... " >&6; }
11638 # Make sure either enable_shared or enable_static is yes.
11639 test "$enable_shared" = yes || enable_static
=yes
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11641 $as_echo "$enable_static" >&6; }
11648 ac_cpp
='$CPP $CPPFLAGS'
11649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11667 ac_config_commands
="$ac_config_commands libtool"
11672 # Only expand once:
11680 *-*-mingw32* |
*-*-cygwin*)
11682 $as_echo "#define HOST_W32 1" >>confdefs.h
11685 if test x
"$enable_shared" != "xno" ; then
11686 NO_UNDEFINED
="-no-undefined"
11690 EXTRA_LIBQUVI_LDFLAGS
="$NO_UNDEFINED"
11693 # Checks for programs.
11694 for ac_prog
in gawk mawk nawk
awk
11696 # Extract the first word of "$ac_prog", so it can be a program name with args.
11697 set dummy
$ac_prog; ac_word
=$2
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11699 $as_echo_n "checking for $ac_word... " >&6; }
11700 if ${ac_cv_prog_AWK+:} false
; then :
11701 $as_echo_n "(cached) " >&6
11703 if test -n "$AWK"; then
11704 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11707 for as_dir
in $PATH
11710 test -z "$as_dir" && as_dir
=.
11711 for ac_exec_ext
in '' $ac_executable_extensions; do
11712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11713 ac_cv_prog_AWK
="$ac_prog"
11714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11723 AWK
=$ac_cv_prog_AWK
11724 if test -n "$AWK"; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11726 $as_echo "$AWK" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11733 test -n "$AWK" && break
11737 ac_cpp
='$CPP $CPPFLAGS'
11738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11741 if test -n "$ac_tool_prefix"; then
11742 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11743 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11745 $as_echo_n "checking for $ac_word... " >&6; }
11746 if ${ac_cv_prog_CC+:} false
; then :
11747 $as_echo_n "(cached) " >&6
11749 if test -n "$CC"; then
11750 ac_cv_prog_CC
="$CC" # Let the user override the test.
11752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11753 for as_dir
in $PATH
11756 test -z "$as_dir" && as_dir
=.
11757 for ac_exec_ext
in '' $ac_executable_extensions; do
11758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11759 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11770 if test -n "$CC"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11772 $as_echo "$CC" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11780 if test -z "$ac_cv_prog_CC"; then
11782 # Extract the first word of "gcc", so it can be a program name with args.
11783 set dummy gcc
; ac_word
=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 if test -n "$ac_ct_CC"; then
11790 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11793 for as_dir
in $PATH
11796 test -z "$as_dir" && as_dir
=.
11797 for ac_exec_ext
in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_prog_ac_ct_CC
="gcc"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11809 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11810 if test -n "$ac_ct_CC"; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11812 $as_echo "$ac_ct_CC" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11815 $as_echo "no" >&6; }
11818 if test "x$ac_ct_CC" = x
; then
11821 case $cross_compiling:$ac_tool_warned in
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11825 ac_tool_warned
=yes ;;
11830 CC
="$ac_cv_prog_CC"
11833 if test -z "$CC"; then
11834 if test -n "$ac_tool_prefix"; then
11835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11838 $as_echo_n "checking for $ac_word... " >&6; }
11839 if ${ac_cv_prog_CC+:} false
; then :
11840 $as_echo_n "(cached) " >&6
11842 if test -n "$CC"; then
11843 ac_cv_prog_CC
="$CC" # Let the user override the test.
11845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11846 for as_dir
in $PATH
11849 test -z "$as_dir" && as_dir
=.
11850 for ac_exec_ext
in '' $ac_executable_extensions; do
11851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11863 if test -n "$CC"; then
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11865 $as_echo "$CC" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11874 if test -z "$CC"; then
11875 # Extract the first word of "cc", so it can be a program name with args.
11876 set dummy cc
; ac_word
=$2
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11878 $as_echo_n "checking for $ac_word... " >&6; }
11879 if ${ac_cv_prog_CC+:} false
; then :
11880 $as_echo_n "(cached) " >&6
11882 if test -n "$CC"; then
11883 ac_cv_prog_CC
="$CC" # Let the user override the test.
11885 ac_prog_rejected
=no
11886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11887 for as_dir
in $PATH
11890 test -z "$as_dir" && as_dir
=.
11891 for ac_exec_ext
in '' $ac_executable_extensions; do
11892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11894 ac_prog_rejected
=yes
11898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11905 if test $ac_prog_rejected = yes; then
11906 # We found a bogon in the path, so make sure we never use it.
11907 set dummy
$ac_cv_prog_CC
11909 if test $# != 0; then
11910 # We chose a different compiler from the bogus one.
11911 # However, it has the same basename, so the bogon will be chosen
11912 # first if we set CC to just the basename; use the full file name.
11914 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11920 if test -n "$CC"; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11922 $as_echo "$CC" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11930 if test -z "$CC"; then
11931 if test -n "$ac_tool_prefix"; then
11932 for ac_prog
in cl.exe
11934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11937 $as_echo_n "checking for $ac_word... " >&6; }
11938 if ${ac_cv_prog_CC+:} false
; then :
11939 $as_echo_n "(cached) " >&6
11941 if test -n "$CC"; then
11942 ac_cv_prog_CC
="$CC" # Let the user override the test.
11944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11945 for as_dir
in $PATH
11948 test -z "$as_dir" && as_dir
=.
11949 for ac_exec_ext
in '' $ac_executable_extensions; do
11950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11951 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11962 if test -n "$CC"; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11964 $as_echo "$CC" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11971 test -n "$CC" && break
11974 if test -z "$CC"; then
11976 for ac_prog
in cl.exe
11978 # Extract the first word of "$ac_prog", so it can be a program name with args.
11979 set dummy
$ac_prog; ac_word
=$2
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11981 $as_echo_n "checking for $ac_word... " >&6; }
11982 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11983 $as_echo_n "(cached) " >&6
11985 if test -n "$ac_ct_CC"; then
11986 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11989 for as_dir
in $PATH
11992 test -z "$as_dir" && as_dir
=.
11993 for ac_exec_ext
in '' $ac_executable_extensions; do
11994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11995 ac_cv_prog_ac_ct_CC
="$ac_prog"
11996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12005 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12006 if test -n "$ac_ct_CC"; then
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12008 $as_echo "$ac_ct_CC" >&6; }
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12011 $as_echo "no" >&6; }
12015 test -n "$ac_ct_CC" && break
12018 if test "x$ac_ct_CC" = x
; then
12021 case $cross_compiling:$ac_tool_warned in
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12025 ac_tool_warned
=yes ;;
12034 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12036 as_fn_error $?
"no acceptable C compiler found in \$PATH
12037 See \`config.log' for more details" "$LINENO" 5; }
12039 # Provide some information about the compiler.
12040 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12043 for ac_option
in --version -v -V -qversion; do
12044 { { ac_try
="$ac_compiler $ac_option >&5"
12045 case "(($ac_try" in
12046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12047 *) ac_try_echo=$ac_try;;
12049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12050 $as_echo "$ac_try_echo"; } >&5
12051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12053 if test -s conftest.err; then
12055 ... rest of stderr output deleted ...
12056 10q' conftest.err >conftest.er1
12057 cat conftest.er1 >&5
12059 rm -f conftest.er1 conftest.err
12060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12061 test $ac_status = 0; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12065 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12066 if ${ac_cv_c_compiler_gnu+:} false; then :
12067 $as_echo_n "(cached) " >&6
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12083 if ac_fn_c_try_compile "$LINENO"; then :
12084 ac_compiler_gnu=yes
12088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12093 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12094 if test $ac_compiler_gnu = yes; then
12099 ac_test_CFLAGS=${CFLAGS+set}
12100 ac_save_CFLAGS=$CFLAGS
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12102 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12103 if ${ac_cv_prog_cc_g+:} false; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_save_c_werror_flag=$ac_c_werror_flag
12107 ac_c_werror_flag=yes
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12121 if ac_fn_c_try_compile "$LINENO"; then :
12122 ac_cv_prog_cc_g=yes
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12136 if ac_fn_c_try_compile "$LINENO"; then :
12139 ac_c_werror_flag=$ac_save_c_werror_flag
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12152 if ac_fn_c_try_compile "$LINENO"; then :
12153 ac_cv_prog_cc_g=yes
12155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 ac_c_werror_flag=$ac_save_c_werror_flag
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12163 $as_echo "$ac_cv_prog_cc_g" >&6; }
12164 if test "$ac_test_CFLAGS" = set; then
12165 CFLAGS=$ac_save_CFLAGS
12166 elif test $ac_cv_prog_cc_g = yes; then
12167 if test "$GCC" = yes; then
12173 if test "$GCC" = yes; then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12180 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12181 if ${ac_cv_prog_cc_c89+:} false; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_cv_prog_cc_c89=no
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 #include <stdarg.h>
12190 #include <sys/types.h>
12191 #include <sys/stat.h>
12192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12193 struct buf { int x; };
12194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12195 static char *e (p, i)
12201 static char *f (char * (*g) (char **, int), char **p, ...)
12206 s = g (p, va_arg (v,int));
12211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12212 function prototypes and stuff, but not '\xHH' hex character constants.
12213 These don't provoke an error unfortunately, instead are silently treated
12214 as 'x'. The following induces an error, until -std is added to get
12215 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12216 array size at least. It's necessary to write '\x00'==0 to get something
12217 that's true only with -std. */
12218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12221 inside strings and character constants. */
12223 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12225 int test (int i, double x);
12226 struct s1 {int (*f) (int a);};
12227 struct s2 {int (*f) (double a);};
12228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12234 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12240 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12242 CC="$ac_save_CC $ac_arg"
12243 if ac_fn_c_try_compile "$LINENO"; then :
12244 ac_cv_prog_cc_c89=$ac_arg
12246 rm -f core conftest.err conftest.$ac_objext
12247 test "x$ac_cv_prog_cc_c89" != "xno" && break
12249 rm -f conftest.$ac_ext
12254 case "x$ac_cv_prog_cc_c89" in
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12257 $as_echo "none needed" >&6; } ;;
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12260 $as_echo "unsupported" >&6; } ;;
12262 CC="$CC $ac_cv_prog_cc_c89"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12264 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12266 if test "x$ac_cv_prog_cc_c89" != xno; then :
12271 ac_cpp='$CPP $CPPFLAGS'
12272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12277 ac_cpp='$CXXCPP $CPPFLAGS'
12278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12281 if test -z "$CXX"; then
12282 if test -n "$CCC"; then
12285 if test -n "$ac_tool_prefix"; then
12286 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12291 $as_echo_n "checking for $ac_word... " >&6; }
12292 if ${ac_cv_prog_CXX+:} false; then :
12293 $as_echo_n "(cached) " >&6
12295 if test -n "$CXX"; then
12296 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12299 for as_dir in $PATH
12302 test -z "$as_dir" && as_dir=.
12303 for ac_exec_ext in '' $ac_executable_extensions; do
12304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12305 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12315 CXX=$ac_cv_prog_CXX
12316 if test -n "$CXX"; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12318 $as_echo "$CXX" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12325 test -n "$CXX" && break
12328 if test -z "$CXX"; then
12330 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12332 # Extract the first word of "$ac_prog", so it can be a program name with args.
12333 set dummy $ac_prog; ac_word=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12335 $as_echo_n "checking for $ac_word... " >&6; }
12336 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12337 $as_echo_n "(cached) " >&6
12339 if test -n "$ac_ct_CXX"; then
12340 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12343 for as_dir in $PATH
12346 test -z "$as_dir" && as_dir=.
12347 for ac_exec_ext in '' $ac_executable_extensions; do
12348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12349 ac_cv_prog_ac_ct_CXX="$ac_prog"
12350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12359 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12360 if test -n "$ac_ct_CXX"; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12362 $as_echo "$ac_ct_CXX" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12365 $as_echo "no" >&6; }
12369 test -n "$ac_ct_CXX" && break
12372 if test "x$ac_ct_CXX" = x; then
12375 case $cross_compiling:$ac_tool_warned in
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12379 ac_tool_warned=yes ;;
12387 # Provide some information about the compiler.
12388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12391 for ac_option in --version -v -V -qversion; do
12392 { { ac_try="$ac_compiler $ac_option >&5"
12393 case "(($ac_try" in
12394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12395 *) ac_try_echo
=$ac_try;;
12397 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12398 $as_echo "$ac_try_echo"; } >&5
12399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12401 if test -s conftest.err
; then
12403 ... rest of stderr output deleted ...
12404 10q' conftest.err
>conftest.er1
12405 cat conftest.er1
>&5
12407 rm -f conftest.er1 conftest.err
12408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12409 test $ac_status = 0; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12413 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12414 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12431 if ac_fn_cxx_try_compile
"$LINENO"; then :
12432 ac_compiler_gnu
=yes
12436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12437 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12441 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12442 if test $ac_compiler_gnu = yes; then
12447 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12448 ac_save_CXXFLAGS
=$CXXFLAGS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12450 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12451 if ${ac_cv_prog_cxx_g+:} false
; then :
12452 $as_echo_n "(cached) " >&6
12454 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
12455 ac_cxx_werror_flag
=yes
12456 ac_cv_prog_cxx_g
=no
12458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12469 if ac_fn_cxx_try_compile
"$LINENO"; then :
12470 ac_cv_prog_cxx_g
=yes
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12484 if ac_fn_cxx_try_compile
"$LINENO"; then :
12487 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12500 if ac_fn_cxx_try_compile
"$LINENO"; then :
12501 ac_cv_prog_cxx_g
=yes
12503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12508 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12511 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12512 if test "$ac_test_CXXFLAGS" = set; then
12513 CXXFLAGS
=$ac_save_CXXFLAGS
12514 elif test $ac_cv_prog_cxx_g = yes; then
12515 if test "$GXX" = yes; then
12521 if test "$GXX" = yes; then
12528 ac_cpp
='$CPP $CPPFLAGS'
12529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12533 depcc
="$CXX" am_compiler_list
=
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12536 $as_echo_n "checking dependency style of $depcc... " >&6; }
12537 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
12538 $as_echo_n "(cached) " >&6
12540 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12541 # We make a subdir and do the tests there. Otherwise we can end up
12542 # making bogus files that we don't know about and never remove. For
12543 # instance it was reported that on HP-UX the gcc test will end up
12544 # making a dummy file named `D' -- because `-MD' means `put the output
12547 # Copy depcomp to subdir because otherwise we won't find it if we're
12548 # using a relative directory.
12549 cp "$am_depcomp" conftest.dir
12551 # We will build objects and dependencies in a subdirectory because
12552 # it helps to detect inapplicable dependency modes. For instance
12553 # both Tru64's cc and ICC support -MD to output dependencies as a
12554 # side effect of compilation, but ICC will put the dependencies in
12555 # the current directory while Tru64 will put them in the object
12559 am_cv_CXX_dependencies_compiler_type
=none
12560 if test "$am_compiler_list" = ""; then
12561 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12563 am__universal
=false
12564 case " $depcc " in #(
12565 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12568 for depmode
in $am_compiler_list; do
12569 # Setup a source with many dependencies, because some compilers
12570 # like to wrap large dependency lists on column 80 (with \), and
12571 # we should not choose a depcomp mode which is confused by this.
12573 # We need to recreate these files for each test, as the compiler may
12574 # overwrite some of them when testing with obscure command lines.
12575 # This happens at least with the AIX C compiler.
12577 for i
in 1 2 3 4 5 6; do
12578 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12579 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12580 # Solaris 8's {/usr,}/bin/sh.
12581 touch sub
/conftst
$i.h
12583 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12585 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12586 # mode. It turns out that the SunPro C++ compiler does not properly
12587 # handle `-M -o', and we need to detect this. Also, some Intel
12588 # versions had trouble with output in subdirs
12589 am__obj
=sub
/conftest.
${OBJEXT-o}
12590 am__minus_obj
="-o $am__obj"
12593 # This depmode causes a compiler race in universal mode.
12594 test "$am__universal" = false ||
continue
12597 # after this tag, mechanisms are not by side-effect, so they'll
12598 # only be used when explicitly requested
12599 if test "x$enable_dependency_tracking" = xyes
; then
12605 msvisualcpp | msvcmsys
)
12606 # This compiler won't grok `-c -o', but also, the minuso test has
12607 # not run yet. These depmodes are late enough in the game, and
12608 # so weak that their functioning should not be impacted.
12609 am__obj
=conftest.
${OBJEXT-o}
12614 if depmode
=$depmode \
12615 source=sub
/conftest.c object
=$am__obj \
12616 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12617 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12618 >/dev
/null
2>conftest.err
&&
12619 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12620 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12621 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12622 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12623 # icc doesn't choke on unknown options, it will just issue warnings
12624 # or remarks (even with -Werror). So we grep stderr for any message
12625 # that says an option was ignored or not supported.
12626 # When given -MP, icc 7.0 and 7.1 complain thusly:
12627 # icc: Command line warning: ignoring option '-M'; no argument required
12628 # The diagnosis changed in icc 8.0:
12629 # icc: Command line remark: option '-MP' not supported
12630 if (grep 'ignoring option' conftest.err ||
12631 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12632 am_cv_CXX_dependencies_compiler_type
=$depmode
12639 rm -rf conftest.dir
12641 am_cv_CXX_dependencies_compiler_type
=none
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12646 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12647 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12650 test "x$enable_dependency_tracking" != xno \
12651 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12652 am__fastdepCXX_TRUE
=
12653 am__fastdepCXX_FALSE
='#'
12655 am__fastdepCXX_TRUE
='#'
12656 am__fastdepCXX_FALSE
=
12662 func_stripname_cnf
()
12665 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12666 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12668 } # func_stripname_cnf
12670 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12671 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12672 (test "X$CXX" != "Xg++"))) ; then
12674 ac_cpp
='$CXXCPP $CPPFLAGS'
12675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12679 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12680 if test -z "$CXXCPP"; then
12681 if ${ac_cv_prog_CXXCPP+:} false
; then :
12682 $as_echo_n "(cached) " >&6
12684 # Double quotes because CXXCPP needs to be expanded
12685 for CXXCPP
in "$CXX -E" "/lib/cpp"
12687 ac_preproc_ok
=false
12688 for ac_cxx_preproc_warn_flag
in '' yes
12690 # Use a header file that comes with gcc, so configuring glibc
12691 # with a fresh cross-compiler works.
12692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12693 # <limits.h> exists even on freestanding compilers.
12694 # On the NeXT, cc -E runs the code through the compiler's parser,
12695 # not just through cpp. "Syntax error" is here to catch this case.
12696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 # include <limits.h>
12701 # include <assert.h>
12705 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12708 # Broken: fails on valid input.
12711 rm -f conftest.err conftest.i conftest.
$ac_ext
12713 # OK, works on sane cases. Now check whether nonexistent headers
12714 # can be detected and how.
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12717 #include <ac_nonexistent.h>
12719 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12720 # Broken: success on invalid input.
12723 # Passes both tests.
12727 rm -f conftest.err conftest.i conftest.
$ac_ext
12730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12731 rm -f conftest.i conftest.err conftest.
$ac_ext
12732 if $ac_preproc_ok; then :
12737 ac_cv_prog_CXXCPP
=$CXXCPP
12740 CXXCPP
=$ac_cv_prog_CXXCPP
12742 ac_cv_prog_CXXCPP
=$CXXCPP
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12745 $as_echo "$CXXCPP" >&6; }
12746 ac_preproc_ok
=false
12747 for ac_cxx_preproc_warn_flag
in '' yes
12749 # Use a header file that comes with gcc, so configuring glibc
12750 # with a fresh cross-compiler works.
12751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12752 # <limits.h> exists even on freestanding compilers.
12753 # On the NeXT, cc -E runs the code through the compiler's parser,
12754 # not just through cpp. "Syntax error" is here to catch this case.
12755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12758 # include <limits.h>
12760 # include <assert.h>
12764 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12767 # Broken: fails on valid input.
12770 rm -f conftest.err conftest.i conftest.
$ac_ext
12772 # OK, works on sane cases. Now check whether nonexistent headers
12773 # can be detected and how.
12774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12776 #include <ac_nonexistent.h>
12778 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12779 # Broken: success on invalid input.
12782 # Passes both tests.
12786 rm -f conftest.err conftest.i conftest.
$ac_ext
12789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12790 rm -f conftest.i conftest.err conftest.
$ac_ext
12791 if $ac_preproc_ok; then :
12794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12796 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12797 See \`config.log' for more details" "$LINENO" 5; }
12801 ac_cpp
='$CPP $CPPFLAGS'
12802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12807 _lt_caught_CXX_error
=yes
12811 ac_cpp
='$CXXCPP $CPPFLAGS'
12812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12816 archive_cmds_need_lc_CXX
=no
12817 allow_undefined_flag_CXX
=
12818 always_export_symbols_CXX
=no
12819 archive_expsym_cmds_CXX
=
12820 compiler_needs_object_CXX
=no
12821 export_dynamic_flag_spec_CXX
=
12822 hardcode_direct_CXX
=no
12823 hardcode_direct_absolute_CXX
=no
12824 hardcode_libdir_flag_spec_CXX
=
12825 hardcode_libdir_flag_spec_ld_CXX
=
12826 hardcode_libdir_separator_CXX
=
12827 hardcode_minus_L_CXX
=no
12828 hardcode_shlibpath_var_CXX
=unsupported
12829 hardcode_automatic_CXX
=no
12830 inherit_rpath_CXX
=no
12832 module_expsym_cmds_CXX
=
12833 link_all_deplibs_CXX
=unknown
12834 old_archive_cmds_CXX
=$old_archive_cmds
12835 reload_flag_CXX
=$reload_flag
12836 reload_cmds_CXX
=$reload_cmds
12837 no_undefined_flag_CXX
=
12838 whole_archive_flag_spec_CXX
=
12839 enable_shared_with_static_runtimes_CXX
=no
12841 # Source file extension for C++ test sources.
12844 # Object file extension for compiled C++ test sources.
12848 # No sense in running all these tests if we already determined that
12849 # the CXX compiler isn't working. Some variables (like enable_shared)
12850 # are currently assumed to apply to all compilers on this platform,
12851 # and will be corrupted by setting them based on a non-working compiler.
12852 if test "$_lt_caught_CXX_error" != yes; then
12853 # Code to be used in simple compile tests
12854 lt_simple_compile_test_code
="int some_variable = 0;"
12856 # Code to be used in simple link tests
12857 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12859 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12866 # If no C compiler was specified, use CC.
12869 # If no C compiler flags were specified, use CFLAGS.
12870 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12872 # Allow CC to be a program name with arguments.
12876 # save warnings/boilerplate of simple test code
12877 ac_outfile
=conftest.
$ac_objext
12878 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12879 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12880 _lt_compiler_boilerplate
=`cat conftest.err`
12883 ac_outfile
=conftest.
$ac_objext
12884 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12885 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12886 _lt_linker_boilerplate
=`cat conftest.err`
12890 # Allow CC to be a program name with arguments.
12892 lt_save_CFLAGS
=$CFLAGS
12896 lt_save_with_gnu_ld
=$with_gnu_ld
12897 lt_save_path_LD
=$lt_cv_path_LD
12898 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12899 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12901 $as_unset lt_cv_prog_gnu_ld
12903 if test -n "${lt_cv_path_LDCXX+set}"; then
12904 lt_cv_path_LD
=$lt_cv_path_LDCXX
12906 $as_unset lt_cv_path_LD
12908 test -z "${LDCXX+set}" || LD
=$LDCXX
12913 for cc_temp
in $compiler""; do
12915 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12916 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12921 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12924 if test -n "$compiler"; then
12925 # We don't want -fno-exception when compiling C++ code, so set the
12926 # no_builtin_flag separately
12927 if test "$GXX" = yes; then
12928 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12930 lt_prog_compiler_no_builtin_flag_CXX
=
12933 if test "$GXX" = yes; then
12934 # Set up default GNU C++ configuration
12938 # Check whether --with-gnu-ld was given.
12939 if test "${with_gnu_ld+set}" = set; then :
12940 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12946 if test "$GCC" = yes; then
12947 # Check if gcc -print-prog-name=ld gives a path.
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12949 $as_echo_n "checking for ld used by $CC... " >&6; }
12952 # gcc leaves a trailing carriage return which upsets mingw
12953 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12955 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12958 # Accept absolute paths.
12960 re_direlt
='/[^/][^/]*/\.\./'
12961 # Canonicalize the pathname of ld
12962 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12963 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12964 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12966 test -z "$LD" && LD
="$ac_prog"
12969 # If it fails, then pretend we aren't using GCC.
12973 # If it is relative, then search for the first ld in PATH.
12974 with_gnu_ld
=unknown
12977 elif test "$with_gnu_ld" = yes; then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12979 $as_echo_n "checking for GNU ld... " >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12982 $as_echo_n "checking for non-GNU ld... " >&6; }
12984 if ${lt_cv_path_LD+:} false
; then :
12985 $as_echo_n "(cached) " >&6
12987 if test -z "$LD"; then
12988 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12989 for ac_dir
in $PATH; do
12991 test -z "$ac_dir" && ac_dir
=.
12992 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12993 lt_cv_path_LD
="$ac_dir/$ac_prog"
12994 # Check to see if the program is GNU ld. I'd rather use --version,
12995 # but apparently some variants of GNU ld only accept -v.
12996 # Break only if it was the GNU/non-GNU ld that we prefer.
12997 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12998 *GNU
* |
*'with BFD'*)
12999 test "$with_gnu_ld" != no
&& break
13002 test "$with_gnu_ld" != yes && break
13009 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13013 LD
="$lt_cv_path_LD"
13014 if test -n "$LD"; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13016 $as_echo "$LD" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019 $as_echo "no" >&6; }
13021 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13024 if ${lt_cv_prog_gnu_ld+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13027 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13028 case `$LD -v 2>&1 </dev/null` in
13029 *GNU
* |
*'with BFD'*)
13030 lt_cv_prog_gnu_ld
=yes
13033 lt_cv_prog_gnu_ld
=no
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13038 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13039 with_gnu_ld
=$lt_cv_prog_gnu_ld
13047 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13048 # archiving commands below assume that GNU ld is being used.
13049 if test "$with_gnu_ld" = yes; then
13050 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13051 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'
13053 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13054 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13056 # If archive_cmds runs LD, not CC, wlarc should be empty
13057 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13058 # investigate it a little bit more. (MM)
13061 # ancient GNU ld didn't support --whole-archive et. al.
13062 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13063 $GREP 'no-whole-archive' > /dev
/null
; then
13064 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13066 whole_archive_flag_spec_CXX
=
13072 # A generic and very simple default shared library creation
13073 # command for GNU C++ for the case where it uses the native
13074 # linker, instead of GNU ld. If possible, this setting should
13075 # overridden to take advantage of the native linker features on
13076 # the platform it is being used on.
13077 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13080 # Commands to make compiler produce verbose output that lists
13081 # what "hidden" libraries, object files and flags are used when
13082 # linking a shared library.
13083 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13091 # PORTME: fill in a description of your system's C++ link characteristics
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13097 # FIXME: insert proper C++ library support
13101 if test "$host_cpu" = ia64
; then
13102 # On IA64, the linker does run time linking by default, so we don't
13103 # have to do anything special.
13104 aix_use_runtimelinking
=no
13105 exp_sym_flag
='-Bexport'
13108 aix_use_runtimelinking
=no
13110 # Test if we are trying to use run time linking or normal
13111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13112 # need to do runtime linking.
13113 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13114 for ld_flag
in $LDFLAGS; do
13117 aix_use_runtimelinking
=yes
13125 exp_sym_flag
='-bexport'
13126 no_entry_flag
='-bnoentry'
13129 # When large executables or shared objects are built, AIX ld can
13130 # have problems creating the table of contents. If linking a library
13131 # or program results in "error TOC overflow" add -mminimal-toc to
13132 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13133 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13135 archive_cmds_CXX
=''
13136 hardcode_direct_CXX
=yes
13137 hardcode_direct_absolute_CXX
=yes
13138 hardcode_libdir_separator_CXX
=':'
13139 link_all_deplibs_CXX
=yes
13140 file_list_spec_CXX
='${wl}-f,'
13142 if test "$GXX" = yes; then
13143 case $host_os in aix4.
[012]|aix4.
[012].
*)
13144 # We only want to do this on AIX 4.2 and lower, the check
13145 # below for broken collect2 doesn't work under 4.3+
13146 collect2name
=`${CC} -print-prog-name=collect2`
13147 if test -f "$collect2name" &&
13148 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13150 # We have reworked collect2
13153 # We have old collect2
13154 hardcode_direct_CXX
=unsupported
13155 # It fails to find uninstalled libraries when the uninstalled
13156 # path is not listed in the libpath. Setting hardcode_minus_L
13157 # to unsupported forces relinking
13158 hardcode_minus_L_CXX
=yes
13159 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13160 hardcode_libdir_separator_CXX
=
13163 shared_flag
='-shared'
13164 if test "$aix_use_runtimelinking" = yes; then
13165 shared_flag
="$shared_flag "'${wl}-G'
13169 if test "$host_cpu" = ia64
; then
13170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13171 # chokes on -Wl,-G. The following line is correct:
13174 if test "$aix_use_runtimelinking" = yes; then
13175 shared_flag
='${wl}-G'
13177 shared_flag
='${wl}-bM:SRE'
13182 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13183 # It seems that -bexpall does not export symbols beginning with
13184 # underscore (_), so it is better to generate a list of symbols to
13186 always_export_symbols_CXX
=yes
13187 if test "$aix_use_runtimelinking" = yes; then
13188 # Warning - without using the other runtime loading flags (-brtl),
13189 # -berok will link without error, but may produce a broken library.
13190 allow_undefined_flag_CXX
='-berok'
13191 # Determine the default libpath from the value encoded in an empty
13193 if test "${lt_cv_aix_libpath+set}" = set; then
13194 aix_libpath
=$lt_cv_aix_libpath
13196 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13197 $as_echo_n "(cached) " >&6
13199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13210 if ac_fn_cxx_try_link
"$LINENO"; then :
13212 lt_aix_libpath_sed
='
13213 /Import File Strings/,/^$/ {
13215 s/^0 *\([^ ]*\) *$/\1/
13219 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13220 # Check for a 64-bit object if we didn't find anything.
13221 if test -z "$lt_cv_aix_libpath__CXX"; then
13222 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13225 rm -f core conftest.err conftest.
$ac_objext \
13226 conftest
$ac_exeext conftest.
$ac_ext
13227 if test -z "$lt_cv_aix_libpath__CXX"; then
13228 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13233 aix_libpath
=$lt_cv_aix_libpath__CXX
13236 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13238 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"
13240 if test "$host_cpu" = ia64
; then
13241 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13242 allow_undefined_flag_CXX
="-z nodefs"
13243 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"
13245 # Determine the default libpath from the value encoded in an
13246 # empty executable.
13247 if test "${lt_cv_aix_libpath+set}" = set; then
13248 aix_libpath
=$lt_cv_aix_libpath
13250 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13251 $as_echo_n "(cached) " >&6
13253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13264 if ac_fn_cxx_try_link
"$LINENO"; then :
13266 lt_aix_libpath_sed
='
13267 /Import File Strings/,/^$/ {
13269 s/^0 *\([^ ]*\) *$/\1/
13273 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13274 # Check for a 64-bit object if we didn't find anything.
13275 if test -z "$lt_cv_aix_libpath__CXX"; then
13276 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 if test -z "$lt_cv_aix_libpath__CXX"; then
13282 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13287 aix_libpath
=$lt_cv_aix_libpath__CXX
13290 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13291 # Warning - without using the other run time loading flags,
13292 # -berok will link without error, but may produce a broken library.
13293 no_undefined_flag_CXX
=' ${wl}-bernotok'
13294 allow_undefined_flag_CXX
=' ${wl}-berok'
13295 if test "$with_gnu_ld" = yes; then
13296 # We only use this code for GNU lds that support --whole-archive.
13297 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13299 # Exported symbols can be pulled into shared objects from archives
13300 whole_archive_flag_spec_CXX
='$convenience'
13302 archive_cmds_need_lc_CXX
=yes
13303 # This is similar to how AIX traditionally builds its shared
13305 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'
13311 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13312 allow_undefined_flag_CXX
=unsupported
13313 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13314 # support --undefined. This deserves some investigation. FIXME
13315 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13322 case $cc_basename in
13324 # FIXME: insert proper C++ library support
13330 cygwin
* | mingw
* | pw32
* | cegcc
*)
13331 case $GXX,$cc_basename in
13334 # hardcode_libdir_flag_spec is actually meaningless, as there is
13335 # no search path for DLLs.
13336 hardcode_libdir_flag_spec_CXX
=' '
13337 allow_undefined_flag_CXX
=unsupported
13338 always_export_symbols_CXX
=yes
13339 file_list_spec_CXX
='@'
13340 # Tell ltmain to make .lib files, not .a files.
13342 # Tell ltmain to make .dll files, not .so files.
13344 # FIXME: Setting linknames here is a bad hack.
13345 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13346 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13347 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13349 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13351 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13353 # The linker will not automatically build a static lib if we build a DLL.
13354 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13355 enable_shared_with_static_runtimes_CXX
=yes
13357 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13358 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13359 lt_tool_outputfile="@TOOL_OUTPUT@"~
13360 case $lt_outputfile in
13363 lt_outputfile="$lt_outputfile.exe"
13364 lt_tool_outputfile="$lt_tool_outputfile.exe"
13367 func_to_tool_file "$lt_outputfile"~
13368 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13369 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13370 $RM "$lt_outputfile.manifest";
13375 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13376 # as there is no search path for DLLs.
13377 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13378 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13379 allow_undefined_flag_CXX
=unsupported
13380 always_export_symbols_CXX
=no
13381 enable_shared_with_static_runtimes_CXX
=yes
13383 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13384 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'
13385 # If the export-symbols file already is a .def file (1st line
13386 # is EXPORTS), use it as is; otherwise, prepend...
13387 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13388 cp $export_symbols $output_objdir/$soname.def;
13390 echo EXPORTS > $output_objdir/$soname.def;
13391 cat $export_symbols >> $output_objdir/$soname.def;
13393 $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'
13400 darwin
* | rhapsody
*)
13403 archive_cmds_need_lc_CXX
=no
13404 hardcode_direct_CXX
=no
13405 hardcode_automatic_CXX
=yes
13406 hardcode_shlibpath_var_CXX
=unsupported
13407 if test "$lt_cv_ld_force_load" = "yes"; then
13408 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\"`'
13410 whole_archive_flag_spec_CXX
=''
13412 link_all_deplibs_CXX
=yes
13413 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13414 case $cc_basename in
13415 ifort
*) _lt_dar_can_shared
=yes ;;
13416 *) _lt_dar_can_shared
=$GCC ;;
13418 if test "$_lt_dar_can_shared" = "yes"; then
13419 output_verbose_link_cmd
=func_echo_all
13420 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}"
13421 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13422 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}"
13423 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}"
13424 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13425 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}"
13426 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}"
13436 case $cc_basename in
13438 # FIXME: insert proper C++ library support
13442 # Green Hills C++ Compiler
13443 # FIXME: insert proper C++ library support
13447 # FIXME: insert proper C++ library support
13454 # C++ shared libraries reported to be fairly broken before
13460 archive_cmds_need_lc_CXX
=no
13463 freebsd
* | dragonfly
*)
13464 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13473 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13474 link_all_deplibs_CXX
=yes
13478 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13479 hardcode_libdir_separator_CXX
=:
13480 export_dynamic_flag_spec_CXX
='${wl}-E'
13481 hardcode_direct_CXX
=yes
13482 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13483 # but as the default
13484 # location of the library.
13486 case $cc_basename in
13488 # FIXME: insert proper C++ library support
13492 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'
13493 # Commands to make compiler produce verbose output that lists
13494 # what "hidden" libraries, object files and flags are used when
13495 # linking a shared library.
13497 # There doesn't appear to be a way to prevent this compiler from
13498 # explicitly linking system object files so we need to strip them
13499 # from the output so that they don't get included in the library
13501 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"'
13504 if test "$GXX" = yes; then
13505 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'
13507 # FIXME: insert proper C++ library support
13515 if test $with_gnu_ld = no
; then
13516 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13517 hardcode_libdir_separator_CXX
=:
13523 export_dynamic_flag_spec_CXX
='${wl}-E'
13529 hardcode_direct_CXX
=no
13530 hardcode_shlibpath_var_CXX
=no
13533 hardcode_direct_CXX
=yes
13534 hardcode_direct_absolute_CXX
=yes
13535 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13536 # but as the default
13537 # location of the library.
13541 case $cc_basename in
13543 # FIXME: insert proper C++ library support
13549 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13555 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13558 # Commands to make compiler produce verbose output that lists
13559 # what "hidden" libraries, object files and flags are used when
13560 # linking a shared library.
13562 # There doesn't appear to be a way to prevent this compiler from
13563 # explicitly linking system object files so we need to strip them
13564 # from the output so that they don't get included in the library
13566 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"'
13569 if test "$GXX" = yes; then
13570 if test $with_gnu_ld = no
; then
13573 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13576 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13579 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'
13584 # FIXME: insert proper C++ library support
13592 hardcode_direct_CXX
=no
13593 hardcode_shlibpath_var_CXX
=no
13594 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13595 export_dynamic_flag_spec_CXX
='${wl}-E'
13596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13597 # Instead, shared libraries are loaded at an image base (0x10000000 by
13598 # default) and relocated if they conflict, which is a slow very memory
13599 # consuming and fragmenting process. To avoid this, we pick a random,
13600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13602 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'
13603 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'
13606 case $cc_basename in
13609 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'
13611 # Archives containing C++ object files must be created using
13612 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13613 # necessary to make sure instantiated templates are included
13615 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13618 if test "$GXX" = yes; then
13619 if test "$with_gnu_ld" = no
; then
13620 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'
13622 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'
13625 link_all_deplibs_CXX
=yes
13628 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13629 hardcode_libdir_separator_CXX
=:
13630 inherit_rpath_CXX
=yes
13633 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13634 case $cc_basename in
13636 # Kuck and Associates, Inc. (KAI) C++ Compiler
13638 # KCC will only create a shared library if the output file
13639 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13640 # to its proper name (with version) after linking.
13641 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'
13642 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'
13643 # Commands to make compiler produce verbose output that lists
13644 # what "hidden" libraries, object files and flags are used when
13645 # linking a shared library.
13647 # There doesn't appear to be a way to prevent this compiler from
13648 # explicitly linking system object files so we need to strip them
13649 # from the output so that they don't get included in the library
13651 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"'
13653 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13654 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13656 # Archives containing C++ object files must be created using
13657 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13658 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13663 # version 8.0 and above of icpc choke on multiply defined symbols
13664 # if we add $predep_objects and $postdep_objects, however 7.1 and
13665 # earlier do not add the objects themselves.
13666 case `$CC -V 2>&1` in
13668 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13669 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'
13671 *) # Version 8.0 or newer
13674 ia64
*) tmp_idyn
=' -i_dynamic';;
13676 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13677 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'
13680 archive_cmds_need_lc_CXX
=no
13681 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13682 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13683 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13686 # Portland Group C++ compiler
13688 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13689 prelink_cmds_CXX
='tpldir=Template.dir~
13691 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13692 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13693 old_archive_cmds_CXX
='tpldir=Template.dir~
13695 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13696 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13698 archive_cmds_CXX
='tpldir=Template.dir~
13700 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13701 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13702 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13704 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13705 $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'
13707 *) # Version 6 and above use weak symbols
13708 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13709 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'
13713 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13714 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13715 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'
13719 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13720 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'
13722 runpath_var
=LD_RUN_PATH
13723 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13724 hardcode_libdir_separator_CXX
=:
13726 # Commands to make compiler produce verbose output that lists
13727 # what "hidden" libraries, object files and flags are used when
13728 # linking a shared library.
13730 # There doesn't appear to be a way to prevent this compiler from
13731 # explicitly linking system object files so we need to strip them
13732 # from the output so that they don't get included in the library
13734 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'
13736 xl
* | mpixl
* | bgxl
*)
13737 # IBM XL 8.0 on PPC, with GNU ld
13738 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13739 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13740 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13741 if test "x$supports_anon_versioning" = xyes
; then
13742 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13744 echo "local: *; };" >> $output_objdir/$libname.ver~
13745 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13749 case `$CC -V 2>&1 | sed 5q` in
13752 no_undefined_flag_CXX
=' -zdefs'
13753 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13754 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'
13755 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13756 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'
13757 compiler_needs_object_CXX
=yes
13759 # Not sure whether something based on
13760 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13762 output_verbose_link_cmd
='func_echo_all'
13764 # Archives containing C++ object files must be created using
13765 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13766 # necessary to make sure instantiated templates are included
13768 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13776 # FIXME: insert proper C++ library support
13781 # FIXME: insert proper C++ library support
13786 case $cc_basename in
13788 # FIXME: insert proper C++ library support
13792 # FIXME: insert proper C++ library support
13799 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13800 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13802 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13803 hardcode_direct_CXX
=yes
13804 hardcode_shlibpath_var_CXX
=no
13806 # Workaround some broken pre-1.5 toolchains
13807 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13815 # C++ shared libraries are fairly broken
13820 if test -f /usr
/libexec
/ld.so
; then
13821 hardcode_direct_CXX
=yes
13822 hardcode_shlibpath_var_CXX
=no
13823 hardcode_direct_absolute_CXX
=yes
13824 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13825 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13827 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13828 export_dynamic_flag_spec_CXX
='${wl}-E'
13829 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13831 output_verbose_link_cmd
=func_echo_all
13837 osf3
* | osf4
* | osf5
*)
13838 case $cc_basename in
13840 # Kuck and Associates, Inc. (KAI) C++ Compiler
13842 # KCC will only create a shared library if the output file
13843 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13844 # to its proper name (with version) after linking.
13845 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'
13847 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13848 hardcode_libdir_separator_CXX
=:
13850 # Archives containing C++ object files must be created using
13851 # the KAI C++ compiler.
13853 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13854 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13858 # Rational C++ 2.4.1
13859 # FIXME: insert proper C++ library support
13865 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13866 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'
13867 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13870 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13871 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'
13872 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13873 echo "-hidden">> $lib.exp~
13874 $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~
13876 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13880 hardcode_libdir_separator_CXX
=:
13882 # Commands to make compiler produce verbose output that lists
13883 # what "hidden" libraries, object files and flags are used when
13884 # linking a shared library.
13886 # There doesn't appear to be a way to prevent this compiler from
13887 # explicitly linking system object files so we need to strip them
13888 # from the output so that they don't get included in the library
13890 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"'
13893 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13894 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13897 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'
13900 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'
13904 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13905 hardcode_libdir_separator_CXX
=:
13907 # Commands to make compiler produce verbose output that lists
13908 # what "hidden" libraries, object files and flags are used when
13909 # linking a shared library.
13910 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13913 # FIXME: insert proper C++ library support
13921 # FIXME: insert proper C++ library support
13926 case $cc_basename in
13929 # FIXME: insert proper C++ library support
13934 # FIXME: insert proper C++ library support
13938 # FIXME: insert proper C++ library support
13945 case $cc_basename in
13947 # Sun C++ 4.2, 5.x and Centerline C++
13948 archive_cmds_need_lc_CXX
=yes
13949 no_undefined_flag_CXX
=' -zdefs'
13950 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13951 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13952 $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'
13954 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13955 hardcode_shlibpath_var_CXX
=no
13957 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13959 # The compiler driver will combine and reorder linker options,
13960 # but understands `-z linker_flag'.
13961 # Supported since Solaris 2.6 (maybe 2.5.1?)
13962 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13965 link_all_deplibs_CXX
=yes
13967 output_verbose_link_cmd
='func_echo_all'
13969 # Archives containing C++ object files must be created using
13970 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13971 # necessary to make sure instantiated templates are included
13973 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13976 # Green Hills C++ Compiler
13977 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13979 # The C++ compiler must be used to create the archive.
13980 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13983 # GNU C++ compiler with Solaris linker
13984 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13985 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13986 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13987 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13988 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13989 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13991 # Commands to make compiler produce verbose output that lists
13992 # what "hidden" libraries, object files and flags are used when
13993 # linking a shared library.
13994 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13996 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13998 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13999 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14000 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14002 # Commands to make compiler produce verbose output that lists
14003 # what "hidden" libraries, object files and flags are used when
14004 # linking a shared library.
14005 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14008 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14010 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14012 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14020 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14021 no_undefined_flag_CXX
='${wl}-z,text'
14022 archive_cmds_need_lc_CXX
=no
14023 hardcode_shlibpath_var_CXX
=no
14024 runpath_var
='LD_RUN_PATH'
14026 case $cc_basename in
14028 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14029 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14032 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14033 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14038 sysv5
* | sco3.2v5
* | sco5v6
*)
14039 # Note: We can NOT use -z defs as we might desire, because we do not
14040 # link with -lc, and that would cause any symbols used from libc to
14041 # always be unresolved, which means just about no library would
14042 # ever link correctly. If we're not using GNU ld we use -z text
14043 # though, which does catch some bad symbols but isn't as heavy-handed
14045 no_undefined_flag_CXX
='${wl}-z,text'
14046 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14047 archive_cmds_need_lc_CXX
=no
14048 hardcode_shlibpath_var_CXX
=no
14049 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14050 hardcode_libdir_separator_CXX
=':'
14051 link_all_deplibs_CXX
=yes
14052 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14053 runpath_var
='LD_RUN_PATH'
14055 case $cc_basename in
14057 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14058 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14059 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14060 '"$old_archive_cmds_CXX"
14061 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14062 '"$reload_cmds_CXX"
14065 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14066 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14072 case $cc_basename in
14074 # NonStop-UX NCC 3.20
14075 # FIXME: insert proper C++ library support
14079 # FIXME: insert proper C++ library support
14086 # FIXME: insert proper C++ library support
14091 # FIXME: insert proper C++ library support
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14097 $as_echo "$ld_shlibs_CXX" >&6; }
14098 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14104 ## There is no encapsulation within the following macros, do not change
14105 ## the running order or otherwise move them around unless you know exactly
14106 ## what you are doing...
14107 # Dependencies to place before and after the object being linked:
14108 predep_objects_CXX
=
14109 postdep_objects_CXX
=
14112 compiler_lib_search_path_CXX
=
14114 cat > conftest.
$ac_ext <<_LT_EOF
14118 Foo (void) { a = 0; }
14125 _lt_libdeps_save_CFLAGS
=$CFLAGS
14126 case "$CC $CFLAGS " in #(
14127 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14128 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14132 (eval $ac_compile) 2>&5
14134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14135 test $ac_status = 0; }; then
14136 # Parse the compiler output and extract the necessary
14137 # objects, libraries and library flags.
14139 # Sentinel used to keep track of whether or not we are before
14140 # the conftest object file.
14141 pre_test_object_deps_done
=no
14143 for p
in `eval "$output_verbose_link_cmd"`; do
14144 case ${prev}${p} in
14147 # Some compilers place space between "-{L,R}" and the path.
14148 # Remove the space.
14149 if test $p = "-L" ||
14150 test $p = "-R"; then
14155 # Expand the sysroot to ease extracting the directories later.
14156 if test -z "$prev"; then
14158 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14159 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14160 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14164 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14166 if test "$pre_test_object_deps_done" = no
; then
14169 # Internal compiler library paths should come after those
14170 # provided the user. The postdeps already come after the
14171 # user supplied libs so there is no need to process them.
14172 if test -z "$compiler_lib_search_path_CXX"; then
14173 compiler_lib_search_path_CXX
="${prev}${p}"
14175 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14178 # The "-l" case would never come before the object being
14179 # linked, so don't bother handling this case.
14182 if test -z "$postdeps_CXX"; then
14183 postdeps_CXX
="${prev}${p}"
14185 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14191 *.lto.
$objext) ;; # Ignore GCC LTO objects
14193 # This assumes that the test object file only shows up
14194 # once in the compiler output.
14195 if test "$p" = "conftest.$objext"; then
14196 pre_test_object_deps_done
=yes
14200 if test "$pre_test_object_deps_done" = no
; then
14201 if test -z "$predep_objects_CXX"; then
14202 predep_objects_CXX
="$p"
14204 predep_objects_CXX
="$predep_objects_CXX $p"
14207 if test -z "$postdep_objects_CXX"; then
14208 postdep_objects_CXX
="$p"
14210 postdep_objects_CXX
="$postdep_objects_CXX $p"
14215 *) ;; # Ignore the rest.
14223 echo "libtool.m4: error: problem compiling CXX test program"
14226 $RM -f confest.
$objext
14227 CFLAGS
=$_lt_libdeps_save_CFLAGS
14229 # PORTME: override above test on systems where it is broken
14232 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14233 # hack all around it, let's just trust "g++" to DTRT.
14234 predep_objects_CXX
=
14235 postdep_objects_CXX
=
14240 case `$CC -V 2>&1 | sed 5q` in
14244 # The more standards-conforming stlport4 library is
14245 # incompatible with the Cstd library. Avoid specifying
14246 # it if it's in CXXFLAGS. Ignore libCrun as
14247 # -library=stlport4 depends on it.
14248 case " $CXX $CXXFLAGS " in
14249 *" -library=stlport4 "*)
14250 solaris_use_stlport4
=yes
14254 if test "$solaris_use_stlport4" != yes; then
14255 postdeps_CXX
='-library=Cstd -library=Crun'
14262 case $cc_basename in
14264 # The more standards-conforming stlport4 library is
14265 # incompatible with the Cstd library. Avoid specifying
14266 # it if it's in CXXFLAGS. Ignore libCrun as
14267 # -library=stlport4 depends on it.
14268 case " $CXX $CXXFLAGS " in
14269 *" -library=stlport4 "*)
14270 solaris_use_stlport4
=yes
14274 # Adding this requires a known-good setup of shared libraries for
14275 # Sun compiler versions before 5.6, else PIC objects from an old
14276 # archive will be linked into the output, leading to subtle bugs.
14277 if test "$solaris_use_stlport4" != yes; then
14278 postdeps_CXX
='-library=Cstd -library=Crun'
14286 case " $postdeps_CXX " in
14287 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14289 compiler_lib_search_dirs_CXX
=
14290 if test -n "${compiler_lib_search_path_CXX}"; then
14291 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14324 lt_prog_compiler_wl_CXX
=
14325 lt_prog_compiler_pic_CXX
=
14326 lt_prog_compiler_static_CXX
=
14329 # C++ specific cases for pic, static, wl, etc.
14330 if test "$GXX" = yes; then
14331 lt_prog_compiler_wl_CXX
='-Wl,'
14332 lt_prog_compiler_static_CXX
='-static'
14336 # All AIX code is PIC.
14337 if test "$host_cpu" = ia64
; then
14338 # AIX 5 now supports IA64 processor
14339 lt_prog_compiler_static_CXX
='-Bstatic'
14346 # see comment about AmigaOS4 .so support
14347 lt_prog_compiler_pic_CXX
='-fPIC'
14350 # FIXME: we need at least 68020 code to build shared libraries, but
14351 # adding the `-m68020' flag to GCC prevents building anything better,
14353 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14358 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14359 # PIC is the default for these OSes.
14361 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14362 # This hack is so that the source file can tell whether it is being
14363 # built for inclusion in a dll (and should export symbols for example).
14364 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14365 # (--disable-auto-import) libraries
14366 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14368 darwin
* | rhapsody
*)
14369 # PIC is the default on this platform
14370 # Common symbols not allowed in MH_DYLIB files
14371 lt_prog_compiler_pic_CXX
='-fno-common'
14374 # DJGPP does not support shared libraries at all
14375 lt_prog_compiler_pic_CXX
=
14378 # PIC is the default for Haiku.
14379 # The "-static" flag exists, but is broken.
14380 lt_prog_compiler_static_CXX
=
14383 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14384 # Instead, we relocate shared libraries at runtime.
14387 if test -d /usr
/nec
; then
14388 lt_prog_compiler_pic_CXX
=-Kconform_pic
14392 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14393 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14394 # sets the default TLS model and affects inlining.
14399 lt_prog_compiler_pic_CXX
='-fPIC'
14404 # QNX uses GNU C++, but need to define -shared option too, otherwise
14405 # it will coredump.
14406 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14409 lt_prog_compiler_pic_CXX
='-fPIC'
14415 # All AIX code is PIC.
14416 if test "$host_cpu" = ia64
; then
14417 # AIX 5 now supports IA64 processor
14418 lt_prog_compiler_static_CXX
='-Bstatic'
14420 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14424 case $cc_basename in
14426 # Green Hills C++ Compiler
14427 # _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"
14431 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14432 # This hack is so that the source file can tell whether it is being
14433 # built for inclusion in a dll (and should export symbols for example).
14434 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14437 case $cc_basename in
14439 lt_prog_compiler_pic_CXX
='-KPIC'
14442 # Green Hills C++ Compiler
14443 lt_prog_compiler_pic_CXX
='-pic'
14449 freebsd
* | dragonfly
*)
14450 # FreeBSD uses GNU C++
14452 hpux9
* | hpux10
* | hpux11
*)
14453 case $cc_basename in
14455 lt_prog_compiler_wl_CXX
='-Wl,'
14456 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14457 if test "$host_cpu" != ia64
; then
14458 lt_prog_compiler_pic_CXX
='+Z'
14462 lt_prog_compiler_wl_CXX
='-Wl,'
14463 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14469 lt_prog_compiler_pic_CXX
='+Z'
14478 # This is c89, which is MS Visual C++ (no shared libs)
14479 # Anyone wants to do a port?
14481 irix5
* | irix6
* | nonstopux
*)
14482 case $cc_basename in
14484 lt_prog_compiler_wl_CXX
='-Wl,'
14485 lt_prog_compiler_static_CXX
='-non_shared'
14486 # CC pic flag -KPIC is the default.
14492 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14493 case $cc_basename in
14496 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14497 lt_prog_compiler_pic_CXX
='-fPIC'
14500 # old Intel C++ for x86_64 which still supported -KPIC.
14501 lt_prog_compiler_wl_CXX
='-Wl,'
14502 lt_prog_compiler_pic_CXX
='-KPIC'
14503 lt_prog_compiler_static_CXX
='-static'
14506 # Intel C++, used to be incompatible with GCC.
14507 # ICC 10 doesn't accept -KPIC any more.
14508 lt_prog_compiler_wl_CXX
='-Wl,'
14509 lt_prog_compiler_pic_CXX
='-fPIC'
14510 lt_prog_compiler_static_CXX
='-static'
14513 # Portland Group C++ compiler
14514 lt_prog_compiler_wl_CXX
='-Wl,'
14515 lt_prog_compiler_pic_CXX
='-fpic'
14516 lt_prog_compiler_static_CXX
='-Bstatic'
14520 # Make sure the PIC flag is empty. It appears that all Alpha
14521 # Linux and Compaq Tru64 Unix objects are PIC.
14522 lt_prog_compiler_pic_CXX
=
14523 lt_prog_compiler_static_CXX
='-non_shared'
14525 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14526 # IBM XL 8.0, 9.0 on PPC and BlueGene
14527 lt_prog_compiler_wl_CXX
='-Wl,'
14528 lt_prog_compiler_pic_CXX
='-qpic'
14529 lt_prog_compiler_static_CXX
='-qstaticlink'
14532 case `$CC -V 2>&1 | sed 5q` in
14535 lt_prog_compiler_pic_CXX
='-KPIC'
14536 lt_prog_compiler_static_CXX
='-Bstatic'
14537 lt_prog_compiler_wl_CXX
='-Qoption ld '
14548 case $cc_basename in
14550 lt_prog_compiler_pic_CXX
='-W c,exportall'
14559 # QNX uses GNU C++, but need to define -shared option too, otherwise
14560 # it will coredump.
14561 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14563 osf3
* | osf4
* | osf5
*)
14564 case $cc_basename in
14566 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14569 # Rational C++ 2.4.1
14570 lt_prog_compiler_pic_CXX
='-pic'
14573 # Digital/Compaq C++
14574 lt_prog_compiler_wl_CXX
='-Wl,'
14575 # Make sure the PIC flag is empty. It appears that all Alpha
14576 # Linux and Compaq Tru64 Unix objects are PIC.
14577 lt_prog_compiler_pic_CXX
=
14578 lt_prog_compiler_static_CXX
='-non_shared'
14587 case $cc_basename in
14589 # Sun C++ 4.2, 5.x and Centerline C++
14590 lt_prog_compiler_pic_CXX
='-KPIC'
14591 lt_prog_compiler_static_CXX
='-Bstatic'
14592 lt_prog_compiler_wl_CXX
='-Qoption ld '
14595 # Green Hills C++ Compiler
14596 lt_prog_compiler_pic_CXX
='-PIC'
14603 case $cc_basename in
14606 lt_prog_compiler_pic_CXX
='-pic'
14607 lt_prog_compiler_static_CXX
='-Bstatic'
14611 lt_prog_compiler_pic_CXX
='-pic'
14617 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14618 case $cc_basename in
14620 lt_prog_compiler_wl_CXX
='-Wl,'
14621 lt_prog_compiler_pic_CXX
='-KPIC'
14622 lt_prog_compiler_static_CXX
='-Bstatic'
14627 case $cc_basename in
14629 # NonStop-UX NCC 3.20
14630 lt_prog_compiler_pic_CXX
='-KPIC'
14639 lt_prog_compiler_can_build_shared_CXX
=no
14645 # For platforms which do not support PIC, -DPIC is meaningless:
14647 lt_prog_compiler_pic_CXX
=
14650 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14655 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14656 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14657 $as_echo_n "(cached) " >&6
14659 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14662 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14663 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14666 # Check to make sure the PIC flag actually works.
14668 if test -n "$lt_prog_compiler_pic_CXX"; then
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14670 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14671 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14672 $as_echo_n "(cached) " >&6
14674 lt_cv_prog_compiler_pic_works_CXX
=no
14675 ac_outfile
=conftest.
$ac_objext
14676 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14677 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14678 # Insert the option either (1) after the last *FLAGS variable, or
14679 # (2) before a word containing "conftest.", or (3) at the end.
14680 # Note that $ac_compile itself does not contain backslashes and begins
14681 # with a dollar sign (not a hyphen), so the echo should work correctly.
14682 # The option is referenced via a variable to avoid confusing sed.
14683 lt_compile
=`echo "$ac_compile" | $SED \
14684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14686 -e 's:$: $lt_compiler_flag:'`
14687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14688 (eval "$lt_compile" 2>conftest.err
)
14690 cat conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 if (exit $ac_status) && test -s "$ac_outfile"; then
14693 # The compiler can only warn and ignore the option if not recognized
14694 # So say no if there are warnings other than the usual output.
14695 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14696 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14697 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14698 lt_cv_prog_compiler_pic_works_CXX
=yes
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14705 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14707 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14708 case $lt_prog_compiler_pic_CXX in
14710 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14713 lt_prog_compiler_pic_CXX
=
14714 lt_prog_compiler_can_build_shared_CXX
=no
14724 # Check to make sure the static flag actually works.
14726 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14728 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14729 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14730 $as_echo_n "(cached) " >&6
14732 lt_cv_prog_compiler_static_works_CXX
=no
14733 save_LDFLAGS
="$LDFLAGS"
14734 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14735 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14736 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14737 # The linker can only warn and ignore the option if not recognized
14738 # So say no if there are warnings
14739 if test -s conftest.err
; then
14740 # Append any errors to the config.log.
14741 cat conftest.err
1>&5
14742 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14743 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14744 if diff conftest.exp conftest.er2
>/dev
/null
; then
14745 lt_cv_prog_compiler_static_works_CXX
=yes
14748 lt_cv_prog_compiler_static_works_CXX
=yes
14752 LDFLAGS
="$save_LDFLAGS"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14756 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14758 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14761 lt_prog_compiler_static_CXX
=
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14768 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14769 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14770 $as_echo_n "(cached) " >&6
14772 lt_cv_prog_compiler_c_o_CXX
=no
14773 $RM -r conftest
2>/dev
/null
14777 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14779 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14780 # Insert the option either (1) after the last *FLAGS variable, or
14781 # (2) before a word containing "conftest.", or (3) at the end.
14782 # Note that $ac_compile itself does not contain backslashes and begins
14783 # with a dollar sign (not a hyphen), so the echo should work correctly.
14784 lt_compile
=`echo "$ac_compile" | $SED \
14785 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14786 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14787 -e 's:$: $lt_compiler_flag:'`
14788 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14789 (eval "$lt_compile" 2>out
/conftest.err
)
14791 cat out
/conftest.err
>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14795 # The compiler can only warn and ignore the option if not recognized
14796 # So say no if there are warnings
14797 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14798 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14799 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14800 lt_cv_prog_compiler_c_o_CXX
=yes
14805 # SGI C++ compiler will create directory out/ii_files/ for
14806 # template instantiation
14807 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14808 $RM out
/* && rmdir out
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14815 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14820 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14821 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14822 $as_echo_n "(cached) " >&6
14824 lt_cv_prog_compiler_c_o_CXX
=no
14825 $RM -r conftest
2>/dev
/null
14829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14831 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14832 # Insert the option either (1) after the last *FLAGS variable, or
14833 # (2) before a word containing "conftest.", or (3) at the end.
14834 # Note that $ac_compile itself does not contain backslashes and begins
14835 # with a dollar sign (not a hyphen), so the echo should work correctly.
14836 lt_compile
=`echo "$ac_compile" | $SED \
14837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14839 -e 's:$: $lt_compiler_flag:'`
14840 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14841 (eval "$lt_compile" 2>out
/conftest.err
)
14843 cat out
/conftest.err
>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14847 # The compiler can only warn and ignore the option if not recognized
14848 # So say no if there are warnings
14849 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14850 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14851 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14852 lt_cv_prog_compiler_c_o_CXX
=yes
14857 # SGI C++ compiler will create directory out/ii_files/ for
14858 # template instantiation
14859 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14860 $RM out
/* && rmdir out
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14867 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14872 hard_links
="nottested"
14873 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14874 # do not overwrite the value of need_locks provided by the user
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14876 $as_echo_n "checking if we can lock with hard links... " >&6; }
14879 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14881 ln conftest.a conftest.b
2>&5 || hard_links
=no
14882 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14884 $as_echo "$hard_links" >&6; }
14885 if test "$hard_links" = no
; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14887 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14897 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14899 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14900 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14903 # If we're using GNU nm, then we don't want the "-C" option.
14904 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14905 # Also, AIX nm treats weak defined symbols like other global defined
14906 # symbols, whereas GNU nm marks them as "W".
14907 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14908 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'
14910 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'
14914 export_symbols_cmds_CXX
="$ltdll_cmds"
14916 cygwin
* | mingw
* | cegcc
*)
14917 case $cc_basename in
14920 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'
14921 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14926 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14931 $as_echo "$ld_shlibs_CXX" >&6; }
14932 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14934 with_gnu_ld_CXX
=$with_gnu_ld
14942 # Do we need to explicitly link libc?
14944 case "x$archive_cmds_need_lc_CXX" in
14946 # Assume -lc should be added
14947 archive_cmds_need_lc_CXX
=yes
14949 if test "$enable_shared" = yes && test "$GCC" = yes; then
14950 case $archive_cmds_CXX in
14952 # FIXME: we may have to deal with multi-command sequences.
14955 # Test whether the compiler implicitly links with -lc since on some
14956 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14957 # to ld, don't add -lc before -lgcc.
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14959 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14960 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14961 $as_echo_n "(cached) " >&6
14964 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; } 2>conftest.err
; then
14973 libobjs
=conftest.
$ac_objext
14975 wl
=$lt_prog_compiler_wl_CXX
14976 pic_flag
=$lt_prog_compiler_pic_CXX
14982 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14983 allow_undefined_flag_CXX
=
14984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14985 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14988 test $ac_status = 0; }
14990 lt_cv_archive_cmds_need_lc_CXX
=no
14992 lt_cv_archive_cmds_need_lc_CXX
=yes
14994 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14996 cat conftest.err
1>&5
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15002 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15003 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15074 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15076 library_names_spec
=
15077 libname_spec
='lib$name'
15081 postuninstall_cmds
=
15085 shlibpath_overrides_runpath
=unknown
15087 dynamic_linker
="$host_os ld.so"
15088 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15089 need_lib_prefix
=unknown
15090 hardcode_into_libs
=no
15092 # when you set need_version to no, make sure it does not cause -set_version
15093 # flags to be left without arguments
15094 need_version
=unknown
15099 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15100 shlibpath_var
=LIBPATH
15102 # AIX 3 has no versioning support, so we append a major version to the name.
15103 soname_spec
='${libname}${release}${shared_ext}$major'
15110 hardcode_into_libs
=yes
15111 if test "$host_cpu" = ia64
; then
15112 # AIX 5 supports IA64
15113 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15114 shlibpath_var
=LD_LIBRARY_PATH
15116 # With GCC up to 2.95.x, collect2 would create an import file
15117 # for dependence libraries. The import file would start with
15118 # the line `#! .'. This would cause the generated library to
15119 # depend on `.', always an invalid library. This was fixed in
15120 # development snapshots of GCC prior to 3.0.
15122 aix4 | aix4.
[01] | aix4.
[01].
*)
15123 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15125 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15128 can_build_shared
=no
15132 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15133 # soname into executable. Probably we can add versioning support to
15134 # collect2, so additional links can be useful in future.
15135 if test "$aix_use_runtimelinking" = yes; then
15136 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15137 # instead of lib<name>.a to let people know that these are not
15138 # typical AIX shared libraries.
15139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15141 # We preserve .a as extension for shared libraries through AIX4.2
15142 # and later when we are not doing run time linking.
15143 library_names_spec
='${libname}${release}.a $libname.a'
15144 soname_spec
='${libname}${release}${shared_ext}$major'
15146 shlibpath_var
=LIBPATH
15153 # Since July 2007 AmigaOS4 officially supports .so libraries.
15154 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15158 library_names_spec
='$libname.ixlibrary $libname.a'
15159 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15160 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'
15166 library_names_spec
='${libname}${shared_ext}'
15167 dynamic_linker
="$host_os ld.so"
15168 shlibpath_var
=LIBRARY_PATH
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175 soname_spec
='${libname}${release}${shared_ext}$major'
15176 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15177 shlibpath_var
=LD_LIBRARY_PATH
15178 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15179 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15180 # the default ld.so.conf also contains /usr/contrib/lib and
15181 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15182 # libtool to hard-code these into programs
15185 cygwin
* | mingw
* | pw32
* | cegcc
*)
15186 version_type
=windows
15191 case $GCC,$cc_basename in
15194 library_names_spec
='$libname.dll.a'
15195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15196 postinstall_cmds
='base_file=`basename \${file}`~
15197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15198 dldir=$destdir/`dirname \$dlpath`~
15199 test -d \$dldir || mkdir -p \$dldir~
15200 $install_prog $dir/$dlname \$dldir/$dlname~
15201 chmod a+x \$dldir/$dlname~
15202 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15203 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15205 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15206 dlpath=$dir/\$dldll~
15208 shlibpath_overrides_runpath
=yes
15212 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15213 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15217 # MinGW DLLs use traditional 'lib' prefix
15218 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15221 # pw32 DLLs use 'pw' prefix rather than 'lib'
15222 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15225 dynamic_linker
='Win32 ld.exe'
15230 libname_spec
='$name'
15231 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15232 library_names_spec
='${libname}.dll.lib'
15236 sys_lib_search_path_spec
=
15239 for lt_path
in $LIB
15242 # Let DOS variable expansion print the short 8.3 style file name.
15243 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15244 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15247 # Convert to MSYS style.
15248 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15251 # Convert to unix form, then to dos form, then back to unix form
15252 # but this time dos style (no spaces!) so that the unix form looks
15253 # like /cygdrive/c/PROGRA~1:/cygdr...
15254 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15255 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15256 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15259 sys_lib_search_path_spec
="$LIB"
15260 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15261 # It is most probably a Windows format PATH.
15262 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15264 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15266 # FIXME: find the short name or the path components, as spaces are
15267 # common. (e.g. "Program Files" -> "PROGRA~1")
15271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15272 postinstall_cmds
='base_file=`basename \${file}`~
15273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15274 dldir=$destdir/`dirname \$dlpath`~
15275 test -d \$dldir || mkdir -p \$dldir~
15276 $install_prog $dir/$dlname \$dldir/$dlname'
15277 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15278 dlpath=$dir/\$dldll~
15280 shlibpath_overrides_runpath
=yes
15281 dynamic_linker
='Win32 link.exe'
15285 # Assume MSVC wrapper
15286 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15287 dynamic_linker
='Win32 ld.exe'
15290 # FIXME: first we should search . and the directory the executable is in
15294 darwin
* | rhapsody
*)
15295 dynamic_linker
="$host_os dyld"
15296 version_type
=darwin
15299 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15300 soname_spec
='${libname}${release}${major}$shared_ext'
15301 shlibpath_overrides_runpath
=yes
15302 shlibpath_var
=DYLD_LIBRARY_PATH
15303 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15305 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15313 soname_spec
='${libname}${release}${shared_ext}$major'
15314 shlibpath_var
=LD_LIBRARY_PATH
15321 freebsd
* | dragonfly
*)
15322 # DragonFly does not have aout. When/if they implement a new
15323 # versioning mechanism, adjust this.
15324 if test -x /usr
/bin
/objformat
; then
15325 objformat
=`/usr/bin/objformat`
15328 freebsd
[123]*) objformat
=aout
;;
15329 *) objformat
=elf
;;
15332 version_type
=freebsd-
$objformat
15333 case $version_type in
15335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15340 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15344 shlibpath_var
=LD_LIBRARY_PATH
15347 shlibpath_overrides_runpath
=yes
15349 freebsd3.
[01]* | freebsdelf3.
[01]*)
15350 shlibpath_overrides_runpath
=yes
15351 hardcode_into_libs
=yes
15353 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15354 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15355 shlibpath_overrides_runpath
=no
15356 hardcode_into_libs
=yes
15358 *) # from 4.6 on, and DragonFly
15359 shlibpath_overrides_runpath
=yes
15360 hardcode_into_libs
=yes
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15370 soname_spec
='${libname}${release}${shared_ext}$major'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 hardcode_into_libs
=yes
15379 dynamic_linker
="$host_os runtime_loader"
15380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15381 soname_spec
='${libname}${release}${shared_ext}$major'
15382 shlibpath_var
=LIBRARY_PATH
15383 shlibpath_overrides_runpath
=yes
15384 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15385 hardcode_into_libs
=yes
15388 hpux9
* | hpux10
* | hpux11
*)
15389 # Give a soname corresponding to the major version so that dld.sl refuses to
15390 # link against other versions.
15397 hardcode_into_libs
=yes
15398 dynamic_linker
="$host_os dld.so"
15399 shlibpath_var
=LD_LIBRARY_PATH
15400 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 soname_spec
='${libname}${release}${shared_ext}$major'
15403 if test "X$HPUX_IA64_MODE" = X32
; then
15404 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15406 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15408 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15412 hardcode_into_libs
=yes
15413 dynamic_linker
="$host_os dld.sl"
15414 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15415 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
15418 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15419 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15423 dynamic_linker
="$host_os dld.sl"
15424 shlibpath_var
=SHLIB_PATH
15425 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427 soname_spec
='${libname}${release}${shared_ext}$major'
15430 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15431 postinstall_cmds
='chmod 555 $lib'
15432 # or fails outright, so override atomically:
15433 install_override_mode
=555
15440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15441 soname_spec
='${libname}${release}${shared_ext}$major'
15442 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15443 shlibpath_var
=LD_LIBRARY_PATH
15444 shlibpath_overrides_runpath
=no
15445 hardcode_into_libs
=yes
15448 irix5
* | irix6
* | nonstopux
*)
15450 nonstopux
*) version_type
=nonstopux
;;
15452 if test "$lt_cv_prog_gnu_ld" = yes; then
15460 soname_spec
='${libname}${release}${shared_ext}$major'
15461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15463 irix5
* | nonstopux
*)
15464 libsuff
= shlibsuff
=
15467 case $LD in # libtool.m4 will add one of these switches to LD
15468 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15469 libsuff
= shlibsuff
= libmagic
=32-bit;;
15470 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15471 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15472 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15473 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15474 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15478 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15479 shlibpath_overrides_runpath
=no
15480 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15481 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15482 hardcode_into_libs
=yes
15485 # No shared lib support for Linux oldld, aout, or coff.
15486 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15490 # This must be Linux ELF.
15491 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15496 soname_spec
='${libname}${release}${shared_ext}$major'
15497 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15498 shlibpath_var
=LD_LIBRARY_PATH
15499 shlibpath_overrides_runpath
=no
15501 # Some binutils ld are patched to set DT_RUNPATH
15502 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15503 $as_echo_n "(cached) " >&6
15505 lt_cv_shlibpath_overrides_runpath
=no
15506 save_LDFLAGS
=$LDFLAGS
15507 save_libdir
=$libdir
15508 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15509 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15521 if ac_fn_cxx_try_link
"$LINENO"; then :
15522 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15523 lt_cv_shlibpath_overrides_runpath
=yes
15526 rm -f core conftest.err conftest.
$ac_objext \
15527 conftest
$ac_exeext conftest.
$ac_ext
15528 LDFLAGS
=$save_LDFLAGS
15529 libdir
=$save_libdir
15533 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15535 # This implies no fast_install, which is unacceptable.
15536 # Some rework will be needed to allow for fast_install
15537 # before this can be enabled.
15538 hardcode_into_libs
=yes
15540 # Append ld.so.conf contents to the search path
15541 if test -f /etc
/ld.so.conf
; then
15542 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' ' '`
15543 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15546 # We used to test for /lib/ld.so.1 and disable shared libraries on
15547 # powerpc, because MkLinux only supported shared libraries with the
15548 # GNU dynamic linker. Since this was broken with cross compilers,
15549 # most powerpc-linux boxes support dynamic linking these days and
15550 # people can always --disable-shared, the test was removed, and we
15551 # assume the GNU/Linux dynamic linker is in use.
15552 dynamic_linker
='GNU/Linux ld.so'
15559 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15562 dynamic_linker
='NetBSD (a.out) ld.so'
15564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15565 soname_spec
='${libname}${release}${shared_ext}$major'
15566 dynamic_linker
='NetBSD ld.elf_so'
15568 shlibpath_var
=LD_LIBRARY_PATH
15569 shlibpath_overrides_runpath
=yes
15570 hardcode_into_libs
=yes
15575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15576 shlibpath_var
=LD_LIBRARY_PATH
15577 shlibpath_overrides_runpath
=yes
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 soname_spec
='${libname}${release}${shared_ext}$major'
15586 shlibpath_var
=LD_LIBRARY_PATH
15587 shlibpath_overrides_runpath
=no
15588 hardcode_into_libs
=yes
15589 dynamic_linker
='ldqnx.so'
15594 sys_lib_dlsearch_path_spec
="/usr/lib"
15596 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15598 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15599 *) need_version
=no
;;
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15603 shlibpath_var
=LD_LIBRARY_PATH
15604 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15606 openbsd2.
[89] | openbsd2.
[89].
*)
15607 shlibpath_overrides_runpath
=no
15610 shlibpath_overrides_runpath
=yes
15614 shlibpath_overrides_runpath
=yes
15619 libname_spec
='$name'
15622 library_names_spec
='$libname${shared_ext} $libname.a'
15623 dynamic_linker
='OS/2 ld.exe'
15624 shlibpath_var
=LIBPATH
15627 osf3
* | osf4
* | osf5
*)
15631 soname_spec
='${libname}${release}${shared_ext}$major'
15632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15633 shlibpath_var
=LD_LIBRARY_PATH
15634 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15635 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647 soname_spec
='${libname}${release}${shared_ext}$major'
15648 shlibpath_var
=LD_LIBRARY_PATH
15649 shlibpath_overrides_runpath
=yes
15650 hardcode_into_libs
=yes
15651 # ldd complains unless libraries are executable
15652 postinstall_cmds
='chmod +x $lib'
15657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15658 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath
=yes
15661 if test "$with_gnu_ld" = yes; then
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15670 soname_spec
='${libname}${release}${shared_ext}$major'
15671 shlibpath_var
=LD_LIBRARY_PATH
15672 case $host_vendor in
15674 shlibpath_overrides_runpath
=no
15676 runpath_var
=LD_RUN_PATH
15684 shlibpath_overrides_runpath
=no
15685 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15691 if test -d /usr
/nec
;then
15693 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15694 soname_spec
='$libname${shared_ext}.$major'
15695 shlibpath_var
=LD_LIBRARY_PATH
15699 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15700 version_type
=freebsd-elf
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15704 soname_spec
='${libname}${release}${shared_ext}$major'
15705 shlibpath_var
=LD_LIBRARY_PATH
15706 shlibpath_overrides_runpath
=yes
15707 hardcode_into_libs
=yes
15708 if test "$with_gnu_ld" = yes; then
15709 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15711 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15714 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15718 sys_lib_dlsearch_path_spec
='/usr/lib'
15722 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15727 shlibpath_var
=LD_LIBRARY_PATH
15728 shlibpath_overrides_runpath
=no
15729 hardcode_into_libs
=yes
15734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15735 soname_spec
='${libname}${release}${shared_ext}$major'
15736 shlibpath_var
=LD_LIBRARY_PATH
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15744 $as_echo "$dynamic_linker" >&6; }
15745 test "$dynamic_linker" = no
&& can_build_shared
=no
15747 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15748 if test "$GCC" = yes; then
15749 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15752 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15753 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15755 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15756 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15798 hardcode_action_CXX
=
15799 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15800 test -n "$runpath_var_CXX" ||
15801 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15803 # We can hardcode non-existent directories.
15804 if test "$hardcode_direct_CXX" != no
&&
15805 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15806 # have to relink, otherwise we might link with an installed library
15807 # when we should be linking with a yet-to-be-installed one
15808 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15809 test "$hardcode_minus_L_CXX" != no
; then
15810 # Linking always hardcodes the temporary library directory.
15811 hardcode_action_CXX
=relink
15813 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15814 hardcode_action_CXX
=immediate
15817 # We cannot hardcode anything, or else we can only hardcode existing
15819 hardcode_action_CXX
=unsupported
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15822 $as_echo "$hardcode_action_CXX" >&6; }
15824 if test "$hardcode_action_CXX" = relink ||
15825 test "$inherit_rpath_CXX" = yes; then
15826 # Fast installation is not supported
15827 enable_fast_install
=no
15828 elif test "$shlibpath_overrides_runpath" = yes ||
15829 test "$enable_shared" = no
; then
15830 # Fast installation is not necessary
15831 enable_fast_install
=needless
15840 fi # test -n "$compiler"
15843 CFLAGS
=$lt_save_CFLAGS
15847 with_gnu_ld
=$lt_save_with_gnu_ld
15848 lt_cv_path_LDCXX
=$lt_cv_path_LD
15849 lt_cv_path_LD
=$lt_save_path_LD
15850 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15851 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15852 fi # test "$_lt_caught_CXX_error" != yes
15855 ac_cpp
='$CPP $CPPFLAGS'
15856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15862 $as_echo_n "checking whether ln -s works... " >&6; }
15864 if test "$LN_S" = "ln -s"; then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15866 $as_echo "yes" >&6; }
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15869 $as_echo "no, using $LN_S" >&6; }
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15874 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15876 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15877 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
15878 $as_echo_n "(cached) " >&6
15880 cat >conftest.
make <<\_ACEOF
15883 @
echo '@@@%%%=$(MAKE)=@@@%%%'
15885 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15886 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15887 *@@@
%%%=?
*=@@@
%%%*)
15888 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
15890 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
15892 rm -f conftest.
make
15894 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15896 $as_echo "yes" >&6; }
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15900 $as_echo "no" >&6; }
15901 SET_MAKE
="MAKE=${MAKE-make}"
15906 # Extract the first word of "gengetopt", so it can be a program name with args.
15907 set dummy gengetopt
; ac_word
=$2
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15909 $as_echo_n "checking for $ac_word... " >&6; }
15910 if ${ac_cv_path_GENGETOPT+:} false
; then :
15911 $as_echo_n "(cached) " >&6
15915 ac_cv_path_GENGETOPT
="$GENGETOPT" # Let the user override the test with a path.
15918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15919 for as_dir
in $PATH
15922 test -z "$as_dir" && as_dir
=.
15923 for ac_exec_ext
in '' $ac_executable_extensions; do
15924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15925 ac_cv_path_GENGETOPT
="$as_dir/$ac_word$ac_exec_ext"
15926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15933 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT
="no"
15937 GENGETOPT
=$ac_cv_path_GENGETOPT
15938 if test -n "$GENGETOPT"; then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15940 $as_echo "$GENGETOPT" >&6; }
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15943 $as_echo "no" >&6; }
15947 if test x
"$GENGETOPT" != "xno"; then
15948 HAVE_GENGETOPT_TRUE
=
15949 HAVE_GENGETOPT_FALSE
='#'
15951 HAVE_GENGETOPT_TRUE
='#'
15952 HAVE_GENGETOPT_FALSE
=
15957 # Extract the first word of "doxygen", so it can be a program name with args.
15958 set dummy doxygen
; ac_word
=$2
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15960 $as_echo_n "checking for $ac_word... " >&6; }
15961 if ${ac_cv_path_DOXYGEN+:} false
; then :
15962 $as_echo_n "(cached) " >&6
15966 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
15969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15970 for as_dir
in $PATH
15973 test -z "$as_dir" && as_dir
=.
15974 for ac_exec_ext
in '' $ac_executable_extensions; do
15975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15976 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15984 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="no"
15988 DOXYGEN
=$ac_cv_path_DOXYGEN
15989 if test -n "$DOXYGEN"; then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15991 $as_echo "$DOXYGEN" >&6; }
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15994 $as_echo "no" >&6; }
15998 if test x
"$DOXYGEN" != "xno"; then
16000 HAVE_DOXYGEN_FALSE
='#'
16002 HAVE_DOXYGEN_TRUE
='#'
16003 HAVE_DOXYGEN_FALSE
=
16008 # Extract the first word of "perl", so it can be a program name with args.
16009 set dummy perl
; ac_word
=$2
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16011 $as_echo_n "checking for $ac_word... " >&6; }
16012 if ${ac_cv_path_PERL+:} false
; then :
16013 $as_echo_n "(cached) " >&6
16017 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16021 for as_dir
in $PATH
16024 test -z "$as_dir" && as_dir
=.
16025 for ac_exec_ext
in '' $ac_executable_extensions; do
16026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16027 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16035 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
16039 PERL
=$ac_cv_path_PERL
16040 if test -n "$PERL"; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16042 $as_echo "$PERL" >&6; }
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16045 $as_echo "no" >&6; }
16049 if test x
"$PERL" != "xno"; then
16051 HAVE_PERL_FALSE
='#'
16059 have_pod_checker
=no
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Pod::Checker" >&5
16061 $as_echo_n "checking for Pod::Checker... " >&6; }
16062 if $PERL -mPod::Checker
>/dev
/null
2>&1 ; then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16064 $as_echo "yes" >&6; }
16065 have_pod_checker
=yes
16067 if test x
"$have_pod_checker" = "xyes"; then
16068 HAVE_PERL_POD_CHECKER_TRUE
=
16069 HAVE_PERL_POD_CHECKER_FALSE
='#'
16071 HAVE_PERL_POD_CHECKER_TRUE
='#'
16072 HAVE_PERL_POD_CHECKER_FALSE
=
16076 # Extract the first word of "pod2man", so it can be a program name with args.
16077 set dummy pod2man
; ac_word
=$2
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16079 $as_echo_n "checking for $ac_word... " >&6; }
16080 if ${ac_cv_path_POD2MAN+:} false
; then :
16081 $as_echo_n "(cached) " >&6
16085 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
16088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16089 for as_dir
in $PATH
16092 test -z "$as_dir" && as_dir
=.
16093 for ac_exec_ext
in '' $ac_executable_extensions; do
16094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16095 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
16096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16103 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="no"
16107 POD2MAN
=$ac_cv_path_POD2MAN
16108 if test -n "$POD2MAN"; then
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16110 $as_echo "$POD2MAN" >&6; }
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16113 $as_echo "no" >&6; }
16117 if test x
"$POD2MAN" != "xno"; then
16119 HAVE_POD2MAN_FALSE
='#'
16121 HAVE_POD2MAN_TRUE
='#'
16122 HAVE_POD2MAN_FALSE
=
16127 # Extract the first word of "pod2html", so it can be a program name with args.
16128 set dummy pod2html
; ac_word
=$2
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16130 $as_echo_n "checking for $ac_word... " >&6; }
16131 if ${ac_cv_path_POD2HTML+:} false
; then :
16132 $as_echo_n "(cached) " >&6
16136 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
16139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16140 for as_dir
in $PATH
16143 test -z "$as_dir" && as_dir
=.
16144 for ac_exec_ext
in '' $ac_executable_extensions; do
16145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16146 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
16147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16154 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="no"
16158 POD2HTML
=$ac_cv_path_POD2HTML
16159 if test -n "$POD2HTML"; then
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16161 $as_echo "$POD2HTML" >&6; }
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16164 $as_echo "no" >&6; }
16168 if test x
"$POD2HTML" != "xno"; then
16169 HAVE_POD2HTML_TRUE
=
16170 HAVE_POD2HTML_FALSE
='#'
16172 HAVE_POD2HTML_TRUE
='#'
16173 HAVE_POD2HTML_FALSE
=
16178 # Extract the first word of "date", so it can be a program name with args.
16179 set dummy
date; ac_word
=$2
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16181 $as_echo_n "checking for $ac_word... " >&6; }
16182 if ${ac_cv_path_DATE+:} false
; then :
16183 $as_echo_n "(cached) " >&6
16187 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16191 for as_dir
in $PATH
16194 test -z "$as_dir" && as_dir
=.
16195 for ac_exec_ext
in '' $ac_executable_extensions; do
16196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16197 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16205 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="no"
16209 DATE
=$ac_cv_path_DATE
16210 if test -n "$DATE"; then
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16212 $as_echo "$DATE" >&6; }
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16215 $as_echo "no" >&6; }
16219 if test x
"$DATE" != "xno" ; then
16220 build_date
=`"$DATE" +%Y-%m-%d 2>/dev/null`
16221 if test x
"$build_date" != "x" ; then
16223 cat >>confdefs.h
<<_ACEOF
16224 #define BUILD_DATE "$build_date"
16230 # Extract the first word of "git", so it can be a program name with args.
16231 set dummy git
; ac_word
=$2
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16233 $as_echo_n "checking for $ac_word... " >&6; }
16234 if ${ac_cv_path_GIT+:} false
; then :
16235 $as_echo_n "(cached) " >&6
16239 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16243 for as_dir
in $PATH
16246 test -z "$as_dir" && as_dir
=.
16247 for ac_exec_ext
in '' $ac_executable_extensions; do
16248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16249 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16257 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT
="no"
16261 GIT
=$ac_cv_path_GIT
16262 if test -n "$GIT"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16264 $as_echo "$GIT" >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16271 if test x
"$GIT" != "xno" ; then
16273 git_describe
=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16274 if test x
"$git_describe" != "x" ; then
16276 cat >>confdefs.h
<<_ACEOF
16277 #define GIT_DESCRIBE "$git_describe"
16283 # Checks for libraries.
16285 if test "X$prefix" = "XNONE"; then
16286 acl_final_prefix
="$ac_default_prefix"
16288 acl_final_prefix
="$prefix"
16290 if test "X$exec_prefix" = "XNONE"; then
16291 acl_final_exec_prefix
='${prefix}'
16293 acl_final_exec_prefix
="$exec_prefix"
16295 acl_save_prefix
="$prefix"
16296 prefix
="$acl_final_prefix"
16297 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16298 prefix
="$acl_save_prefix"
16301 # Check whether --with-gnu-ld was given.
16302 if test "${with_gnu_ld+set}" = set; then :
16303 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16308 # Prepare PATH_SEPARATOR.
16309 # The user is always right.
16310 if test "${PATH_SEPARATOR+set}" != set; then
16311 echo "#! /bin/sh" >conf$$.sh
16312 echo "exit 0" >>conf$$.sh
16314 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16322 if test "$GCC" = yes; then
16323 # Check if gcc -print-prog-name=ld gives a path.
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16325 $as_echo_n "checking for ld used by GCC... " >&6; }
16328 # gcc leaves a trailing carriage return which upsets mingw
16329 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16331 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16334 # Accept absolute paths.
16335 [\\/]* |
[A-Za-z
]:[\\/]*)
16336 re_direlt
='/[^/][^/]*/\.\./'
16337 # Canonicalize the path of ld
16338 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16339 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16340 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16342 test -z "$LD" && LD
="$ac_prog"
16345 # If it fails, then pretend we aren't using GCC.
16349 # If it is relative, then search for the first ld in PATH.
16350 with_gnu_ld
=unknown
16353 elif test "$with_gnu_ld" = yes; then
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16355 $as_echo_n "checking for GNU ld... " >&6; }
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16358 $as_echo_n "checking for non-GNU ld... " >&6; }
16360 if ${acl_cv_path_LD+:} false
; then :
16361 $as_echo_n "(cached) " >&6
16363 if test -z "$LD"; then
16364 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16365 for ac_dir
in $PATH; do
16366 test -z "$ac_dir" && ac_dir
=.
16367 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16368 acl_cv_path_LD
="$ac_dir/$ac_prog"
16369 # Check to see if the program is GNU ld. I'd rather use --version,
16370 # but apparently some GNU ld's only accept -v.
16371 # Break only if it was the GNU/non-GNU ld that we prefer.
16372 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16373 *GNU
* |
*'with BFD'*)
16374 test "$with_gnu_ld" != no
&& break ;;
16376 test "$with_gnu_ld" != yes && break ;;
16382 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16386 LD
="$acl_cv_path_LD"
16387 if test -n "$LD"; then
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16389 $as_echo "$LD" >&6; }
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16392 $as_echo "no" >&6; }
16394 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16396 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16397 if ${acl_cv_prog_gnu_ld+:} false
; then :
16398 $as_echo_n "(cached) " >&6
16400 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16401 case `$LD -v 2>&1 </dev/null` in
16402 *GNU
* |
*'with BFD'*)
16403 acl_cv_prog_gnu_ld
=yes ;;
16405 acl_cv_prog_gnu_ld
=no
;;
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16409 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16410 with_gnu_ld
=$acl_cv_prog_gnu_ld
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16416 $as_echo_n "checking for shared library run path origin... " >&6; }
16417 if ${acl_cv_rpath+:} false
; then :
16418 $as_echo_n "(cached) " >&6
16421 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16422 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16424 rm -f .
/conftest.sh
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16429 $as_echo "$acl_cv_rpath" >&6; }
16431 acl_libext
="$acl_cv_libext"
16432 acl_shlibext
="$acl_cv_shlibext"
16433 acl_libname_spec
="$acl_cv_libname_spec"
16434 acl_library_names_spec
="$acl_cv_library_names_spec"
16435 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16436 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16437 acl_hardcode_direct
="$acl_cv_hardcode_direct"
16438 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16439 # Check whether --enable-rpath was given.
16440 if test "${enable_rpath+set}" = set; then :
16441 enableval
=$enable_rpath; :
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16454 $as_echo_n "checking for 64-bit host... " >&6; }
16455 if ${gl_cv_solaris_64bit+:} false
; then :
16456 $as_echo_n "(cached) " >&6
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16467 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
16468 gl_cv_solaris_64bit
=yes
16470 gl_cv_solaris_64bit
=no
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16477 $as_echo "$gl_cv_solaris_64bit" >&6; }
16478 if test $gl_cv_solaris_64bit = yes; then
16479 acl_libdirstem
=lib
/64
16480 case "$host_cpu" in
16481 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
16482 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
16487 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16488 if test -n "$searchpath"; then
16489 acl_save_IFS
="${IFS= }"; IFS
=":"
16490 for searchdir
in $searchpath; do
16491 if test -d "$searchdir"; then
16492 case "$searchdir" in
16493 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
16495 # Better ignore directories of this form. They are misleading.
16497 *) searchdir
=`cd "$searchdir" && pwd`
16498 case "$searchdir" in
16499 */lib64
) acl_libdirstem
=lib64
;;
16504 IFS
="$acl_save_IFS"
16508 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
16523 acl_save_prefix
="$prefix"
16524 prefix
="$acl_final_prefix"
16525 acl_save_exec_prefix
="$exec_prefix"
16526 exec_prefix
="$acl_final_exec_prefix"
16528 eval additional_includedir
=\"$includedir\"
16529 eval additional_libdir
=\"$libdir\"
16531 exec_prefix
="$acl_save_exec_prefix"
16532 prefix
="$acl_save_prefix"
16535 # Check whether --with-libiconv-prefix was given.
16536 if test "${with_libiconv_prefix+set}" = set; then :
16537 withval
=$with_libiconv_prefix;
16538 if test "X$withval" = "Xno"; then
16541 if test "X$withval" = "X"; then
16543 acl_save_prefix
="$prefix"
16544 prefix
="$acl_final_prefix"
16545 acl_save_exec_prefix
="$exec_prefix"
16546 exec_prefix
="$acl_final_exec_prefix"
16548 eval additional_includedir
=\"$includedir\"
16549 eval additional_libdir
=\"$libdir\"
16551 exec_prefix
="$acl_save_exec_prefix"
16552 prefix
="$acl_save_prefix"
16555 additional_includedir
="$withval/include"
16556 additional_libdir
="$withval/$acl_libdirstem"
16557 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16558 && ! test -d "$withval/$acl_libdirstem"; then
16559 additional_libdir
="$withval/$acl_libdirstem2"
16573 names_already_handled
=
16574 names_next_round
='iconv '
16575 while test -n "$names_next_round"; do
16576 names_this_round
="$names_next_round"
16578 for name
in $names_this_round; do
16580 for n
in $names_already_handled; do
16581 if test "$n" = "$name"; then
16582 already_handled
=yes
16586 if test -z "$already_handled"; then
16587 names_already_handled
="$names_already_handled $name"
16588 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16589 eval value
=\"\
$HAVE_LIB$uppername\"
16590 if test -n "$value"; then
16591 if test "$value" = yes; then
16592 eval value
=\"\
$LIB$uppername\"
16593 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16594 eval value
=\"\
$LTLIB$uppername\"
16595 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16604 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
16605 if test -n "$acl_shlibext"; then
16606 shrext
=".$acl_shlibext" # typically: shrext=.so
16610 if test $use_additional = yes; then
16611 dir
="$additional_libdir"
16612 if test -n "$acl_shlibext"; then
16613 if test -f "$dir/$libname$shrext"; then
16615 found_so
="$dir/$libname$shrext"
16617 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16618 ver
=`(cd "$dir" && \
16619 for f in "$libname$shrext".*; do echo "$f"; done \
16620 | sed -e "s,^$libname$shrext\\\\.,," \
16621 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16622 | sed 1q ) 2>/dev/null`
16623 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16625 found_so
="$dir/$libname$shrext.$ver"
16628 eval library_names
=\"$acl_library_names_spec\"
16629 for f
in $library_names; do
16630 if test -f "$dir/$f"; then
16639 if test "X$found_dir" = "X"; then
16640 if test -f "$dir/$libname.$acl_libext"; then
16642 found_a
="$dir/$libname.$acl_libext"
16645 if test "X$found_dir" != "X"; then
16646 if test -f "$dir/$libname.la"; then
16647 found_la
="$dir/$libname.la"
16651 if test "X$found_dir" = "X"; then
16652 for x
in $LDFLAGS $LTLIBICONV; do
16654 acl_save_prefix
="$prefix"
16655 prefix
="$acl_final_prefix"
16656 acl_save_exec_prefix
="$exec_prefix"
16657 exec_prefix
="$acl_final_exec_prefix"
16659 exec_prefix
="$acl_save_exec_prefix"
16660 prefix
="$acl_save_prefix"
16664 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16665 if test -n "$acl_shlibext"; then
16666 if test -f "$dir/$libname$shrext"; then
16668 found_so
="$dir/$libname$shrext"
16670 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16671 ver
=`(cd "$dir" && \
16672 for f in "$libname$shrext".*; do echo "$f"; done \
16673 | sed -e "s,^$libname$shrext\\\\.,," \
16674 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16675 | sed 1q ) 2>/dev/null`
16676 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16678 found_so
="$dir/$libname$shrext.$ver"
16681 eval library_names
=\"$acl_library_names_spec\"
16682 for f
in $library_names; do
16683 if test -f "$dir/$f"; then
16692 if test "X$found_dir" = "X"; then
16693 if test -f "$dir/$libname.$acl_libext"; then
16695 found_a
="$dir/$libname.$acl_libext"
16698 if test "X$found_dir" != "X"; then
16699 if test -f "$dir/$libname.la"; then
16700 found_la
="$dir/$libname.la"
16705 if test "X$found_dir" != "X"; then
16710 if test "X$found_dir" != "X"; then
16711 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16712 if test "X$found_so" != "X"; then
16713 if test "$enable_rpath" = no \
16714 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
16715 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16716 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16719 for x
in $ltrpathdirs; do
16720 if test "X$x" = "X$found_dir"; then
16725 if test -z "$haveit"; then
16726 ltrpathdirs
="$ltrpathdirs $found_dir"
16728 if test "$acl_hardcode_direct" = yes; then
16729 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16731 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
16732 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16734 for x
in $rpathdirs; do
16735 if test "X$x" = "X$found_dir"; then
16740 if test -z "$haveit"; then
16741 rpathdirs
="$rpathdirs $found_dir"
16745 for x
in $LDFLAGS $LIBICONV; do
16747 acl_save_prefix
="$prefix"
16748 prefix
="$acl_final_prefix"
16749 acl_save_exec_prefix
="$exec_prefix"
16750 exec_prefix
="$acl_final_exec_prefix"
16752 exec_prefix
="$acl_save_exec_prefix"
16753 prefix
="$acl_save_prefix"
16755 if test "X$x" = "X-L$found_dir"; then
16760 if test -z "$haveit"; then
16761 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16763 if test "$acl_hardcode_minus_L" != no
; then
16764 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16766 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16772 if test "X$found_a" != "X"; then
16773 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16775 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16778 additional_includedir
=
16779 case "$found_dir" in
16780 */$acl_libdirstem |
*/$acl_libdirstem/)
16781 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16782 if test "$name" = 'iconv'; then
16783 LIBICONV_PREFIX
="$basedir"
16785 additional_includedir
="$basedir/include"
16787 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
16788 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16789 if test "$name" = 'iconv'; then
16790 LIBICONV_PREFIX
="$basedir"
16792 additional_includedir
="$basedir/include"
16795 if test "X$additional_includedir" != "X"; then
16796 if test "X$additional_includedir" != "X/usr/include"; then
16798 if test "X$additional_includedir" = "X/usr/local/include"; then
16799 if test -n "$GCC"; then
16801 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16805 if test -z "$haveit"; then
16806 for x
in $CPPFLAGS $INCICONV; do
16808 acl_save_prefix
="$prefix"
16809 prefix
="$acl_final_prefix"
16810 acl_save_exec_prefix
="$exec_prefix"
16811 exec_prefix
="$acl_final_exec_prefix"
16813 exec_prefix
="$acl_save_exec_prefix"
16814 prefix
="$acl_save_prefix"
16816 if test "X$x" = "X-I$additional_includedir"; then
16821 if test -z "$haveit"; then
16822 if test -d "$additional_includedir"; then
16823 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16829 if test -n "$found_la"; then
16830 save_libdir
="$libdir"
16831 case "$found_la" in
16832 */* |
*\\*) .
"$found_la" ;;
16833 *) .
"./$found_la" ;;
16835 libdir
="$save_libdir"
16836 for dep
in $dependency_libs; do
16839 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16840 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16841 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16843 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16844 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16845 if test -n "$GCC"; then
16847 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16851 if test -z "$haveit"; then
16853 for x
in $LDFLAGS $LIBICONV; do
16855 acl_save_prefix
="$prefix"
16856 prefix
="$acl_final_prefix"
16857 acl_save_exec_prefix
="$exec_prefix"
16858 exec_prefix
="$acl_final_exec_prefix"
16860 exec_prefix
="$acl_save_exec_prefix"
16861 prefix
="$acl_save_prefix"
16863 if test "X$x" = "X-L$additional_libdir"; then
16868 if test -z "$haveit"; then
16869 if test -d "$additional_libdir"; then
16870 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16874 for x
in $LDFLAGS $LTLIBICONV; do
16876 acl_save_prefix
="$prefix"
16877 prefix
="$acl_final_prefix"
16878 acl_save_exec_prefix
="$exec_prefix"
16879 exec_prefix
="$acl_final_exec_prefix"
16881 exec_prefix
="$acl_save_exec_prefix"
16882 prefix
="$acl_save_prefix"
16884 if test "X$x" = "X-L$additional_libdir"; then
16889 if test -z "$haveit"; then
16890 if test -d "$additional_libdir"; then
16891 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16898 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16899 if test "$enable_rpath" != no
; then
16901 for x
in $rpathdirs; do
16902 if test "X$x" = "X$dir"; then
16907 if test -z "$haveit"; then
16908 rpathdirs
="$rpathdirs $dir"
16911 for x
in $ltrpathdirs; do
16912 if test "X$x" = "X$dir"; then
16917 if test -z "$haveit"; then
16918 ltrpathdirs
="$ltrpathdirs $dir"
16923 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16926 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16929 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16930 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16936 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16937 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16943 if test "X$rpathdirs" != "X"; then
16944 if test -n "$acl_hardcode_libdir_separator"; then
16946 for found_dir
in $rpathdirs; do
16947 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16949 acl_save_libdir
="$libdir"
16951 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16952 libdir
="$acl_save_libdir"
16953 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16955 for found_dir
in $rpathdirs; do
16956 acl_save_libdir
="$libdir"
16957 libdir
="$found_dir"
16958 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16959 libdir
="$acl_save_libdir"
16960 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16964 if test "X$ltrpathdirs" != "X"; then
16965 for found_dir
in $ltrpathdirs; do
16966 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16981 am_save_CPPFLAGS
="$CPPFLAGS"
16983 for element
in $INCICONV; do
16985 for x
in $CPPFLAGS; do
16987 acl_save_prefix
="$prefix"
16988 prefix
="$acl_final_prefix"
16989 acl_save_exec_prefix
="$exec_prefix"
16990 exec_prefix
="$acl_final_exec_prefix"
16992 exec_prefix
="$acl_save_exec_prefix"
16993 prefix
="$acl_save_prefix"
16995 if test "X$x" = "X$element"; then
17000 if test -z "$haveit"; then
17001 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17007 $as_echo_n "checking for iconv... " >&6; }
17008 if ${am_cv_func_iconv+:} false
; then :
17009 $as_echo_n "(cached) " >&6
17012 am_cv_func_iconv
="no, consider installing GNU libiconv"
17014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <stdlib.h>
17021 iconv_t cd = iconv_open("","");
17022 iconv(cd,NULL,NULL,NULL,NULL);
17028 if ac_fn_c_try_link
"$LINENO"; then :
17029 am_cv_func_iconv
=yes
17031 rm -f core conftest.err conftest.
$ac_objext \
17032 conftest
$ac_exeext conftest.
$ac_ext
17033 if test "$am_cv_func_iconv" != yes; then
17034 am_save_LIBS
="$LIBS"
17035 LIBS
="$LIBS $LIBICONV"
17036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 #include <stdlib.h>
17043 iconv_t cd = iconv_open("","");
17044 iconv(cd,NULL,NULL,NULL,NULL);
17050 if ac_fn_c_try_link
"$LINENO"; then :
17051 am_cv_lib_iconv
=yes
17052 am_cv_func_iconv
=yes
17054 rm -f core conftest.err conftest.
$ac_objext \
17055 conftest
$ac_exeext conftest.
$ac_ext
17056 LIBS
="$am_save_LIBS"
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17061 $as_echo "$am_cv_func_iconv" >&6; }
17062 if test "$am_cv_func_iconv" = yes; then
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17064 $as_echo_n "checking for working iconv... " >&6; }
17065 if ${am_cv_func_iconv_works+:} false
; then :
17066 $as_echo_n "(cached) " >&6
17069 am_save_LIBS
="$LIBS"
17070 if test $am_cv_lib_iconv = yes; then
17071 LIBS
="$LIBS $LIBICONV"
17073 if test "$cross_compiling" = yes; then :
17075 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
17076 *) am_cv_func_iconv_works
="guessing yes" ;;
17079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17083 #include <string.h>
17086 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17089 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17090 if (cd_utf8_to_88591 != (iconv_t)(-1))
17092 static const char input[] = "\342\202\254"; /* EURO SIGN */
17094 const char *inptr = input;
17095 size_t inbytesleft = strlen (input);
17096 char *outptr = buf;
17097 size_t outbytesleft = sizeof (buf);
17098 size_t res = iconv (cd_utf8_to_88591,
17099 (char **) &inptr, &inbytesleft,
17100 &outptr, &outbytesleft);
17105 /* Test against Solaris 10 bug: Failures are not distinguishable from
17106 successful returns. */
17108 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17109 if (cd_ascii_to_88591 != (iconv_t)(-1))
17111 static const char input[] = "\263";
17113 const char *inptr = input;
17114 size_t inbytesleft = strlen (input);
17115 char *outptr = buf;
17116 size_t outbytesleft = sizeof (buf);
17117 size_t res = iconv (cd_ascii_to_88591,
17118 (char **) &inptr, &inbytesleft,
17119 &outptr, &outbytesleft);
17124 #if 0 /* This bug could be worked around by the caller. */
17125 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17127 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17128 if (cd_88591_to_utf8 != (iconv_t)(-1))
17130 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17132 const char *inptr = input;
17133 size_t inbytesleft = strlen (input);
17134 char *outptr = buf;
17135 size_t outbytesleft = sizeof (buf);
17136 size_t res = iconv (cd_88591_to_utf8,
17137 (char **) &inptr, &inbytesleft,
17138 &outptr, &outbytesleft);
17144 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17146 if (/* Try standardized names. */
17147 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17148 /* Try IRIX, OSF/1 names. */
17149 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17150 /* Try AIX names. */
17151 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17152 /* Try HP-UX names. */
17153 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17158 if ac_fn_c_try_run
"$LINENO"; then :
17159 am_cv_func_iconv_works
=yes
17161 am_cv_func_iconv_works
=no
17163 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17164 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17167 LIBS
="$am_save_LIBS"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17171 $as_echo "$am_cv_func_iconv_works" >&6; }
17172 case "$am_cv_func_iconv_works" in
17173 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
17174 *) am_func_iconv
=yes ;;
17177 am_func_iconv
=no am_cv_lib_iconv
=no
17179 if test "$am_func_iconv" = yes; then
17181 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17184 if test "$am_cv_lib_iconv" = yes; then
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17186 $as_echo_n "checking how to link with libiconv... " >&6; }
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17188 $as_echo "$LIBICONV" >&6; }
17190 CPPFLAGS
="$am_save_CPPFLAGS"
17197 if test "$am_cv_func_iconv" = yes; then
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17199 $as_echo_n "checking for iconv declaration... " >&6; }
17200 if ${am_cv_proto_iconv+:} false
; then :
17201 $as_echo_n "(cached) " >&6
17204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17207 #include <stdlib.h>
17213 #if defined(__STDC__) || defined(__cplusplus)
17214 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17227 if ac_fn_c_try_compile
"$LINENO"; then :
17228 am_cv_proto_iconv_arg1
=""
17230 am_cv_proto_iconv_arg1
="const"
17232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17233 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);"
17236 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17238 $am_cv_proto_iconv" >&5
17240 $am_cv_proto_iconv" >&6; }
17242 cat >>confdefs.h
<<_ACEOF
17243 #define ICONV_CONST $am_cv_proto_iconv_arg1
17254 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17255 if test -n "$ac_tool_prefix"; then
17256 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17257 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17259 $as_echo_n "checking for $ac_word... " >&6; }
17260 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17261 $as_echo_n "(cached) " >&6
17263 case $PKG_CONFIG in
17265 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17269 for as_dir
in $PATH
17272 test -z "$as_dir" && as_dir
=.
17273 for ac_exec_ext
in '' $ac_executable_extensions; do
17274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17275 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17286 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17287 if test -n "$PKG_CONFIG"; then
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17289 $as_echo "$PKG_CONFIG" >&6; }
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17292 $as_echo "no" >&6; }
17297 if test -z "$ac_cv_path_PKG_CONFIG"; then
17298 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17299 # Extract the first word of "pkg-config", so it can be a program name with args.
17300 set dummy pkg-config
; ac_word
=$2
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17302 $as_echo_n "checking for $ac_word... " >&6; }
17303 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17304 $as_echo_n "(cached) " >&6
17306 case $ac_pt_PKG_CONFIG in
17308 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17312 for as_dir
in $PATH
17315 test -z "$as_dir" && as_dir
=.
17316 for ac_exec_ext
in '' $ac_executable_extensions; do
17317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17318 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17329 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17330 if test -n "$ac_pt_PKG_CONFIG"; then
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17332 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17338 if test "x$ac_pt_PKG_CONFIG" = x
; then
17341 case $cross_compiling:$ac_tool_warned in
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17345 ac_tool_warned
=yes ;;
17347 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17350 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17354 if test -n "$PKG_CONFIG"; then
17355 _pkg_min_version
=0.9.0
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17357 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17360 $as_echo "yes" >&6; }
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17363 $as_echo "no" >&6; }
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17370 $as_echo_n "checking for libcurl... " >&6; }
17372 if test -n "$libcurl_CFLAGS"; then
17373 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
17374 elif test -n "$PKG_CONFIG"; then
17375 if test -n "$PKG_CONFIG" && \
17376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17377 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17380 test $ac_status = 0; }; then
17381 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17388 if test -n "$libcurl_LIBS"; then
17389 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
17390 elif test -n "$PKG_CONFIG"; then
17391 if test -n "$PKG_CONFIG" && \
17392 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17393 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17396 test $ac_status = 0; }; then
17397 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17407 if test $pkg_failed = yes; then
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17409 $as_echo "no" >&6; }
17411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17412 _pkg_short_errors_supported
=yes
17414 _pkg_short_errors_supported
=no
17416 if test $_pkg_short_errors_supported = yes; then
17417 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17419 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17421 # Put the nasty error message in config.log where it belongs
17422 echo "$libcurl_PKG_ERRORS" >&5
17424 as_fn_error $?
"Package requirements (libcurl >= 7.18.0) were not met:
17426 $libcurl_PKG_ERRORS
17428 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17429 installed software in a non-standard prefix.
17431 Alternatively, you may set the environment variables libcurl_CFLAGS
17432 and libcurl_LIBS to avoid the need to call pkg-config.
17433 See the pkg-config man page for more details." "$LINENO" 5
17434 elif test $pkg_failed = untried
; then
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17436 $as_echo "no" >&6; }
17437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17439 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17440 is in your PATH or set the PKG_CONFIG environment variable to the full
17441 path to pkg-config.
17443 Alternatively, you may set the environment variables libcurl_CFLAGS
17444 and libcurl_LIBS to avoid the need to call pkg-config.
17445 See the pkg-config man page for more details.
17447 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17448 See \`config.log' for more details" "$LINENO" 5; }
17450 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
17451 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17453 $as_echo "yes" >&6; }
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre" >&5
17459 $as_echo_n "checking for libpcre... " >&6; }
17461 if test -n "$libpcre_CFLAGS"; then
17462 pkg_cv_libpcre_CFLAGS
="$libpcre_CFLAGS"
17463 elif test -n "$PKG_CONFIG"; then
17464 if test -n "$PKG_CONFIG" && \
17465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 7.8\""; } >&5
17466 ($PKG_CONFIG --exists --print-errors "libpcre >= 7.8") 2>&5
17468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17469 test $ac_status = 0; }; then
17470 pkg_cv_libpcre_CFLAGS
=`$PKG_CONFIG --cflags "libpcre >= 7.8" 2>/dev/null`
17477 if test -n "$libpcre_LIBS"; then
17478 pkg_cv_libpcre_LIBS
="$libpcre_LIBS"
17479 elif test -n "$PKG_CONFIG"; then
17480 if test -n "$PKG_CONFIG" && \
17481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 7.8\""; } >&5
17482 ($PKG_CONFIG --exists --print-errors "libpcre >= 7.8") 2>&5
17484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17485 test $ac_status = 0; }; then
17486 pkg_cv_libpcre_LIBS
=`$PKG_CONFIG --libs "libpcre >= 7.8" 2>/dev/null`
17496 if test $pkg_failed = yes; then
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 $as_echo "no" >&6; }
17500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17501 _pkg_short_errors_supported
=yes
17503 _pkg_short_errors_supported
=no
17505 if test $_pkg_short_errors_supported = yes; then
17506 libpcre_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libpcre >= 7.8" 2>&1`
17508 libpcre_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libpcre >= 7.8" 2>&1`
17510 # Put the nasty error message in config.log where it belongs
17511 echo "$libpcre_PKG_ERRORS" >&5
17513 as_fn_error $?
"Package requirements (libpcre >= 7.8) were not met:
17515 $libpcre_PKG_ERRORS
17517 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17518 installed software in a non-standard prefix.
17520 Alternatively, you may set the environment variables libpcre_CFLAGS
17521 and libpcre_LIBS to avoid the need to call pkg-config.
17522 See the pkg-config man page for more details." "$LINENO" 5
17523 elif test $pkg_failed = untried
; then
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17525 $as_echo "no" >&6; }
17526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17528 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17529 is in your PATH or set the PKG_CONFIG environment variable to the full
17530 path to pkg-config.
17532 Alternatively, you may set the environment variables libpcre_CFLAGS
17533 and libpcre_LIBS to avoid the need to call pkg-config.
17534 See the pkg-config man page for more details.
17536 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17537 See \`config.log' for more details" "$LINENO" 5; }
17539 libpcre_CFLAGS
=$pkg_cv_libpcre_CFLAGS
17540 libpcre_LIBS
=$pkg_cv_libpcre_LIBS
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17542 $as_echo "yes" >&6; }
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17548 $as_echo_n "checking for liblua... " >&6; }
17550 if test -n "$liblua_CFLAGS"; then
17551 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17552 elif test -n "$PKG_CONFIG"; then
17553 if test -n "$PKG_CONFIG" && \
17554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17555 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17558 test $ac_status = 0; }; then
17559 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17566 if test -n "$liblua_LIBS"; then
17567 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17568 elif test -n "$PKG_CONFIG"; then
17569 if test -n "$PKG_CONFIG" && \
17570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17571 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17574 test $ac_status = 0; }; then
17575 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17585 if test $pkg_failed = yes; then
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17587 $as_echo "no" >&6; }
17589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17590 _pkg_short_errors_supported
=yes
17592 _pkg_short_errors_supported
=no
17594 if test $_pkg_short_errors_supported = yes; then
17595 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17597 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17599 # Put the nasty error message in config.log where it belongs
17600 echo "$liblua_PKG_ERRORS" >&5
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17606 $as_echo_n "checking for liblua... " >&6; }
17608 if test -n "$liblua_CFLAGS"; then
17609 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17610 elif test -n "$PKG_CONFIG"; then
17611 if test -n "$PKG_CONFIG" && \
17612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17613 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17616 test $ac_status = 0; }; then
17617 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17624 if test -n "$liblua_LIBS"; then
17625 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17626 elif test -n "$PKG_CONFIG"; then
17627 if test -n "$PKG_CONFIG" && \
17628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17629 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17632 test $ac_status = 0; }; then
17633 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17643 if test $pkg_failed = yes; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17645 $as_echo "no" >&6; }
17647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17648 _pkg_short_errors_supported
=yes
17650 _pkg_short_errors_supported
=no
17652 if test $_pkg_short_errors_supported = yes; then
17653 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17655 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17657 # Put the nasty error message in config.log where it belongs
17658 echo "$liblua_PKG_ERRORS" >&5
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17664 $as_echo_n "checking for liblua... " >&6; }
17666 if test -n "$liblua_CFLAGS"; then
17667 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17668 elif test -n "$PKG_CONFIG"; then
17669 if test -n "$PKG_CONFIG" && \
17670 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17671 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17674 test $ac_status = 0; }; then
17675 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17682 if test -n "$liblua_LIBS"; then
17683 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17684 elif test -n "$PKG_CONFIG"; then
17685 if test -n "$PKG_CONFIG" && \
17686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17687 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17690 test $ac_status = 0; }; then
17691 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17701 if test $pkg_failed = yes; then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17703 $as_echo "no" >&6; }
17705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17706 _pkg_short_errors_supported
=yes
17708 _pkg_short_errors_supported
=no
17710 if test $_pkg_short_errors_supported = yes; then
17711 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17713 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17715 # Put the nasty error message in config.log where it belongs
17716 echo "$liblua_PKG_ERRORS" >&5
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17722 $as_echo_n "checking for liblua... " >&6; }
17724 if test -n "$liblua_CFLAGS"; then
17725 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17726 elif test -n "$PKG_CONFIG"; then
17727 if test -n "$PKG_CONFIG" && \
17728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17729 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17732 test $ac_status = 0; }; then
17733 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17740 if test -n "$liblua_LIBS"; then
17741 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17742 elif test -n "$PKG_CONFIG"; then
17743 if test -n "$PKG_CONFIG" && \
17744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17745 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17748 test $ac_status = 0; }; then
17749 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17759 if test $pkg_failed = yes; then
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17764 _pkg_short_errors_supported
=yes
17766 _pkg_short_errors_supported
=no
17768 if test $_pkg_short_errors_supported = yes; then
17769 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17771 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17773 # Put the nasty error message in config.log where it belongs
17774 echo "$liblua_PKG_ERRORS" >&5
17776 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17780 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17781 installed software in a non-standard prefix.
17783 Alternatively, you may set the environment variables liblua_CFLAGS
17784 and liblua_LIBS to avoid the need to call pkg-config.
17785 See the pkg-config man page for more details." "$LINENO" 5
17786 elif test $pkg_failed = untried
; then
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17788 $as_echo "no" >&6; }
17789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17791 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17792 is in your PATH or set the PKG_CONFIG environment variable to the full
17793 path to pkg-config.
17795 Alternatively, you may set the environment variables liblua_CFLAGS
17796 and liblua_LIBS to avoid the need to call pkg-config.
17797 See the pkg-config man page for more details.
17799 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17800 See \`config.log' for more details" "$LINENO" 5; }
17802 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17803 liblua_LIBS
=$pkg_cv_liblua_LIBS
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17805 $as_echo "yes" >&6; }
17809 elif test $pkg_failed = untried
; then
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17811 $as_echo "no" >&6; }
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17816 $as_echo_n "checking for liblua... " >&6; }
17818 if test -n "$liblua_CFLAGS"; then
17819 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17820 elif test -n "$PKG_CONFIG"; then
17821 if test -n "$PKG_CONFIG" && \
17822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17823 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17826 test $ac_status = 0; }; then
17827 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17834 if test -n "$liblua_LIBS"; then
17835 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17836 elif test -n "$PKG_CONFIG"; then
17837 if test -n "$PKG_CONFIG" && \
17838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17839 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17842 test $ac_status = 0; }; then
17843 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17853 if test $pkg_failed = yes; then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17855 $as_echo "no" >&6; }
17857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17858 _pkg_short_errors_supported
=yes
17860 _pkg_short_errors_supported
=no
17862 if test $_pkg_short_errors_supported = yes; then
17863 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17865 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17867 # Put the nasty error message in config.log where it belongs
17868 echo "$liblua_PKG_ERRORS" >&5
17870 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17874 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17875 installed software in a non-standard prefix.
17877 Alternatively, you may set the environment variables liblua_CFLAGS
17878 and liblua_LIBS to avoid the need to call pkg-config.
17879 See the pkg-config man page for more details." "$LINENO" 5
17880 elif test $pkg_failed = untried
; then
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17882 $as_echo "no" >&6; }
17883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17885 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17886 is in your PATH or set the PKG_CONFIG environment variable to the full
17887 path to pkg-config.
17889 Alternatively, you may set the environment variables liblua_CFLAGS
17890 and liblua_LIBS to avoid the need to call pkg-config.
17891 See the pkg-config man page for more details.
17893 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17894 See \`config.log' for more details" "$LINENO" 5; }
17896 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17897 liblua_LIBS
=$pkg_cv_liblua_LIBS
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17899 $as_echo "yes" >&6; }
17904 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17905 liblua_LIBS
=$pkg_cv_liblua_LIBS
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17907 $as_echo "yes" >&6; }
17911 elif test $pkg_failed = untried
; then
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17913 $as_echo "no" >&6; }
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17918 $as_echo_n "checking for liblua... " >&6; }
17920 if test -n "$liblua_CFLAGS"; then
17921 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17922 elif test -n "$PKG_CONFIG"; then
17923 if test -n "$PKG_CONFIG" && \
17924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17925 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17928 test $ac_status = 0; }; then
17929 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17936 if test -n "$liblua_LIBS"; then
17937 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17938 elif test -n "$PKG_CONFIG"; then
17939 if test -n "$PKG_CONFIG" && \
17940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17941 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17944 test $ac_status = 0; }; then
17945 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17955 if test $pkg_failed = yes; then
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17957 $as_echo "no" >&6; }
17959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17960 _pkg_short_errors_supported
=yes
17962 _pkg_short_errors_supported
=no
17964 if test $_pkg_short_errors_supported = yes; then
17965 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17967 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17969 # Put the nasty error message in config.log where it belongs
17970 echo "$liblua_PKG_ERRORS" >&5
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17976 $as_echo_n "checking for liblua... " >&6; }
17978 if test -n "$liblua_CFLAGS"; then
17979 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17980 elif test -n "$PKG_CONFIG"; then
17981 if test -n "$PKG_CONFIG" && \
17982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17983 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17986 test $ac_status = 0; }; then
17987 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17994 if test -n "$liblua_LIBS"; then
17995 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17996 elif test -n "$PKG_CONFIG"; then
17997 if test -n "$PKG_CONFIG" && \
17998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17999 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18002 test $ac_status = 0; }; then
18003 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18013 if test $pkg_failed = yes; then
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18015 $as_echo "no" >&6; }
18017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18018 _pkg_short_errors_supported
=yes
18020 _pkg_short_errors_supported
=no
18022 if test $_pkg_short_errors_supported = yes; then
18023 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18025 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18027 # Put the nasty error message in config.log where it belongs
18028 echo "$liblua_PKG_ERRORS" >&5
18030 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18034 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18035 installed software in a non-standard prefix.
18037 Alternatively, you may set the environment variables liblua_CFLAGS
18038 and liblua_LIBS to avoid the need to call pkg-config.
18039 See the pkg-config man page for more details." "$LINENO" 5
18040 elif test $pkg_failed = untried
; then
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18042 $as_echo "no" >&6; }
18043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18045 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18046 is in your PATH or set the PKG_CONFIG environment variable to the full
18047 path to pkg-config.
18049 Alternatively, you may set the environment variables liblua_CFLAGS
18050 and liblua_LIBS to avoid the need to call pkg-config.
18051 See the pkg-config man page for more details.
18053 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18054 See \`config.log' for more details" "$LINENO" 5; }
18056 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18057 liblua_LIBS
=$pkg_cv_liblua_LIBS
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18059 $as_echo "yes" >&6; }
18063 elif test $pkg_failed = untried
; then
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18065 $as_echo "no" >&6; }
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18070 $as_echo_n "checking for liblua... " >&6; }
18072 if test -n "$liblua_CFLAGS"; then
18073 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18074 elif test -n "$PKG_CONFIG"; then
18075 if test -n "$PKG_CONFIG" && \
18076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18077 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18080 test $ac_status = 0; }; then
18081 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18088 if test -n "$liblua_LIBS"; then
18089 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18090 elif test -n "$PKG_CONFIG"; then
18091 if test -n "$PKG_CONFIG" && \
18092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18093 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18096 test $ac_status = 0; }; then
18097 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18107 if test $pkg_failed = yes; then
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109 $as_echo "no" >&6; }
18111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18112 _pkg_short_errors_supported
=yes
18114 _pkg_short_errors_supported
=no
18116 if test $_pkg_short_errors_supported = yes; then
18117 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18119 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18121 # Put the nasty error message in config.log where it belongs
18122 echo "$liblua_PKG_ERRORS" >&5
18124 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18128 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18129 installed software in a non-standard prefix.
18131 Alternatively, you may set the environment variables liblua_CFLAGS
18132 and liblua_LIBS to avoid the need to call pkg-config.
18133 See the pkg-config man page for more details." "$LINENO" 5
18134 elif test $pkg_failed = untried
; then
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18136 $as_echo "no" >&6; }
18137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18139 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18140 is in your PATH or set the PKG_CONFIG environment variable to the full
18141 path to pkg-config.
18143 Alternatively, you may set the environment variables liblua_CFLAGS
18144 and liblua_LIBS to avoid the need to call pkg-config.
18145 See the pkg-config man page for more details.
18147 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18148 See \`config.log' for more details" "$LINENO" 5; }
18150 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18151 liblua_LIBS
=$pkg_cv_liblua_LIBS
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18153 $as_echo "yes" >&6; }
18158 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18159 liblua_LIBS
=$pkg_cv_liblua_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18161 $as_echo "yes" >&6; }
18166 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18167 liblua_LIBS
=$pkg_cv_liblua_LIBS
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18169 $as_echo "yes" >&6; }
18173 elif test $pkg_failed = untried
; then
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18175 $as_echo "no" >&6; }
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18180 $as_echo_n "checking for liblua... " >&6; }
18182 if test -n "$liblua_CFLAGS"; then
18183 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18184 elif test -n "$PKG_CONFIG"; then
18185 if test -n "$PKG_CONFIG" && \
18186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18187 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18190 test $ac_status = 0; }; then
18191 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18198 if test -n "$liblua_LIBS"; then
18199 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18200 elif test -n "$PKG_CONFIG"; then
18201 if test -n "$PKG_CONFIG" && \
18202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18203 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18206 test $ac_status = 0; }; then
18207 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18217 if test $pkg_failed = yes; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18219 $as_echo "no" >&6; }
18221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18222 _pkg_short_errors_supported
=yes
18224 _pkg_short_errors_supported
=no
18226 if test $_pkg_short_errors_supported = yes; then
18227 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18229 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18231 # Put the nasty error message in config.log where it belongs
18232 echo "$liblua_PKG_ERRORS" >&5
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18238 $as_echo_n "checking for liblua... " >&6; }
18240 if test -n "$liblua_CFLAGS"; then
18241 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18242 elif test -n "$PKG_CONFIG"; then
18243 if test -n "$PKG_CONFIG" && \
18244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18245 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18248 test $ac_status = 0; }; then
18249 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18256 if test -n "$liblua_LIBS"; then
18257 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18258 elif test -n "$PKG_CONFIG"; then
18259 if test -n "$PKG_CONFIG" && \
18260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18261 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18264 test $ac_status = 0; }; then
18265 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18275 if test $pkg_failed = yes; then
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18277 $as_echo "no" >&6; }
18279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18280 _pkg_short_errors_supported
=yes
18282 _pkg_short_errors_supported
=no
18284 if test $_pkg_short_errors_supported = yes; then
18285 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18287 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18289 # Put the nasty error message in config.log where it belongs
18290 echo "$liblua_PKG_ERRORS" >&5
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18296 $as_echo_n "checking for liblua... " >&6; }
18298 if test -n "$liblua_CFLAGS"; then
18299 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18300 elif test -n "$PKG_CONFIG"; then
18301 if test -n "$PKG_CONFIG" && \
18302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18303 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18306 test $ac_status = 0; }; then
18307 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18314 if test -n "$liblua_LIBS"; then
18315 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18316 elif test -n "$PKG_CONFIG"; then
18317 if test -n "$PKG_CONFIG" && \
18318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18319 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18322 test $ac_status = 0; }; then
18323 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18333 if test $pkg_failed = yes; then
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18335 $as_echo "no" >&6; }
18337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18338 _pkg_short_errors_supported
=yes
18340 _pkg_short_errors_supported
=no
18342 if test $_pkg_short_errors_supported = yes; then
18343 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18345 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18347 # Put the nasty error message in config.log where it belongs
18348 echo "$liblua_PKG_ERRORS" >&5
18350 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18354 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18355 installed software in a non-standard prefix.
18357 Alternatively, you may set the environment variables liblua_CFLAGS
18358 and liblua_LIBS to avoid the need to call pkg-config.
18359 See the pkg-config man page for more details." "$LINENO" 5
18360 elif test $pkg_failed = untried
; then
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18362 $as_echo "no" >&6; }
18363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18365 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18366 is in your PATH or set the PKG_CONFIG environment variable to the full
18367 path to pkg-config.
18369 Alternatively, you may set the environment variables liblua_CFLAGS
18370 and liblua_LIBS to avoid the need to call pkg-config.
18371 See the pkg-config man page for more details.
18373 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18374 See \`config.log' for more details" "$LINENO" 5; }
18376 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18377 liblua_LIBS
=$pkg_cv_liblua_LIBS
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18379 $as_echo "yes" >&6; }
18383 elif test $pkg_failed = untried
; then
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18385 $as_echo "no" >&6; }
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18390 $as_echo_n "checking for liblua... " >&6; }
18392 if test -n "$liblua_CFLAGS"; then
18393 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18394 elif test -n "$PKG_CONFIG"; then
18395 if test -n "$PKG_CONFIG" && \
18396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18397 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18400 test $ac_status = 0; }; then
18401 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18408 if test -n "$liblua_LIBS"; then
18409 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18410 elif test -n "$PKG_CONFIG"; then
18411 if test -n "$PKG_CONFIG" && \
18412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18413 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18416 test $ac_status = 0; }; then
18417 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18427 if test $pkg_failed = yes; then
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18429 $as_echo "no" >&6; }
18431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18432 _pkg_short_errors_supported
=yes
18434 _pkg_short_errors_supported
=no
18436 if test $_pkg_short_errors_supported = yes; then
18437 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18439 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18441 # Put the nasty error message in config.log where it belongs
18442 echo "$liblua_PKG_ERRORS" >&5
18444 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18448 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18449 installed software in a non-standard prefix.
18451 Alternatively, you may set the environment variables liblua_CFLAGS
18452 and liblua_LIBS to avoid the need to call pkg-config.
18453 See the pkg-config man page for more details." "$LINENO" 5
18454 elif test $pkg_failed = untried
; then
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18456 $as_echo "no" >&6; }
18457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18459 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18460 is in your PATH or set the PKG_CONFIG environment variable to the full
18461 path to pkg-config.
18463 Alternatively, you may set the environment variables liblua_CFLAGS
18464 and liblua_LIBS to avoid the need to call pkg-config.
18465 See the pkg-config man page for more details.
18467 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18468 See \`config.log' for more details" "$LINENO" 5; }
18470 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18471 liblua_LIBS
=$pkg_cv_liblua_LIBS
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18473 $as_echo "yes" >&6; }
18478 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18479 liblua_LIBS
=$pkg_cv_liblua_LIBS
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18481 $as_echo "yes" >&6; }
18485 elif test $pkg_failed = untried
; then
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18487 $as_echo "no" >&6; }
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18492 $as_echo_n "checking for liblua... " >&6; }
18494 if test -n "$liblua_CFLAGS"; then
18495 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18496 elif test -n "$PKG_CONFIG"; then
18497 if test -n "$PKG_CONFIG" && \
18498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18499 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18502 test $ac_status = 0; }; then
18503 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18510 if test -n "$liblua_LIBS"; then
18511 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18512 elif test -n "$PKG_CONFIG"; then
18513 if test -n "$PKG_CONFIG" && \
18514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18515 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18518 test $ac_status = 0; }; then
18519 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18529 if test $pkg_failed = yes; then
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18531 $as_echo "no" >&6; }
18533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18534 _pkg_short_errors_supported
=yes
18536 _pkg_short_errors_supported
=no
18538 if test $_pkg_short_errors_supported = yes; then
18539 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18541 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18543 # Put the nasty error message in config.log where it belongs
18544 echo "$liblua_PKG_ERRORS" >&5
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18550 $as_echo_n "checking for liblua... " >&6; }
18552 if test -n "$liblua_CFLAGS"; then
18553 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18554 elif test -n "$PKG_CONFIG"; then
18555 if test -n "$PKG_CONFIG" && \
18556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18557 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18560 test $ac_status = 0; }; then
18561 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18568 if test -n "$liblua_LIBS"; then
18569 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18570 elif test -n "$PKG_CONFIG"; then
18571 if test -n "$PKG_CONFIG" && \
18572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18573 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18576 test $ac_status = 0; }; then
18577 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18587 if test $pkg_failed = yes; then
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18589 $as_echo "no" >&6; }
18591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18592 _pkg_short_errors_supported
=yes
18594 _pkg_short_errors_supported
=no
18596 if test $_pkg_short_errors_supported = yes; then
18597 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18599 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18601 # Put the nasty error message in config.log where it belongs
18602 echo "$liblua_PKG_ERRORS" >&5
18604 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18608 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18609 installed software in a non-standard prefix.
18611 Alternatively, you may set the environment variables liblua_CFLAGS
18612 and liblua_LIBS to avoid the need to call pkg-config.
18613 See the pkg-config man page for more details." "$LINENO" 5
18614 elif test $pkg_failed = untried
; then
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18616 $as_echo "no" >&6; }
18617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18619 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18620 is in your PATH or set the PKG_CONFIG environment variable to the full
18621 path to pkg-config.
18623 Alternatively, you may set the environment variables liblua_CFLAGS
18624 and liblua_LIBS to avoid the need to call pkg-config.
18625 See the pkg-config man page for more details.
18627 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18628 See \`config.log' for more details" "$LINENO" 5; }
18630 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18631 liblua_LIBS
=$pkg_cv_liblua_LIBS
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18633 $as_echo "yes" >&6; }
18637 elif test $pkg_failed = untried
; then
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18639 $as_echo "no" >&6; }
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18644 $as_echo_n "checking for liblua... " >&6; }
18646 if test -n "$liblua_CFLAGS"; then
18647 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18648 elif test -n "$PKG_CONFIG"; then
18649 if test -n "$PKG_CONFIG" && \
18650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18651 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18654 test $ac_status = 0; }; then
18655 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18662 if test -n "$liblua_LIBS"; then
18663 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18664 elif test -n "$PKG_CONFIG"; then
18665 if test -n "$PKG_CONFIG" && \
18666 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18667 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18670 test $ac_status = 0; }; then
18671 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18681 if test $pkg_failed = yes; then
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18683 $as_echo "no" >&6; }
18685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18686 _pkg_short_errors_supported
=yes
18688 _pkg_short_errors_supported
=no
18690 if test $_pkg_short_errors_supported = yes; then
18691 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18693 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18695 # Put the nasty error message in config.log where it belongs
18696 echo "$liblua_PKG_ERRORS" >&5
18698 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18702 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18703 installed software in a non-standard prefix.
18705 Alternatively, you may set the environment variables liblua_CFLAGS
18706 and liblua_LIBS to avoid the need to call pkg-config.
18707 See the pkg-config man page for more details." "$LINENO" 5
18708 elif test $pkg_failed = untried
; then
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18710 $as_echo "no" >&6; }
18711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18713 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18714 is in your PATH or set the PKG_CONFIG environment variable to the full
18715 path to pkg-config.
18717 Alternatively, you may set the environment variables liblua_CFLAGS
18718 and liblua_LIBS to avoid the need to call pkg-config.
18719 See the pkg-config man page for more details.
18721 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18722 See \`config.log' for more details" "$LINENO" 5; }
18724 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18725 liblua_LIBS
=$pkg_cv_liblua_LIBS
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18727 $as_echo "yes" >&6; }
18732 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18733 liblua_LIBS
=$pkg_cv_liblua_LIBS
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18735 $as_echo "yes" >&6; }
18740 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18741 liblua_LIBS
=$pkg_cv_liblua_LIBS
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18743 $as_echo "yes" >&6; }
18748 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18749 liblua_LIBS
=$pkg_cv_liblua_LIBS
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18751 $as_echo "yes" >&6; }
18754 # Check whether --enable-silent-rules was given.
18755 if test "${enable_silent_rules+set}" = set; then :
18756 enableval
=$enable_silent_rules;
18759 case $enable_silent_rules in
18760 yes) AM_DEFAULT_VERBOSITY
=0;;
18761 no
) AM_DEFAULT_VERBOSITY
=1;;
18762 *) AM_DEFAULT_VERBOSITY
=0;;
18767 # Checks for header files.
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18769 $as_echo_n "checking for ANSI C header files... " >&6; }
18770 if ${ac_cv_header_stdc+:} false; then :
18771 $as_echo_n "(cached) " >&6
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 #include <stdlib.h>
18776 #include <stdarg.h>
18777 #include <string.h>
18788 if ac_fn_c_try_compile "$LINENO"; then :
18789 ac_cv_header_stdc=yes
18791 ac_cv_header_stdc=no
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 if test $ac_cv_header_stdc = yes; then
18796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799 #include <string.h>
18802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18803 $EGREP "memchr" >/dev/null 2>&1; then :
18806 ac_cv_header_stdc=no
18812 if test $ac_cv_header_stdc = yes; then
18813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 #include <stdlib.h>
18819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18820 $EGREP "free" >/dev/null 2>&1; then :
18823 ac_cv_header_stdc=no
18829 if test $ac_cv_header_stdc = yes; then
18830 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18831 if test "$cross_compiling" = yes; then :
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18837 #include <stdlib.h>
18838 #if ((' ' & 0x0FF) == 0x020)
18839 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
18840 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
18842 # define ISLOWER(c) \
18843 (('a
' <= (c) && (c) <= 'i
') \
18844 || ('j
' <= (c) && (c) <= 'r
') \
18845 || ('s
' <= (c) && (c) <= 'z
'))
18846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18854 for (i = 0; i < 256; i++)
18855 if (XOR (islower (i), ISLOWER (i))
18856 || toupper (i) != TOUPPER (i))
18861 if ac_fn_c_try_run "$LINENO"; then :
18864 ac_cv_header_stdc=no
18866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18867 conftest.$ac_objext conftest.beam conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18873 $as_echo "$ac_cv_header_stdc" >&6; }
18874 if test $ac_cv_header_stdc = yes; then
18876 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18879 # `stdlib.h', `stdarg.h', `string.h
', ...
18880 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18883 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18885 cat >>confdefs.h <<_ACEOF
18886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18894 # Checks for typedefs, structures, and compiler characteristics.
18895 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18896 if test "x$ac_cv_type_size_t" = xyes; then :
18900 cat >>confdefs.h <<_ACEOF
18901 #define size_t unsigned int
18906 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18907 case $ac_cv_c_uint32_t in #(
18911 $as_echo "#define _UINT32_T 1" >>confdefs.h
18914 cat >>confdefs.h <<_ACEOF
18915 #define uint32_t $ac_cv_c_uint32_t
18920 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18921 case $ac_cv_c_uint64_t in #(
18925 $as_echo "#define _UINT64_T 1" >>confdefs.h
18928 cat >>confdefs.h <<_ACEOF
18929 #define uint64_t $ac_cv_c_uint64_t
18934 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18935 case $ac_cv_c_uint8_t in #(
18939 $as_echo "#define _UINT8_T 1" >>confdefs.h
18942 cat >>confdefs.h <<_ACEOF
18943 #define uint8_t $ac_cv_c_uint8_t
18948 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18949 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_PTRDIFF_T 1
18959 # Checks for library functions.
18960 if test x"$host_w32" = "xno" ; then
18961 for ac_header in stdlib.h
18963 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18964 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STDLIB_H 1
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18974 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18975 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18976 $as_echo_n "(cached) " >&6
18978 if test "$cross_compiling" = yes; then :
18979 ac_cv_func_malloc_0_nonnull=no
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18984 # include <stdlib.h>
18992 return ! malloc (0);
18997 if ac_fn_c_try_run "$LINENO"; then :
18998 ac_cv_func_malloc_0_nonnull=yes
19000 ac_cv_func_malloc_0_nonnull=no
19002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19003 conftest.$ac_objext conftest.beam conftest.$ac_ext
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
19008 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
19009 if test $ac_cv_func_malloc_0_nonnull = yes; then :
19011 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
19014 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
19016 case " $LIBOBJS " in
19017 *" malloc.$ac_objext "* ) ;;
19018 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
19023 $as_echo "#define malloc rpl_malloc" >>confdefs.h
19028 for ac_header in stdlib.h
19030 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19031 if test "x$ac_cv_header_stdlib_h" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_STDLIB_H 1
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
19041 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
19042 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
19043 $as_echo_n "(cached) " >&6
19045 if test "$cross_compiling" = yes; then :
19046 ac_cv_func_realloc_0_nonnull=no
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19050 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19051 # include <stdlib.h>
19059 return ! realloc (0, 0);
19064 if ac_fn_c_try_run "$LINENO"; then :
19065 ac_cv_func_realloc_0_nonnull=yes
19067 ac_cv_func_realloc_0_nonnull=no
19069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19070 conftest.$ac_objext conftest.beam conftest.$ac_ext
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19075 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19076 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19078 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19081 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19083 case " $LIBOBJS " in
19084 *" realloc.$ac_objext "* ) ;;
19085 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
19090 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19096 for ac_func in memset strdup strstr strtol strerror strcspn getcwd
19098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19109 $as_echo_n "checking for working strtod... " >&6; }
19110 if ${ac_cv_func_strtod+:} false; then :
19111 $as_echo_n "(cached) " >&6
19113 if test "$cross_compiling" = yes; then :
19114 ac_cv_func_strtod=no
19116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19119 $ac_includes_default
19127 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19128 char *string = " +69";
19131 value = strtod (string, &term);
19132 if (value != 69 || term != (string + 4))
19137 /* Under Solaris 2.4, strtod returns the wrong value for the
19138 terminating character under some conditions. */
19139 char *string = "NaN";
19141 strtod (string, &term);
19142 if (term != string && *(term - 1) == 0)
19149 if ac_fn_c_try_run "$LINENO"; then :
19150 ac_cv_func_strtod=yes
19152 ac_cv_func_strtod=no
19154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19155 conftest.$ac_objext conftest.beam conftest.$ac_ext
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19160 $as_echo "$ac_cv_func_strtod" >&6; }
19161 if test $ac_cv_func_strtod = no; then
19162 case " $LIBOBJS " in
19163 *" strtod.$ac_objext "* ) ;;
19164 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19168 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19169 if test "x$ac_cv_func_pow" = xyes; then :
19173 if test $ac_cv_func_pow = no; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19175 $as_echo_n "checking for pow in -lm... " >&6; }
19176 if ${ac_cv_lib_m_pow+:} false; then :
19177 $as_echo_n "(cached) " >&6
19179 ac_check_lib_save_LIBS=$LIBS
19181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19184 /* Override any GCC internal prototype to avoid an error.
19185 Use char because int might match the return type of a GCC
19186 builtin and then its argument prototype would still apply. */
19199 if ac_fn_c_try_link "$LINENO"; then :
19200 ac_cv_lib_m_pow=yes
19204 rm -f core conftest.err conftest.$ac_objext \
19205 conftest$ac_exeext conftest.$ac_ext
19206 LIBS=$ac_check_lib_save_LIBS
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19209 $as_echo "$ac_cv_lib_m_pow" >&6; }
19210 if test "x$ac_cv_lib_m_pow" = xyes; then :
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19214 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19223 for ac_func in vasprintf
19225 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19226 if test "x$ac_cv_func_vasprintf" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_VASPRINTF 1
19231 for ac_func in asprintf
19233 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19234 if test "x$ac_cv_func_asprintf" = xyes; then :
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_ASPRINTF 1
19246 if test x"$have_asprintf" != "xyes"; then
19248 NO_ASPRINTF_FALSE='#'
19250 NO_ASPRINTF_TRUE
='#'
19256 for ac_func
in strupr
19258 ac_fn_c_check_func
"$LINENO" "strupr" "ac_cv_func_strupr"
19259 if test "x$ac_cv_func_strupr" = xyes
; then :
19260 cat >>confdefs.h
<<_ACEOF
19261 #define HAVE_STRUPR 1
19267 if test x
"$have_strupr" != "xyes"; then
19269 NO_STRUPR_FALSE
='#'
19277 for ac_func
in strtok_r
19279 ac_fn_c_check_func
"$LINENO" "strtok_r" "ac_cv_func_strtok_r"
19280 if test "x$ac_cv_func_strtok_r" = xyes
; then :
19281 cat >>confdefs.h
<<_ACEOF
19282 #define HAVE_STRTOK_R 1
19288 if test x
"$have_strtok_r" != "xyes"; then
19290 NO_STRTOK_R_FALSE
='#'
19292 NO_STRTOK_R_TRUE
='#'
19297 if test x
"$have_strtok_r" = "xno" ; then
19298 for ac_func
in strchr strpbrk strspn
19300 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19301 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19302 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19303 cat >>confdefs.h
<<_ACEOF
19304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19313 # Check whether --enable-quvi was given.
19314 if test "${enable_quvi+set}" = set; then :
19315 enableval
=$enable_quvi;
19320 if test x
"$enable_quvi" != "xno"; then
19322 ENABLE_QUVI_FALSE
='#'
19324 ENABLE_QUVI_TRUE
='#'
19329 # --enable-examples
19330 # Check whether --enable-examples was given.
19331 if test "${enable_examples+set}" = set; then :
19332 enableval
=$enable_examples;
19337 if test x
"$enable_examples" != "xno"; then
19338 ENABLE_EXAMPLES_TRUE
=
19339 ENABLE_EXAMPLES_FALSE
='#'
19341 ENABLE_EXAMPLES_TRUE
='#'
19342 ENABLE_EXAMPLES_FALSE
=
19347 # Check whether --enable-smut was given.
19348 if test "${enable_smut+set}" = set; then :
19349 enableval
=$enable_smut;
19354 if test x
"$enable_smut" != "xno"; then
19356 ENABLE_SMUT_FALSE
='#'
19358 ENABLE_SMUT_TRUE
='#'
19363 if test x
"$enable_smut" != "xno" ; then
19365 $as_echo "#define ENABLE_SMUT 1" >>confdefs.h
19370 # Check whether --enable-tests was given.
19371 if test "${enable_tests+set}" = set; then :
19372 enableval
=$enable_tests;
19377 if test x
"$enable_tests" != "xno"; then
19379 ENABLE_TESTS_FALSE
='#'
19381 ENABLE_TESTS_TRUE
='#'
19382 ENABLE_TESTS_FALSE
=
19387 # Check whether --enable-broken was given.
19388 if test "${enable_broken+set}" = set; then :
19389 enableval
=$enable_broken;
19394 if test x
"$enable_broken" != "xno"; then
19395 ENABLE_BROKEN_TRUE
=
19396 ENABLE_BROKEN_FALSE
='#'
19398 ENABLE_BROKEN_TRUE
='#'
19399 ENABLE_BROKEN_FALSE
=
19403 if test x
"$enable_broken" != "xno" ; then
19405 $as_echo "#define ENABLE_BROKEN 1" >>confdefs.h
19411 # Check whether --with-man was given.
19412 if test "${with_man+set}" = set; then :
19418 if test x
"$with_man" != "xno"; then
19429 # Check whether --with-doc was given.
19430 if test "${with_doc+set}" = set; then :
19436 if test x
"$with_doc" != "xno"; then
19446 if test x
"$with_gnu_ld" = "xyes"; then
19448 HAVE_GNU_LD_FALSE
='#'
19450 HAVE_GNU_LD_TRUE
='#'
19455 ac_config_files
="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile tests/quviTest.pm libquvi.pc doxygen.conf"
19458 cat >confcache
<<\_ACEOF
19459 # This file is a shell script that caches the results of configure
19460 # tests run on this system so they can be shared between configure
19461 # scripts and configure runs, see configure's option --config-cache.
19462 # It is not useful on other systems. If it contains results you don't
19463 # want to keep, you may remove or edit it.
19465 # config.status only pays attention to the cache file if you give it
19466 # the --recheck option to rerun configure.
19468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19470 # following values.
19474 # The following way of writing the cache mishandles newlines in values,
19475 # but we know of no workaround that is simple, portable, and efficient.
19476 # So, we kill variables containing newlines.
19477 # Ultrix sh set writes to stderr and can't be redirected directly,
19478 # and sets the high bit in the cache file unless we assign to the vars.
19480 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19481 eval ac_val
=\$
$ac_var
19485 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19489 _ | IFS | as_nl
) ;; #(
19490 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19491 *) { eval $ac_var=; unset $ac_var;} ;;
19497 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19498 *${as_nl}ac_space
=\
*)
19499 # `set' does not quote correctly, so add quotes: double-quote
19500 # substitution turns \\\\ into \\, and sed turns \\ into \.
19503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19506 # `set' quotes correctly as required by POSIX, so do not add quotes.
19507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19518 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19520 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19521 if test -w "$cache_file"; then
19522 if test "x$cache_file" != "x/dev/null"; then
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19524 $as_echo "$as_me: updating cache $cache_file" >&6;}
19525 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19526 cat confcache
>"$cache_file"
19528 case $cache_file in #(
19530 mv -f confcache
"$cache_file"$$
&&
19531 mv -f "$cache_file"$$
"$cache_file" ;; #(
19533 mv -f confcache
"$cache_file" ;;
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19539 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19544 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19545 # Let make expand exec_prefix.
19546 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19548 DEFS
=-DHAVE_CONFIG_H
19553 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19554 # 1. Remove the extension, and $U if already installed.
19555 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19556 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19557 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19558 # will be set to the directory where LIBOBJS objects are built.
19559 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19560 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19562 LIBOBJS
=$ac_libobjs
19564 LTLIBOBJS
=$ac_ltlibobjs
19567 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19568 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19571 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19572 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19575 if test -n "$EXEEXT"; then
19577 am__EXEEXT_FALSE
='#'
19579 am__EXEEXT_TRUE
='#'
19583 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19584 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19587 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19588 as_fn_error $?
"conditional \"HAVE_GENGETOPT\" was never defined.
19589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19591 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19592 as_fn_error $?
"conditional \"HAVE_DOXYGEN\" was never defined.
19593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19595 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
19596 as_fn_error $?
"conditional \"HAVE_PERL\" was never defined.
19597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19599 if test -z "${HAVE_PERL_POD_CHECKER_TRUE}" && test -z "${HAVE_PERL_POD_CHECKER_FALSE}"; then
19600 as_fn_error $?
"conditional \"HAVE_PERL_POD_CHECKER\" was never defined.
19601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19603 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19604 as_fn_error $?
"conditional \"HAVE_POD2MAN\" was never defined.
19605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19607 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19608 as_fn_error $?
"conditional \"HAVE_POD2HTML\" was never defined.
19609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19611 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19612 as_fn_error $?
"conditional \"NO_ASPRINTF\" was never defined.
19613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19615 if test -z "${NO_STRUPR_TRUE}" && test -z "${NO_STRUPR_FALSE}"; then
19616 as_fn_error $?
"conditional \"NO_STRUPR\" was never defined.
19617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19619 if test -z "${NO_STRTOK_R_TRUE}" && test -z "${NO_STRTOK_R_FALSE}"; then
19620 as_fn_error $?
"conditional \"NO_STRTOK_R\" was never defined.
19621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19623 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19624 as_fn_error $?
"conditional \"ENABLE_QUVI\" was never defined.
19625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19627 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19628 as_fn_error $?
"conditional \"ENABLE_EXAMPLES\" was never defined.
19629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19631 if test -z "${ENABLE_SMUT_TRUE}" && test -z "${ENABLE_SMUT_FALSE}"; then
19632 as_fn_error $?
"conditional \"ENABLE_SMUT\" was never defined.
19633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19635 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19636 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
19637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19639 if test -z "${ENABLE_BROKEN_TRUE}" && test -z "${ENABLE_BROKEN_FALSE}"; then
19640 as_fn_error $?
"conditional \"ENABLE_BROKEN\" was never defined.
19641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19643 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19644 as_fn_error $?
"conditional \"WITH_MAN\" was never defined.
19645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19647 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19648 as_fn_error $?
"conditional \"WITH_DOC\" was never defined.
19649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19651 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19652 as_fn_error $?
"conditional \"HAVE_GNU_LD\" was never defined.
19653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19656 : "${CONFIG_STATUS=./config.status}"
19658 ac_clean_files_save
=$ac_clean_files
19659 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19661 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19663 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19665 # Generated by $as_me.
19666 # Run this file to recreate the current configuration.
19667 # Compiler output produced by configure, useful for debugging
19668 # configure, is in config.log if it exists.
19671 ac_cs_recheck=false
19674 SHELL=\${CONFIG_SHELL-$SHELL}
19677 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19678 ## -------------------- ##
19679 ## M4sh Initialization. ##
19680 ## -------------------- ##
19682 # Be more Bourne compatible
19683 DUALCASE
=1; export DUALCASE
# for MKS sh
19684 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19687 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19688 # is contrary to our usage. Disable this feature.
19689 alias -g '${1+"$@"}'='"$@"'
19690 setopt NO_GLOB_SUBST
19692 case `(set -o) 2>/dev/null` in #(
19704 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19705 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19708 # Prefer a ksh shell builtin over an external printf program on Solaris,
19709 # but without wasting forks for bash or zsh.
19710 if test -z "$BASH_VERSION$ZSH_VERSION" \
19711 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19712 as_echo='print
-r --'
19713 as_echo_n='print
-rn --'
19714 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19715 as_echo='printf %s
\n'
19716 as_echo_n='printf %s
'
19718 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19719 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19720 as_echo_n='/usr
/ucb
/echo -n'
19722 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19723 as_echo_n_body='eval
19727 expr "X$arg" : "X\\(.*\\)$as_nl";
19728 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19730 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19732 export as_echo_n_body
19733 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19735 export as_echo_body
19736 as_echo='sh
-c $as_echo_body as_echo
'
19739 # The user is always right.
19740 if test "${PATH_SEPARATOR+set}" != set; then
19742 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19743 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19750 # We need space, tab and new line, in precisely that order. Quoting is
19751 # there to prevent editors from complaining about space-tab.
19752 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19753 # splitting by setting IFS to empty value.)
19756 # Find who we are. Look in the path if we contain no directory separator.
19759 *[\\/]* ) as_myself=$0 ;;
19760 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19761 for as_dir in $PATH
19764 test -z "$as_dir" && as_dir=.
19765 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19771 # We did not find ourselves, most probably we were run as `sh COMMAND'
19772 # in which case we are not to be found in the path.
19773 if test "x$as_myself" = x
; then
19776 if test ! -f "$as_myself"; then
19777 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19781 # Unset variables that we do not need and which cause bugs (e.g. in
19782 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19783 # suppresses any "Segmentation fault" message there. '((' could
19784 # trigger a bug in pdksh 5.2.14.
19785 for as_var
in BASH_ENV ENV MAIL MAILPATH
19786 do eval test x\
${$as_var+set} = xset \
19787 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19800 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19803 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19804 # ----------------------------------------
19805 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19806 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19807 # script with STATUS, using 1 if that was 0.
19810 as_status
=$1; test $as_status -eq 0 && as_status
=1
19812 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19813 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19815 $as_echo "$as_me: error: $2" >&2
19816 as_fn_exit
$as_status
19820 # as_fn_set_status STATUS
19821 # -----------------------
19822 # Set $? to STATUS, without forking.
19823 as_fn_set_status
()
19826 } # as_fn_set_status
19828 # as_fn_exit STATUS
19829 # -----------------
19830 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19834 as_fn_set_status
$1
19840 # Portably unset VAR.
19843 { eval $1=; unset $1;}
19845 as_unset
=as_fn_unset
19846 # as_fn_append VAR VALUE
19847 # ----------------------
19848 # Append the text in VALUE to the end of the definition contained in VAR. Take
19849 # advantage of any shell optimizations that allow amortized linear growth over
19850 # repeated appends, instead of the typical quadratic growth present in naive
19852 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19853 eval 'as_fn_append ()
19864 # as_fn_arith ARG...
19865 # ------------------
19866 # Perform arithmetic evaluation on the ARGs, and store the result in the
19867 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19868 # must be portable across $(()) and expr.
19869 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19870 eval 'as_fn_arith ()
19877 as_val
=`expr "$@" || test $? -eq 1`
19882 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19883 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19889 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19890 as_basename
=basename
19895 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19901 as_me
=`$as_basename -- "$0" ||
19902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19903 X"$0" : 'X\(//\)$' \| \
19904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19906 sed '/^.*\/\([^/][^/]*\)\/*$/{
19920 # Avoid depending upon Character Ranges.
19921 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19922 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19923 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19924 as_cr_digits
='0123456789'
19925 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19927 ECHO_C
= ECHO_N
= ECHO_T
=
19928 case `echo -n x` in #(((((
19930 case `echo 'xy\c'` in
19931 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19933 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19940 rm -f conf$$ conf$$.exe conf$$.
file
19941 if test -d conf$$.dir
; then
19942 rm -f conf$$.dir
/conf$$.
file
19945 mkdir conf$$.dir
2>/dev
/null
19947 if (echo >conf$$.
file) 2>/dev
/null
; then
19948 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19950 # ... but there are two gotchas:
19951 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19952 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19953 # In both cases, we have to default to `cp -p'.
19954 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19956 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19964 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19965 rmdir conf$$.dir
2>/dev
/null
19970 # Create "$as_dir" as a directory, including parents if necessary.
19975 -*) as_dir
=.
/$as_dir;;
19977 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19981 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19982 *) as_qdir
=$as_dir;;
19984 as_dirs
="'$as_qdir' $as_dirs"
19985 as_dir
=`$as_dirname -- "$as_dir" ||
19986 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19987 X"$as_dir" : 'X\(//\)[^/]' \| \
19988 X"$as_dir" : 'X\(//\)$' \| \
19989 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19990 $as_echo X"$as_dir" |
19991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19995 /^X\(\/\/\)[^/].*/{
20008 test -d "$as_dir" && break
20010 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20011 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20015 if mkdir
-p .
2>/dev
/null
; then
20016 as_mkdir_p
='mkdir -p "$as_dir"'
20018 test -d .
/-p && rmdir .
/-p
20022 if test -x / >/dev
/null
2>&1; then
20023 as_test_x
='test -x'
20025 if ls -dL / >/dev
/null
2>&1; then
20032 if test -d "$1"; then
20038 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20039 ???[sx]*):;;*)false;;esac;fi
20043 as_executable_p
=$as_test_x
20045 # Sed expression to map a string onto a valid CPP name.
20046 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20048 # Sed expression to map a string onto a valid variable name.
20049 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20053 ## ----------------------------------- ##
20054 ## Main body of $CONFIG_STATUS script. ##
20055 ## ----------------------------------- ##
20057 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20060 # Save the log message, to keep $0 and so on meaningful, and to
20061 # report actual input values of CONFIG_FILES etc. instead of their
20062 # values after options handling.
20064 This file was extended by quvi $as_me 0.2.6, which was
20065 generated by GNU Autoconf 2.68. Invocation command line was
20067 CONFIG_FILES = $CONFIG_FILES
20068 CONFIG_HEADERS = $CONFIG_HEADERS
20069 CONFIG_LINKS = $CONFIG_LINKS
20070 CONFIG_COMMANDS = $CONFIG_COMMANDS
20073 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20078 case $ac_config_files in *"
20079 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20082 case $ac_config_headers in *"
20083 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20088 # Files that config.status was made for.
20089 config_files="$ac_config_files"
20090 config_headers="$ac_config_headers"
20091 config_commands="$ac_config_commands"
20095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20097 \`$as_me' instantiates files and other configuration actions
20098 from templates according to the current configuration. Unless the files
20099 and actions are specified as TAGs, all are instantiated by default.
20101 Usage: $0 [OPTION]... [TAG]...
20103 -h, --help print this help, then exit
20104 -V, --version print version number and configuration settings, then exit
20105 --config print configuration, then exit
20106 -q, --quiet, --silent
20107 do not print progress messages
20108 -d, --debug don't remove temporary files
20109 --recheck update $as_me by reconfiguring in the same conditions
20110 --file=FILE[:TEMPLATE]
20111 instantiate the configuration file FILE
20112 --header=FILE[:TEMPLATE]
20113 instantiate the configuration header FILE
20115 Configuration files:
20118 Configuration headers:
20121 Configuration commands:
20124 Report bugs to <http://is.gd/fIt4T>.
20125 quvi home page: <http://quvi.googlecode.com/>."
20128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20129 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20131 quvi config.status 0.2.6
20132 configured by $0, generated by GNU Autoconf 2.68,
20133 with options \\"\$ac_cs_config\\"
20135 Copyright (C) 2010 Free Software Foundation, Inc.
20136 This config.status script is free software; the Free Software Foundation
20137 gives unlimited permission to copy, distribute and modify it."
20144 test -n "\$AWK" || AWK=awk
20147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20148 # The default lists apply if the user does not specify any file.
20154 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20155 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20159 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20171 # Handling of the options.
20172 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20174 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20175 $as_echo "$ac_cs_version"; exit ;;
20176 --config |
--confi |
--conf |
--con |
--co |
--c )
20177 $as_echo "$ac_cs_config"; exit ;;
20178 --debug |
--debu |
--deb |
--de |
--d |
-d )
20180 --file |
--fil |
--fi |
--f )
20183 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20184 '') as_fn_error $?
"missing file argument" ;;
20186 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20187 ac_need_defaults
=false
;;
20188 --header |
--heade |
--head |
--hea )
20191 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20193 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20194 ac_need_defaults
=false
;;
20196 # Conflict between --help and --header
20197 as_fn_error $?
"ambiguous option: \`$1'
20198 Try \`$0 --help' for more information.";;
20199 --help |
--hel |
-h )
20200 $as_echo "$ac_cs_usage"; exit ;;
20201 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20202 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20205 # This is an error.
20206 -*) as_fn_error $?
"unrecognized option: \`$1'
20207 Try \`$0 --help' for more information." ;;
20209 *) as_fn_append ac_config_targets
" $1"
20210 ac_need_defaults
=false
;;
20216 ac_configure_extra_args
=
20218 if $ac_cs_silent; then
20220 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20225 if \$ac_cs_recheck; then
20226 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20228 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20229 CONFIG_SHELL='$SHELL'
20230 export CONFIG_SHELL
20235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20240 ## Running $as_me. ##
20246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20250 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20253 # The HP-UX ksh and POSIX shell print the target directory to stdout
20254 # if CDPATH is set.
20255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20257 sed_quote_subst='$sed_quote_subst'
20258 double_quote_subst='$double_quote_subst'
20259 delay_variable_subst='$delay_variable_subst'
20260 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20261 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20262 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20263 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20264 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20265 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20266 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20267 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20268 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20269 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20270 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20271 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20272 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20273 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20274 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20275 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20276 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20277 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20278 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20279 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20280 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20281 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20282 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20283 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20284 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20285 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20286 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20287 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20288 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20289 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20290 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20291 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20292 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20293 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20294 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20295 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20296 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20297 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20298 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20299 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20300 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20301 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20302 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20303 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20304 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20305 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20306 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20307 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20308 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20309 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20310 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20311 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20312 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20313 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20314 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20315 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"`'
20316 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20317 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20318 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20319 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20320 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20321 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20322 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20323 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20324 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20325 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20326 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20327 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20328 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20329 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20330 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20331 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20332 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20333 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20334 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20335 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20336 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20337 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20338 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20339 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20340 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20341 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20342 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20343 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20344 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20345 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20346 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20347 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20348 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20349 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20350 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20351 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20352 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20353 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20354 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20355 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20356 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20357 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20358 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20359 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20360 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20361 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20362 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20363 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20364 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20365 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20366 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20367 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20368 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20369 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20370 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20371 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20372 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20373 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20374 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20375 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20376 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20377 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20378 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20379 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20380 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20381 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20382 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20383 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20384 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20385 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20386 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20387 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20388 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20389 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20390 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20391 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20392 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20393 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20394 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20395 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20396 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20397 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20398 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20399 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20400 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20401 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20402 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20403 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20404 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20405 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20406 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20407 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20408 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20409 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20410 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20411 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20412 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20413 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20414 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20415 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20416 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20417 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20418 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20419 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20420 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20421 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20422 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20423 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20424 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20425 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20426 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20427 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20428 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20429 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20430 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20431 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20432 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20433 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20434 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20435 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20436 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20437 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20438 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20439 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20440 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20441 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20442 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20443 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20444 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20447 LTCFLAGS='$LTCFLAGS'
20448 compiler='$compiler_DEFAULT'
20450 # A function that is used when there is no print builtin or printf.
20451 func_fallback_echo ()
20453 eval 'cat <<_LTECHO_EOF
20458 # Quote evaled strings.
20472 deplibs_check_method \
20477 sharedlib_from_linklib_cmd \
20480 archiver_list_spec \
20486 lt_cv_sys_global_symbol_pipe \
20487 lt_cv_sys_global_symbol_to_cdecl \
20488 lt_cv_sys_global_symbol_to_c_name_address \
20489 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20490 nm_file_list_spec \
20491 lt_prog_compiler_no_builtin_flag \
20492 lt_prog_compiler_pic \
20493 lt_prog_compiler_wl \
20494 lt_prog_compiler_static \
20495 lt_cv_prog_compiler_c_o \
20504 export_dynamic_flag_spec \
20505 whole_archive_flag_spec \
20506 compiler_needs_object \
20508 allow_undefined_flag \
20509 no_undefined_flag \
20510 hardcode_libdir_flag_spec \
20511 hardcode_libdir_flag_spec_ld \
20512 hardcode_libdir_separator \
20516 variables_saved_for_relink \
20518 library_names_spec \
20520 install_override_mode \
20524 compiler_lib_search_dirs \
20529 compiler_lib_search_path \
20533 lt_prog_compiler_no_builtin_flag_CXX \
20534 lt_prog_compiler_pic_CXX \
20535 lt_prog_compiler_wl_CXX \
20536 lt_prog_compiler_static_CXX \
20537 lt_cv_prog_compiler_c_o_CXX \
20538 export_dynamic_flag_spec_CXX \
20539 whole_archive_flag_spec_CXX \
20540 compiler_needs_object_CXX \
20542 allow_undefined_flag_CXX \
20543 no_undefined_flag_CXX \
20544 hardcode_libdir_flag_spec_CXX \
20545 hardcode_libdir_flag_spec_ld_CXX \
20546 hardcode_libdir_separator_CXX \
20547 exclude_expsyms_CXX \
20548 include_expsyms_CXX \
20549 file_list_spec_CXX \
20550 compiler_lib_search_dirs_CXX \
20551 predep_objects_CXX \
20552 postdep_objects_CXX \
20555 compiler_lib_search_path_CXX; do
20556 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20557 *[\\\\\\\`\\"\\\$]*)
20558 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20561 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20566 # Double-quote double-evaled strings.
20567 for var in reload_cmds \
20568 old_postinstall_cmds \
20569 old_postuninstall_cmds \
20571 extract_expsyms_cmds \
20572 old_archive_from_new_cmds \
20573 old_archive_from_expsyms_cmds \
20575 archive_expsym_cmds \
20577 module_expsym_cmds \
20578 export_symbols_cmds \
20582 postuninstall_cmds \
20584 sys_lib_search_path_spec \
20585 sys_lib_dlsearch_path_spec \
20587 old_archive_cmds_CXX \
20588 old_archive_from_new_cmds_CXX \
20589 old_archive_from_expsyms_cmds_CXX \
20591 archive_expsym_cmds_CXX \
20593 module_expsym_cmds_CXX \
20594 export_symbols_cmds_CXX \
20596 postlink_cmds_CXX; do
20597 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20598 *[\\\\\\\`\\"\\\$]*)
20599 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20602 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20607 ac_aux_dir='$ac_aux_dir'
20608 xsi_shell='$xsi_shell'
20609 lt_shell_append='$lt_shell_append'
20611 # See if we are running on zsh, and set the options which allow our
20612 # commands through without removal of \ escapes INIT.
20613 if test -n "\${ZSH_VERSION+set}" ; then
20614 setopt NO_GLOB_SUBST
20620 TIMESTAMP='$TIMESTAMP'
20631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20633 # Handling of arguments.
20634 for ac_config_target
in $ac_config_targets
20636 case $ac_config_target in
20637 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20638 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20639 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20640 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20641 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20642 "include/quvi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/quvi/Makefile" ;;
20643 "include/quvi/quvi.h") CONFIG_FILES
="$CONFIG_FILES include/quvi/quvi.h" ;;
20644 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20645 "share/Makefile") CONFIG_FILES
="$CONFIG_FILES share/Makefile" ;;
20646 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20647 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20648 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20649 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20650 "tests/quviTest.pm") CONFIG_FILES
="$CONFIG_FILES tests/quviTest.pm" ;;
20651 "libquvi.pc") CONFIG_FILES
="$CONFIG_FILES libquvi.pc" ;;
20652 "doxygen.conf") CONFIG_FILES
="$CONFIG_FILES doxygen.conf" ;;
20654 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20659 # If the user did not use the arguments to specify the items to instantiate,
20660 # then the envvar interface is used. Set only those that are not.
20661 # We use the long form for the default assignment because of an extremely
20662 # bizarre bug on SunOS 4.1.3.
20663 if $ac_need_defaults; then
20664 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20665 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20666 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20669 # Have a temporary directory for convenience. Make it in the build tree
20670 # simply because there is no reason against having it here, and in addition,
20671 # creating and moving files from /tmp can sometimes cause problems.
20672 # Hook for its removal unless debugging.
20673 # Note that there is a small window in which the directory will not be cleaned:
20674 # after its creation but before its name has been assigned to `$tmp'.
20678 trap 'exit_status=$?
20679 : "${ac_tmp:=$tmp}"
20680 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20682 trap 'as_fn_exit 1' 1 2 13 15
20684 # Create a (secure) tmp directory for tmp files.
20687 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20691 tmp
=.
/conf$$
-$RANDOM
20692 (umask 077 && mkdir
"$tmp")
20693 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20696 # Set up the scripts for CONFIG_FILES section.
20697 # No need to generate them if there are no CONFIG_FILES.
20698 # This happens for instance with `./config.status config.h'.
20699 if test -n "$CONFIG_FILES"; then
20702 ac_cr
=`echo X | tr X '\015'`
20703 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20704 # But we know of no other shell where ac_cr would be empty at this
20705 # point, so we can use a bashism as a fallback.
20706 if test "x$ac_cr" = x
; then
20707 eval ac_cr
=\$
\'\\r
\'
20709 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20710 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20713 ac_cs_awk_cr
=$ac_cr
20716 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20721 echo "cat >conf$$subs.awk <<_ACEOF" &&
20722 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20724 } >conf$$subs.sh ||
20725 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20726 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20728 for ac_last_try in false false false false false :; do
20729 . ./conf$$subs.sh ||
20730 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20732 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20733 if test $ac_delim_n = $ac_delim_num; then
20735 elif $ac_last_try; then
20736 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20738 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20741 rm -f conf$$subs.sh
20743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20744 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20748 s/^/S["/; s
/!.
*/"]=/
20758 s/\(.\{148\}\)..*/\1/
20760 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20765 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20772 s/\(.\{148\}\)..*/\1/
20774 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20778 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20783 ' <conf$$subs.awk | sed '
20788 ' >>$CONFIG_STATUS || ac_write_fail=1
20789 rm -f conf$$subs.awk
20790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20792 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20793 for (key in S) S_is_set[key] = 1
20799 nfields = split(line, field, "@
")
20801 len = length(field[1])
20802 for (i = 2; i < nfields; i++) {
20804 keylen = length(key)
20805 if (S_is_set[key]) {
20807 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20808 len += length(value) + length(field[++i])
20819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20820 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20821 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20824 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20825 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20828 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20829 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20830 # trailing colons and then remove the whole line if VPATH becomes empty
20831 # (actually we leave an empty line to preserve line numbers).
20832 if test "x
$srcdir" = x.; then
20833 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20852 fi # test -n "$CONFIG_FILES"
20854 # Set up the scripts for CONFIG_HEADERS section.
20855 # No need to generate them if there are no CONFIG_HEADERS.
20856 # This happens for instance with `./config.status Makefile'.
20857 if test -n "$CONFIG_HEADERS"; then
20858 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20862 # Transform confdefs.h into an awk script `defines.awk', embedded as
20863 # here-document in config.status, that substitutes the proper values into
20864 # config.h.in to produce config.h.
20866 # Create a delimiter string that does not exist in confdefs.h, to ease
20867 # handling of long lines.
20869 for ac_last_try in false false :; do
20870 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20871 if test -z "$ac_tt"; then
20873 elif $ac_last_try; then
20874 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20876 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20880 # For the awk script, D is an array of macro values keyed by name,
20881 # likewise P contains macro parameters if any. Preserve backslash
20882 # newline sequences.
20884 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20886 s/.\{148\}/&'"$ac_delim"'/g
20889 s/^[ ]*#[ ]*define[ ][ ]*/ /
20896 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20898 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20903 D["\
1"]=" \
3\\\\\\n
"\\/p
20905 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20910 s/.\{148\}/&'"$ac_delim"'/g
20915 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20918 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20920 ' <confdefs.h | sed '
20921 s/'"$ac_delim"'/"\\\
20922 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20925 for (key in D) D_is_set[key] = 1
20928 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20930 split(line, arg, " ")
20931 if (arg[1] == "#") {
20935 defundef
= substr
(arg
[1], 2)
20938 split(mac1
, mac2
, "(") #)
20940 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20941 if (D_is_set
[macro
]) {
20942 # Preserve the white space surrounding the "#".
20943 print prefix
"define", macro P
[macro
] D
[macro
]
20946 # Replace #undef with comments. This is necessary, for example,
20947 # in the case of _POSIX_SOURCE, which is predefined and required
20948 # on some systems where configure will not decide to define it.
20949 if (defundef
== "undef") {
20950 print
"/*", prefix defundef
, macro
, "*/"
20958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20959 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20960 fi # test -n "$CONFIG_HEADERS"
20963 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20968 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20970 case $ac_mode$ac_tag in
20972 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20973 :[FH
]-) ac_tag
=-:-;;
20974 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20991 -) ac_f
="$ac_tmp/stdin";;
20992 *) # Look for the file first in the build tree, then in the source tree
20993 # (if the path is not absolute). The absolute path cannot be DOS-style,
20994 # because $ac_f cannot contain `:'.
20998 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21000 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21002 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21003 as_fn_append ac_file_inputs
" '$ac_f'"
21006 # Let's still pretend it is `configure' which instantiates (i.e., don't
21007 # use $as_me), people would be surprised to read:
21008 # /* config.h. Generated by config.status. */
21009 configure_input
='Generated from '`
21010 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21012 if test x
"$ac_file" != x-
; then
21013 configure_input
="$ac_file. $configure_input"
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21015 $as_echo "$as_me: creating $ac_file" >&6;}
21017 # Neutralize special characters interpreted by sed in replacement strings.
21018 case $configure_input in #(
21019 *\
&* |
*\|
* |
*\\* )
21020 ac_sed_conf_input
=`$as_echo "$configure_input" |
21021 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21022 *) ac_sed_conf_input
=$configure_input;;
21026 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21027 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21032 ac_dir
=`$as_dirname -- "$ac_file" ||
21033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21034 X"$ac_file" : 'X\(//\)[^/]' \| \
21035 X"$ac_file" : 'X\(//\)$' \| \
21036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21037 $as_echo X"$ac_file" |
21038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21042 /^X\(\/\/\)[^/].*/{
21055 as_dir
="$ac_dir"; as_fn_mkdir_p
21059 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21061 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21062 # A ".." for each directory in $ac_dir_suffix.
21063 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21064 case $ac_top_builddir_sub in
21065 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21066 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21069 ac_abs_top_builddir
=$ac_pwd
21070 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21071 # for backward compatibility:
21072 ac_top_builddir
=$ac_top_build_prefix
21075 .
) # We are building in place.
21077 ac_top_srcdir
=$ac_top_builddir_sub
21078 ac_abs_top_srcdir
=$ac_pwd ;;
21079 [\\/]* | ?
:[\\/]* ) # Absolute name.
21080 ac_srcdir
=$srcdir$ac_dir_suffix;
21081 ac_top_srcdir
=$srcdir
21082 ac_abs_top_srcdir
=$srcdir ;;
21083 *) # Relative name.
21084 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21085 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21086 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21088 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21098 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21099 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21101 ac_MKDIR_P
=$MKDIR_P
21103 [\\/$
]* | ?
:[\\/]* ) ;;
21104 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21109 # If the template does not know about datarootdir, expand it.
21110 # FIXME: This hack should be removed a few years after 2.60.
21111 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21122 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21123 *datarootdir
*) ac_datarootdir_seen
=yes;;
21124 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21126 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21129 ac_datarootdir_hack='
21130 s&@datadir@&$datadir&g
21131 s&@docdir@&$docdir&g
21132 s&@infodir@&$infodir&g
21133 s&@localedir@&$localedir&g
21134 s&@mandir@&$mandir&g
21135 s&\\\${datarootdir}&$datarootdir&g' ;;
21139 # Neutralize VPATH when `$srcdir' = `.'.
21140 # Shell code in configure.ac might set extrasub.
21141 # FIXME: do we really want to maintain this feature?
21142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21143 ac_sed_extra="$ac_vpsub
21146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21148 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21149 s|@configure_input@|
$ac_sed_conf_input|
;t t
21150 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21151 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21152 s
&@srcdir@
&$ac_srcdir&;t t
21153 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21154 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21155 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21156 s
&@builddir@
&$ac_builddir&;t t
21157 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21158 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21159 s
&@INSTALL@
&$ac_INSTALL&;t t
21160 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21161 $ac_datarootdir_hack
21163 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21164 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21166 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21167 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21168 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21169 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21171 which seems to be undefined. Please make sure it is defined" >&5
21172 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21173 which seems to be undefined. Please make sure it is defined" >&2;}
21175 rm -f "$ac_tmp/stdin"
21177 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21178 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21180 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21186 if test x"$ac_file" != x-; then
21188 $as_echo "/* $configure_input */" \
21189 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21190 } >"$ac_tmp/config.h" \
21191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21192 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21194 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21197 mv "$ac_tmp/config.h" "$ac_file" \
21198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21201 $as_echo "/* $configure_input */" \
21202 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21203 || as_fn_error $? "could not create -" "$LINENO" 5
21205 # Compute "$ac_file"'s index
in $config_headers.
21208 for _am_header
in $config_headers :; do
21209 case $_am_header in
21210 $_am_arg |
$_am_arg:* )
21213 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21216 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21217 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21218 X"$_am_arg" : 'X\(//\)[^/]' \| \
21219 X"$_am_arg" : 'X\(//\)$' \| \
21220 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21221 $as_echo X"$_am_arg" |
21222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21226 /^X\(\/\/\)[^/].*/{
21238 s/.*/./; q'`/stamp-h
$_am_stamp_count
21241 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21242 $as_echo "$as_me: executing $ac_file commands" >&6;}
21247 case $ac_file$ac_mode in
21248 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21249 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21250 # are listed without --file. Let's play safe and only enable the eval
21251 # if we detect the quoting.
21252 case $CONFIG_FILES in
21253 *\'*) eval set x
"$CONFIG_FILES" ;;
21254 *) set x
$CONFIG_FILES ;;
21259 # Strip MF so we end up with the name of the file.
21260 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21261 # Check whether this is an Automake generated Makefile or not.
21262 # We used to match only the files named `Makefile.in', but
21263 # some people rename them; so instead we look at the file content.
21264 # Grep'ing the first line is not enough: some people post-process
21265 # each Makefile.in and add a new line on top of each file to say so.
21266 # Grep'ing the whole file is not good either: AIX grep has a line
21267 # limit of 2048, but all sed's we know have understand at least 4000.
21268 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21269 dirpart
=`$as_dirname -- "$mf" ||
21270 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21271 X"$mf" : 'X\(//\)[^/]' \| \
21272 X"$mf" : 'X\(//\)$' \| \
21273 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21279 /^X\(\/\/\)[^/].*/{
21295 # Extract the definition of DEPDIR, am__include, and am__quote
21296 # from the Makefile without running `make'.
21297 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21298 test -z "$DEPDIR" && continue
21299 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21300 test -z "am__include" && continue
21301 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21302 # When using ansi2knr, U may be empty or an underscore; expand it
21303 U
=`sed -n 's/^U = //p' < "$mf"`
21304 # Find all dependency output files, they are included files with
21305 # $(DEPDIR) in their names. We invoke sed twice because it is the
21306 # simplest approach to changing $(DEPDIR) to its actual value in the
21308 for file in `sed -n "
21309 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21310 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21311 # Make sure the directory exists.
21312 test -f "$dirpart/$file" && continue
21313 fdir
=`$as_dirname -- "$file" ||
21314 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21315 X"$file" : 'X\(//\)[^/]' \| \
21316 X"$file" : 'X\(//\)$' \| \
21317 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21318 $as_echo X"$file" |
21319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21323 /^X\(\/\/\)[^/].*/{
21336 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21337 # echo "creating $dirpart/$file"
21338 echo '# dummy' > "$dirpart/$file"
21345 # See if we are running on zsh, and set the options which allow our
21346 # commands through without removal of \ escapes.
21347 if test -n "${ZSH_VERSION+set}" ; then
21348 setopt NO_GLOB_SUBST
21351 cfgfile
="${ofile}T"
21352 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21355 cat <<_LT_EOF >> "$cfgfile"
21358 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21359 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21363 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21364 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21366 # Written by Gordon Matzigkeit, 1996
21368 # This file is part of GNU Libtool.
21370 # GNU Libtool is free software; you can redistribute it and/or
21371 # modify it under the terms of the GNU General Public License as
21372 # published by the Free Software Foundation; either version 2 of
21373 # the License, or (at your option) any later version.
21375 # As a special exception to the GNU General Public License,
21376 # if you distribute this file as part of a program or library that
21377 # is built using GNU Libtool, you may include this file under the
21378 # same distribution terms that you use for the rest of that program.
21380 # GNU Libtool is distributed in the hope that it will be useful,
21381 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21382 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21383 # GNU General Public License for more details.
21385 # You should have received a copy of the GNU General Public License
21386 # along with GNU Libtool; see the file COPYING. If not, a copy
21387 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21388 # obtained by writing to the Free Software Foundation, Inc.,
21389 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21392 # The names of the tagged configurations supported by this script.
21393 available_tags="CXX "
21395 # ### BEGIN LIBTOOL CONFIG
21397 # Which release of libtool.m4 was used?
21398 macro_version=$macro_version
21399 macro_revision=$macro_revision
21401 # Whether or not to build shared libraries.
21402 build_libtool_libs=$enable_shared
21404 # Whether or not to build static libraries.
21405 build_old_libs=$enable_static
21407 # What type of objects to build.
21410 # Whether or not to optimize for fast installation.
21411 fast_install=$enable_fast_install
21413 # Shell to use when invoking shell scripts.
21416 # An echo program that protects backslashes.
21420 host_alias=$host_alias
21424 # The build system.
21425 build_alias=$build_alias
21429 # A sed program that does not truncate output.
21432 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21433 Xsed="\$SED -e 1s/^X//"
21435 # A grep program that handles long lines.
21441 # A literal string matcher.
21444 # A BSD- or MS-compatible name lister.
21447 # Whether we need soft or hard links.
21450 # What is the maximum length of a command?
21451 max_cmd_len=$max_cmd_len
21453 # Object file suffix (normally "o").
21456 # Executable file suffix (normally "").
21459 # whether the shell understands "unset".
21462 # turn spaces into newlines.
21465 # turn newlines into spaces.
21468 # convert \$build file names to \$host format.
21469 to_host_file_cmd=$lt_cv_to_host_file_cmd
21471 # convert \$build files to toolchain format.
21472 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21474 # An object symbol dumper.
21475 OBJDUMP=$lt_OBJDUMP
21477 # Method to check whether dependent libraries are shared objects.
21478 deplibs_check_method=$lt_deplibs_check_method
21480 # Command to use when deplibs_check_method = "file_magic".
21481 file_magic_cmd=$lt_file_magic_cmd
21483 # How to find potential files when deplibs_check_method = "file_magic".
21484 file_magic_glob=$lt_file_magic_glob
21486 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21487 want_nocaseglob=$lt_want_nocaseglob
21489 # DLL creation program.
21490 DLLTOOL=$lt_DLLTOOL
21492 # Command to associate shared and link libraries.
21493 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21498 # Flags to create an archive.
21499 AR_FLAGS=$lt_AR_FLAGS
21501 # How to feed a file listing to the archiver.
21502 archiver_list_spec=$lt_archiver_list_spec
21504 # A symbol stripping program.
21507 # Commands used to install an old-style archive.
21509 old_postinstall_cmds=$lt_old_postinstall_cmds
21510 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21512 # Whether to use a lock for old archive extraction.
21513 lock_old_archive_extraction=$lock_old_archive_extraction
21518 # LTCC compiler flags.
21519 LTCFLAGS=$lt_CFLAGS
21521 # Take the output of nm and produce a listing of raw symbols and C names.
21522 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21524 # Transform the output of nm in a proper C declaration.
21525 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21527 # Transform the output of nm in a C name address pair.
21528 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21530 # Transform the output of nm in a C name address pair when lib prefix is needed.
21531 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21533 # Specify filename containing input files for \$NM.
21534 nm_file_list_spec=$lt_nm_file_list_spec
21536 # The root where to search for dependent libraries,and in which our libraries should be installed.
21537 lt_sysroot=$lt_sysroot
21539 # The name of the directory that contains temporary libtool files.
21542 # Used to examine libraries when file_magic_cmd begins with "file".
21543 MAGIC_CMD=$MAGIC_CMD
21545 # Must we lock files when doing compilation?
21546 need_locks=$lt_need_locks
21549 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21551 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21552 DSYMUTIL=$lt_DSYMUTIL
21554 # Tool to change global to local symbols on Mac OS X.
21557 # Tool to manipulate fat objects and archives on Mac OS X.
21560 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21563 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21564 OTOOL64=$lt_OTOOL64
21566 # Old archive suffix (normally "a").
21569 # Shared library suffix (normally ".so").
21570 shrext_cmds=$lt_shrext_cmds
21572 # The commands to extract the exported symbol list from a shared archive.
21573 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21575 # Variables whose values should be saved in libtool wrapper scripts and
21576 # restored at link time.
21577 variables_saved_for_relink=$lt_variables_saved_for_relink
21579 # Do we need the "lib" prefix for modules?
21580 need_lib_prefix=$need_lib_prefix
21582 # Do we need a version for libraries?
21583 need_version=$need_version
21585 # Library versioning type.
21586 version_type=$version_type
21588 # Shared library runtime path variable.
21589 runpath_var=$runpath_var
21591 # Shared library path variable.
21592 shlibpath_var=$shlibpath_var
21594 # Is shlibpath searched before the hard-coded library search path?
21595 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21597 # Format of library name prefix.
21598 libname_spec=$lt_libname_spec
21600 # List of archive names. First name is the real one, the rest are links.
21601 # The last name is the one that the linker finds with -lNAME
21602 library_names_spec=$lt_library_names_spec
21604 # The coded name of the library, if different from the real name.
21605 soname_spec=$lt_soname_spec
21607 # Permission mode override for installation of shared libraries.
21608 install_override_mode=$lt_install_override_mode
21610 # Command to use after installation of a shared archive.
21611 postinstall_cmds=$lt_postinstall_cmds
21613 # Command to use after uninstallation of a shared archive.
21614 postuninstall_cmds=$lt_postuninstall_cmds
21616 # Commands used to finish a libtool library installation in a directory.
21617 finish_cmds=$lt_finish_cmds
21619 # As "finish_cmds", except a single script fragment to be evaled but
21621 finish_eval=$lt_finish_eval
21623 # Whether we should hardcode library paths into libraries.
21624 hardcode_into_libs=$hardcode_into_libs
21626 # Compile-time system search path for libraries.
21627 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21629 # Run-time system search path for libraries.
21630 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21632 # Whether dlopen is supported.
21633 dlopen_support=$enable_dlopen
21635 # Whether dlopen of programs is supported.
21636 dlopen_self=$enable_dlopen_self
21638 # Whether dlopen of statically linked programs is supported.
21639 dlopen_self_static=$enable_dlopen_self_static
21641 # Commands to strip libraries.
21642 old_striplib=$lt_old_striplib
21643 striplib=$lt_striplib
21646 # The linker used to build libraries.
21649 # How to create reloadable object files.
21650 reload_flag=$lt_reload_flag
21651 reload_cmds=$lt_reload_cmds
21653 # Commands used to build an old-style archive.
21654 old_archive_cmds=$lt_old_archive_cmds
21656 # A language specific compiler.
21659 # Is the compiler the GNU compiler?
21662 # Compiler flag to turn off builtin functions.
21663 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21665 # Additional compiler flags for building library objects.
21666 pic_flag=$lt_lt_prog_compiler_pic
21668 # How to pass a linker flag through the compiler.
21669 wl=$lt_lt_prog_compiler_wl
21671 # Compiler flag to prevent dynamic linking.
21672 link_static_flag=$lt_lt_prog_compiler_static
21674 # Does compiler simultaneously support -c and -o options?
21675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21677 # Whether or not to add -lc for building shared libraries.
21678 build_libtool_need_lc=$archive_cmds_need_lc
21680 # Whether or not to disallow shared libs when runtime libs are static.
21681 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21683 # Compiler flag to allow reflexive dlopens.
21684 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21686 # Compiler flag to generate shared objects directly from archives.
21687 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21689 # Whether the compiler copes with passing no objects directly.
21690 compiler_needs_object=$lt_compiler_needs_object
21692 # Create an old-style archive from a shared archive.
21693 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21695 # Create a temporary old-style archive to link instead of a shared archive.
21696 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21698 # Commands used to build a shared archive.
21699 archive_cmds=$lt_archive_cmds
21700 archive_expsym_cmds=$lt_archive_expsym_cmds
21702 # Commands used to build a loadable module if different from building
21703 # a shared archive.
21704 module_cmds=$lt_module_cmds
21705 module_expsym_cmds=$lt_module_expsym_cmds
21707 # Whether we are building with GNU ld or not.
21708 with_gnu_ld=$lt_with_gnu_ld
21710 # Flag that allows shared libraries with undefined symbols to be built.
21711 allow_undefined_flag=$lt_allow_undefined_flag
21713 # Flag that enforces no undefined symbols.
21714 no_undefined_flag=$lt_no_undefined_flag
21716 # Flag to hardcode \$libdir into a binary during linking.
21717 # This must work even if \$libdir does not exist
21718 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21720 # If ld is used when linking, flag to hardcode \$libdir into a binary
21721 # during linking. This must work even if \$libdir does not exist.
21722 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21724 # Whether we need a single "-rpath" flag with a separated argument.
21725 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21727 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21728 # DIR into the resulting binary.
21729 hardcode_direct=$hardcode_direct
21731 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21732 # DIR into the resulting binary and the resulting library dependency is
21733 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21734 # library is relocated.
21735 hardcode_direct_absolute=$hardcode_direct_absolute
21737 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21738 # into the resulting binary.
21739 hardcode_minus_L=$hardcode_minus_L
21741 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21742 # into the resulting binary.
21743 hardcode_shlibpath_var=$hardcode_shlibpath_var
21745 # Set to "yes" if building a shared library automatically hardcodes DIR
21746 # into the library and all subsequent libraries and executables linked
21748 hardcode_automatic=$hardcode_automatic
21750 # Set to yes if linker adds runtime paths of dependent libraries
21751 # to runtime path list.
21752 inherit_rpath=$inherit_rpath
21754 # Whether libtool must link a program against all its dependency libraries.
21755 link_all_deplibs=$link_all_deplibs
21757 # Set to "yes" if exported symbols are required.
21758 always_export_symbols=$always_export_symbols
21760 # The commands to list exported symbols.
21761 export_symbols_cmds=$lt_export_symbols_cmds
21763 # Symbols that should not be listed in the preloaded symbols.
21764 exclude_expsyms=$lt_exclude_expsyms
21766 # Symbols that must always be exported.
21767 include_expsyms=$lt_include_expsyms
21769 # Commands necessary for linking programs (against libraries) with templates.
21770 prelink_cmds=$lt_prelink_cmds
21772 # Commands necessary for finishing linking programs.
21773 postlink_cmds=$lt_postlink_cmds
21775 # Specify filename containing input files.
21776 file_list_spec=$lt_file_list_spec
21778 # How to hardcode a shared library path into an executable.
21779 hardcode_action=$hardcode_action
21781 # The directories searched by this compiler when creating a shared library.
21782 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21784 # Dependencies to place before and after the objects being linked to
21785 # create a shared library.
21786 predep_objects=$lt_predep_objects
21787 postdep_objects=$lt_postdep_objects
21788 predeps=$lt_predeps
21789 postdeps=$lt_postdeps
21791 # The library search path used internally by the compiler when linking
21792 # a shared library.
21793 compiler_lib_search_path=$lt_compiler_lib_search_path
21795 # ### END LIBTOOL CONFIG
21801 cat <<\_LT_EOF
>> "$cfgfile"
21802 # AIX sometimes has problems with the GCC collect2 program. For some
21803 # reason, if we set the COLLECT_NAMES environment variable, the problems
21804 # vanish in a puff of smoke.
21805 if test "X${COLLECT_NAMES+set}" != Xset
; then
21807 export COLLECT_NAMES
21814 ltmain
="$ac_aux_dir/ltmain.sh"
21817 # We use sed instead of cat because bash on DJGPP gets confused if
21818 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21819 # text mode, it properly converts lines to CR/LF. This bash problem
21820 # is reportedly fixed, but why not run on old versions too?
21821 sed '$q' "$ltmain" >> "$cfgfile" \
21822 ||
(rm -f "$cfgfile"; exit 1)
21824 if test x
"$xsi_shell" = xyes
; then
21825 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21829 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21830 \ * ) func_dirname_result="${3}" ;;\
21832 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21833 && mv -f "$cfgfile.tmp" "$cfgfile" \
21834 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21835 test 0 -eq $? || _lt_function_replace_fail
=:
21838 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21841 \ func_basename_result="${1##*/}"\
21842 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21843 && mv -f "$cfgfile.tmp" "$cfgfile" \
21844 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21845 test 0 -eq $? || _lt_function_replace_fail
=:
21848 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21849 func_dirname_and_basename ()\
21852 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21853 \ * ) func_dirname_result="${3}" ;;\
21855 \ func_basename_result="${1##*/}"\
21856 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21857 && mv -f "$cfgfile.tmp" "$cfgfile" \
21858 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21859 test 0 -eq $? || _lt_function_replace_fail
=:
21862 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21865 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21866 \ # positional parameters, so assign one to ordinary parameter first.\
21867 \ func_stripname_result=${3}\
21868 \ func_stripname_result=${func_stripname_result#"${1}"}\
21869 \ func_stripname_result=${func_stripname_result%"${2}"}\
21870 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21871 && mv -f "$cfgfile.tmp" "$cfgfile" \
21872 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21873 test 0 -eq $? || _lt_function_replace_fail
=:
21876 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21877 func_split_long_opt ()\
21879 \ func_split_long_opt_name=${1%%=*}\
21880 \ func_split_long_opt_arg=${1#*=}\
21881 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21882 && mv -f "$cfgfile.tmp" "$cfgfile" \
21883 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21884 test 0 -eq $? || _lt_function_replace_fail
=:
21887 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21888 func_split_short_opt ()\
21890 \ func_split_short_opt_arg=${1#??}\
21891 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21892 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21893 && mv -f "$cfgfile.tmp" "$cfgfile" \
21894 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21895 test 0 -eq $? || _lt_function_replace_fail
=:
21898 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21902 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21903 \ *) func_lo2o_result=${1} ;;\
21905 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21906 && mv -f "$cfgfile.tmp" "$cfgfile" \
21907 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21908 test 0 -eq $? || _lt_function_replace_fail
=:
21911 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21914 func_xform_result=${1%.*}.lo\
21915 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21916 && mv -f "$cfgfile.tmp" "$cfgfile" \
21917 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21918 test 0 -eq $? || _lt_function_replace_fail
=:
21921 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21924 func_arith_result=$(( $* ))\
21925 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21926 && mv -f "$cfgfile.tmp" "$cfgfile" \
21927 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21928 test 0 -eq $? || _lt_function_replace_fail
=:
21931 sed -e '/^func_len ()$/,/^} # func_len /c\
21934 func_len_result=${#1}\
21935 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21936 && mv -f "$cfgfile.tmp" "$cfgfile" \
21937 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21938 test 0 -eq $? || _lt_function_replace_fail
=:
21942 if test x
"$lt_shell_append" = xyes
; then
21943 sed -e '/^func_append ()$/,/^} # func_append /c\
21946 eval "${1}+=\\${2}"\
21947 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21948 && mv -f "$cfgfile.tmp" "$cfgfile" \
21949 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21950 test 0 -eq $? || _lt_function_replace_fail
=:
21953 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21954 func_append_quoted ()\
21956 \ func_quote_for_eval "${2}"\
21957 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21958 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21959 && mv -f "$cfgfile.tmp" "$cfgfile" \
21960 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21961 test 0 -eq $? || _lt_function_replace_fail
=:
21964 # Save a `func_append' function call where possible by direct use of '+='
21965 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21966 && mv -f "$cfgfile.tmp" "$cfgfile" \
21967 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21968 test 0 -eq $? || _lt_function_replace_fail
=:
21970 # Save a `func_append' function call even when '+=' is not available
21971 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21972 && mv -f "$cfgfile.tmp" "$cfgfile" \
21973 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21974 test 0 -eq $? || _lt_function_replace_fail
=:
21977 if test x
"$_lt_function_replace_fail" = x
":"; then
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21979 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21983 mv -f "$cfgfile" "$ofile" ||
21984 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21988 cat <<_LT_EOF >> "$ofile"
21990 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21992 # The linker used to build libraries.
21995 # How to create reloadable object files.
21996 reload_flag=$lt_reload_flag_CXX
21997 reload_cmds=$lt_reload_cmds_CXX
21999 # Commands used to build an old-style archive.
22000 old_archive_cmds=$lt_old_archive_cmds_CXX
22002 # A language specific compiler.
22003 CC=$lt_compiler_CXX
22005 # Is the compiler the GNU compiler?
22008 # Compiler flag to turn off builtin functions.
22009 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22011 # Additional compiler flags for building library objects.
22012 pic_flag=$lt_lt_prog_compiler_pic_CXX
22014 # How to pass a linker flag through the compiler.
22015 wl=$lt_lt_prog_compiler_wl_CXX
22017 # Compiler flag to prevent dynamic linking.
22018 link_static_flag=$lt_lt_prog_compiler_static_CXX
22020 # Does compiler simultaneously support -c and -o options?
22021 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22023 # Whether or not to add -lc for building shared libraries.
22024 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22026 # Whether or not to disallow shared libs when runtime libs are static.
22027 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22029 # Compiler flag to allow reflexive dlopens.
22030 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22032 # Compiler flag to generate shared objects directly from archives.
22033 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22035 # Whether the compiler copes with passing no objects directly.
22036 compiler_needs_object=$lt_compiler_needs_object_CXX
22038 # Create an old-style archive from a shared archive.
22039 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22041 # Create a temporary old-style archive to link instead of a shared archive.
22042 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22044 # Commands used to build a shared archive.
22045 archive_cmds=$lt_archive_cmds_CXX
22046 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22048 # Commands used to build a loadable module if different from building
22049 # a shared archive.
22050 module_cmds=$lt_module_cmds_CXX
22051 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22053 # Whether we are building with GNU ld or not.
22054 with_gnu_ld=$lt_with_gnu_ld_CXX
22056 # Flag that allows shared libraries with undefined symbols to be built.
22057 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22059 # Flag that enforces no undefined symbols.
22060 no_undefined_flag=$lt_no_undefined_flag_CXX
22062 # Flag to hardcode \$libdir into a binary during linking.
22063 # This must work even if \$libdir does not exist
22064 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22066 # If ld is used when linking, flag to hardcode \$libdir into a binary
22067 # during linking. This must work even if \$libdir does not exist.
22068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22070 # Whether we need a single "-rpath" flag with a separated argument.
22071 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22074 # DIR into the resulting binary.
22075 hardcode_direct=$hardcode_direct_CXX
22077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22078 # DIR into the resulting binary and the resulting library dependency is
22079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22080 # library is relocated.
22081 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22084 # into the resulting binary.
22085 hardcode_minus_L=$hardcode_minus_L_CXX
22087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22088 # into the resulting binary.
22089 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22091 # Set to "yes" if building a shared library automatically hardcodes DIR
22092 # into the library and all subsequent libraries and executables linked
22094 hardcode_automatic=$hardcode_automatic_CXX
22096 # Set to yes if linker adds runtime paths of dependent libraries
22097 # to runtime path list.
22098 inherit_rpath=$inherit_rpath_CXX
22100 # Whether libtool must link a program against all its dependency libraries.
22101 link_all_deplibs=$link_all_deplibs_CXX
22103 # Set to "yes" if exported symbols are required.
22104 always_export_symbols=$always_export_symbols_CXX
22106 # The commands to list exported symbols.
22107 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22109 # Symbols that should not be listed in the preloaded symbols.
22110 exclude_expsyms=$lt_exclude_expsyms_CXX
22112 # Symbols that must always be exported.
22113 include_expsyms=$lt_include_expsyms_CXX
22115 # Commands necessary for linking programs (against libraries) with templates.
22116 prelink_cmds=$lt_prelink_cmds_CXX
22118 # Commands necessary for finishing linking programs.
22119 postlink_cmds=$lt_postlink_cmds_CXX
22121 # Specify filename containing input files.
22122 file_list_spec=$lt_file_list_spec_CXX
22124 # How to hardcode a shared library path into an executable.
22125 hardcode_action=$hardcode_action_CXX
22127 # The directories searched by this compiler when creating a shared library.
22128 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22130 # Dependencies to place before and after the objects being linked to
22131 # create a shared library.
22132 predep_objects=$lt_predep_objects_CXX
22133 postdep_objects=$lt_postdep_objects_CXX
22134 predeps=$lt_predeps_CXX
22135 postdeps=$lt_postdeps_CXX
22137 # The library search path used internally by the compiler when linking
22138 # a shared library.
22139 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22141 # ### END LIBTOOL TAG CONFIG: CXX
22152 ac_clean_files
=$ac_clean_files_save
22154 test $ac_write_fail = 0 ||
22155 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22158 # configure is writing to config.log, and then calls config.status.
22159 # config.status does its own redirection, appending to config.log.
22160 # Unfortunately, on DOS this fails, as config.log is still kept open
22161 # by configure, so config.status won't be able to write to it; its
22162 # output is simply discarded. So we exec the FD to /dev/null,
22163 # effectively closing config.log, so it can be properly (re)opened and
22164 # appended to by config.status. When coming back to configure, we
22165 # need to make the FD available again.
22166 if test "$no_create" != yes; then
22168 ac_config_status_args
=
22169 test "$silent" = yes &&
22170 ac_config_status_args
="$ac_config_status_args --quiet"
22172 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22174 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22175 # would make configure fail if this is the last instruction.
22176 $ac_cs_success || as_fn_exit
1
22178 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22180 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build quvi/libquvi:
22186 quvi version: ${VERSION} g:$git_describe b:$build_date
22187 host setup: ${host}
22188 install prefix: ${prefix}
22193 build libquvi: shared=${enable_shared} static=${enable_static}
22194 build quvi: ${enable_quvi}
22195 build examples: ${enable_examples}
22196 adult support: ${enable_smut}
22197 enable tests: ${enable_tests}
22198 broken support: ${enable_broken}
22199 install manual: ${with_man}
22200 install docs: ${with_doc}
22203 gengetopt: ${GENGETOPT}
22204 doxygen: ${DOXYGEN}
22206 Pod::Checker: ${have_pod_checker}
22207 pod2man: ${POD2MAN}
22208 pod2html: ${POD2HTML}
22210 $as_echo "$as_me: Configured to build quvi/libquvi:
22212 quvi version: ${VERSION} g:$git_describe b:$build_date
22213 host setup: ${host}
22214 install prefix: ${prefix}
22219 build libquvi: shared=${enable_shared} static=${enable_static}
22220 build quvi: ${enable_quvi}
22221 build examples: ${enable_examples}
22222 adult support: ${enable_smut}
22223 enable tests: ${enable_tests}
22224 broken support: ${enable_broken}
22225 install manual: ${with_man}
22226 install docs: ${with_doc}
22229 gengetopt: ${GENGETOPT}
22230 doxygen: ${DOXYGEN}
22232 Pod::Checker: ${have_pod_checker}
22233 pod2man: ${POD2MAN}
22234 pod2html: ${POD2HTML}