2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.15.
5 # Report bugs to <http://sourceforge.net/apps/trac/quvi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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
250 $0: http://sourceforge.net/apps/trac/quvi about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
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.15'
574 PACKAGE_STRING
='quvi 0.2.15'
575 PACKAGE_BUGREPORT
='http://sourceforge.net/apps/trac/quvi'
576 PACKAGE_URL
='http://quvi.sourceforge.net/'
578 ac_unique_file
="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
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
657 HAVE_PERL_POD_CHECKER_FALSE
658 HAVE_PERL_POD_CHECKER_TRUE
675 EXTRA_LIBQUVI_LDFLAGS
712 INSTALL_STRIP_PROGRAM
779 program_transform_name
792 enable_option_checking
793 enable_dependency_tracking
812 ac_precious_vars
='build_alias
834 # Initialize some variables set by options.
836 ac_init_version
=false
837 ac_unrecognized_opts
=
839 # The variables have the same names as the options, with
840 # dashes changed to underlines.
848 program_transform_name
=s
,x
,x
,
856 # Installation directory options.
857 # These are left unexpanded so users can "make install exec_prefix=/foo"
858 # and all the variables that are supposed to be based on exec_prefix
859 # by default will actually change.
860 # Use braces instead of parens because sh, perl, etc. also accept them.
861 # (The list follows the same order as the GNU Coding Standards.)
862 bindir
='${exec_prefix}/bin'
863 sbindir
='${exec_prefix}/sbin'
864 libexecdir
='${exec_prefix}/libexec'
865 datarootdir
='${prefix}/share'
866 datadir
='${datarootdir}'
867 sysconfdir
='${prefix}/etc'
868 sharedstatedir
='${prefix}/com'
869 localstatedir
='${prefix}/var'
870 includedir
='${prefix}/include'
871 oldincludedir
='/usr/include'
872 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
873 infodir
='${datarootdir}/info'
878 libdir
='${exec_prefix}/lib'
879 localedir
='${datarootdir}/locale'
880 mandir
='${datarootdir}/man'
886 # If the previous option needs an argument, assign it.
887 if test -n "$ac_prev"; then
888 eval $ac_prev=\
$ac_option
894 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
899 # Accept the important Cygnus configure options, so we can diagnose typos.
901 case $ac_dashdash$ac_option in
905 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
907 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
910 -build |
--build |
--buil |
--bui |
--bu)
911 ac_prev
=build_alias
;;
912 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
913 build_alias
=$ac_optarg ;;
915 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
916 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
917 ac_prev
=cache_file
;;
918 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
919 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
920 cache_file
=$ac_optarg ;;
923 cache_file
=config.cache
;;
925 -datadir |
--datadir |
--datadi |
--datad)
927 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
928 datadir
=$ac_optarg ;;
930 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
931 |
--dataroo |
--dataro |
--datar)
932 ac_prev
=datarootdir
;;
933 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
934 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
935 datarootdir
=$ac_optarg ;;
937 -disable-* |
--disable-*)
938 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
941 as_fn_error $?
"invalid feature name: $ac_useropt"
942 ac_useropt_orig
=$ac_useropt
943 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944 case $ac_user_opts in
948 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
949 ac_unrecognized_sep
=', ';;
951 eval enable_
$ac_useropt=no
;;
953 -docdir |
--docdir |
--docdi |
--doc |
--do)
955 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
958 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
960 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
963 -enable-* |
--enable-*)
964 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
967 as_fn_error $?
"invalid feature name: $ac_useropt"
968 ac_useropt_orig
=$ac_useropt
969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
975 ac_unrecognized_sep
=', ';;
977 eval enable_
$ac_useropt=\
$ac_optarg ;;
979 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
980 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
981 |
--exec |
--exe |
--ex)
982 ac_prev
=exec_prefix
;;
983 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
984 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
985 |
--exec=* |
--exe=* |
--ex=*)
986 exec_prefix
=$ac_optarg ;;
988 -gas |
--gas |
--ga |
--g)
989 # Obsolete; use --with-gas.
992 -help |
--help |
--hel |
--he |
-h)
994 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
995 ac_init_help
=recursive
;;
996 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
997 ac_init_help
=short
;;
999 -host |
--host |
--hos |
--ho)
1000 ac_prev
=host_alias
;;
1001 -host=* |
--host=* |
--hos=* |
--ho=*)
1002 host_alias
=$ac_optarg ;;
1004 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1006 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1008 htmldir
=$ac_optarg ;;
1010 -includedir |
--includedir |
--includedi |
--included |
--include \
1011 |
--includ |
--inclu |
--incl |
--inc)
1012 ac_prev
=includedir
;;
1013 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1014 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1015 includedir
=$ac_optarg ;;
1017 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1019 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1020 infodir
=$ac_optarg ;;
1022 -libdir |
--libdir |
--libdi |
--libd)
1024 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1025 libdir
=$ac_optarg ;;
1027 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1028 |
--libexe |
--libex |
--libe)
1029 ac_prev
=libexecdir
;;
1030 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1031 |
--libexe=* |
--libex=* |
--libe=*)
1032 libexecdir
=$ac_optarg ;;
1034 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1035 ac_prev
=localedir
;;
1036 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1037 localedir
=$ac_optarg ;;
1039 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1040 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1041 ac_prev
=localstatedir
;;
1042 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1043 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1044 localstatedir
=$ac_optarg ;;
1046 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1048 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1049 mandir
=$ac_optarg ;;
1051 -nfp |
--nfp |
--nf)
1052 # Obsolete; use --without-fp.
1055 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1056 |
--no-cr |
--no-c |
-n)
1059 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1060 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1063 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1064 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1065 |
--oldin |
--oldi |
--old |
--ol |
--o)
1066 ac_prev
=oldincludedir
;;
1067 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1068 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1069 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1070 oldincludedir
=$ac_optarg ;;
1072 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1074 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1075 prefix
=$ac_optarg ;;
1077 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1078 |
--program-pre |
--program-pr |
--program-p)
1079 ac_prev
=program_prefix
;;
1080 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1081 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1082 program_prefix
=$ac_optarg ;;
1084 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1085 |
--program-suf |
--program-su |
--program-s)
1086 ac_prev
=program_suffix
;;
1087 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1088 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1089 program_suffix
=$ac_optarg ;;
1091 -program-transform-name |
--program-transform-name \
1092 |
--program-transform-nam |
--program-transform-na \
1093 |
--program-transform-n |
--program-transform- \
1094 |
--program-transform |
--program-transfor \
1095 |
--program-transfo |
--program-transf \
1096 |
--program-trans |
--program-tran \
1097 |
--progr-tra |
--program-tr |
--program-t)
1098 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1108 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1110 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1111 pdfdir
=$ac_optarg ;;
1113 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1115 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1118 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1119 |
-silent |
--silent |
--silen |
--sile |
--sil)
1122 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1124 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1126 sbindir
=$ac_optarg ;;
1128 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1129 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1130 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1132 ac_prev
=sharedstatedir
;;
1133 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1134 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1135 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1137 sharedstatedir
=$ac_optarg ;;
1139 -site |
--site |
--sit)
1141 -site=* |
--site=* |
--sit=*)
1144 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1146 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1147 srcdir
=$ac_optarg ;;
1149 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1150 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1151 ac_prev
=sysconfdir
;;
1152 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1153 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1154 sysconfdir
=$ac_optarg ;;
1156 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1157 ac_prev
=target_alias
;;
1158 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1159 target_alias
=$ac_optarg ;;
1161 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1164 -version |
--version |
--versio |
--versi |
--vers |
-V)
1165 ac_init_version
=: ;;
1168 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1171 as_fn_error $?
"invalid package name: $ac_useropt"
1172 ac_useropt_orig
=$ac_useropt
1173 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1178 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1179 ac_unrecognized_sep
=', ';;
1181 eval with_
$ac_useropt=\
$ac_optarg ;;
1183 -without-* |
--without-*)
1184 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1187 as_fn_error $?
"invalid package name: $ac_useropt"
1188 ac_useropt_orig
=$ac_useropt
1189 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1194 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1195 ac_unrecognized_sep
=', ';;
1197 eval with_
$ac_useropt=no
;;
1200 # Obsolete; use --with-x.
1203 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1204 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1205 ac_prev
=x_includes
;;
1206 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1207 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1208 x_includes
=$ac_optarg ;;
1210 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1211 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1212 ac_prev
=x_libraries
;;
1213 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1214 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1215 x_libraries
=$ac_optarg ;;
1217 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1218 Try \`$0 --help' for more information"
1222 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1223 # Reject names that are not valid shell variable names.
1224 case $ac_envvar in #(
1225 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1226 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1228 eval $ac_envvar=\
$ac_optarg
1229 export $ac_envvar ;;
1232 # FIXME: should be removed in autoconf 3.0.
1233 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1234 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1235 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1236 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1242 if test -n "$ac_prev"; then
1243 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1244 as_fn_error $?
"missing argument to $ac_option"
1247 if test -n "$ac_unrecognized_opts"; then
1248 case $enable_option_checking in
1250 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1251 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255 # Check all directory arguments for consistency.
1256 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1257 datadir sysconfdir sharedstatedir localstatedir includedir \
1258 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1259 libdir localedir mandir
1261 eval ac_val
=\$
$ac_var
1262 # Remove trailing slashes.
1265 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1266 eval $ac_var=\
$ac_val;;
1268 # Be sure to have absolute directory names.
1270 [\\/$
]* | ?
:[\\/]* ) continue;;
1271 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1273 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1276 # There might be people who depend on the old broken behavior: `$host'
1277 # used to hold the argument of --host etc.
1278 # FIXME: To remove some day.
1281 target
=$target_alias
1283 # FIXME: To remove some day.
1284 if test "x$host_alias" != x
; then
1285 if test "x$build_alias" = x
; then
1286 cross_compiling
=maybe
1287 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1288 If a cross compiler is detected then cross compile mode will be used" >&2
1289 elif test "x$build_alias" != "x$host_alias"; then
1295 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1297 test "$silent" = yes && exec 6>/dev
/null
1300 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1301 ac_ls_di
=`ls -di .` &&
1302 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1303 as_fn_error $?
"working directory cannot be determined"
1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 as_fn_error $?
"pwd does not report name of working directory"
1308 # Find the source files, if location was not specified.
1309 if test -z "$srcdir"; then
1310 ac_srcdir_defaulted
=yes
1311 # Try the directory containing this script, then the parent directory.
1312 ac_confdir
=`$as_dirname -- "$as_myself" ||
1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1314 X"$as_myself" : 'X\(//\)[^/]' \| \
1315 X"$as_myself" : 'X\(//\)$' \| \
1316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1317 $as_echo X"$as_myself" |
1318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1340 ac_srcdir_defaulted
=no
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1344 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1346 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1358 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 for ac_var
in $ac_precious_vars; do
1361 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1363 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1368 # Report the --help message.
1370 if test "$ac_init_help" = "long"; then
1371 # Omit some internal or obsolete options to make the list less imposing.
1372 # This message is too long to be a string in the A/UX 3.1 sh.
1374 \`configure' configures quvi 0.2.15 to adapt to many kinds of systems.
1376 Usage: $0 [OPTION]... [VAR=VALUE]...
1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1379 VAR=VALUE. See below for descriptions of some of the useful variables.
1381 Defaults for the options are specified in brackets.
1384 -h, --help display this help and exit
1385 --help=short display options specific to this package
1386 --help=recursive display the short help of all the included packages
1387 -V, --version display version information and exit
1388 -q, --quiet, --silent do not print \`checking ...' messages
1389 --cache-file=FILE cache test results in FILE [disabled]
1390 -C, --config-cache alias for \`--cache-file=config.cache'
1391 -n, --no-create do not create output files
1392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1394 Installation directories:
1395 --prefix=PREFIX install architecture-independent files in PREFIX
1396 [$ac_default_prefix]
1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1400 By default, \`make install' will install all the files in
1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1403 for instance \`--prefix=\$HOME'.
1405 For better control, use the options below.
1407 Fine tuning of the installation directories:
1408 --bindir=DIR user executables [EPREFIX/bin]
1409 --sbindir=DIR system admin executables [EPREFIX/sbin]
1410 --libexecdir=DIR program executables [EPREFIX/libexec]
1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1414 --libdir=DIR object code libraries [EPREFIX/lib]
1415 --includedir=DIR C header files [PREFIX/include]
1416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1419 --infodir=DIR info documentation [DATAROOTDIR/info]
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1421 --mandir=DIR man documentation [DATAROOTDIR/man]
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1423 --htmldir=DIR html documentation [DOCDIR]
1424 --dvidir=DIR dvi documentation [DOCDIR]
1425 --pdfdir=DIR pdf documentation [DOCDIR]
1426 --psdir=DIR ps documentation [DOCDIR]
1432 --program-prefix=PREFIX prepend PREFIX to installed program names
1433 --program-suffix=SUFFIX append SUFFIX to installed program names
1434 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1437 --build=BUILD configure
for building on BUILD
[guessed
]
1438 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1439 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive
) echo "Configuration of quvi 0.2.15:";;
1450 --disable-option-checking ignore unrecognized
--enable/--with options
1451 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1452 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1453 --disable-dependency-tracking speeds up one-time build
1454 --enable-dependency-tracking do not reject slow dependency extractors
1455 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1456 --enable-static[=PKGS
] build static libraries
[default
=yes]
1457 --enable-fast-install[=PKGS
]
1458 optimize
for fast installation
[default
=yes]
1459 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1460 --disable-rpath do not hardcode runtime library paths
1461 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1462 --disable-silent-rules verbose build output (undo: `make V
=0')
1463 --enable-quvi build quvi command line tool[default=yes]
1464 --enable-examples build examples [default=no]
1465 --enable-nsfw build with adult website support [default=no]
1466 --enable-tests enable tests [default=no]
1467 --enable-broken build with broken website support [default=no]
1470 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1471 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1472 --with-pic try to use only PIC/non-PIC objects [default=use
1474 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1475 --with-sysroot=DIR Search for dependent libraries within DIR
1476 (or the compiler's sysroot
if not specified
).
1477 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1478 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1479 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1480 --with-man install manual pages [default=yes]
1481 --with-doc install documentation [default=yes]
1483 Some influential environment variables:
1484 CC C compiler command
1485 CFLAGS C compiler flags
1486 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1487 nonstandard directory <lib dir>
1488 LIBS libraries to pass to the linker, e.g. -l<library>
1489 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1490 you have headers in a nonstandard directory <include dir>
1492 CXX C++ compiler command
1493 CXXFLAGS C++ compiler flags
1494 CXXCPP C++ preprocessor
1495 PKG_CONFIG path to pkg-config utility
1497 directories to add to pkg-config's search path
1499 path overriding pkg-config
's built-in search path
1501 C compiler flags for libcurl, overriding pkg-config
1503 linker flags for libcurl, overriding pkg-config
1505 C compiler flags for liblua, overriding pkg-config
1506 liblua_LIBS linker flags for liblua, overriding pkg-config
1508 Use these variables to override the choices made by `configure' or to
help
1509 it to
find libraries and programs with nonstandard names
/locations.
1511 Report bugs to
<http
://sourceforge.net
/apps
/trac
/quvi
>.
1512 quvi home page
: <http
://quvi.sourceforge.net
/>.
1517 if test "$ac_init_help" = "recursive"; then
1518 # If there are subdirs, report their specific --help.
1519 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1520 test -d "$ac_dir" ||
1521 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1526 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1528 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1529 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1531 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1533 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1536 ac_abs_top_builddir
=$ac_pwd
1537 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1538 # for backward compatibility:
1539 ac_top_builddir
=$ac_top_build_prefix
1542 .
) # We are building in place.
1544 ac_top_srcdir
=$ac_top_builddir_sub
1545 ac_abs_top_srcdir
=$ac_pwd ;;
1546 [\\/]* | ?
:[\\/]* ) # Absolute name.
1547 ac_srcdir
=$srcdir$ac_dir_suffix;
1548 ac_top_srcdir
=$srcdir
1549 ac_abs_top_srcdir
=$srcdir ;;
1551 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1553 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1555 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1557 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1558 # Check for guested configure.
1559 if test -f "$ac_srcdir/configure.gnu"; then
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then
1564 $SHELL "$ac_srcdir/configure" --help=recursive
1566 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1572 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then
1575 quvi configure
0.2.15
1576 generated by GNU Autoconf
2.68
1578 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1579 This configure
script is free software
; the Free Software Foundation
1580 gives unlimited permission to copy
, distribute and modify it.
1585 ## ------------------------ ##
1586 ## Autoconf initialization. ##
1587 ## ------------------------ ##
1589 # ac_fn_c_try_compile LINENO
1590 # --------------------------
1591 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1592 ac_fn_c_try_compile
()
1594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1595 rm -f conftest.
$ac_objext
1596 if { { ac_try
="$ac_compile"
1598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_compile") 2>conftest.err
1605 if test -s conftest.err; then
1606 grep -v '^ *+' conftest.err >conftest.er1
1607 cat conftest.er1 >&5
1608 mv -f conftest.er1 conftest.err
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } && {
1612 test -z "$ac_c_werror_flag" ||
1613 test ! -s conftest.err
1614 } && test -s conftest.$ac_objext; then :
1617 $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.$ac_ext >&5
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status $ac_retval
1625 } # ac_fn_c_try_compile
1627 # ac_fn_c_try_cpp LINENO
1628 # ----------------------
1629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 if { { ac_try="$ac_cpp conftest.$ac_ext"
1635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1636 *) ac_try_echo
=$ac_try;;
1638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642 if test -s conftest.err
; then
1643 grep -v '^ *+' conftest.err
>conftest.er1
1644 cat conftest.er1
>&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } > conftest.i
&& {
1649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.
$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status
$ac_retval
1664 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1667 # the include files in INCLUDES and setting the cache variable VAR
1669 ac_fn_c_check_header_mongrel
()
1671 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1672 if eval \
${$3+:} false
; then :
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval \
${$3+:} false
; then :
1676 $as_echo_n "(cached) " >&6
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1682 # Is the header compilable?
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1684 $as_echo_n "checking $2 usability... " >&6; }
1685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1690 if ac_fn_c_try_compile
"$LINENO"; then :
1691 ac_header_compiler
=yes
1693 ac_header_compiler
=no
1695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1697 $as_echo "$ac_header_compiler" >&6; }
1699 # Is the header present?
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1701 $as_echo_n "checking $2 presence... " >&6; }
1702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1706 if ac_fn_c_try_cpp
"$LINENO"; then :
1707 ac_header_preproc
=yes
1709 ac_header_preproc
=no
1711 rm -f conftest.err conftest.i conftest.
$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1713 $as_echo "$ac_header_preproc" >&6; }
1715 # So? What about this header?
1716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1719 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1725 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1727 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1729 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1731 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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;}
1734 ( $as_echo "## ---------------------------------------------------- ##
1735 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1736 ## ---------------------------------------------------- ##"
1737 ) |
sed "s/^/$as_me: WARNING: /" >&2
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \
${$3+:} false
; then :
1743 $as_echo_n "(cached) " >&6
1745 eval "$3=\$ac_header_compiler"
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_header_mongrel
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1762 if { { ac_try
="$ac_link"
1764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1775 *) ac_try_echo
=$ac_try;;
1777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.
$ac_ext >&5
1789 ac_retval
=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status
$ac_retval
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile
()
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \
${$3+:} false
; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile
"$LINENO"; then :
1819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1833 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1834 rm -f conftest.
$ac_objext conftest
$ac_exeext
1835 if { { ac_try
="$ac_link"
1837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest$ac_exeext
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1889 #define $2 innocuous_$2
1891 /* System header to define __stub macros and hopefully few prototypes,
1892 which can conflict with char $2 (); below.
1893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1894 <limits.h> exists even on freestanding compilers. */
1897 # include <limits.h>
1899 # include <assert.h>
1904 /* Override any GCC internal prototype to avoid an error.
1905 Use char because int might match the return type of a GCC
1906 builtin and then its argument prototype would still apply. */
1911 /* The GNU C library defines this for functions which it implements
1912 to always fail with ENOSYS. Some functions are actually named
1913 something starting with __ and the normal name is an alias. */
1914 #if defined __stub_$2 || defined __stub___$2
1926 if ac_fn_c_try_link "$LINENO"; then :
1931 rm -f core conftest.err conftest.$ac_objext \
1932 conftest$ac_exeext conftest.$ac_ext
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 } # ac_fn_c_check_func
1941 # ac_fn_cxx_try_compile LINENO
1942 # ----------------------------
1943 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1944 ac_fn_cxx_try_compile ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 rm -f conftest.$ac_objext
1948 if { { ac_try="$ac_compile"
1950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1951 *) ac_try_echo
=$ac_try;;
1953 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_compile") 2>conftest.err
1957 if test -s conftest.err
; then
1958 grep -v '^ *+' conftest.err
>conftest.er1
1959 cat conftest.er1
>&5
1960 mv -f conftest.er1 conftest.err
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; } && {
1964 test -z "$ac_cxx_werror_flag" ||
1965 test ! -s conftest.err
1966 } && test -s conftest.
$ac_objext; then :
1969 $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.
$ac_ext >&5
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 as_fn_set_status
$ac_retval
1977 } # ac_fn_cxx_try_compile
1979 # ac_fn_cxx_try_cpp LINENO
1980 # ------------------------
1981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_cxx_try_cpp
()
1984 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1985 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1988 *) ac_try_echo=$ac_try;;
1990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991 $as_echo "$ac_try_echo"; } >&5
1992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1994 if test -s conftest.err; then
1995 grep -v '^ *+' conftest.err >conftest.er1
1996 cat conftest.er1 >&5
1997 mv -f conftest.er1 conftest.err
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; } > conftest.i && {
2001 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2002 test ! -s conftest.err
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 as_fn_set_status $ac_retval
2014 } # ac_fn_cxx_try_cpp
2016 # ac_fn_cxx_try_link LINENO
2017 # -------------------------
2018 # Try to link conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_link ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 rm -f conftest.$ac_objext conftest$ac_exeext
2023 if { { ac_try="$ac_link"
2025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2026 *) ac_try_echo
=$ac_try;;
2028 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_link") 2>conftest.err
2032 if test -s conftest.err
; then
2033 grep -v '^ *+' conftest.err
>conftest.er1
2034 cat conftest.er1
>&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } && {
2039 test -z "$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2041 } && test -s conftest
$ac_exeext && {
2042 test "$cross_compiling" = yes ||
2043 $as_test_x conftest
$ac_exeext
2047 $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.
$ac_ext >&5
2052 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2053 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2054 # interfere with the next link command; also delete a directory that is
2055 # left behind by Apple's compiler. We do this before executing the actions.
2056 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2058 as_fn_set_status
$ac_retval
2060 } # ac_fn_cxx_try_link
2062 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2063 # -------------------------------------------
2064 # Tests whether TYPE exists after having included INCLUDES, setting cache
2065 # variable VAR accordingly.
2066 ac_fn_c_check_type
()
2068 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if eval \
${$3+:} false
; then :
2072 $as_echo_n "(cached) " >&6
2075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2087 if ac_fn_c_try_compile
"$LINENO"; then :
2088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 } # ac_fn_c_check_type
2116 # ac_fn_c_find_uintX_t LINENO BITS VAR
2117 # ------------------------------------
2118 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2120 ac_fn_c_find_uintX_t
()
2122 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2124 $as_echo_n "checking for uint$2_t... " >&6; }
2125 if eval \
${$3+:} false
; then :
2126 $as_echo_n "(cached) " >&6
2129 # Order is important - never check a type that is potentially smaller
2130 # than half of the expected target width.
2131 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2132 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2135 $ac_includes_default
2139 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2146 if ac_fn_c_try_compile
"$LINENO"; then :
2151 eval "$3=\$ac_type" ;;
2154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2155 if eval test \"x\$
"$3"\" = x
"no"; then :
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 } # ac_fn_c_find_uintX_t
2168 cat >config.log
<<_ACEOF
2169 This file contains any messages produced by compilers while
2170 running configure, to aid debugging if configure makes a mistake.
2172 It was created by quvi $as_me 0.2.15, which was
2173 generated by GNU Autoconf 2.68. Invocation command line was
2185 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2186 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2187 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2188 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2189 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2191 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2192 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2194 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2195 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2196 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2197 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2198 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2199 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2200 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir
=.
2209 $as_echo "PATH: $as_dir"
2225 # Keep a trace of the command line.
2226 # Strip out --no-create and --no-recursion so they do not pile up.
2227 # Strip out --silent because we don't want to record it for future runs.
2228 # Also quote any args containing shell meta-characters.
2229 # Make two passes to allow for proper duplicate-argument suppression.
2233 ac_must_keep_next
=false
2239 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2240 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2241 |
-silent |
--silent |
--silen |
--sile |
--sil)
2244 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2249 as_fn_append ac_configure_args1
" '$ac_arg'"
2250 if test $ac_must_keep_next = true
; then
2251 ac_must_keep_next
=false
# Got value, back to normal.
2254 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2255 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2256 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2257 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2258 case "$ac_configure_args0 " in
2259 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2262 -* ) ac_must_keep_next
=true
;;
2265 as_fn_append ac_configure_args
" '$ac_arg'"
2270 { ac_configure_args0
=; unset ac_configure_args0
;}
2271 { ac_configure_args1
=; unset ac_configure_args1
;}
2273 # When interrupted or exit'd, cleanup temporary files, and complete
2274 # config.log. We remove comments because anyway the quotes in there
2275 # would cause problems or look ugly.
2276 # WARNING: Use '\'' to represent an apostrophe within the trap.
2277 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2278 trap 'exit_status=$?
2279 # Save into config.log some information that might help in debugging.
2283 $as_echo "## ---------------- ##
2284 ## Cache variables. ##
2285 ## ---------------- ##"
2287 # The following way of writing the cache mishandles newlines in values,
2289 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2290 eval ac_val=\$$ac_var
2294 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2298 _ | IFS | as_nl) ;; #(
2299 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2300 *) { eval $ac_var=; unset $ac_var;} ;;
2305 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2306 *${as_nl}ac_space=\ *)
2308 "s/'\''/'\''\\\\'\'''\''/g;
2309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2319 $as_echo "## ----------------- ##
2320 ## Output variables. ##
2321 ## ----------------- ##"
2323 for ac_var in $ac_subst_vars
2325 eval ac_val=\$$ac_var
2327 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2329 $as_echo "$ac_var='\''$ac_val'\''"
2333 if test -n "$ac_subst_files"; then
2334 $as_echo "## ------------------- ##
2335 ## File substitutions. ##
2336 ## ------------------- ##"
2338 for ac_var
in $ac_subst_files
2340 eval ac_val
=\$
$ac_var
2342 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2344 $as_echo "$ac_var='\''$ac_val'\''"
2349 if test -s confdefs.h; then
2350 $as_echo "## ----------- ##
2357 test "$ac_signal" != 0 &&
2358 $as_echo "$as_me: caught signal $ac_signal"
2359 $as_echo "$as_me: exit $exit_status"
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2365 for ac_signal
in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest
* confdefs.h
2373 $as_echo "/* confdefs.h */" > confdefs.h
2375 # Predefined preprocessor variables.
2377 cat >>confdefs.h
<<_ACEOF
2378 #define PACKAGE_NAME "$PACKAGE_NAME"
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_URL "$PACKAGE_URL"
2402 # Let the site file select an alternate cache file if it wants to.
2403 # Prefer an explicitly selected file to automatically selected ones.
2406 if test -n "$CONFIG_SITE"; then
2407 # We do not want a PATH search for config.site.
2408 case $CONFIG_SITE in #((
2409 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2410 */*) ac_site_file1
=$CONFIG_SITE;;
2411 *) ac_site_file1
=.
/$CONFIG_SITE;;
2413 elif test "x$prefix" != xNONE
; then
2414 ac_site_file1
=$prefix/share
/config.site
2415 ac_site_file2
=$prefix/etc
/config.site
2417 ac_site_file1
=$ac_default_prefix/share
/config.site
2418 ac_site_file2
=$ac_default_prefix/etc
/config.site
2420 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2422 test "x$ac_site_file" = xNONE
&& continue
2423 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2425 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2426 sed 's/^/| /' "$ac_site_file" >&5
2428 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2430 as_fn_error $?
"failed to load site script $ac_site_file
2431 See \`config.log' for more details" "$LINENO" 5; }
2435 if test -r "$cache_file"; then
2436 # Some versions of bash will fail to source /dev/null (special files
2437 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2438 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2440 $as_echo "$as_me: loading cache $cache_file" >&6;}
2442 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2443 *) .
"./$cache_file";;
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2448 $as_echo "$as_me: creating cache $cache_file" >&6;}
2452 # Check that the precious variables saved in the cache have kept the same
2454 ac_cache_corrupted
=false
2455 for ac_var
in $ac_precious_vars; do
2456 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2457 eval ac_new_set
=\
$ac_env_${ac_var}_set
2458 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2459 eval ac_new_val
=\
$ac_env_${ac_var}_value
2460 case $ac_old_set,$ac_new_set in
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2463 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2464 ac_cache_corrupted
=: ;;
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2467 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2468 ac_cache_corrupted
=: ;;
2471 if test "x$ac_old_val" != "x$ac_new_val"; then
2472 # differences in whitespace do not lead to failure.
2473 ac_old_val_w
=`echo x $ac_old_val`
2474 ac_new_val_w
=`echo x $ac_new_val`
2475 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2477 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2478 ac_cache_corrupted
=:
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2481 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2482 eval $ac_var=\
$ac_old_val
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2485 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2487 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2490 # Pass precious variables to config.status.
2491 if test "$ac_new_set" = set; then
2493 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2494 *) ac_arg
=$ac_var=$ac_new_val ;;
2496 case " $ac_configure_args " in
2497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2498 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2502 if $ac_cache_corrupted; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2506 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2507 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2509 ## -------------------- ##
2510 ## Main body of script. ##
2511 ## -------------------- ##
2514 ac_cpp
='$CPP $CPPFLAGS'
2515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2530 ac_config_headers
="$ac_config_headers config.h"
2533 for ac_dir
in config.aux
"$srcdir"/config.aux
; do
2534 if test -f "$ac_dir/install-sh"; then
2536 ac_install_sh
="$ac_aux_dir/install-sh -c"
2538 elif test -f "$ac_dir/install.sh"; then
2540 ac_install_sh
="$ac_aux_dir/install.sh -c"
2542 elif test -f "$ac_dir/shtool"; then
2544 ac_install_sh
="$ac_aux_dir/shtool install -c"
2548 if test -z "$ac_aux_dir"; then
2549 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2552 # These three variables are undocumented and unsupported,
2553 # and are intended to be withdrawn in a future Autoconf release.
2554 # They can cause serious problems if a builder's source tree is in a directory
2555 # whose full name contains unusual characters.
2556 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2557 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2558 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2563 # Make sure we can run config.sub.
2564 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2565 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2568 $as_echo_n "checking build system type... " >&6; }
2569 if ${ac_cv_build+:} false
; then :
2570 $as_echo_n "(cached) " >&6
2572 ac_build_alias
=$build_alias
2573 test "x$ac_build_alias" = x
&&
2574 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2575 test "x$ac_build_alias" = x
&&
2576 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2577 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2578 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2582 $as_echo "$ac_cv_build" >&6; }
2583 case $ac_cv_build in
2585 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2588 ac_save_IFS
=$IFS; IFS
='-'
2594 # Remember, the first character of IFS is used to create $*,
2595 # except with old shells:
2598 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2602 $as_echo_n "checking host system type... " >&6; }
2603 if ${ac_cv_host+:} false
; then :
2604 $as_echo_n "(cached) " >&6
2606 if test "x$host_alias" = x
; then
2607 ac_cv_host
=$ac_cv_build
2609 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2610 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2615 $as_echo "$ac_cv_host" >&6; }
2618 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2621 ac_save_IFS
=$IFS; IFS
='-'
2627 # Remember, the first character of IFS is used to create $*,
2628 # except with old shells:
2631 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2635 $as_echo_n "checking target system type... " >&6; }
2636 if ${ac_cv_target+:} false
; then :
2637 $as_echo_n "(cached) " >&6
2639 if test "x$target_alias" = x
; then
2640 ac_cv_target
=$ac_cv_host
2642 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2643 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2648 $as_echo "$ac_cv_target" >&6; }
2649 case $ac_cv_target in
2651 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2653 target
=$ac_cv_target
2654 ac_save_IFS
=$IFS; IFS
='-'
2660 # Remember, the first character of IFS is used to create $*,
2661 # except with old shells:
2664 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2667 # The aliases save the names the user supplied, while $host etc.
2668 # will get canonicalized.
2669 test -n "$target_alias" &&
2670 test "$program_prefix$program_suffix$program_transform_name" = \
2672 program_prefix
=${target_alias}-
2675 ac_cpp
='$CPP $CPPFLAGS'
2676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2681 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if ${ac_cv_prog_CC+:} false
; then :
2685 $as_echo_n "(cached) " >&6
2687 if test -n "$CC"; then
2688 ac_cv_prog_CC
="$CC" # Let the user override the test.
2690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir
=.
2695 for ac_exec_ext
in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test -n "$CC"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2710 $as_echo "$CC" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2718 if test -z "$ac_cv_prog_CC"; then
2720 # Extract the first word of "gcc", so it can be a program name with args.
2721 set dummy gcc
; ac_word
=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$ac_ct_CC"; then
2728 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_CC
="gcc"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2748 if test -n "$ac_ct_CC"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2750 $as_echo "$ac_ct_CC" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2756 if test "x$ac_ct_CC" = x
; then
2759 case $cross_compiling:$ac_tool_warned in
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2763 ac_tool_warned
=yes ;;
2771 if test -z "$CC"; then
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2774 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if ${ac_cv_prog_CC+:} false
; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC
="$CC" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 $as_echo "$CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2812 if test -z "$CC"; then
2813 # Extract the first word of "cc", so it can be a program name with args.
2814 set dummy cc
; ac_word
=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_CC+:} false
; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC
="$CC" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2832 ac_prog_rejected
=yes
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test $ac_prog_rejected = yes; then
2844 # We found a bogon in the path, so make sure we never use it.
2845 set dummy
$ac_cv_prog_CC
2847 if test $# != 0; then
2848 # We chose a different compiler from the bogus one.
2849 # However, it has the same basename, so the bogon will be chosen
2850 # first if we set CC to just the basename; use the full file name.
2852 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2858 if test -n "$CC"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2860 $as_echo "$CC" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2868 if test -z "$CC"; then
2869 if test -n "$ac_tool_prefix"; then
2870 for ac_prog
in cl.exe
2872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2873 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if ${ac_cv_prog_CC+:} false
; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC
="$CC" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2909 test -n "$CC" && break
2912 if test -z "$CC"; then
2914 for ac_prog
in cl.exe
2916 # Extract the first word of "$ac_prog", so it can be a program name with args.
2917 set dummy
$ac_prog; ac_word
=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$ac_ct_CC"; then
2924 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2933 ac_cv_prog_ac_ct_CC
="$ac_prog"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2944 if test -n "$ac_ct_CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2946 $as_echo "$ac_ct_CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2953 test -n "$ac_ct_CC" && break
2956 if test "x$ac_ct_CC" = x
; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned
=yes ;;
2972 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $?
"no acceptable C compiler found in \$PATH
2975 See \`config.log' for more details" "$LINENO" 5; }
2977 # Provide some information about the compiler.
2978 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2981 for ac_option
in --version -v -V -qversion; do
2982 { { ac_try
="$ac_compiler $ac_option >&5"
2984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2991 if test -s conftest.err; then
2993 ... rest of stderr output deleted ...
2994 10q' conftest.err >conftest.er1
2995 cat conftest.er1 >&5
2997 rm -f conftest.er1 conftest.err
2998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; }
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3013 ac_clean_files_save=$ac_clean_files
3014 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3015 # Try to create an executable without -o first, disregard a.out.
3016 # It will help us diagnose broken compilers, and finding out an intuition
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3019 $as_echo_n "checking whether the C compiler works... " >&6; }
3020 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3022 # The possible output files:
3023 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3026 for ac_file in $ac_files
3029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3030 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3035 if { { ac_try="$ac_link_default"
3037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3038 *) ac_try_echo
=$ac_try;;
3040 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_link_default") 2>&5
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }; then :
3046 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3047 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3048 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3049 # so that the user can short-circuit this test for compilers unknown to
3051 for ac_file
in $ac_files ''
3053 test -f "$ac_file" ||
continue
3055 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3058 # We found the default executable, but exeext='' is most
3062 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3064 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3066 # We set ac_cv_exeext here because the later test for it is not
3067 # safe: cross compilers may not add the suffix if given an `-o'
3068 # argument, so we may need to know it at that point already.
3069 # Even if this section looks crufty: it has the advantage of
3076 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3081 if test -z "$ac_file"; then :
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3084 $as_echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.
$ac_ext >&5
3087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089 as_fn_error
77 "C compiler cannot create executables
3090 See \`config.log' for more details" "$LINENO" 5; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3093 $as_echo "yes" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3096 $as_echo_n "checking for C compiler default output file name... " >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3098 $as_echo "$ac_file" >&6; }
3099 ac_exeext
=$ac_cv_exeext
3101 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3102 ac_clean_files
=$ac_clean_files_save
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3104 $as_echo_n "checking for suffix of executables... " >&6; }
3105 if { { ac_try
="$ac_link"
3107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_link") 2>&5
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }; then :
3116 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3117 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3118 # work properly (i.e., refer to `conftest.exe'), while it won't with
3120 for ac_file
in conftest.exe conftest conftest.
*; do
3121 test -f "$ac_file" ||
continue
3123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3124 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3133 See \`config.log' for more details" "$LINENO" 5; }
3135 rm -f conftest conftest
$ac_cv_exeext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3137 $as_echo "$ac_cv_exeext" >&6; }
3139 rm -f conftest.
$ac_ext
3140 EXEEXT
=$ac_cv_exeext
3142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3148 FILE *f = fopen ("conftest.out", "w");
3149 return ferror (f) || fclose (f) != 0;
3155 ac_clean_files
="$ac_clean_files conftest.out"
3156 # Check that the compiler produces executables we can run. If not, either
3157 # the compiler is broken, or we cross compile.
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3159 $as_echo_n "checking whether we are cross compiling... " >&6; }
3160 if test "$cross_compiling" != yes; then
3161 { { ac_try
="$ac_link"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_link") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }
3172 if { ac_try='./conftest$ac_cv_exeext'
3173 { { case "(($ac_try" in
3174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3175 *) ac_try_echo
=$ac_try;;
3177 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_try") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }; }; then
3185 if test "$cross_compiling" = maybe
; then
3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error $?
"cannot run C compiled programs.
3191 If you meant to cross compile, use \`--host'.
3192 See \`config.log' for more details" "$LINENO" 5; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3197 $as_echo "$cross_compiling" >&6; }
3199 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3200 ac_clean_files
=$ac_clean_files_save
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3202 $as_echo_n "checking for suffix of object files... " >&6; }
3203 if ${ac_cv_objext+:} false
; then :
3204 $as_echo_n "(cached) " >&6
3206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 rm -f conftest.o conftest.obj
3218 if { { ac_try
="$ac_compile"
3220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_compile") 2>&5
3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3228 test $ac_status = 0; }; then :
3229 for ac_file in conftest.o conftest.obj conftest.*; do
3230 test -f "$ac_file" || continue;
3232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3233 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3238 $as_echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3244 See \
`config.log' for more details" "$LINENO" 5; }
3246 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3249 $as_echo "$ac_cv_objext" >&6; }
3250 OBJEXT=$ac_cv_objext
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3253 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3254 if ${ac_cv_c_compiler_gnu+:} false; then :
3255 $as_echo_n "(cached) " >&6
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3271 if ac_fn_c_try_compile "$LINENO"; then :
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3281 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3282 if test $ac_compiler_gnu = yes; then
3287 ac_test_CFLAGS=${CFLAGS+set}
3288 ac_save_CFLAGS=$CFLAGS
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3290 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3291 if ${ac_cv_prog_cc_g+:} false; then :
3292 $as_echo_n "(cached) " >&6
3294 ac_save_c_werror_flag=$ac_c_werror_flag
3295 ac_c_werror_flag=yes
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3309 if ac_fn_c_try_compile "$LINENO"; then :
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 if ac_fn_c_try_compile "$LINENO"; then :
3327 ac_c_werror_flag=$ac_save_c_werror_flag
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 if ac_fn_c_try_compile "$LINENO"; then :
3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3351 $as_echo "$ac_cv_prog_cc_g" >&6; }
3352 if test "$ac_test_CFLAGS" = set; then
3353 CFLAGS=$ac_save_CFLAGS
3354 elif test $ac_cv_prog_cc_g = yes; then
3355 if test "$GCC" = yes; then
3361 if test "$GCC" = yes; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3369 if ${ac_cv_prog_cc_c89+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 ac_cv_prog_cc_c89=no
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 #include <sys/types.h>
3379 #include <sys/stat.h>
3380 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3381 struct buf { int x; };
3382 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3383 static char *e (p, i)
3389 static char *f (char * (*g) (char **, int), char **p, ...)
3394 s = g (p, va_arg (v,int));
3399 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3400 function prototypes and stuff, but not '\xHH' hex character constants.
3401 These don't provoke an error unfortunately, instead are silently treated
3402 as 'x'. The following induces an error, until -std is added to get
3403 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3404 array size at least. It's necessary to write '\x00'==0 to get something
3405 that's true only with -std. */
3406 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3408 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3409 inside strings and character constants. */
3411 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3413 int test (int i, double x);
3414 struct s1 {int (*f) (int a);};
3415 struct s2 {int (*f) (double a);};
3416 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3422 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3427 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3428 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3430 CC="$ac_save_CC $ac_arg"
3431 if ac_fn_c_try_compile "$LINENO"; then :
3432 ac_cv_prog_cc_c89=$ac_arg
3434 rm -f core conftest.err conftest.$ac_objext
3435 test "x$ac_cv_prog_cc_c89" != "xno" && break
3437 rm -f conftest.$ac_ext
3442 case "x$ac_cv_prog_cc_c89" in
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3445 $as_echo "none needed" >&6; } ;;
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3448 $as_echo "unsupported" >&6; } ;;
3450 CC="$CC $ac_cv_prog_cc_c89"
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3452 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3454 if test "x$ac_cv_prog_cc_c89" != xno; then :
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3471 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3472 # On Suns, sometimes $CPP names a directory.
3473 if test -n "$CPP" && test -d "$CPP"; then
3476 if test -z "$CPP"; then
3477 if ${ac_cv_prog_CPP+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 # Double quotes because CPP needs to be expanded
3481 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3484 for ac_c_preproc_warn_flag in '' yes
3486 # Use a header file that comes with gcc, so configuring glibc
3487 # with a fresh cross-compiler works.
3488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3489 # <limits.h> exists even on freestanding compilers.
3490 # On the NeXT, cc -E runs the code through the compiler's parser,
3491 # not just through cpp. "Syntax error" is here to catch this case.
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3495 # include <limits.h>
3497 # include <assert.h>
3501 if ac_fn_c_try_cpp "$LINENO"; then :
3504 # Broken: fails on valid input.
3507 rm -f conftest.err conftest.i conftest.$ac_ext
3509 # OK, works on sane cases. Now check whether nonexistent headers
3510 # can be detected and how.
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3513 #include <ac_nonexistent.h>
3515 if ac_fn_c_try_cpp "$LINENO"; then :
3516 # Broken: success on invalid input.
3519 # Passes both tests.
3523 rm -f conftest.err conftest.i conftest.$ac_ext
3526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3527 rm -f conftest.i conftest.err conftest.
$ac_ext
3528 if $ac_preproc_ok; then :
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3541 $as_echo "$CPP" >&6; }
3543 for ac_c_preproc_warn_flag
in '' yes
3545 # Use a header file that comes with gcc, so configuring glibc
3546 # with a fresh cross-compiler works.
3547 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3548 # <limits.h> exists even on freestanding compilers.
3549 # On the NeXT, cc -E runs the code through the compiler's parser,
3550 # not just through cpp. "Syntax error" is here to catch this case.
3551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3554 # include <limits.h>
3556 # include <assert.h>
3560 if ac_fn_c_try_cpp
"$LINENO"; then :
3563 # Broken: fails on valid input.
3566 rm -f conftest.err conftest.i conftest.
$ac_ext
3568 # OK, works on sane cases. Now check whether nonexistent headers
3569 # can be detected and how.
3570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3572 #include <ac_nonexistent.h>
3574 if ac_fn_c_try_cpp
"$LINENO"; then :
3575 # Broken: success on invalid input.
3578 # Passes both tests.
3582 rm -f conftest.err conftest.i conftest.
$ac_ext
3585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3586 rm -f conftest.i conftest.err conftest.
$ac_ext
3587 if $ac_preproc_ok; then :
3590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3593 See \`config.log' for more details" "$LINENO" 5; }
3597 ac_cpp
='$CPP $CPPFLAGS'
3598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3604 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3605 if ${ac_cv_path_GREP+:} false
; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -z "$GREP"; then
3609 ac_path_GREP_found
=false
3610 # Loop through the user's path and test for each of PROGNAME-LIST
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_prog
in grep ggrep
; do
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3619 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3620 # Check for GNU ac_path_GREP and select it if it is found.
3621 # Check for GNU $ac_path_GREP
3622 case `"$ac_path_GREP" --version 2>&1` in
3624 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3627 $as_echo_n 0123456789 >"conftest.in"
3630 cat "conftest.in" "conftest.in" >"conftest.tmp"
3631 mv "conftest.tmp" "conftest.in"
3632 cp "conftest.in" "conftest.nl"
3633 $as_echo 'GREP' >> "conftest.nl"
3634 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3635 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3636 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3637 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3638 # Best one so far, save it but keep looking for a better one
3639 ac_cv_path_GREP
="$ac_path_GREP"
3640 ac_path_GREP_max
=$ac_count
3642 # 10*(2^10) chars as input seems more than enough
3643 test $ac_count -gt 10 && break
3645 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3648 $ac_path_GREP_found && break 3
3653 if test -z "$ac_cv_path_GREP"; then
3654 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3657 ac_cv_path_GREP
=$GREP
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3662 $as_echo "$ac_cv_path_GREP" >&6; }
3663 GREP
="$ac_cv_path_GREP"
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3667 $as_echo_n "checking for egrep... " >&6; }
3668 if ${ac_cv_path_EGREP+:} false
; then :
3669 $as_echo_n "(cached) " >&6
3671 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3672 then ac_cv_path_EGREP
="$GREP -E"
3674 if test -z "$EGREP"; then
3675 ac_path_EGREP_found
=false
3676 # Loop through the user's path and test for each of PROGNAME-LIST
3677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3678 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3681 test -z "$as_dir" && as_dir
=.
3682 for ac_prog
in egrep; do
3683 for ac_exec_ext
in '' $ac_executable_extensions; do
3684 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3685 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3686 # Check for GNU ac_path_EGREP and select it if it is found.
3687 # Check for GNU $ac_path_EGREP
3688 case `"$ac_path_EGREP" --version 2>&1` in
3690 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3693 $as_echo_n 0123456789 >"conftest.in"
3696 cat "conftest.in" "conftest.in" >"conftest.tmp"
3697 mv "conftest.tmp" "conftest.in"
3698 cp "conftest.in" "conftest.nl"
3699 $as_echo 'EGREP' >> "conftest.nl"
3700 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3701 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3702 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3703 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3704 # Best one so far, save it but keep looking for a better one
3705 ac_cv_path_EGREP
="$ac_path_EGREP"
3706 ac_path_EGREP_max
=$ac_count
3708 # 10*(2^10) chars as input seems more than enough
3709 test $ac_count -gt 10 && break
3711 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3714 $ac_path_EGREP_found && break 3
3719 if test -z "$ac_cv_path_EGREP"; then
3720 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3723 ac_cv_path_EGREP
=$EGREP
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3729 $as_echo "$ac_cv_path_EGREP" >&6; }
3730 EGREP
="$ac_cv_path_EGREP"
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3734 $as_echo_n "checking for ANSI C header files... " >&6; }
3735 if ${ac_cv_header_stdc+:} false
; then :
3736 $as_echo_n "(cached) " >&6
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3753 if ac_fn_c_try_compile
"$LINENO"; then :
3754 ac_cv_header_stdc
=yes
3756 ac_cv_header_stdc
=no
3758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3760 if test $ac_cv_header_stdc = yes; then
3761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3768 $EGREP "memchr" >/dev
/null
2>&1; then :
3771 ac_cv_header_stdc
=no
3777 if test $ac_cv_header_stdc = yes; then
3778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3785 $EGREP "free" >/dev
/null
2>&1; then :
3788 ac_cv_header_stdc
=no
3794 if test $ac_cv_header_stdc = yes; then
3795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3796 if test "$cross_compiling" = yes; then :
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3803 #if ((' ' & 0x0FF) == 0x020)
3804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3807 # define ISLOWER(c) \
3808 (('a' <= (c) && (c) <= 'i') \
3809 || ('j' <= (c) && (c) <= 'r') \
3810 || ('s' <= (c) && (c) <= 'z'))
3811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3819 for (i = 0; i < 256; i++)
3820 if (XOR (islower (i), ISLOWER (i))
3821 || toupper (i) != TOUPPER (i))
3826 if ac_fn_c_try_run
"$LINENO"; then :
3829 ac_cv_header_stdc
=no
3831 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3832 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3838 $as_echo "$ac_cv_header_stdc" >&6; }
3839 if test $ac_cv_header_stdc = yes; then
3841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3846 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3847 inttypes.h stdint.h unistd.h
3849 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3850 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3852 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3853 cat >>confdefs.h
<<_ACEOF
3854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3863 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3864 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3871 if test "$MINIX" = yes; then
3873 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3876 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3879 $as_echo "#define _MINIX 1" >>confdefs.h
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3885 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3886 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3887 $as_echo_n "(cached) " >&6
3889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3892 # define __EXTENSIONS__ 1
3893 $ac_includes_default
3902 if ac_fn_c_try_compile
"$LINENO"; then :
3903 ac_cv_safe_to_define___extensions__
=yes
3905 ac_cv_safe_to_define___extensions__
=no
3907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3910 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3911 test $ac_cv_safe_to_define___extensions__ = yes &&
3912 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3914 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3916 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3918 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3920 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3926 cat >>confdefs.h
<<_ACEOF
3927 #define CANONICAL_TARGET "$target"
3931 cat >>confdefs.h
<<_ACEOF
3932 #define CANONICAL_HOST "$host"
3936 am__api_version
='1.11'
3938 # Find a good install program. We prefer a C program (faster),
3939 # so one script is as good as another. But avoid the broken or
3940 # incompatible versions:
3941 # SysV /etc/install, /usr/sbin/install
3942 # SunOS /usr/etc/install
3943 # IRIX /sbin/install
3945 # AmigaOS /C/install, which installs bootblocks on floppy discs
3946 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3947 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3948 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3949 # OS/2's system install, which has a completely different semantic
3950 # ./install, which can be erroneously created by make from ./install.sh.
3951 # Reject install programs that cannot install multiple files.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3953 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3954 if test -z "$INSTALL"; then
3955 if ${ac_cv_path_install+:} false
; then :
3956 $as_echo_n "(cached) " >&6
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir
=.
3963 # Account for people who put trailing slashes in PATH elements.
3964 case $as_dir/ in #((
3965 .
/ | .
// |
/[cC
]/* | \
3966 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3967 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3970 # OSF1 and SCO ODT 3.0 have their own names for install.
3971 # Don't use installbsd from OSF since it installs stuff as root
3973 for ac_prog
in ginstall scoinst
install; do
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3976 if test $ac_prog = install &&
3977 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3978 # AIX install. It has an incompatible calling convention.
3980 elif test $ac_prog = install &&
3981 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3982 # program-specific install script used by HP pwplus--don't use.
3985 rm -rf conftest.one conftest.two conftest.dir
3986 echo one
> conftest.one
3987 echo two
> conftest.two
3989 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3990 test -s conftest.one
&& test -s conftest.two
&&
3991 test -s conftest.dir
/conftest.one
&&
3992 test -s conftest.dir
/conftest.two
3994 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4007 rm -rf conftest.one conftest.two conftest.dir
4010 if test "${ac_cv_path_install+set}" = set; then
4011 INSTALL
=$ac_cv_path_install
4013 # As a last resort, use the slow shell script. Don't cache a
4014 # value for INSTALL within a source directory, because that will
4015 # break other packages using the cache if that directory is
4016 # removed, or if the value is a relative name.
4017 INSTALL
=$ac_install_sh
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4021 $as_echo "$INSTALL" >&6; }
4023 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4024 # It thinks the first close brace ends the variable substitution.
4025 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4027 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4029 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4032 $as_echo_n "checking whether build environment is sane... " >&6; }
4035 echo timestamp
> conftest.
file
4036 # Reject unsafe characters in $srcdir or the absolute working directory
4037 # name. Accept space and tab only in the latter.
4041 *[\\\"\
#\$\&\'\`$am_lf]*)
4042 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4045 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4046 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4049 # Do `set' in a subshell so we don't clobber the current shell's
4050 # arguments. Must try -L first in case configure is actually a
4051 # symlink; some systems play weird games with the mod time of symlinks
4052 # (eg FreeBSD returns the mod time of the symlink's containing
4055 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4056 if test "$*" = "X"; then
4058 set X
`ls -t "$srcdir/configure" conftest.file`
4061 if test "$*" != "X $srcdir/configure conftest.file" \
4062 && test "$*" != "X conftest.file $srcdir/configure"; then
4064 # If neither matched, then we have a broken ls. This can happen
4065 # if, for instance, CONFIG_SHELL is bash and it inherits a
4066 # broken ls alias from the environment. This has actually
4067 # happened. Such a system could not be considered "sane".
4068 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4069 alias in your environment" "$LINENO" 5
4072 test "$2" = conftest.
file
4078 as_fn_error $?
"newly created file is older than distributed files!
4079 Check your system clock" "$LINENO" 5
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4082 $as_echo "yes" >&6; }
4083 test "$program_prefix" != NONE
&&
4084 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4085 # Use a double $ so make ignores it.
4086 test "$program_suffix" != NONE
&&
4087 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4088 # Double any \ or $.
4089 # By default was `s,x,x', remove it if useless.
4090 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4091 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4093 # expand $ac_aux_dir to an absolute path
4094 am_aux_dir
=`cd $ac_aux_dir && pwd`
4096 if test x
"${MISSING+set}" != xset
; then
4099 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4101 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4104 # Use eval to expand $SHELL
4105 if eval "$MISSING --run true"; then
4106 am_missing_run
="$MISSING --run "
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4110 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4113 if test x
"${install_sh}" != xset
; then
4116 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4118 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4122 # Installed binaries are usually stripped using `strip' when the user
4123 # run `make install-strip'. However `strip' might not be the right
4124 # tool to use in cross-compilation environments, therefore Automake
4125 # will honor the `STRIP' environment variable to overrule this program.
4126 if test "$cross_compiling" != no
; then
4127 if test -n "$ac_tool_prefix"; then
4128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4129 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_STRIP+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -n "$STRIP"; then
4136 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir
=.
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4145 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 STRIP
=$ac_cv_prog_STRIP
4156 if test -n "$STRIP"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4158 $as_echo "$STRIP" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4166 if test -z "$ac_cv_prog_STRIP"; then
4168 # Extract the first word of "strip", so it can be a program name with args.
4169 set dummy strip
; ac_word
=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$ac_ct_STRIP"; then
4176 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185 ac_cv_prog_ac_ct_STRIP
="strip"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4196 if test -n "$ac_ct_STRIP"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4198 $as_echo "$ac_ct_STRIP" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4204 if test "x$ac_ct_STRIP" = x
; then
4207 case $cross_compiling:$ac_tool_warned in
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4211 ac_tool_warned
=yes ;;
4216 STRIP
="$ac_cv_prog_STRIP"
4220 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4223 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4224 if test -z "$MKDIR_P"; then
4225 if ${ac_cv_path_mkdir+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_prog
in mkdir gmkdir
; do
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4236 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4237 'mkdir (GNU coreutils) '* | \
4238 'mkdir (coreutils) '* | \
4239 'mkdir (fileutils) '4.1*)
4240 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4250 test -d .
/--version && rmdir .
/--version
4251 if test "${ac_cv_path_mkdir+set}" = set; then
4252 MKDIR_P
="$ac_cv_path_mkdir -p"
4254 # As a last resort, use the slow shell script. Don't cache a
4255 # value for MKDIR_P within a source directory, because that will
4256 # break other packages using the cache if that directory is
4257 # removed, or if the value is a relative name.
4258 MKDIR_P
="$ac_install_sh -d"
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4262 $as_echo "$MKDIR_P" >&6; }
4266 [\\/$
]* | ?
:[\\/]*) ;;
4267 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4270 for ac_prog
in gawk mawk nawk
awk
4272 # Extract the first word of "$ac_prog", so it can be a program name with args.
4273 set dummy
$ac_prog; ac_word
=$2
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4275 $as_echo_n "checking for $ac_word... " >&6; }
4276 if ${ac_cv_prog_AWK+:} false
; then :
4277 $as_echo_n "(cached) " >&6
4279 if test -n "$AWK"; then
4280 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_exec_ext
in '' $ac_executable_extensions; do
4288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4289 ac_cv_prog_AWK
="$ac_prog"
4290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 if test -n "$AWK"; then
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4302 $as_echo "$AWK" >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4309 test -n "$AWK" && break
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4315 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4316 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4317 $as_echo_n "(cached) " >&6
4319 cat >conftest.
make <<\_ACEOF
4322 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4324 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4325 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4327 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4329 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4333 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4335 $as_echo "yes" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4340 SET_MAKE
="MAKE=${MAKE-make}"
4343 rm -rf .tst
2>/dev
/null
4344 mkdir .tst
2>/dev
/null
4345 if test -d .tst
; then
4350 rmdir .tst
2>/dev
/null
4352 DEPDIR
="${am__leading_dot}deps"
4354 ac_config_commands
="$ac_config_commands depfiles"
4357 am_make
=${MAKE-make}
4358 cat > confinc
<< 'END'
4360 @
echo this is the am__doit target
4363 # If we don't find an include directive, just comment out the code.
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4365 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4369 # First try GNU make style include.
4370 echo "include confinc" > confmf
4371 # Ignore all kinds of additional output from `make'.
4372 case `$am_make -s -f confmf 2> /dev/null` in #(
4373 *the\ am__doit\ target
*)
4379 # Now try BSD make style include.
4380 if test "$am__include" = "#"; then
4381 echo '.include "confinc"' > confmf
4382 case `$am_make -s -f confmf 2> /dev/null` in #(
4383 *the\ am__doit\ target
*)
4384 am__include
=.include
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4393 $as_echo "$_am_result" >&6; }
4394 rm -f confinc confmf
4396 # Check whether --enable-dependency-tracking was given.
4397 if test "${enable_dependency_tracking+set}" = set; then :
4398 enableval
=$enable_dependency_tracking;
4401 if test "x$enable_dependency_tracking" != xno
; then
4402 am_depcomp
="$ac_aux_dir/depcomp"
4405 if test "x$enable_dependency_tracking" != xno; then
4414 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4415 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4416 # is not polluted with repeated "-I."
4417 am__isrc
=' -I$(srcdir)'
4418 # test to see if srcdir already configured
4419 if test -f $srcdir/config.status
; then
4420 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4424 # test whether we have cygpath
4425 if test -z "$CYGPATH_W"; then
4426 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4427 CYGPATH_W
='cygpath -w'
4434 # Define the identity of the package.
4439 cat >>confdefs.h
<<_ACEOF
4440 #define PACKAGE "$PACKAGE"
4444 cat >>confdefs.h
<<_ACEOF
4445 #define VERSION "$VERSION"
4448 # Some tools Automake needs.
4450 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4453 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4456 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4459 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4462 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4464 # We need awk for the "check" target. The system "awk" is bad on
4466 # Always define AMTAR for backward compatibility.
4468 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4470 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4475 depcc
="$CC" am_compiler_list
=
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4478 $as_echo_n "checking dependency style of $depcc... " >&6; }
4479 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4483 # We make a subdir and do the tests there. Otherwise we can end up
4484 # making bogus files that we don't know about and never remove. For
4485 # instance it was reported that on HP-UX the gcc test will end up
4486 # making a dummy file named `D' -- because `-MD' means `put the output
4489 # Copy depcomp to subdir because otherwise we won't find it if we're
4490 # using a relative directory.
4491 cp "$am_depcomp" conftest.dir
4493 # We will build objects and dependencies in a subdirectory because
4494 # it helps to detect inapplicable dependency modes. For instance
4495 # both Tru64's cc and ICC support -MD to output dependencies as a
4496 # side effect of compilation, but ICC will put the dependencies in
4497 # the current directory while Tru64 will put them in the object
4501 am_cv_CC_dependencies_compiler_type
=none
4502 if test "$am_compiler_list" = ""; then
4503 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4506 case " $depcc " in #(
4507 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4510 for depmode
in $am_compiler_list; do
4511 # Setup a source with many dependencies, because some compilers
4512 # like to wrap large dependency lists on column 80 (with \), and
4513 # we should not choose a depcomp mode which is confused by this.
4515 # We need to recreate these files for each test, as the compiler may
4516 # overwrite some of them when testing with obscure command lines.
4517 # This happens at least with the AIX C compiler.
4519 for i
in 1 2 3 4 5 6; do
4520 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4521 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4522 # Solaris 8's {/usr,}/bin/sh.
4523 touch sub
/conftst
$i.h
4525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4527 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4528 # mode. It turns out that the SunPro C++ compiler does not properly
4529 # handle `-M -o', and we need to detect this. Also, some Intel
4530 # versions had trouble with output in subdirs
4531 am__obj
=sub
/conftest.
${OBJEXT-o}
4532 am__minus_obj
="-o $am__obj"
4535 # This depmode causes a compiler race in universal mode.
4536 test "$am__universal" = false ||
continue
4539 # after this tag, mechanisms are not by side-effect, so they'll
4540 # only be used when explicitly requested
4541 if test "x$enable_dependency_tracking" = xyes
; then
4547 msvisualcpp | msvcmsys
)
4548 # This compiler won't grok `-c -o', but also, the minuso test has
4549 # not run yet. These depmodes are late enough in the game, and
4550 # so weak that their functioning should not be impacted.
4551 am__obj
=conftest.
${OBJEXT-o}
4556 if depmode
=$depmode \
4557 source=sub
/conftest.c object
=$am__obj \
4558 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4559 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4560 >/dev
/null
2>conftest.err
&&
4561 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4562 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4563 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4564 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4565 # icc doesn't choke on unknown options, it will just issue warnings
4566 # or remarks (even with -Werror). So we grep stderr for any message
4567 # that says an option was ignored or not supported.
4568 # When given -MP, icc 7.0 and 7.1 complain thusly:
4569 # icc: Command line warning: ignoring option '-M'; no argument required
4570 # The diagnosis changed in icc 8.0:
4571 # icc: Command line remark: option '-MP' not supported
4572 if (grep 'ignoring option' conftest.err ||
4573 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4574 am_cv_CC_dependencies_compiler_type
=$depmode
4583 am_cv_CC_dependencies_compiler_type
=none
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4589 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4592 test "x$enable_dependency_tracking" != xno \
4593 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4595 am__fastdepCC_FALSE
='#'
4597 am__fastdepCC_TRUE
='#'
4598 am__fastdepCC_FALSE
=
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4607 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4613 macro_revision
='1.3293'
4627 ltmain
="$ac_aux_dir/ltmain.sh"
4629 # Backslashify metacharacters that are still active within
4630 # double-quoted strings.
4631 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4633 # Same as above, but do not quote variable references.
4634 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4636 # Sed substitution to delay expansion of an escaped shell variable in a
4637 # double_quote_subst'ed string.
4638 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4640 # Sed substitution to delay expansion of an escaped single quote.
4641 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4643 # Sed substitution to avoid accidental globbing in evaled expressions
4644 no_glob_subst
='s/\*/\\\*/g'
4646 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4647 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4648 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4651 $as_echo_n "checking how to print strings... " >&6; }
4652 # Test print first, because it will be a builtin if present.
4653 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4654 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4656 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4659 # Use this function as a fallback that always works.
4660 func_fallback_echo ()
4662 eval 'cat <<_LTECHO_EOF
4666 ECHO='func_fallback_echo
'
4669 # func_echo_all arg...
4670 # Invoke $ECHO with all args, space-separated.
4677 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4678 $as_echo "printf" >&6; } ;;
4679 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4680 $as_echo "print -r" >&6; } ;;
4681 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4682 $as_echo "cat" >&6; } ;;
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4699 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4700 if ${ac_cv_path_SED+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4704 for ac_i in 1 2 3 4 5 6 7; do
4705 ac_script="$ac_script$as_nl$ac_script"
4707 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4708 { ac_script=; unset ac_script;}
4709 if test -z "$SED"; then
4710 ac_path_SED_found=false
4711 # Loop through the user's path and
test for each of PROGNAME-LIST
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir
=.
4717 for ac_prog
in sed gsed
; do
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4720 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4721 # Check for GNU ac_path_SED and select it if it is found.
4722 # Check for GNU $ac_path_SED
4723 case `"$ac_path_SED" --version 2>&1` in
4725 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4728 $as_echo_n 0123456789 >"conftest.in"
4731 cat "conftest.in" "conftest.in" >"conftest.tmp"
4732 mv "conftest.tmp" "conftest.in"
4733 cp "conftest.in" "conftest.nl"
4734 $as_echo '' >> "conftest.nl"
4735 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4736 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4737 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4738 if test $ac_count -gt ${ac_path_SED_max-0}; then
4739 # Best one so far, save it but keep looking for a better one
4740 ac_cv_path_SED
="$ac_path_SED"
4741 ac_path_SED_max
=$ac_count
4743 # 10*(2^10) chars as input seems more than enough
4744 test $ac_count -gt 10 && break
4746 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4749 $ac_path_SED_found && break 3
4754 if test -z "$ac_cv_path_SED"; then
4755 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4763 $as_echo "$ac_cv_path_SED" >&6; }
4764 SED
="$ac_cv_path_SED"
4767 test -z "$SED" && SED
=sed
4768 Xsed
="$SED -e 1s/^X//"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4781 $as_echo_n "checking for fgrep... " >&6; }
4782 if ${ac_cv_path_FGREP+:} false
; then :
4783 $as_echo_n "(cached) " >&6
4785 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4786 then ac_cv_path_FGREP
="$GREP -F"
4788 if test -z "$FGREP"; then
4789 ac_path_FGREP_found
=false
4790 # Loop through the user's path and test for each of PROGNAME-LIST
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_prog
in fgrep
; do
4797 for ac_exec_ext
in '' $ac_executable_extensions; do
4798 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4799 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4800 # Check for GNU ac_path_FGREP and select it if it is found.
4801 # Check for GNU $ac_path_FGREP
4802 case `"$ac_path_FGREP" --version 2>&1` in
4804 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4807 $as_echo_n 0123456789 >"conftest.in"
4810 cat "conftest.in" "conftest.in" >"conftest.tmp"
4811 mv "conftest.tmp" "conftest.in"
4812 cp "conftest.in" "conftest.nl"
4813 $as_echo 'FGREP' >> "conftest.nl"
4814 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4815 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4816 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4817 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4818 # Best one so far, save it but keep looking for a better one
4819 ac_cv_path_FGREP
="$ac_path_FGREP"
4820 ac_path_FGREP_max
=$ac_count
4822 # 10*(2^10) chars as input seems more than enough
4823 test $ac_count -gt 10 && break
4825 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4828 $ac_path_FGREP_found && break 3
4833 if test -z "$ac_cv_path_FGREP"; then
4834 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4837 ac_cv_path_FGREP
=$FGREP
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4843 $as_echo "$ac_cv_path_FGREP" >&6; }
4844 FGREP
="$ac_cv_path_FGREP"
4847 test -z "$GREP" && GREP
=grep
4867 # Check whether --with-gnu-ld was given.
4868 if test "${with_gnu_ld+set}" = set; then :
4869 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4875 if test "$GCC" = yes; then
4876 # Check if gcc -print-prog-name=ld gives a path.
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4878 $as_echo_n "checking for ld used by $CC... " >&6; }
4881 # gcc leaves a trailing carriage return which upsets mingw
4882 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4884 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4887 # Accept absolute paths.
4889 re_direlt
='/[^/][^/]*/\.\./'
4890 # Canonicalize the pathname of ld
4891 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4892 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4893 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4895 test -z "$LD" && LD
="$ac_prog"
4898 # If it fails, then pretend we aren't using GCC.
4902 # If it is relative, then search for the first ld in PATH.
4906 elif test "$with_gnu_ld" = yes; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4908 $as_echo_n "checking for GNU ld... " >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4911 $as_echo_n "checking for non-GNU ld... " >&6; }
4913 if ${lt_cv_path_LD+:} false
; then :
4914 $as_echo_n "(cached) " >&6
4916 if test -z "$LD"; then
4917 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4918 for ac_dir
in $PATH; do
4920 test -z "$ac_dir" && ac_dir
=.
4921 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4922 lt_cv_path_LD
="$ac_dir/$ac_prog"
4923 # Check to see if the program is GNU ld. I'd rather use --version,
4924 # but apparently some variants of GNU ld only accept -v.
4925 # Break only if it was the GNU/non-GNU ld that we prefer.
4926 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4927 *GNU
* |
*'with BFD'*)
4928 test "$with_gnu_ld" != no
&& break
4931 test "$with_gnu_ld" != yes && break
4938 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4943 if test -n "$LD"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4945 $as_echo "$LD" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4950 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4952 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4953 if ${lt_cv_prog_gnu_ld+:} false
; then :
4954 $as_echo_n "(cached) " >&6
4956 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4957 case `$LD -v 2>&1 </dev/null` in
4958 *GNU
* |
*'with BFD'*)
4959 lt_cv_prog_gnu_ld
=yes
4962 lt_cv_prog_gnu_ld
=no
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4967 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4968 with_gnu_ld
=$lt_cv_prog_gnu_ld
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4979 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4980 if ${lt_cv_path_NM+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$NM"; then
4984 # Let the user override the test.
4987 lt_nm_to_check
="${ac_tool_prefix}nm"
4988 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4989 lt_nm_to_check
="$lt_nm_to_check nm"
4991 for lt_tmp_nm
in $lt_nm_to_check; do
4992 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4993 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4995 test -z "$ac_dir" && ac_dir
=.
4996 tmp_nm
="$ac_dir/$lt_tmp_nm"
4997 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4998 # Check to see if the nm accepts a BSD-compat flag.
4999 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5000 # nm: unknown option "B" ignored
5001 # Tru64's nm complains that /dev/null is an invalid object file
5002 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5003 */dev
/null
* |
*'Invalid file or object type'*)
5004 lt_cv_path_NM
="$tmp_nm -B"
5008 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5010 lt_cv_path_NM
="$tmp_nm -p"
5014 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5015 continue # so that we can try to find one that supports BSD flags
5024 : ${lt_cv_path_NM=no}
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5028 $as_echo "$lt_cv_path_NM" >&6; }
5029 if test "$lt_cv_path_NM" != "no"; then
5032 # Didn't find any BSD compatible name lister, look for dumpbin.
5033 if test -n "$DUMPBIN"; then :
5034 # Let the user override the test.
5036 if test -n "$ac_tool_prefix"; then
5037 for ac_prog
in dumpbin
"link -dump"
5039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5040 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$DUMPBIN"; then
5047 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 DUMPBIN
=$ac_cv_prog_DUMPBIN
5067 if test -n "$DUMPBIN"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5069 $as_echo "$DUMPBIN" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5076 test -n "$DUMPBIN" && break
5079 if test -z "$DUMPBIN"; then
5080 ac_ct_DUMPBIN
=$DUMPBIN
5081 for ac_prog
in dumpbin
"link -dump"
5083 # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy
$ac_prog; ac_word
=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$ac_ct_DUMPBIN"; then
5091 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5100 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5111 if test -n "$ac_ct_DUMPBIN"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5113 $as_echo "$ac_ct_DUMPBIN" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5120 test -n "$ac_ct_DUMPBIN" && break
5123 if test "x$ac_ct_DUMPBIN" = x
; then
5126 case $cross_compiling:$ac_tool_warned in
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5130 ac_tool_warned
=yes ;;
5132 DUMPBIN
=$ac_ct_DUMPBIN
5136 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5138 DUMPBIN
="$DUMPBIN -symbols"
5146 if test "$DUMPBIN" != ":"; then
5150 test -z "$NM" && NM
=nm
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5158 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5159 if ${lt_cv_nm_interface+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5162 lt_cv_nm_interface
="BSD nm"
5163 echo "int some_variable = 0;" > conftest.
$ac_ext
5164 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5165 (eval "$ac_compile" 2>conftest.err
)
5166 cat conftest.err
>&5
5167 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5168 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5169 cat conftest.err
>&5
5170 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5171 cat conftest.out
>&5
5172 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5173 lt_cv_nm_interface
="MS dumpbin"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5178 $as_echo "$lt_cv_nm_interface" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5181 $as_echo_n "checking whether ln -s works... " >&6; }
5183 if test "$LN_S" = "ln -s"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5185 $as_echo "yes" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5188 $as_echo "no, using $LN_S" >&6; }
5191 # find the maximum length of command line arguments
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5193 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5194 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5195 $as_echo_n "(cached) " >&6
5202 # On DJGPP, this test can blow up pretty badly due to problems in libc
5203 # (any single argument exceeding 2000 bytes causes a buffer overrun
5204 # during glob expansion). Even if it were fixed, the result of this
5205 # check would be larger than it should be.
5206 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5210 # Under GNU Hurd, this test is not required because there is
5211 # no limit to the length of command line arguments.
5212 # Libtool will interpret -1 as no limit whatsoever
5213 lt_cv_sys_max_cmd_len
=-1;
5216 cygwin
* | mingw
* | cegcc
*)
5217 # On Win9x/ME, this test blows up -- it succeeds, but takes
5218 # about 5 minutes as the teststring grows exponentially.
5219 # Worse, since 9x/ME are not pre-emptively multitasking,
5220 # you end up with a "frozen" computer, even though with patience
5221 # the test eventually succeeds (with a max line length of 256k).
5222 # Instead, let's just punt: use the minimum linelength reported by
5223 # all of the supported platforms: 8192 (on NT/2K/XP).
5224 lt_cv_sys_max_cmd_len
=8192;
5228 # On MiNT this can take a long time and run out of memory.
5229 lt_cv_sys_max_cmd_len
=8192;
5233 # On AmigaOS with pdksh, this test takes hours, literally.
5234 # So we just punt and use a minimum line length of 8192.
5235 lt_cv_sys_max_cmd_len
=8192;
5238 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5239 # This has been around since 386BSD, at least. Likely further.
5240 if test -x /sbin
/sysctl
; then
5241 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5242 elif test -x /usr
/sbin
/sysctl
; then
5243 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5245 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5247 # And add a safety zone
5248 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5249 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5253 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5254 lt_cv_sys_max_cmd_len
=196608
5258 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5259 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5260 # nice to cause kernel panics so lets avoid the loop below.
5261 # First set a reasonable default.
5262 lt_cv_sys_max_cmd_len
=16384
5264 if test -x /sbin
/sysconfig
; then
5265 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5266 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5271 lt_cv_sys_max_cmd_len
=102400
5273 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5274 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5275 if test -n "$kargmax"; then
5276 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5278 lt_cv_sys_max_cmd_len
=32768
5282 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5283 if test -n "$lt_cv_sys_max_cmd_len"; then
5284 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5285 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5287 # Make teststring a little bigger before we do anything with it.
5288 # a 1K string should be a reasonable start.
5289 for i
in 1 2 3 4 5 6 7 8 ; do
5290 teststring
=$teststring$teststring
5292 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5293 # If test is not a shell built-in, we'll probably end up computing a
5294 # maximum length that is only half of the actual maximum length, but
5296 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5297 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5298 test $i != 17 # 1/2 MB should be enough
5301 teststring
=$teststring$teststring
5303 # Only check the string length outside the loop.
5304 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5306 # Add a significant safety factor because C++ compilers can tack on
5307 # massive amounts of additional arguments before passing them to the
5308 # linker. It appears as though 1/2 is a usable value.
5309 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5316 if test -n $lt_cv_sys_max_cmd_len ; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5318 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5321 $as_echo "none" >&6; }
5323 max_cmd_len
=$lt_cv_sys_max_cmd_len
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5335 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5336 # Try some XSI features
5339 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5341 && eval 'test $(( 1 + 1 )) -eq 2 \
5342 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5345 $as_echo "$xsi_shell" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5349 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5351 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5353 && lt_shell_append=yes
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5355 $as_echo "$lt_shell_append" >&6; }
5358 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5368 # test EBCDIC or ASCII
5369 case `echo X|tr X '\101'` in
5370 A) # ASCII based system
5371 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5372 lt_SP2NL='tr \040 \012'
5373 lt_NL2SP='tr \015\012 \040\040'
5375 *) # EBCDIC based system
5376 lt_SP2NL='tr \100 \n'
5377 lt_NL2SP='tr \r\n \100\100'
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5390 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5391 if ${lt_cv_to_host_file_cmd+:} false; then :
5392 $as_echo_n "(cached
) " >&6
5397 *-*-mingw* ) # actually msys
5398 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5401 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5403 * ) # otherwise, assume *nix
5404 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5410 *-*-mingw* ) # actually msys
5411 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5414 lt_cv_to_host_file_cmd=func_convert_file_noop
5416 * ) # otherwise, assume *nix
5417 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5421 * ) # unhandled hosts (and "normal
" native builds)
5422 lt_cv_to_host_file_cmd=func_convert_file_noop
5428 to_host_file_cmd=$lt_cv_to_host_file_cmd
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5430 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5437 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5438 if ${lt_cv_to_tool_file_cmd+:} false; then :
5439 $as_echo_n "(cached
) " >&6
5441 #assume ordinary cross tools, or native build.
5442 lt_cv_to_tool_file_cmd=func_convert_file_noop
5446 *-*-mingw* ) # actually msys
5447 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5455 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5457 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5464 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5465 if ${lt_cv_ld_reload_flag+:} false; then :
5466 $as_echo_n "(cached
) " >&6
5468 lt_cv_ld_reload_flag='-r'
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5471 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5472 reload_flag=$lt_cv_ld_reload_flag
5473 case $reload_flag in
5475 *) reload_flag=" $reload_flag" ;;
5477 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5479 cygwin* | mingw* | pw32* | cegcc*)
5480 if test "$GCC" != yes; then
5485 if test "$GCC" = yes; then
5486 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5488 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5501 if test -n "$ac_tool_prefix"; then
5502 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5503 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5505 $as_echo_n "checking
for $ac_word...
" >&6; }
5506 if ${ac_cv_prog_OBJDUMP+:} false; then :
5507 $as_echo_n "(cached
) " >&6
5509 if test -n "$OBJDUMP"; then
5510 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5519 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5529 OBJDUMP=$ac_cv_prog_OBJDUMP
5530 if test -n "$OBJDUMP"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5532 $as_echo "$OBJDUMP" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5535 $as_echo "no
" >&6; }
5540 if test -z "$ac_cv_prog_OBJDUMP"; then
5541 ac_ct_OBJDUMP=$OBJDUMP
5542 # Extract the first word of "objdump
", so it can be a program name with args.
5543 set dummy objdump; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5545 $as_echo_n "checking
for $ac_word...
" >&6; }
5546 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5547 $as_echo_n "(cached
) " >&6
5549 if test -n "$ac_ct_OBJDUMP"; then
5550 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5559 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5569 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5570 if test -n "$ac_ct_OBJDUMP"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5572 $as_echo "$ac_ct_OBJDUMP" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5575 $as_echo "no
" >&6; }
5578 if test "x
$ac_ct_OBJDUMP" = x; then
5581 case $cross_compiling:$ac_tool_warned in
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5584 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5585 ac_tool_warned=yes ;;
5587 OBJDUMP=$ac_ct_OBJDUMP
5590 OBJDUMP="$ac_cv_prog_OBJDUMP"
5593 test -z "$OBJDUMP" && OBJDUMP=objdump
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5604 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5605 if ${lt_cv_deplibs_check_method+:} false; then :
5606 $as_echo_n "(cached
) " >&6
5608 lt_cv_file_magic_cmd='$MAGIC_CMD'
5609 lt_cv_file_magic_test_file=
5610 lt_cv_deplibs_check_method='unknown'
5611 # Need to set the preceding variable on all platforms that support
5612 # interlibrary dependencies.
5613 # 'none' -- dependencies not supported.
5614 # `unknown' -- same as none, but documents that we really don't know.
5615 # 'pass_all' -- all dependencies passed with no checks.
5616 # 'test_compile' -- check by making test program.
5617 # 'file_magic [[regex]]' -- check by looking for files in library path
5618 # which responds to the $file_magic_cmd with a given extended regex.
5619 # If you have `file' or equivalent on your system and you're not sure
5620 # whether `pass_all' will *always* work, you probably want this one.
5624 lt_cv_deplibs_check_method=pass_all
5628 lt_cv_deplibs_check_method=pass_all
5632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5633 lt_cv_file_magic_cmd='/usr/bin/file -L'
5634 lt_cv_file_magic_test_file=/shlib/libc.so
5638 # func_win32_libid is a shell function defined in ltmain.sh
5639 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5640 lt_cv_file_magic_cmd='func_win32_libid'
5644 # Base MSYS/MinGW do not provide the 'file' command needed by
5645 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5646 # unless we find 'file', for example because we are cross-compiling.
5647 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5648 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5649 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5650 lt_cv_file_magic_cmd='func_win32_libid'
5652 # Keep this pattern in sync with the one in func_win32_libid.
5653 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5654 lt_cv_file_magic_cmd='$OBJDUMP -f'
5659 # use the weaker test based on 'objdump'. See mingw*.
5660 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5661 lt_cv_file_magic_cmd='$OBJDUMP -f'
5664 darwin* | rhapsody*)
5665 lt_cv_deplibs_check_method=pass_all
5668 freebsd* | dragonfly*)
5669 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5672 # Not sure whether the presence of OpenBSD here was a mistake.
5673 # Let's accept both of them until this is cleared up.
5674 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5675 lt_cv_file_magic_cmd=/usr/bin/file
5676 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5680 lt_cv_deplibs_check_method=pass_all
5685 lt_cv_deplibs_check_method=pass_all
5689 lt_cv_deplibs_check_method=pass_all
5692 hpux10.20* | hpux11*)
5693 lt_cv_file_magic_cmd=/usr/bin/file
5696 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5697 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5700 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]'
5701 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5704 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5705 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5711 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5712 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5715 irix5* | irix6* | nonstopux*)
5717 *-32|*"-32 ") libmagic=32-bit;;
5718 *-n32|*"-n32 ") libmagic=N32;;
5719 *-64|*"-64 ") libmagic=64-bit;;
5720 *) libmagic=never-match;;
5722 lt_cv_deplibs_check_method=pass_all
5725 # This must be Linux ELF.
5726 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5727 lt_cv_deplibs_check_method=pass_all
5731 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5732 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5739 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5740 lt_cv_file_magic_cmd=/usr/bin/file
5741 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5745 lt_cv_deplibs_check_method=pass_all
5749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5752 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5756 osf3* | osf4* | osf5*)
5757 lt_cv_deplibs_check_method=pass_all
5761 lt_cv_deplibs_check_method=pass_all
5765 lt_cv_deplibs_check_method=pass_all
5768 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5769 lt_cv_deplibs_check_method=pass_all
5773 case $host_vendor in
5775 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]'
5776 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5779 lt_cv_deplibs_check_method=pass_all
5782 lt_cv_file_magic_cmd='/bin/file'
5783 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5786 lt_cv_file_magic_cmd='/bin/file'
5787 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5788 lt_cv_file_magic_test_file=/lib/libc.so
5791 lt_cv_deplibs_check_method=pass_all
5794 lt_cv_deplibs_check_method=pass_all
5800 lt_cv_deplibs_check_method=pass_all
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5806 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5810 if test "$build" = "$host"; then
5813 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5816 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5822 file_magic_cmd=$lt_cv_file_magic_cmd
5823 deplibs_check_method=$lt_cv_deplibs_check_method
5824 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5851 $as_echo_n "checking
for $ac_word...
" >&6; }
5852 if ${ac_cv_prog_DLLTOOL+:} false; then :
5853 $as_echo_n "(cached
) " >&6
5855 if test -n "$DLLTOOL"; then
5856 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5875 DLLTOOL=$ac_cv_prog_DLLTOOL
5876 if test -n "$DLLTOOL"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5878 $as_echo "$DLLTOOL" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5881 $as_echo "no
" >&6; }
5886 if test -z "$ac_cv_prog_DLLTOOL"; then
5887 ac_ct_DLLTOOL=$DLLTOOL
5888 # Extract the first word of "dlltool
", so it can be a program name with args.
5889 set dummy dlltool; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5891 $as_echo_n "checking
for $ac_word...
" >&6; }
5892 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5893 $as_echo_n "(cached
) " >&6
5895 if test -n "$ac_ct_DLLTOOL"; then
5896 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5915 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5916 if test -n "$ac_ct_DLLTOOL"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5918 $as_echo "$ac_ct_DLLTOOL" >&6; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5921 $as_echo "no
" >&6; }
5924 if test "x
$ac_ct_DLLTOOL" = x; then
5927 case $cross_compiling:$ac_tool_warned in
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5930 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5931 ac_tool_warned=yes ;;
5933 DLLTOOL=$ac_ct_DLLTOOL
5936 DLLTOOL="$ac_cv_prog_DLLTOOL"
5939 test -z "$DLLTOOL" && DLLTOOL=dlltool
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5951 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5952 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5953 $as_echo_n "(cached
) " >&6
5955 lt_cv_sharedlib_from_linklib_cmd='unknown'
5958 cygwin* | mingw* | pw32* | cegcc*)
5959 # two different shell functions defined in ltmain.sh
5960 # decide which to use based on capabilities of $DLLTOOL
5961 case `$DLLTOOL --help 2>&1` in
5962 *--identify-strict*)
5963 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5966 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5971 # fallback: assume linklib IS sharedlib
5972 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5978 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5979 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5980 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5988 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5994 $as_echo_n "checking
for $ac_word...
" >&6; }
5995 if ${ac_cv_prog_AR+:} false; then :
5996 $as_echo_n "(cached
) " >&6
5998 if test -n "$AR"; then
5999 ac_cv_prog_AR="$AR" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6019 if test -n "$AR"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6021 $as_echo "$AR" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6024 $as_echo "no
" >&6; }
6028 test -n "$AR" && break
6031 if test -z "$AR"; then
6035 # Extract the first word of "$ac_prog", so it can be a program name with args.
6036 set dummy $ac_prog; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6038 $as_echo_n "checking
for $ac_word...
" >&6; }
6039 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6040 $as_echo_n "(cached
) " >&6
6042 if test -n "$ac_ct_AR"; then
6043 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6052 ac_cv_prog_ac_ct_AR="$ac_prog"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6062 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6063 if test -n "$ac_ct_AR"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6065 $as_echo "$ac_ct_AR" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6068 $as_echo "no
" >&6; }
6072 test -n "$ac_ct_AR" && break
6075 if test "x
$ac_ct_AR" = x; then
6078 case $cross_compiling:$ac_tool_warned in
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6081 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6082 ac_tool_warned=yes ;;
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6102 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6103 if ${lt_cv_ar_at_file+:} false; then :
6104 $as_echo_n "(cached
) " >&6
6107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6118 if ac_fn_c_try_compile "$LINENO"; then :
6119 echo conftest.$ac_objext > conftest.lst
6120 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6121 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6122 (eval $lt_ar_try) 2>&5
6124 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6125 test $ac_status = 0; }
6126 if test "$ac_status" -eq 0; then
6127 # Ensure the archiver fails upon bogus file names.
6128 rm -f conftest.$ac_objext libconftest.a
6129 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6130 (eval $lt_ar_try) 2>&5
6132 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6133 test $ac_status = 0; }
6134 if test "$ac_status" -ne 0; then
6138 rm -f conftest.* libconftest.a
6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6145 $as_echo "$lt_cv_ar_at_file" >&6; }
6147 if test "x
$lt_cv_ar_at_file" = xno; then
6150 archiver_list_spec=$lt_cv_ar_at_file
6159 if test -n "$ac_tool_prefix"; then
6160 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6161 set dummy ${ac_tool_prefix}strip; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6163 $as_echo_n "checking
for $ac_word...
" >&6; }
6164 if ${ac_cv_prog_STRIP+:} false; then :
6165 $as_echo_n "(cached
) " >&6
6167 if test -n "$STRIP"; then
6168 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir=.
6175 for ac_exec_ext in '' $ac_executable_extensions; do
6176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6187 STRIP=$ac_cv_prog_STRIP
6188 if test -n "$STRIP"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6190 $as_echo "$STRIP" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6193 $as_echo "no
" >&6; }
6198 if test -z "$ac_cv_prog_STRIP"; then
6200 # Extract the first word of "strip
", so it can be a program name with args.
6201 set dummy strip; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6203 $as_echo_n "checking
for $ac_word...
" >&6; }
6204 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6205 $as_echo_n "(cached
) " >&6
6207 if test -n "$ac_ct_STRIP"; then
6208 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6217 ac_cv_prog_ac_ct_STRIP="strip
"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6227 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6228 if test -n "$ac_ct_STRIP"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6230 $as_echo "$ac_ct_STRIP" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6233 $as_echo "no
" >&6; }
6236 if test "x
$ac_ct_STRIP" = x; then
6239 case $cross_compiling:$ac_tool_warned in
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6243 ac_tool_warned=yes ;;
6248 STRIP="$ac_cv_prog_STRIP"
6251 test -z "$STRIP" && STRIP=:
6258 if test -n "$ac_tool_prefix"; then
6259 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6260 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6262 $as_echo_n "checking
for $ac_word...
" >&6; }
6263 if ${ac_cv_prog_RANLIB+:} false; then :
6264 $as_echo_n "(cached
) " >&6
6266 if test -n "$RANLIB"; then
6267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6276 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6286 RANLIB=$ac_cv_prog_RANLIB
6287 if test -n "$RANLIB"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6289 $as_echo "$RANLIB" >&6; }
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6292 $as_echo "no
" >&6; }
6297 if test -z "$ac_cv_prog_RANLIB"; then
6298 ac_ct_RANLIB=$RANLIB
6299 # Extract the first word of "ranlib
", so it can be a program name with args.
6300 set dummy ranlib; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6302 $as_echo_n "checking
for $ac_word...
" >&6; }
6303 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6304 $as_echo_n "(cached
) " >&6
6306 if test -n "$ac_ct_RANLIB"; then
6307 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6327 if test -n "$ac_ct_RANLIB"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6329 $as_echo "$ac_ct_RANLIB" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6332 $as_echo "no
" >&6; }
6335 if test "x
$ac_ct_RANLIB" = x; then
6338 case $cross_compiling:$ac_tool_warned in
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6341 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6342 ac_tool_warned=yes ;;
6344 RANLIB=$ac_ct_RANLIB
6347 RANLIB="$ac_cv_prog_RANLIB"
6350 test -z "$RANLIB" && RANLIB=:
6357 # Determine commands to create old-style static archives.
6358 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6359 old_postinstall_cmds='chmod 644 $oldlib'
6360 old_postuninstall_cmds=
6362 if test -n "$RANLIB"; then
6365 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6368 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6371 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6376 lock_old_archive_extraction=yes ;;
6378 lock_old_archive_extraction=no ;;
6419 # If no C compiler was specified, use CC.
6422 # If no C compiler flags were specified, use CFLAGS.
6423 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6425 # Allow CC to be a program name with arguments.
6429 # Check for command to grab the raw symbol name followed by C symbol from nm.
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6431 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6432 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6433 $as_echo_n "(cached
) " >&6
6436 # These are sane defaults that work on at least a few old systems.
6437 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6439 # Character class describing NM global symbol codes.
6440 symcode='[BCDEGRST]'
6442 # Regexp to match symbols that can be accessed directly from C.
6443 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6445 # Define system-specific variables.
6450 cygwin* | mingw* | pw32* | cegcc*)
6451 symcode='[ABCDGISTW]'
6454 if test "$host_cpu" = ia64; then
6455 symcode='[ABCDEGRST]'
6459 symcode='[BCDEGRST]'
6462 symcode='[BCDEGQRST]'
6473 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6481 # If we're using GNU nm, then use its standard symbol codes.
6482 case `$NM -V 2>&1` in
6483 *GNU* | *'with BFD'*)
6484 symcode='[ABCDGIRSTW]' ;;
6487 # Transform an extracted symbol line into a proper C declaration.
6488 # Some systems (esp. on ia64) link data and code symbols differently,
6489 # so use this general approach.
6490 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6492 # Transform an extracted symbol line into symbol name and symbol address
6493 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6494 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'"
6496 # Handle CRLF in mingw tool chain
6500 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6504 # Try without a prefix underscore, then with it.
6505 for ac_symprfx in "" "_
"; do
6507 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6508 symxfrm="\\1 $ac_symprfx\\2 \\2"
6510 # Write the raw and C identifiers.
6511 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6512 # Fake it for dumpbin and say T for any non-static function
6513 # and D for any global variable.
6514 # Also find C++ and __fastcall symbols from MSVC++,
6515 # which start with @ or ?.
6516 lt_cv_sys_global_symbol_pipe="$AWK '"\
6517 " {last_section=section; section=\$ 3};"\
6518 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6519 " \$ 0!~/External *\|/{next};"\
6520 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6521 " {if(hide[section]) next};"\
6522 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6523 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6524 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6525 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6526 " ' prfx
=^
$ac_symprfx"
6528 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6530 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6532 # Check to see that the pipe works correctly.
6536 cat > conftest.$ac_ext <<_LT_EOF
6541 void nm_test_func(void);
6542 void nm_test_func(void){}
6546 int main(){nm_test_var='a';nm_test_func();return(0);}
6549 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6550 (eval $ac_compile) 2>&5
6552 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6553 test $ac_status = 0; }; then
6554 # Now try to grab the symbols.
6556 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6557 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6559 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6560 test $ac_status = 0; } && test -s "$nlist"; then
6561 # Try sorting and uniquifying the output.
6562 if sort "$nlist" | uniq > "$nlist"T; then
6563 mv -f "$nlist"T "$nlist"
6568 # Make sure that we snagged all the symbols we need.
6569 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6570 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6571 cat <<_LT_EOF > conftest.$ac_ext
6572 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6573 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6574 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6575 relocations are performed -- see ld's documentation on pseudo-relocs. */
6576 # define LT_DLSYM_CONST
6577 #elif defined(__osf__)
6578 /* This system does not cope well with relocations in const data. */
6579 # define LT_DLSYM_CONST
6581 # define LT_DLSYM_CONST const
6589 # Now generate the symbol file.
6590 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6592 cat <<_LT_EOF >> conftest.$ac_ext
6594 /* The mapping between symbol names and symbols. */
6595 LT_DLSYM_CONST struct {
6599 lt__PROGRAM__LTX_preloaded_symbols[] =
6601 { "@PROGRAM@
", (void *) 0 },
6603 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6604 cat <<\_LT_EOF >> conftest.$ac_ext
6608 /* This works around a problem in FreeBSD linker */
6609 #ifdef FREEBSD_WORKAROUND
6610 static const void *lt_preloaded_setup() {
6611 return lt__PROGRAM__LTX_preloaded_symbols;
6619 # Now try linking the two files.
6620 mv conftest.$ac_objext conftstm.$ac_objext
6621 lt_globsym_save_LIBS=$LIBS
6622 lt_globsym_save_CFLAGS=$CFLAGS
6623 LIBS="conftstm.
$ac_objext"
6624 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6625 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6626 (eval $ac_link) 2>&5
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6629 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6632 LIBS=$lt_globsym_save_LIBS
6633 CFLAGS=$lt_globsym_save_CFLAGS
6635 echo "cannot
find nm_test_func
in $nlist" >&5
6638 echo "cannot
find nm_test_var
in $nlist" >&5
6641 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6644 echo "$progname: failed program was
:" >&5
6645 cat conftest.$ac_ext >&5
6647 rm -rf conftest* conftst*
6649 # Do not use the global_symbol_pipe unless it works.
6650 if test "$pipe_works" = yes; then
6653 lt_cv_sys_global_symbol_pipe=
6659 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6660 lt_cv_sys_global_symbol_to_cdecl=
6662 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6664 $as_echo "failed
" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6667 $as_echo "ok
" >&6; }
6670 # Response file support.
6671 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6672 nm_file_list_spec='@'
6673 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6674 nm_file_list_spec='@'
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6704 $as_echo_n "checking
for sysroot...
" >&6; }
6706 # Check whether --with-sysroot was given.
6707 if test "${with_sysroot+set}" = set; then :
6708 withval=$with_sysroot;
6715 case ${with_sysroot} in #(
6717 if test "$GCC" = yes; then
6718 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6722 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6728 $as_echo "${with_sysroot}" >&6; }
6729 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6734 $as_echo "${lt_sysroot:-no}" >&6; }
6740 # Check whether --enable-libtool-lock was given.
6741 if test "${enable_libtool_lock+set}" = set; then :
6742 enableval=$enable_libtool_lock;
6745 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6747 # Some flags need to be propagated to the compiler or linker for good
6751 # Find out which ABI we are using.
6752 echo 'int i;' > conftest.$ac_ext
6753 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6754 (eval $ac_compile) 2>&5
6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6757 test $ac_status = 0; }; then
6758 case `/usr/bin/file conftest.$ac_objext` in
6770 # Find out which ABI we are using.
6771 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6772 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6773 (eval $ac_compile) 2>&5
6775 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6776 test $ac_status = 0; }; then
6777 if test "$lt_cv_prog_gnu_ld" = yes; then
6778 case `/usr/bin/file conftest.$ac_objext` in
6780 LD="${LD-ld} -melf32bsmip"
6783 LD="${LD-ld} -melf32bmipn32"
6786 LD="${LD-ld} -melf64bmip"
6790 case `/usr/bin/file conftest.$ac_objext` in
6806 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6807 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6808 # Find out which ABI we are using.
6809 echo 'int i;' > conftest.$ac_ext
6810 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6811 (eval $ac_compile) 2>&5
6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6814 test $ac_status = 0; }; then
6815 case `/usr/bin/file conftest.o` in
6818 x86_64-*kfreebsd*-gnu)
6819 LD="${LD-ld} -m elf_i386_fbsd
"
6822 LD="${LD-ld} -m elf_i386
"
6824 ppc64-*linux*|powerpc64-*linux*)
6825 LD="${LD-ld} -m elf32ppclinux
"
6828 LD="${LD-ld} -m elf_s390
"
6831 LD="${LD-ld} -m elf32_sparc
"
6837 x86_64-*kfreebsd*-gnu)
6838 LD="${LD-ld} -m elf_x86_64_fbsd
"
6841 LD="${LD-ld} -m elf_x86_64
"
6843 ppc*-*linux*|powerpc*-*linux*)
6844 LD="${LD-ld} -m elf64ppc
"
6846 s390*-*linux*|s390*-*tpf*)
6847 LD="${LD-ld} -m elf64_s390
"
6850 LD="${LD-ld} -m elf64_sparc
"
6860 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6861 SAVE_CFLAGS="$CFLAGS"
6862 CFLAGS="$CFLAGS -belf"
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6864 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6865 if ${lt_cv_cc_needs_belf+:} false; then :
6866 $as_echo_n "(cached
) " >&6
6869 ac_cpp='$CPP $CPPFLAGS'
6870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6885 if ac_fn_c_try_link "$LINENO"; then :
6886 lt_cv_cc_needs_belf=yes
6888 lt_cv_cc_needs_belf=no
6890 rm -f core conftest.err conftest.$ac_objext \
6891 conftest$ac_exeext conftest.$ac_ext
6893 ac_cpp='$CPP $CPPFLAGS'
6894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6903 CFLAGS="$SAVE_CFLAGS"
6907 # Find out which ABI we are using.
6908 echo 'int i;' > conftest.$ac_ext
6909 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6910 (eval $ac_compile) 2>&5
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6913 test $ac_status = 0; }; then
6914 case `/usr/bin/file conftest.o` in
6916 case $lt_cv_prog_gnu_ld in
6917 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6931 need_locks="$enable_libtool_lock"
6933 if test -n "$ac_tool_prefix"; then
6934 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6935 set dummy ${ac_tool_prefix}mt; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6937 $as_echo_n "checking
for $ac_word...
" >&6; }
6938 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6939 $as_echo_n "(cached
) " >&6
6941 if test -n "$MANIFEST_TOOL"; then
6942 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6961 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6962 if test -n "$MANIFEST_TOOL"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6964 $as_echo "$MANIFEST_TOOL" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6967 $as_echo "no
" >&6; }
6972 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6973 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6974 # Extract the first word of "mt
", so it can be a program name with args.
6975 set dummy mt; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6977 $as_echo_n "checking
for $ac_word...
" >&6; }
6978 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6979 $as_echo_n "(cached
) " >&6
6981 if test -n "$ac_ct_MANIFEST_TOOL"; then
6982 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7001 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7002 if test -n "$ac_ct_MANIFEST_TOOL"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7004 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7007 $as_echo "no
" >&6; }
7010 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7013 case $cross_compiling:$ac_tool_warned in
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7016 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7017 ac_tool_warned=yes ;;
7019 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7022 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7025 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7027 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7028 if ${lt_cv_path_mainfest_tool+:} false; then :
7029 $as_echo_n "(cached
) " >&6
7031 lt_cv_path_mainfest_tool=no
7032 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7033 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7034 cat conftest.err >&5
7035 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7036 lt_cv_path_mainfest_tool=yes
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7041 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7042 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7052 rhapsody* | darwin*)
7053 if test -n "$ac_tool_prefix"; then
7054 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7055 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7057 $as_echo_n "checking
for $ac_word...
" >&6; }
7058 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7059 $as_echo_n "(cached
) " >&6
7061 if test -n "$DSYMUTIL"; then
7062 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 test -z "$as_dir" && as_dir=.
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7071 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7081 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7082 if test -n "$DSYMUTIL"; then
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7084 $as_echo "$DSYMUTIL" >&6; }
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7087 $as_echo "no
" >&6; }
7092 if test -z "$ac_cv_prog_DSYMUTIL"; then
7093 ac_ct_DSYMUTIL=$DSYMUTIL
7094 # Extract the first word of "dsymutil
", so it can be a program name with args.
7095 set dummy dsymutil; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7097 $as_echo_n "checking
for $ac_word...
" >&6; }
7098 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7099 $as_echo_n "(cached
) " >&6
7101 if test -n "$ac_ct_DSYMUTIL"; then
7102 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7121 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7122 if test -n "$ac_ct_DSYMUTIL"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7124 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7127 $as_echo "no
" >&6; }
7130 if test "x
$ac_ct_DSYMUTIL" = x; then
7133 case $cross_compiling:$ac_tool_warned in
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7136 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7137 ac_tool_warned=yes ;;
7139 DSYMUTIL=$ac_ct_DSYMUTIL
7142 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7145 if test -n "$ac_tool_prefix"; then
7146 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7147 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7149 $as_echo_n "checking
for $ac_word...
" >&6; }
7150 if ${ac_cv_prog_NMEDIT+:} false; then :
7151 $as_echo_n "(cached
) " >&6
7153 if test -n "$NMEDIT"; then
7154 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir=.
7161 for ac_exec_ext in '' $ac_executable_extensions; do
7162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7163 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7173 NMEDIT=$ac_cv_prog_NMEDIT
7174 if test -n "$NMEDIT"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7176 $as_echo "$NMEDIT" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7179 $as_echo "no
" >&6; }
7184 if test -z "$ac_cv_prog_NMEDIT"; then
7185 ac_ct_NMEDIT=$NMEDIT
7186 # Extract the first word of "nmedit
", so it can be a program name with args.
7187 set dummy nmedit; ac_word=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7189 $as_echo_n "checking
for $ac_word...
" >&6; }
7190 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7191 $as_echo_n "(cached
) " >&6
7193 if test -n "$ac_ct_NMEDIT"; then
7194 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir=.
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7213 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7214 if test -n "$ac_ct_NMEDIT"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7216 $as_echo "$ac_ct_NMEDIT" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7219 $as_echo "no
" >&6; }
7222 if test "x
$ac_ct_NMEDIT" = x; then
7225 case $cross_compiling:$ac_tool_warned in
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7228 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7229 ac_tool_warned=yes ;;
7231 NMEDIT=$ac_ct_NMEDIT
7234 NMEDIT="$ac_cv_prog_NMEDIT"
7237 if test -n "$ac_tool_prefix"; then
7238 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7239 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7241 $as_echo_n "checking
for $ac_word...
" >&6; }
7242 if ${ac_cv_prog_LIPO+:} false; then :
7243 $as_echo_n "(cached
) " >&6
7245 if test -n "$LIPO"; then
7246 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir=.
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7265 LIPO=$ac_cv_prog_LIPO
7266 if test -n "$LIPO"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7268 $as_echo "$LIPO" >&6; }
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7271 $as_echo "no
" >&6; }
7276 if test -z "$ac_cv_prog_LIPO"; then
7278 # Extract the first word of "lipo
", so it can be a program name with args.
7279 set dummy lipo; ac_word=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7281 $as_echo_n "checking
for $ac_word...
" >&6; }
7282 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7283 $as_echo_n "(cached
) " >&6
7285 if test -n "$ac_ct_LIPO"; then
7286 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir=.
7293 for ac_exec_ext in '' $ac_executable_extensions; do
7294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 ac_cv_prog_ac_ct_LIPO="lipo
"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7305 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7306 if test -n "$ac_ct_LIPO"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7308 $as_echo "$ac_ct_LIPO" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7311 $as_echo "no
" >&6; }
7314 if test "x
$ac_ct_LIPO" = x; then
7317 case $cross_compiling:$ac_tool_warned in
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7320 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7321 ac_tool_warned=yes ;;
7326 LIPO="$ac_cv_prog_LIPO"
7329 if test -n "$ac_tool_prefix"; then
7330 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7331 set dummy ${ac_tool_prefix}otool; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7333 $as_echo_n "checking
for $ac_word...
" >&6; }
7334 if ${ac_cv_prog_OTOOL+:} false; then :
7335 $as_echo_n "(cached
) " >&6
7337 if test -n "$OTOOL"; then
7338 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7347 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7357 OTOOL=$ac_cv_prog_OTOOL
7358 if test -n "$OTOOL"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7360 $as_echo "$OTOOL" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7363 $as_echo "no
" >&6; }
7368 if test -z "$ac_cv_prog_OTOOL"; then
7370 # Extract the first word of "otool
", so it can be a program name with args.
7371 set dummy otool; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7373 $as_echo_n "checking
for $ac_word...
" >&6; }
7374 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7375 $as_echo_n "(cached
) " >&6
7377 if test -n "$ac_ct_OTOOL"; then
7378 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387 ac_cv_prog_ac_ct_OTOOL="otool
"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7397 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7398 if test -n "$ac_ct_OTOOL"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7400 $as_echo "$ac_ct_OTOOL" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7403 $as_echo "no
" >&6; }
7406 if test "x
$ac_ct_OTOOL" = x; then
7409 case $cross_compiling:$ac_tool_warned in
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7412 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7413 ac_tool_warned=yes ;;
7418 OTOOL="$ac_cv_prog_OTOOL"
7421 if test -n "$ac_tool_prefix"; then
7422 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7423 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7425 $as_echo_n "checking
for $ac_word...
" >&6; }
7426 if ${ac_cv_prog_OTOOL64+:} false; then :
7427 $as_echo_n "(cached
) " >&6
7429 if test -n "$OTOOL64"; then
7430 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7449 OTOOL64=$ac_cv_prog_OTOOL64
7450 if test -n "$OTOOL64"; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7452 $as_echo "$OTOOL64" >&6; }
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7455 $as_echo "no
" >&6; }
7460 if test -z "$ac_cv_prog_OTOOL64"; then
7461 ac_ct_OTOOL64=$OTOOL64
7462 # Extract the first word of "otool64
", so it can be a program name with args.
7463 set dummy otool64; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7465 $as_echo_n "checking
for $ac_word...
" >&6; }
7466 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7467 $as_echo_n "(cached
) " >&6
7469 if test -n "$ac_ct_OTOOL64"; then
7470 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7479 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7489 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7490 if test -n "$ac_ct_OTOOL64"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7492 $as_echo "$ac_ct_OTOOL64" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7495 $as_echo "no
" >&6; }
7498 if test "x
$ac_ct_OTOOL64" = x; then
7501 case $cross_compiling:$ac_tool_warned in
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7504 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7505 ac_tool_warned=yes ;;
7507 OTOOL64=$ac_ct_OTOOL64
7510 OTOOL64="$ac_cv_prog_OTOOL64"
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7540 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7541 if ${lt_cv_apple_cc_single_mod+:} false; then :
7542 $as_echo_n "(cached
) " >&6
7544 lt_cv_apple_cc_single_mod=no
7545 if test -z "${LT_MULTI_MODULE}"; then
7546 # By default we will add the -single_module flag. You can override
7547 # by either setting the environment variable LT_MULTI_MODULE
7548 # non-empty at configure time, or by adding -multi_module to the
7550 rm -rf libconftest.dylib*
7551 echo "int foo
(void
){return 1;}" > conftest.c
7552 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7553 -dynamiclib -Wl,-single_module conftest.c
" >&5
7554 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7555 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7557 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7558 lt_cv_apple_cc_single_mod=yes
7560 cat conftest.err >&5
7562 rm -rf libconftest.dylib*
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7567 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7569 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7570 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7571 $as_echo_n "(cached
) " >&6
7573 lt_cv_ld_exported_symbols_list=no
7574 save_LDFLAGS=$LDFLAGS
7575 echo "_main
" > conftest.sym
7576 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7588 if ac_fn_c_try_link "$LINENO"; then :
7589 lt_cv_ld_exported_symbols_list=yes
7591 lt_cv_ld_exported_symbols_list=no
7593 rm -f core conftest.err conftest.$ac_objext \
7594 conftest$ac_exeext conftest.$ac_ext
7595 LDFLAGS="$save_LDFLAGS"
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7599 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7601 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7602 if ${lt_cv_ld_force_load+:} false; then :
7603 $as_echo_n "(cached
) " >&6
7605 lt_cv_ld_force_load=no
7606 cat > conftest.c << _LT_EOF
7607 int forced_loaded() { return 2;}
7609 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7610 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7611 echo "$AR cru libconftest.a conftest.o
" >&5
7612 $AR cru libconftest.a conftest.o 2>&5
7613 echo "$RANLIB libconftest.a
" >&5
7614 $RANLIB libconftest.a 2>&5
7615 cat > conftest.c << _LT_EOF
7616 int main() { return 0;}
7618 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7619 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7621 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7622 lt_cv_ld_force_load=yes
7624 cat conftest.err >&5
7626 rm -f conftest.err libconftest.a conftest conftest.c
7627 rm -rf conftest.dSYM
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7631 $as_echo "$lt_cv_ld_force_load" >&6; }
7633 rhapsody* | darwin1.[012])
7634 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7636 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7637 darwin*) # darwin 5.x on
7638 # if running on 10.5 or later, the deployment target defaults
7639 # to the OS version, if on x86, and 10.4, the deployment
7640 # target defaults to 10.4. Don't you love it?
7641 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7642 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7643 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7645 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7647 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7651 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7652 _lt_dar_single_mod='$single_module'
7654 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7655 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7657 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7659 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7660 _lt_dsymutil='~$DSYMUTIL $lib || :'
7667 for ac_header in dlfcn.h
7669 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7671 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_DLFCN_H 1
7694 # Check whether --enable-shared was given.
7695 if test "${enable_shared+set}" = set; then :
7696 enableval=$enable_shared; p=${PACKAGE-default}
7698 yes) enable_shared=yes ;;
7699 no) enable_shared=no ;;
7702 # Look at the argument we got. We use all the common list separators.
7703 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7704 for pkg in $enableval; do
7706 if test "X
$pkg" = "X
$p"; then
7725 # Check whether --enable-static was given.
7726 if test "${enable_static+set}" = set; then :
7727 enableval=$enable_static; p=${PACKAGE-default}
7729 yes) enable_static=yes ;;
7730 no) enable_static=no ;;
7733 # Look at the argument we got. We use all the common list separators.
7734 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7735 for pkg in $enableval; do
7737 if test "X
$pkg" = "X
$p"; then
7757 # Check whether --with-pic was given.
7758 if test "${with_pic+set}" = set; then :
7759 withval=$with_pic; pic_mode="$withval"
7765 test -z "$pic_mode" && pic_mode=default
7773 # Check whether --enable-fast-install was given.
7774 if test "${enable_fast_install+set}" = set; then :
7775 enableval=$enable_fast_install; p=${PACKAGE-default}
7777 yes) enable_fast_install=yes ;;
7778 no) enable_fast_install=no ;;
7780 enable_fast_install=no
7781 # Look at the argument we got. We use all the common list separators.
7782 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7783 for pkg in $enableval; do
7785 if test "X
$pkg" = "X
$p"; then
7786 enable_fast_install=yes
7793 enable_fast_install=yes
7806 # This can be used to rebuild libtool when needed
7807 LIBTOOL_DEPS="$ltmain"
7809 # Always use our own libtool.
7810 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7837 test -z "$LN_S" && LN_S="ln -s"
7852 if test -n "${ZSH_VERSION+set}" ; then
7853 setopt NO_GLOB_SUBST
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7857 $as_echo_n "checking
for objdir...
" >&6; }
7858 if ${lt_cv_objdir+:} false; then :
7859 $as_echo_n "(cached
) " >&6
7861 rm -f .libs 2>/dev/null
7862 mkdir .libs 2>/dev/null
7863 if test -d .libs; then
7866 # MS-DOS does not allow filenames that begin with a dot.
7869 rmdir .libs 2>/dev/null
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7872 $as_echo "$lt_cv_objdir" >&6; }
7873 objdir=$lt_cv_objdir
7879 cat >>confdefs.h <<_ACEOF
7880 #define LT_OBJDIR "$lt_cv_objdir/"
7888 # AIX sometimes has problems with the GCC collect2 program. For some
7889 # reason, if we set the COLLECT_NAMES environment variable, the problems
7890 # vanish in a puff of smoke.
7891 if test "X
${COLLECT_NAMES+set}" != Xset; then
7893 export COLLECT_NAMES
7900 can_build_shared=yes
7902 # All known linkers require a `.a' archive for static linking (except MSVC,
7903 # which needs '.lib').
7906 with_gnu_ld="$lt_cv_prog_gnu_ld"
7909 old_CFLAGS="$CFLAGS"
7911 # Set sane defaults for various variables
7912 test -z "$CC" && CC=cc
7913 test -z "$LTCC" && LTCC=$CC
7914 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7915 test -z "$LD" && LD=ld
7916 test -z "$ac_objext" && ac_objext=o
7918 for cc_temp in $compiler""; do
7920 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7921 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7926 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7929 # Only perform the check for file, if the check method requires it
7930 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7931 case $deplibs_check_method in
7933 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7935 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7936 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7937 $as_echo_n "(cached
) " >&6
7941 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7944 lt_save_MAGIC_CMD="$MAGIC_CMD"
7945 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7946 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7947 for ac_dir in $ac_dummy; do
7949 test -z "$ac_dir" && ac_dir=.
7950 if test -f $ac_dir/${ac_tool_prefix}file; then
7951 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7952 if test -n "$file_magic_test_file"; then
7953 case $deplibs_check_method in
7955 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7956 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7957 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7958 $EGREP "$file_magic_regex" > /dev/null; then
7963 *** Warning: the command libtool uses to detect shared libraries,
7964 *** $file_magic_cmd, produces output that libtool cannot recognize.
7965 *** The result is that libtool may fail to recognize shared libraries
7966 *** as such. This will affect the creation of libtool libraries that
7967 *** depend on shared libraries, but programs linked with such libtool
7968 *** libraries will work regardless of this problem. Nevertheless, you
7969 *** may want to report the problem to your system manager and/or to
7970 *** bug-libtool@gnu.org
7980 MAGIC_CMD="$lt_save_MAGIC_CMD"
7985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7986 if test -n "$MAGIC_CMD"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7988 $as_echo "$MAGIC_CMD" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7991 $as_echo "no
" >&6; }
7998 if test -z "$lt_cv_path_MAGIC_CMD"; then
7999 if test -n "$ac_tool_prefix"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8001 $as_echo_n "checking
for file...
" >&6; }
8002 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8003 $as_echo_n "(cached
) " >&6
8007 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8010 lt_save_MAGIC_CMD="$MAGIC_CMD"
8011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8012 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8013 for ac_dir in $ac_dummy; do
8015 test -z "$ac_dir" && ac_dir=.
8016 if test -f $ac_dir/file; then
8017 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8018 if test -n "$file_magic_test_file"; then
8019 case $deplibs_check_method in
8021 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8022 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8023 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8024 $EGREP "$file_magic_regex" > /dev/null; then
8029 *** Warning: the command libtool uses to detect shared libraries,
8030 *** $file_magic_cmd, produces output that libtool cannot recognize.
8031 *** The result is that libtool may fail to recognize shared libraries
8032 *** as such. This will affect the creation of libtool libraries that
8033 *** depend on shared libraries, but programs linked with such libtool
8034 *** libraries will work regardless of this problem. Nevertheless, you
8035 *** may want to report the problem to your system manager and/or to
8036 *** bug-libtool@gnu.org
8046 MAGIC_CMD="$lt_save_MAGIC_CMD"
8051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8052 if test -n "$MAGIC_CMD"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8054 $as_echo "$MAGIC_CMD" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8057 $as_echo "no
" >&6; }
8070 # Use C for the default configuration in the libtool script
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8080 # Source file extension for C test sources.
8083 # Object file extension for compiled C test sources.
8087 # Code to be used in simple compile tests
8088 lt_simple_compile_test_code="int some_variable
= 0;"
8090 # Code to be used in simple link tests
8091 lt_simple_link_test_code='int main(){return(0);}'
8099 # If no C compiler was specified, use CC.
8102 # If no C compiler flags were specified, use CFLAGS.
8103 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8105 # Allow CC to be a program name with arguments.
8108 # Save the default compiler, since it gets overwritten when the other
8109 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8110 compiler_DEFAULT=$CC
8112 # save warnings/boilerplate of simple test code
8113 ac_outfile=conftest.$ac_objext
8114 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8115 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8116 _lt_compiler_boilerplate=`cat conftest.err`
8119 ac_outfile=conftest.$ac_objext
8120 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8121 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8122 _lt_linker_boilerplate=`cat conftest.err`
8127 ## There is no encapsulation within the following macros, do not change
8128 ## the running order or otherwise move them around unless you know exactly
8129 ## what you are doing...
8130 if test -n "$compiler"; then
8132 lt_prog_compiler_no_builtin_flag=
8134 if test "$GCC" = yes; then
8135 case $cc_basename in
8137 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8139 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8143 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8144 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8145 $as_echo_n "(cached
) " >&6
8147 lt_cv_prog_compiler_rtti_exceptions=no
8148 ac_outfile=conftest.$ac_objext
8149 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8150 lt_compiler_flag="-fno-rtti -fno-exceptions"
8151 # Insert the option either (1) after the last *FLAGS variable, or
8152 # (2) before a word containing "conftest.
", or (3) at the end.
8153 # Note that $ac_compile itself does not contain backslashes and begins
8154 # with a dollar sign (not a hyphen), so the echo should work correctly.
8155 # The option is referenced via a variable to avoid confusing sed.
8156 lt_compile=`echo "$ac_compile" | $SED \
8157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8159 -e 's:$: $lt_compiler_flag:'`
8160 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8161 (eval "$lt_compile" 2>conftest.err)
8163 cat conftest.err >&5
8164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8165 if (exit $ac_status) && test -s "$ac_outfile"; then
8166 # The compiler can only warn and ignore the option if not recognized
8167 # So say no if there are warnings other than the usual output.
8168 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8170 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8171 lt_cv_prog_compiler_rtti_exceptions=yes
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8178 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8180 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8181 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8193 lt_prog_compiler_wl=
8194 lt_prog_compiler_pic=
8195 lt_prog_compiler_static=
8198 if test "$GCC" = yes; then
8199 lt_prog_compiler_wl='-Wl,'
8200 lt_prog_compiler_static='-static'
8204 # All AIX code is PIC.
8205 if test "$host_cpu" = ia64; then
8206 # AIX 5 now supports IA64 processor
8207 lt_prog_compiler_static='-Bstatic'
8214 # see comment about AmigaOS4 .so support
8215 lt_prog_compiler_pic='-fPIC'
8218 # FIXME: we need at least 68020 code to build shared libraries, but
8219 # adding the `-m68020' flag to GCC prevents building anything better,
8221 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8226 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8227 # PIC is the default for these OSes.
8230 mingw* | cygwin* | pw32* | os2* | cegcc*)
8231 # This hack is so that the source file can tell whether it is being
8232 # built for inclusion in a dll (and should export symbols for example).
8233 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8234 # (--disable-auto-import) libraries
8235 lt_prog_compiler_pic='-DDLL_EXPORT'
8238 darwin* | rhapsody*)
8239 # PIC is the default on this platform
8240 # Common symbols not allowed in MH_DYLIB files
8241 lt_prog_compiler_pic='-fno-common'
8245 # PIC is the default for Haiku.
8246 # The "-static" flag exists, but is broken.
8247 lt_prog_compiler_static=
8251 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8252 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8253 # sets the default TLS model and affects inlining.
8259 lt_prog_compiler_pic='-fPIC'
8265 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8266 # Instead, we relocate shared libraries at runtime.
8270 # Just because we use GCC doesn't mean we suddenly get shared libraries
8271 # on systems that don't support them.
8272 lt_prog_compiler_can_build_shared=no
8277 # QNX uses GNU C++, but need to define -shared option too, otherwise
8279 lt_prog_compiler_pic='-fPIC -shared'
8283 if test -d /usr/nec; then
8284 lt_prog_compiler_pic=-Kconform_pic
8289 lt_prog_compiler_pic='-fPIC'
8293 case $cc_basename in
8294 nvcc*) # Cuda Compiler Driver 2.2
8295 lt_prog_compiler_wl='-Xlinker '
8296 lt_prog_compiler_pic='-Xcompiler -fPIC'
8300 # PORTME Check for flag to pass linker flags through the system compiler.
8303 lt_prog_compiler_wl='-Wl,'
8304 if test "$host_cpu" = ia64; then
8305 # AIX 5 now supports IA64 processor
8306 lt_prog_compiler_static='-Bstatic'
8308 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8312 mingw* | cygwin* | pw32* | os2* | cegcc*)
8313 # This hack is so that the source file can tell whether it is being
8314 # built for inclusion in a dll (and should export symbols for example).
8315 lt_prog_compiler_pic='-DDLL_EXPORT'
8318 hpux9* | hpux10* | hpux11*)
8319 lt_prog_compiler_wl='-Wl,'
8320 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8327 lt_prog_compiler_pic='+Z'
8330 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8331 lt_prog_compiler_static='${wl}-a ${wl}archive'
8334 irix5* | irix6* | nonstopux*)
8335 lt_prog_compiler_wl='-Wl,'
8336 # PIC (with -KPIC) is the default.
8337 lt_prog_compiler_static='-non_shared'
8340 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8341 case $cc_basename in
8342 # old Intel for x86_64 which still supported -KPIC.
8344 lt_prog_compiler_wl='-Wl,'
8345 lt_prog_compiler_pic='-KPIC'
8346 lt_prog_compiler_static='-static'
8348 # icc used to be incompatible with GCC.
8349 # ICC 10 doesn't accept -KPIC any more.
8351 lt_prog_compiler_wl='-Wl,'
8352 lt_prog_compiler_pic='-fPIC'
8353 lt_prog_compiler_static='-static'
8355 # Lahey Fortran 8.1.
8357 lt_prog_compiler_wl='-Wl,'
8358 lt_prog_compiler_pic='--shared'
8359 lt_prog_compiler_static='--static'
8362 # NAG Fortran compiler
8363 lt_prog_compiler_wl='-Wl,-Wl,,'
8364 lt_prog_compiler_pic='-PIC'
8365 lt_prog_compiler_static='-Bstatic'
8367 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8368 # Portland Group compilers (*not* the Pentium gcc compiler,
8369 # which looks to be a dead project)
8370 lt_prog_compiler_wl='-Wl,'
8371 lt_prog_compiler_pic='-fpic'
8372 lt_prog_compiler_static='-Bstatic'
8375 lt_prog_compiler_wl='-Wl,'
8376 # All Alpha code is PIC.
8377 lt_prog_compiler_static='-non_shared'
8379 xl* | bgxl* | bgf* | mpixl*)
8380 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8381 lt_prog_compiler_wl='-Wl,'
8382 lt_prog_compiler_pic='-qpic'
8383 lt_prog_compiler_static='-qstaticlink'
8386 case `$CC -V 2>&1 | sed 5q` in
8387 *Sun\ F* | *Sun*Fortran*)
8388 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8389 lt_prog_compiler_pic='-KPIC'
8390 lt_prog_compiler_static='-Bstatic'
8391 lt_prog_compiler_wl=''
8395 lt_prog_compiler_pic='-KPIC'
8396 lt_prog_compiler_static='-Bstatic'
8397 lt_prog_compiler_wl='-Wl,'
8405 lt_prog_compiler_pic='-KPIC'
8406 lt_prog_compiler_static='-Bstatic'
8410 # QNX uses GNU C++, but need to define -shared option too, otherwise
8412 lt_prog_compiler_pic='-fPIC -shared'
8415 osf3* | osf4* | osf5*)
8416 lt_prog_compiler_wl='-Wl,'
8417 # All OSF/1 code is PIC.
8418 lt_prog_compiler_static='-non_shared'
8422 lt_prog_compiler_static='-non_shared'
8426 lt_prog_compiler_pic='-KPIC'
8427 lt_prog_compiler_static='-Bstatic'
8428 case $cc_basename in
8429 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8430 lt_prog_compiler_wl='-Qoption ld ';;
8432 lt_prog_compiler_wl='-Wl,';;
8437 lt_prog_compiler_wl='-Qoption ld '
8438 lt_prog_compiler_pic='-PIC'
8439 lt_prog_compiler_static='-Bstatic'
8442 sysv4 | sysv4.2uw2* | sysv4.3*)
8443 lt_prog_compiler_wl='-Wl,'
8444 lt_prog_compiler_pic='-KPIC'
8445 lt_prog_compiler_static='-Bstatic'
8449 if test -d /usr/nec ;then
8450 lt_prog_compiler_pic='-Kconform_pic'
8451 lt_prog_compiler_static='-Bstatic'
8455 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8456 lt_prog_compiler_wl='-Wl,'
8457 lt_prog_compiler_pic='-KPIC'
8458 lt_prog_compiler_static='-Bstatic'
8462 lt_prog_compiler_wl='-Wl,'
8463 lt_prog_compiler_can_build_shared=no
8467 lt_prog_compiler_pic='-pic'
8468 lt_prog_compiler_static='-Bstatic'
8472 lt_prog_compiler_can_build_shared=no
8478 # For platforms which do not support PIC, -DPIC is meaningless:
8480 lt_prog_compiler_pic=
8483 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8488 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8489 if ${lt_cv_prog_compiler_pic+:} false; then :
8490 $as_echo_n "(cached
) " >&6
8492 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
8495 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8496 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8499 # Check to make sure the PIC flag actually works.
8501 if test -n "$lt_prog_compiler_pic"; then
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8503 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8504 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8505 $as_echo_n "(cached
) " >&6
8507 lt_cv_prog_compiler_pic_works=no
8508 ac_outfile=conftest.$ac_objext
8509 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8510 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8511 # Insert the option either (1) after the last *FLAGS variable, or
8512 # (2) before a word containing "conftest.
", or (3) at the end.
8513 # Note that $ac_compile itself does not contain backslashes and begins
8514 # with a dollar sign (not a hyphen), so the echo should work correctly.
8515 # The option is referenced via a variable to avoid confusing sed.
8516 lt_compile=`echo "$ac_compile" | $SED \
8517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8519 -e 's:$: $lt_compiler_flag:'`
8520 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8521 (eval "$lt_compile" 2>conftest.err)
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8525 if (exit $ac_status) && test -s "$ac_outfile"; then
8526 # The compiler can only warn and ignore the option if not recognized
8527 # So say no if there are warnings other than the usual output.
8528 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8529 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8530 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8531 lt_cv_prog_compiler_pic_works=yes
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8538 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8540 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8541 case $lt_prog_compiler_pic in
8543 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8546 lt_prog_compiler_pic=
8547 lt_prog_compiler_can_build_shared=no
8563 # Check to make sure the static flag actually works.
8565 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8567 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8568 if ${lt_cv_prog_compiler_static_works+:} false; then :
8569 $as_echo_n "(cached
) " >&6
8571 lt_cv_prog_compiler_static_works=no
8572 save_LDFLAGS="$LDFLAGS"
8573 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8574 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8575 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8576 # The linker can only warn and ignore the option if not recognized
8577 # So say no if there are warnings
8578 if test -s conftest.err; then
8579 # Append any errors to the config.log.
8580 cat conftest.err 1>&5
8581 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8583 if diff conftest.exp conftest.er2 >/dev/null; then
8584 lt_cv_prog_compiler_static_works=yes
8587 lt_cv_prog_compiler_static_works=yes
8591 LDFLAGS="$save_LDFLAGS"
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8595 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8597 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8600 lt_prog_compiler_static=
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8610 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8611 if ${lt_cv_prog_compiler_c_o+:} false; then :
8612 $as_echo_n "(cached
) " >&6
8614 lt_cv_prog_compiler_c_o=no
8615 $RM -r conftest 2>/dev/null
8619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8621 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8622 # Insert the option either (1) after the last *FLAGS variable, or
8623 # (2) before a word containing "conftest.
", or (3) at the end.
8624 # Note that $ac_compile itself does not contain backslashes and begins
8625 # with a dollar sign (not a hyphen), so the echo should work correctly.
8626 lt_compile=`echo "$ac_compile" | $SED \
8627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8629 -e 's:$: $lt_compiler_flag:'`
8630 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8631 (eval "$lt_compile" 2>out/conftest.err)
8633 cat out/conftest.err >&5
8634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8635 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8637 # The compiler can only warn and ignore the option if not recognized
8638 # So say no if there are warnings
8639 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8640 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8641 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8642 lt_cv_prog_compiler_c_o=yes
8647 # SGI C++ compiler will create directory out/ii_files/ for
8648 # template instantiation
8649 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8650 $RM out/* && rmdir out
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8657 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8665 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8666 if ${lt_cv_prog_compiler_c_o+:} false; then :
8667 $as_echo_n "(cached
) " >&6
8669 lt_cv_prog_compiler_c_o=no
8670 $RM -r conftest 2>/dev/null
8674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8676 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8677 # Insert the option either (1) after the last *FLAGS variable, or
8678 # (2) before a word containing "conftest.
", or (3) at the end.
8679 # Note that $ac_compile itself does not contain backslashes and begins
8680 # with a dollar sign (not a hyphen), so the echo should work correctly.
8681 lt_compile=`echo "$ac_compile" | $SED \
8682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8684 -e 's:$: $lt_compiler_flag:'`
8685 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8686 (eval "$lt_compile" 2>out/conftest.err)
8688 cat out/conftest.err >&5
8689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8692 # The compiler can only warn and ignore the option if not recognized
8693 # So say no if there are warnings
8694 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8697 lt_cv_prog_compiler_c_o=yes
8702 # SGI C++ compiler will create directory out/ii_files/ for
8703 # template instantiation
8704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8705 $RM out/* && rmdir out
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8712 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8717 hard_links="nottested
"
8718 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8719 # do not overwrite the value of need_locks provided by the user
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8721 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8724 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8726 ln conftest.a conftest.b 2>&5 || hard_links=no
8727 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8729 $as_echo "$hard_links" >&6; }
8730 if test "$hard_links" = no; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8732 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8745 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8748 allow_undefined_flag=
8749 always_export_symbols=no
8751 archive_expsym_cmds=
8752 compiler_needs_object=no
8753 enable_shared_with_static_runtimes=no
8754 export_dynamic_flag_spec=
8755 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8756 hardcode_automatic=no
8758 hardcode_direct_absolute=no
8759 hardcode_libdir_flag_spec=
8760 hardcode_libdir_flag_spec_ld=
8761 hardcode_libdir_separator=
8763 hardcode_shlibpath_var=unsupported
8765 link_all_deplibs=unknown
8768 old_archive_from_new_cmds=
8769 old_archive_from_expsyms_cmds=
8770 thread_safe_flag_spec=
8771 whole_archive_flag_spec=
8772 # include_expsyms should be a list of space-separated symbols to be *always*
8773 # included in the symbol list
8775 # exclude_expsyms can be an extended regexp of symbols to exclude
8776 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8777 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8778 # as well as any symbol that contains `d'.
8779 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8780 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8781 # platforms (ab)use it in PIC code, but their linkers get confused if
8782 # the symbol is explicitly referenced. Since portable code cannot
8783 # rely on this symbol name, it's probably fine to never include it in
8784 # preloaded symbol tables.
8785 # Exclude shared library initialization/finalization symbols.
8786 extract_expsyms_cmds=
8789 cygwin* | mingw* | pw32* | cegcc*)
8790 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8791 # When not using gcc, we currently assume that we are using
8792 # Microsoft Visual C++.
8793 if test "$GCC" != yes; then
8798 # we just hope/assume this is gcc and not c89 (= MSVC++)
8808 # On some targets, GNU ld is compatible enough with the native linker
8809 # that we're better off using the native interface for both.
8810 lt_use_gnu_ld_interface=no
8811 if test "$with_gnu_ld" = yes; then
8814 # The AIX port of GNU ld has always aspired to compatibility
8815 # with the native linker. However, as the warning in the GNU ld
8816 # block says, versions before 2.19.5* couldn't really create working
8817 # shared libraries, regardless of the interface used.
8818 case `$LD -v 2>&1` in
8819 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8820 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8821 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8823 lt_use_gnu_ld_interface=yes
8828 lt_use_gnu_ld_interface=yes
8833 if test "$lt_use_gnu_ld_interface" = yes; then
8834 # If archive_cmds runs LD, not CC, wlarc should be empty
8837 # Set some defaults for GNU ld with shared library support. These
8838 # are reset later if shared libraries are not supported. Putting them
8839 # here allows them to be overridden if necessary.
8840 runpath_var=LD_RUN_PATH
8841 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8842 export_dynamic_flag_spec='${wl}--export-dynamic'
8843 # ancient GNU ld didn't support --whole-archive et. al.
8844 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8845 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8847 whole_archive_flag_spec=
8849 supports_anon_versioning=no
8850 case `$LD -v 2>&1` in
8851 *GNU\ gold*) supports_anon_versioning=yes ;;
8852 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8853 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8854 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8855 *\ 2.11.*) ;; # other 2.11 versions
8856 *) supports_anon_versioning=yes ;;
8859 # See if GNU ld supports shared libraries.
8862 # On AIX/PPC, the GNU linker is very broken
8863 if test "$host_cpu" != ia64; then
8867 *** Warning: the GNU linker, at least up to release 2.19, is reported
8868 *** to be unable to reliably create shared libraries on AIX.
8869 *** Therefore, libtool is disabling shared libraries support. If you
8870 *** really care for shared libraries, you may want to install binutils
8871 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8872 *** You will then need to restart the configuration process.
8881 # see comment about AmigaOS4 .so support
8882 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 archive_expsym_cmds=''
8886 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)'
8887 hardcode_libdir_flag_spec
='-L$libdir'
8888 hardcode_minus_L
=yes
8894 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8895 allow_undefined_flag
=unsupported
8896 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8897 # support --undefined. This deserves some investigation. FIXME
8898 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8904 cygwin
* | mingw
* | pw32
* | cegcc
*)
8905 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8906 # as there is no search path for DLLs.
8907 hardcode_libdir_flag_spec
='-L$libdir'
8908 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8909 allow_undefined_flag
=unsupported
8910 always_export_symbols
=no
8911 enable_shared_with_static_runtimes
=yes
8912 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'
8913 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8915 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8916 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8917 # If the export-symbols file already is a .def file (1st line
8918 # is EXPORTS), use it as is; otherwise, prepend...
8919 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8920 cp $export_symbols $output_objdir/$soname.def;
8922 echo EXPORTS > $output_objdir/$soname.def;
8923 cat $export_symbols >> $output_objdir/$soname.def;
8925 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8932 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8933 link_all_deplibs
=yes
8938 hardcode_shlibpath_var
=no
8939 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8940 export_dynamic_flag_spec
='${wl}-E'
8941 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8942 # Instead, shared libraries are loaded at an image base (0x10000000 by
8943 # default) and relocated if they conflict, which is a slow very memory
8944 # consuming and fragmenting process. To avoid this, we pick a random,
8945 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8946 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8947 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8948 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'
8951 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8953 if test "$host_os" = linux-dietlibc
; then
8954 case $cc_basename in
8955 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8958 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8959 && test "$tmp_diet" = no
8961 tmp_addflag
=' $pic_flag'
8962 tmp_sharedflag
='-shared'
8963 case $cc_basename,$host_cpu in
8964 pgcc
*) # Portland Group C compiler
8965 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'
8966 tmp_addflag
=' $pic_flag'
8968 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8969 # Portland Group f77 and f90 compilers
8970 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'
8971 tmp_addflag
=' $pic_flag -Mnomain' ;;
8972 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8973 tmp_addflag
=' -i_dynamic' ;;
8974 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8975 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8976 ifc
* | ifort
*) # Intel Fortran compiler
8977 tmp_addflag
=' -nofor_main' ;;
8978 lf95
*) # Lahey Fortran 8.1
8979 whole_archive_flag_spec
=
8980 tmp_sharedflag
='--shared' ;;
8981 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8982 tmp_sharedflag
='-qmkshrobj'
8984 nvcc
*) # Cuda Compiler Driver 2.2
8985 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'
8986 compiler_needs_object
=yes
8989 case `$CC -V 2>&1 | sed 5q` in
8990 *Sun\ C
*) # Sun C 5.9
8991 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'
8992 compiler_needs_object
=yes
8993 tmp_sharedflag
='-G' ;;
8994 *Sun\ F
*) # Sun Fortran 8.3
8995 tmp_sharedflag
='-G' ;;
8997 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8999 if test "x$supports_anon_versioning" = xyes
; then
9000 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9002 echo "local: *; };" >> $output_objdir/$libname.ver~
9003 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9006 case $cc_basename in
9007 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9008 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9009 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9010 hardcode_libdir_flag_spec
=
9011 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9012 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9013 if test "x$supports_anon_versioning" = xyes
; then
9014 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9015 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9016 echo "local: *; };" >> $output_objdir/$libname.ver~
9017 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9027 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9028 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9031 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9032 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9037 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9041 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9042 *** create shared libraries on Solaris systems. Therefore, libtool
9043 *** is disabling shared libraries support. We urge you to upgrade GNU
9044 *** binutils to release 2.9.1 or newer. Another option is to modify
9045 *** your PATH or compiler configuration so that the native linker is
9046 *** used, and then restart.
9049 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9050 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9057 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9058 case `$LD -v 2>&1` in
9059 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9063 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9064 *** reliably create shared libraries on SCO systems. Therefore, libtool
9065 *** is disabling shared libraries support. We urge you to upgrade GNU
9066 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9067 *** your PATH or compiler configuration so that the native linker is
9068 *** used, and then restart.
9073 # For security reasons, it is highly recommended that you always
9074 # use absolute paths for naming shared libraries, and exclude the
9075 # DT_RUNPATH tag from executables and libraries. But doing so
9076 # requires that you compile everything twice, which is a pain.
9077 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9078 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9079 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9080 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9089 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9092 hardcode_shlibpath_var
=no
9096 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9097 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9105 if test "$ld_shlibs" = no
; then
9107 hardcode_libdir_flag_spec
=
9108 export_dynamic_flag_spec
=
9109 whole_archive_flag_spec
=
9112 # PORTME fill in a description of your system's linker (not GNU ld)
9115 allow_undefined_flag
=unsupported
9116 always_export_symbols
=yes
9117 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'
9118 # Note: this linker hardcodes the directories in LIBPATH if there
9119 # are no directories specified by -L.
9120 hardcode_minus_L
=yes
9121 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9122 # Neither direct hardcoding nor static linking is supported with a
9124 hardcode_direct
=unsupported
9129 if test "$host_cpu" = ia64
; then
9130 # On IA64, the linker does run time linking by default, so we don't
9131 # have to do anything special.
9132 aix_use_runtimelinking
=no
9133 exp_sym_flag
='-Bexport'
9136 # If we're using GNU nm, then we don't want the "-C" option.
9137 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9138 # Also, AIX nm treats weak defined symbols like other global
9139 # defined symbols, whereas GNU nm marks them as "W".
9140 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9141 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'
9143 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'
9145 aix_use_runtimelinking
=no
9147 # Test if we are trying to use run time linking or normal
9148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9149 # need to do runtime linking.
9150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9151 for ld_flag
in $LDFLAGS; do
9152 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9153 aix_use_runtimelinking
=yes
9160 exp_sym_flag
='-bexport'
9161 no_entry_flag
='-bnoentry'
9164 # When large executables or shared objects are built, AIX ld can
9165 # have problems creating the table of contents. If linking a library
9166 # or program results in "error TOC overflow" add -mminimal-toc to
9167 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9168 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9172 hardcode_direct_absolute
=yes
9173 hardcode_libdir_separator
=':'
9174 link_all_deplibs
=yes
9175 file_list_spec
='${wl}-f,'
9177 if test "$GCC" = yes; then
9178 case $host_os in aix4.
[012]|aix4.
[012].
*)
9179 # We only want to do this on AIX 4.2 and lower, the check
9180 # below for broken collect2 doesn't work under 4.3+
9181 collect2name
=`${CC} -print-prog-name=collect2`
9182 if test -f "$collect2name" &&
9183 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9185 # We have reworked collect2
9188 # We have old collect2
9189 hardcode_direct
=unsupported
9190 # It fails to find uninstalled libraries when the uninstalled
9191 # path is not listed in the libpath. Setting hardcode_minus_L
9192 # to unsupported forces relinking
9193 hardcode_minus_L
=yes
9194 hardcode_libdir_flag_spec
='-L$libdir'
9195 hardcode_libdir_separator
=
9199 shared_flag
='-shared'
9200 if test "$aix_use_runtimelinking" = yes; then
9201 shared_flag
="$shared_flag "'${wl}-G'
9205 if test "$host_cpu" = ia64
; then
9206 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9207 # chokes on -Wl,-G. The following line is correct:
9210 if test "$aix_use_runtimelinking" = yes; then
9211 shared_flag
='${wl}-G'
9213 shared_flag
='${wl}-bM:SRE'
9218 export_dynamic_flag_spec
='${wl}-bexpall'
9219 # It seems that -bexpall does not export symbols beginning with
9220 # underscore (_), so it is better to generate a list of symbols to export.
9221 always_export_symbols
=yes
9222 if test "$aix_use_runtimelinking" = yes; then
9223 # Warning - without using the other runtime loading flags (-brtl),
9224 # -berok will link without error, but may produce a broken library.
9225 allow_undefined_flag
='-berok'
9226 # Determine the default libpath from the value encoded in an
9228 if test "${lt_cv_aix_libpath+set}" = set; then
9229 aix_libpath
=$lt_cv_aix_libpath
9231 if ${lt_cv_aix_libpath_+:} false
; then :
9232 $as_echo_n "(cached) " >&6
9234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9245 if ac_fn_c_try_link
"$LINENO"; then :
9247 lt_aix_libpath_sed
='
9248 /Import File Strings/,/^$/ {
9250 s/^0 *\([^ ]*\) *$/\1/
9254 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9255 # Check for a 64-bit object if we didn't find anything.
9256 if test -z "$lt_cv_aix_libpath_"; then
9257 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9260 rm -f core conftest.err conftest.
$ac_objext \
9261 conftest
$ac_exeext conftest.
$ac_ext
9262 if test -z "$lt_cv_aix_libpath_"; then
9263 lt_cv_aix_libpath_
="/usr/lib:/lib"
9268 aix_libpath
=$lt_cv_aix_libpath_
9271 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9272 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"
9274 if test "$host_cpu" = ia64
; then
9275 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9276 allow_undefined_flag
="-z nodefs"
9277 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"
9279 # Determine the default libpath from the value encoded in an
9281 if test "${lt_cv_aix_libpath+set}" = set; then
9282 aix_libpath
=$lt_cv_aix_libpath
9284 if ${lt_cv_aix_libpath_+:} false
; then :
9285 $as_echo_n "(cached) " >&6
9287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9298 if ac_fn_c_try_link
"$LINENO"; then :
9300 lt_aix_libpath_sed
='
9301 /Import File Strings/,/^$/ {
9303 s/^0 *\([^ ]*\) *$/\1/
9307 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9308 # Check for a 64-bit object if we didn't find anything.
9309 if test -z "$lt_cv_aix_libpath_"; then
9310 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9313 rm -f core conftest.err conftest.
$ac_objext \
9314 conftest
$ac_exeext conftest.
$ac_ext
9315 if test -z "$lt_cv_aix_libpath_"; then
9316 lt_cv_aix_libpath_
="/usr/lib:/lib"
9321 aix_libpath
=$lt_cv_aix_libpath_
9324 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9325 # Warning - without using the other run time loading flags,
9326 # -berok will link without error, but may produce a broken library.
9327 no_undefined_flag
=' ${wl}-bernotok'
9328 allow_undefined_flag
=' ${wl}-berok'
9329 if test "$with_gnu_ld" = yes; then
9330 # We only use this code for GNU lds that support --whole-archive.
9331 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9333 # Exported symbols can be pulled into shared objects from archives
9334 whole_archive_flag_spec
='$convenience'
9336 archive_cmds_need_lc
=yes
9337 # This is similar to how AIX traditionally builds its shared libraries.
9338 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'
9346 # see comment about AmigaOS4 .so support
9347 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348 archive_expsym_cmds
=''
9351 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)'
9352 hardcode_libdir_flag_spec
='-L$libdir'
9353 hardcode_minus_L
=yes
9359 export_dynamic_flag_spec
=-rdynamic
9362 cygwin
* | mingw
* | pw32
* | cegcc
*)
9363 # When not using gcc, we currently assume that we are using
9364 # Microsoft Visual C++.
9365 # hardcode_libdir_flag_spec is actually meaningless, as there is
9366 # no search path for DLLs.
9367 case $cc_basename in
9370 hardcode_libdir_flag_spec
=' '
9371 allow_undefined_flag
=unsupported
9372 always_export_symbols
=yes
9374 # Tell ltmain to make .lib files, not .a files.
9376 # Tell ltmain to make .dll files, not .so files.
9378 # FIXME: Setting linknames here is a bad hack.
9379 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9380 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9381 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9383 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9385 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9387 # The linker will not automatically build a static lib if we build a DLL.
9388 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9389 enable_shared_with_static_runtimes
=yes
9390 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9392 old_postinstall_cmds
='chmod 644 $oldlib'
9393 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9394 lt_tool_outputfile="@TOOL_OUTPUT@"~
9395 case $lt_outputfile in
9398 lt_outputfile="$lt_outputfile.exe"
9399 lt_tool_outputfile="$lt_tool_outputfile.exe"
9402 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9403 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9404 $RM "$lt_outputfile.manifest";
9408 # Assume MSVC wrapper
9409 hardcode_libdir_flag_spec
=' '
9410 allow_undefined_flag
=unsupported
9411 # Tell ltmain to make .lib files, not .a files.
9413 # Tell ltmain to make .dll files, not .so files.
9415 # FIXME: Setting linknames here is a bad hack.
9416 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9417 # The linker will automatically build a .lib file if we build a DLL.
9418 old_archive_from_new_cmds
='true'
9419 # FIXME: Should let the user specify the lib program.
9420 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9421 enable_shared_with_static_runtimes
=yes
9426 darwin
* | rhapsody
*)
9429 archive_cmds_need_lc
=no
9431 hardcode_automatic
=yes
9432 hardcode_shlibpath_var
=unsupported
9433 if test "$lt_cv_ld_force_load" = "yes"; then
9434 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\"`'
9436 whole_archive_flag_spec
=''
9438 link_all_deplibs
=yes
9439 allow_undefined_flag
="$_lt_dar_allow_undefined"
9440 case $cc_basename in
9441 ifort
*) _lt_dar_can_shared
=yes ;;
9442 *) _lt_dar_can_shared
=$GCC ;;
9444 if test "$_lt_dar_can_shared" = "yes"; then
9445 output_verbose_link_cmd
=func_echo_all
9446 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9447 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9448 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}"
9449 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}"
9458 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9459 hardcode_libdir_flag_spec
='-L$libdir'
9460 hardcode_shlibpath_var
=no
9467 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9468 # support. Future versions do this automatically, but an explicit c++rt0.o
9469 # does not break anything, and helps significantly (at the cost of a little
9472 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9473 hardcode_libdir_flag_spec
='-R$libdir'
9475 hardcode_shlibpath_var
=no
9478 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9480 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9482 hardcode_minus_L
=yes
9483 hardcode_shlibpath_var
=no
9486 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9487 freebsd
* | dragonfly
*)
9488 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9489 hardcode_libdir_flag_spec
='-R$libdir'
9491 hardcode_shlibpath_var
=no
9495 if test "$GCC" = yes; then
9496 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'
9498 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'
9500 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9501 hardcode_libdir_separator
=:
9504 # hardcode_minus_L: Not really in the search PATH,
9505 # but as the default location of the library.
9506 hardcode_minus_L
=yes
9507 export_dynamic_flag_spec
='${wl}-E'
9511 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9512 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9514 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9516 if test "$with_gnu_ld" = no
; then
9517 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9518 hardcode_libdir_flag_spec_ld
='+b $libdir'
9519 hardcode_libdir_separator
=:
9521 hardcode_direct_absolute
=yes
9522 export_dynamic_flag_spec
='${wl}-E'
9523 # hardcode_minus_L: Not really in the search PATH,
9524 # but as the default location of the library.
9525 hardcode_minus_L
=yes
9530 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9533 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9536 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9539 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9552 # Older versions of the 11.00 compiler do not understand -b yet
9553 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9555 $as_echo_n "checking if $CC understands -b... " >&6; }
9556 if ${lt_cv_prog_compiler__b+:} false
; then :
9557 $as_echo_n "(cached) " >&6
9559 lt_cv_prog_compiler__b
=no
9560 save_LDFLAGS
="$LDFLAGS"
9561 LDFLAGS
="$LDFLAGS -b"
9562 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9563 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9564 # The linker can only warn and ignore the option if not recognized
9565 # So say no if there are warnings
9566 if test -s conftest.err
; then
9567 # Append any errors to the config.log.
9568 cat conftest.err
1>&5
9569 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9570 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9571 if diff conftest.exp conftest.er2
>/dev
/null
; then
9572 lt_cv_prog_compiler__b
=yes
9575 lt_cv_prog_compiler__b
=yes
9579 LDFLAGS
="$save_LDFLAGS"
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9583 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9585 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9586 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9588 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9594 if test "$with_gnu_ld" = no
; then
9595 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9596 hardcode_libdir_separator
=:
9601 hardcode_shlibpath_var
=no
9605 hardcode_direct_absolute
=yes
9606 export_dynamic_flag_spec
='${wl}-E'
9608 # hardcode_minus_L: Not really in the search PATH,
9609 # but as the default location of the library.
9610 hardcode_minus_L
=yes
9616 irix5
* | irix6
* | nonstopux
*)
9617 if test "$GCC" = yes; then
9618 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'
9619 # Try to use the -exported_symbol ld option, if it does not
9620 # work, assume that -exports_file does not work either and
9621 # implicitly export all symbols.
9622 # This should be the same for all languages, so no per-tag cache variable.
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9624 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9625 if ${lt_cv_irix_exported_symbol+:} false
; then :
9626 $as_echo_n "(cached) " >&6
9628 save_LDFLAGS
="$LDFLAGS"
9629 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 int foo (void) { return 0; }
9634 if ac_fn_c_try_link
"$LINENO"; then :
9635 lt_cv_irix_exported_symbol
=yes
9637 lt_cv_irix_exported_symbol
=no
9639 rm -f core conftest.err conftest.
$ac_objext \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LDFLAGS
="$save_LDFLAGS"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9644 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9645 if test "$lt_cv_irix_exported_symbol" = yes; then
9646 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'
9649 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'
9650 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'
9652 archive_cmds_need_lc
='no'
9653 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9654 hardcode_libdir_separator
=:
9656 link_all_deplibs
=yes
9660 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9661 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9663 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9665 hardcode_libdir_flag_spec
='-R$libdir'
9667 hardcode_shlibpath_var
=no
9671 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9673 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9674 hardcode_libdir_separator
=:
9675 hardcode_shlibpath_var
=no
9682 if test -f /usr
/libexec
/ld.so
; then
9684 hardcode_shlibpath_var
=no
9685 hardcode_direct_absolute
=yes
9686 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9687 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9689 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9690 export_dynamic_flag_spec
='${wl}-E'
9693 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9694 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_libdir_flag_spec
='-R$libdir'
9698 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9699 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9709 hardcode_libdir_flag_spec
='-L$libdir'
9710 hardcode_minus_L
=yes
9711 allow_undefined_flag
=unsupported
9712 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'
9713 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9717 if test "$GCC" = yes; then
9718 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9719 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'
9721 allow_undefined_flag
=' -expect_unresolved \*'
9722 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'
9724 archive_cmds_need_lc
='no'
9725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9726 hardcode_libdir_separator
=:
9729 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9730 if test "$GCC" = yes; then
9731 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9732 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'
9733 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9735 allow_undefined_flag
=' -expect_unresolved \*'
9736 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'
9737 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~
9738 $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'
9740 # Both c and cxx compiler support -rpath directly
9741 hardcode_libdir_flag_spec
='-rpath $libdir'
9743 archive_cmds_need_lc
='no'
9744 hardcode_libdir_separator
=:
9748 no_undefined_flag
=' -z defs'
9749 if test "$GCC" = yes; then
9751 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9753 $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'
9755 case `$CC -V 2>&1` in
9758 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9759 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9760 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9764 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9766 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9770 hardcode_libdir_flag_spec
='-R$libdir'
9771 hardcode_shlibpath_var
=no
9773 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9775 # The compiler driver will combine and reorder linker options,
9776 # but understands `-z linker_flag'. GCC discards it without `$wl',
9777 # but is careful enough not to reorder.
9778 # Supported since Solaris 2.6 (maybe 2.5.1?)
9779 if test "$GCC" = yes; then
9780 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9782 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9786 link_all_deplibs
=yes
9790 if test "x$host_vendor" = xsequent
; then
9791 # Use $CC to link under sequent, because it throws in some extra .o
9792 # files that make .init and .fini sections work.
9793 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec
='-L$libdir'
9799 hardcode_minus_L
=yes
9800 hardcode_shlibpath_var
=no
9804 case $host_vendor in
9806 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9807 hardcode_direct
=yes # is this really true???
9810 ## LD is ld it makes a PLAMLIB
9811 ## CC just makes a GrossModule.
9812 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9813 reload_cmds
='$CC -r -o $output$reload_objs'
9817 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9821 runpath_var
='LD_RUN_PATH'
9822 hardcode_shlibpath_var
=no
9826 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_shlibpath_var
=no
9828 export_dynamic_flag_spec
='-Bexport'
9832 if test -d /usr
/nec
; then
9833 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9834 hardcode_shlibpath_var
=no
9835 runpath_var
=LD_RUN_PATH
9836 hardcode_runpath_var
=yes
9841 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9842 no_undefined_flag
='${wl}-z,text'
9843 archive_cmds_need_lc
=no
9844 hardcode_shlibpath_var
=no
9845 runpath_var
='LD_RUN_PATH'
9847 if test "$GCC" = yes; then
9848 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9852 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9856 sysv5
* | sco3.2v5
* | sco5v6
*)
9857 # Note: We can NOT use -z defs as we might desire, because we do not
9858 # link with -lc, and that would cause any symbols used from libc to
9859 # always be unresolved, which means just about no library would
9860 # ever link correctly. If we're not using GNU ld we use -z text
9861 # though, which does catch some bad symbols but isn't as heavy-handed
9863 no_undefined_flag
='${wl}-z,text'
9864 allow_undefined_flag
='${wl}-z,nodefs'
9865 archive_cmds_need_lc
=no
9866 hardcode_shlibpath_var
=no
9867 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9868 hardcode_libdir_separator
=':'
9869 link_all_deplibs
=yes
9870 export_dynamic_flag_spec
='${wl}-Bexport'
9871 runpath_var
='LD_RUN_PATH'
9873 if test "$GCC" = yes; then
9874 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9877 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_libdir_flag_spec
='-L$libdir'
9885 hardcode_shlibpath_var
=no
9893 if test x
$host_vendor = xsni
; then
9895 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9896 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9903 $as_echo "$ld_shlibs" >&6; }
9904 test "$ld_shlibs" = no
&& can_build_shared
=no
9906 with_gnu_ld
=$with_gnu_ld
9923 # Do we need to explicitly link libc?
9925 case "x$archive_cmds_need_lc" in
9927 # Assume -lc should be added
9928 archive_cmds_need_lc
=yes
9930 if test "$enable_shared" = yes && test "$GCC" = yes; then
9931 case $archive_cmds in
9933 # FIXME: we may have to deal with multi-command sequences.
9936 # Test whether the compiler implicitly links with -lc since on some
9937 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9938 # to ld, don't add -lc before -lgcc.
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9940 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9941 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9942 $as_echo_n "(cached) " >&6
9945 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9948 (eval $ac_compile) 2>&5
9950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9951 test $ac_status = 0; } 2>conftest.err
; then
9954 libobjs
=conftest.
$ac_objext
9956 wl
=$lt_prog_compiler_wl
9957 pic_flag
=$lt_prog_compiler_pic
9963 lt_save_allow_undefined_flag
=$allow_undefined_flag
9964 allow_undefined_flag
=
9965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9966 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9969 test $ac_status = 0; }
9971 lt_cv_archive_cmds_need_lc
=no
9973 lt_cv_archive_cmds_need_lc
=yes
9975 allow_undefined_flag
=$lt_save_allow_undefined_flag
9977 cat conftest.err
1>&5
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9983 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9984 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10148 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10150 if test "$GCC" = yes; then
10152 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10153 *) lt_awk_arg
="/^libraries:/" ;;
10156 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10157 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10159 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10160 case $lt_search_path_spec in
10162 # if the path contains ";" then we assume it to be the separator
10163 # otherwise default to the standard path separator (i.e. ":") - it is
10164 # assumed that no part of a normal pathname contains ";" but that should
10165 # okay in the real world where ";" in dirpaths is itself problematic.
10166 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10169 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10172 # Ok, now we have the path, separated by spaces, we can step through it
10173 # and add multilib dir if necessary.
10174 lt_tmp_lt_search_path_spec
=
10175 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10176 for lt_sys_path
in $lt_search_path_spec; do
10177 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10178 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10180 test -d "$lt_sys_path" && \
10181 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10184 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10185 BEGIN {RS=" "; FS="/|\n";} {
10188 for (lt_i = NF; lt_i > 0; lt_i--) {
10189 if ($lt_i != "" && $lt_i != ".") {
10190 if ($lt_i == "..") {
10193 if (lt_count == 0) {
10194 lt_foo="/" $lt_i lt_foo;
10201 if (lt_foo != "") { lt_freq[lt_foo]++; }
10202 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10204 # AWK program above erroneously prepends '/' to C:/dos/paths
10207 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10208 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10210 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10212 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10214 library_names_spec
=
10215 libname_spec
='lib$name'
10219 postuninstall_cmds
=
10223 shlibpath_overrides_runpath
=unknown
10225 dynamic_linker
="$host_os ld.so"
10226 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10227 need_lib_prefix
=unknown
10228 hardcode_into_libs
=no
10230 # when you set need_version to no, make sure it does not cause -set_version
10231 # flags to be left without arguments
10232 need_version
=unknown
10237 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10238 shlibpath_var
=LIBPATH
10240 # AIX 3 has no versioning support, so we append a major version to the name.
10241 soname_spec
='${libname}${release}${shared_ext}$major'
10248 hardcode_into_libs
=yes
10249 if test "$host_cpu" = ia64
; then
10250 # AIX 5 supports IA64
10251 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10252 shlibpath_var
=LD_LIBRARY_PATH
10254 # With GCC up to 2.95.x, collect2 would create an import file
10255 # for dependence libraries. The import file would start with
10256 # the line `#! .'. This would cause the generated library to
10257 # depend on `.', always an invalid library. This was fixed in
10258 # development snapshots of GCC prior to 3.0.
10260 aix4 | aix4.
[01] | aix4.
[01].
*)
10261 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10263 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10266 can_build_shared
=no
10270 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10271 # soname into executable. Probably we can add versioning support to
10272 # collect2, so additional links can be useful in future.
10273 if test "$aix_use_runtimelinking" = yes; then
10274 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10275 # instead of lib<name>.a to let people know that these are not
10276 # typical AIX shared libraries.
10277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279 # We preserve .a as extension for shared libraries through AIX4.2
10280 # and later when we are not doing run time linking.
10281 library_names_spec
='${libname}${release}.a $libname.a'
10282 soname_spec
='${libname}${release}${shared_ext}$major'
10284 shlibpath_var
=LIBPATH
10291 # Since July 2007 AmigaOS4 officially supports .so libraries.
10292 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10296 library_names_spec
='$libname.ixlibrary $libname.a'
10297 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10298 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'
10304 library_names_spec
='${libname}${shared_ext}'
10305 dynamic_linker
="$host_os ld.so"
10306 shlibpath_var
=LIBRARY_PATH
10312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313 soname_spec
='${libname}${release}${shared_ext}$major'
10314 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10315 shlibpath_var
=LD_LIBRARY_PATH
10316 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10317 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10318 # the default ld.so.conf also contains /usr/contrib/lib and
10319 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10320 # libtool to hard-code these into programs
10323 cygwin
* | mingw
* | pw32
* | cegcc
*)
10324 version_type
=windows
10329 case $GCC,$cc_basename in
10332 library_names_spec
='$libname.dll.a'
10333 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10334 postinstall_cmds
='base_file=`basename \${file}`~
10335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10336 dldir=$destdir/`dirname \$dlpath`~
10337 test -d \$dldir || mkdir -p \$dldir~
10338 $install_prog $dir/$dlname \$dldir/$dlname~
10339 chmod a+x \$dldir/$dlname~
10340 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10341 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10343 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10344 dlpath=$dir/\$dldll~
10346 shlibpath_overrides_runpath
=yes
10350 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10351 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10353 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10356 # MinGW DLLs use traditional 'lib' prefix
10357 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10360 # pw32 DLLs use 'pw' prefix rather than 'lib'
10361 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10364 dynamic_linker
='Win32 ld.exe'
10369 libname_spec
='$name'
10370 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10371 library_names_spec
='${libname}.dll.lib'
10375 sys_lib_search_path_spec
=
10378 for lt_path
in $LIB
10381 # Let DOS variable expansion print the short 8.3 style file name.
10382 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10383 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10386 # Convert to MSYS style.
10387 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10390 # Convert to unix form, then to dos form, then back to unix form
10391 # but this time dos style (no spaces!) so that the unix form looks
10392 # like /cygdrive/c/PROGRA~1:/cygdr...
10393 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10394 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10395 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10398 sys_lib_search_path_spec
="$LIB"
10399 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10400 # It is most probably a Windows format PATH.
10401 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10403 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10405 # FIXME: find the short name or the path components, as spaces are
10406 # common. (e.g. "Program Files" -> "PROGRA~1")
10410 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10411 postinstall_cmds
='base_file=`basename \${file}`~
10412 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10413 dldir=$destdir/`dirname \$dlpath`~
10414 test -d \$dldir || mkdir -p \$dldir~
10415 $install_prog $dir/$dlname \$dldir/$dlname'
10416 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10417 dlpath=$dir/\$dldll~
10419 shlibpath_overrides_runpath
=yes
10420 dynamic_linker
='Win32 link.exe'
10424 # Assume MSVC wrapper
10425 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10426 dynamic_linker
='Win32 ld.exe'
10429 # FIXME: first we should search . and the directory the executable is in
10433 darwin
* | rhapsody
*)
10434 dynamic_linker
="$host_os dyld"
10435 version_type
=darwin
10438 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10439 soname_spec
='${libname}${release}${major}$shared_ext'
10440 shlibpath_overrides_runpath
=yes
10441 shlibpath_var
=DYLD_LIBRARY_PATH
10442 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10444 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10445 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10453 soname_spec
='${libname}${release}${shared_ext}$major'
10454 shlibpath_var
=LD_LIBRARY_PATH
10461 freebsd
* | dragonfly
*)
10462 # DragonFly does not have aout. When/if they implement a new
10463 # versioning mechanism, adjust this.
10464 if test -x /usr
/bin
/objformat
; then
10465 objformat
=`/usr/bin/objformat`
10468 freebsd
[123]*) objformat
=aout
;;
10469 *) objformat
=elf
;;
10472 version_type
=freebsd-
$objformat
10473 case $version_type in
10475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10484 shlibpath_var
=LD_LIBRARY_PATH
10487 shlibpath_overrides_runpath
=yes
10489 freebsd3.
[01]* | freebsdelf3.
[01]*)
10490 shlibpath_overrides_runpath
=yes
10491 hardcode_into_libs
=yes
10493 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10494 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10495 shlibpath_overrides_runpath
=no
10496 hardcode_into_libs
=yes
10498 *) # from 4.6 on, and DragonFly
10499 shlibpath_overrides_runpath
=yes
10500 hardcode_into_libs
=yes
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 shlibpath_var
=LD_LIBRARY_PATH
10512 hardcode_into_libs
=yes
10519 dynamic_linker
="$host_os runtime_loader"
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10521 soname_spec
='${libname}${release}${shared_ext}$major'
10522 shlibpath_var
=LIBRARY_PATH
10523 shlibpath_overrides_runpath
=yes
10524 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10525 hardcode_into_libs
=yes
10528 hpux9
* | hpux10
* | hpux11
*)
10529 # Give a soname corresponding to the major version so that dld.sl refuses to
10530 # link against other versions.
10537 hardcode_into_libs
=yes
10538 dynamic_linker
="$host_os dld.so"
10539 shlibpath_var
=LD_LIBRARY_PATH
10540 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542 soname_spec
='${libname}${release}${shared_ext}$major'
10543 if test "X$HPUX_IA64_MODE" = X32
; then
10544 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10546 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10548 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10552 hardcode_into_libs
=yes
10553 dynamic_linker
="$host_os dld.sl"
10554 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10555 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557 soname_spec
='${libname}${release}${shared_ext}$major'
10558 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10559 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10563 dynamic_linker
="$host_os dld.sl"
10564 shlibpath_var
=SHLIB_PATH
10565 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec
='${libname}${release}${shared_ext}$major'
10570 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10571 postinstall_cmds
='chmod 555 $lib'
10572 # or fails outright, so override atomically:
10573 install_override_mode
=555
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10581 soname_spec
='${libname}${release}${shared_ext}$major'
10582 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10583 shlibpath_var
=LD_LIBRARY_PATH
10584 shlibpath_overrides_runpath
=no
10585 hardcode_into_libs
=yes
10588 irix5
* | irix6
* | nonstopux
*)
10590 nonstopux
*) version_type
=nonstopux
;;
10592 if test "$lt_cv_prog_gnu_ld" = yes; then
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10603 irix5
* | nonstopux
*)
10604 libsuff
= shlibsuff
=
10607 case $LD in # libtool.m4 will add one of these switches to LD
10608 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10609 libsuff
= shlibsuff
= libmagic
=32-bit;;
10610 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10611 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10612 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10613 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10614 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10618 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10619 shlibpath_overrides_runpath
=no
10620 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10621 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10622 hardcode_into_libs
=yes
10625 # No shared lib support for Linux oldld, aout, or coff.
10626 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10630 # This must be Linux ELF.
10631 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10636 soname_spec
='${libname}${release}${shared_ext}$major'
10637 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10638 shlibpath_var
=LD_LIBRARY_PATH
10639 shlibpath_overrides_runpath
=no
10641 # Some binutils ld are patched to set DT_RUNPATH
10642 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 lt_cv_shlibpath_overrides_runpath
=no
10646 save_LDFLAGS
=$LDFLAGS
10647 save_libdir
=$libdir
10648 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10649 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10661 if ac_fn_c_try_link
"$LINENO"; then :
10662 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10663 lt_cv_shlibpath_overrides_runpath
=yes
10666 rm -f core conftest.err conftest.
$ac_objext \
10667 conftest
$ac_exeext conftest.
$ac_ext
10668 LDFLAGS
=$save_LDFLAGS
10669 libdir
=$save_libdir
10673 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10675 # This implies no fast_install, which is unacceptable.
10676 # Some rework will be needed to allow for fast_install
10677 # before this can be enabled.
10678 hardcode_into_libs
=yes
10680 # Append ld.so.conf contents to the search path
10681 if test -f /etc
/ld.so.conf
; then
10682 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' ' '`
10683 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10686 # We used to test for /lib/ld.so.1 and disable shared libraries on
10687 # powerpc, because MkLinux only supported shared libraries with the
10688 # GNU dynamic linker. Since this was broken with cross compilers,
10689 # most powerpc-linux boxes support dynamic linking these days and
10690 # people can always --disable-shared, the test was removed, and we
10691 # assume the GNU/Linux dynamic linker is in use.
10692 dynamic_linker
='GNU/Linux ld.so'
10699 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10702 dynamic_linker
='NetBSD (a.out) ld.so'
10704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10705 soname_spec
='${libname}${release}${shared_ext}$major'
10706 dynamic_linker
='NetBSD ld.elf_so'
10708 shlibpath_var
=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath
=yes
10710 hardcode_into_libs
=yes
10715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10716 shlibpath_var
=LD_LIBRARY_PATH
10717 shlibpath_overrides_runpath
=yes
10724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 soname_spec
='${libname}${release}${shared_ext}$major'
10726 shlibpath_var
=LD_LIBRARY_PATH
10727 shlibpath_overrides_runpath
=no
10728 hardcode_into_libs
=yes
10729 dynamic_linker
='ldqnx.so'
10734 sys_lib_dlsearch_path_spec
="/usr/lib"
10736 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10738 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10739 *) need_version
=no
;;
10741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743 shlibpath_var
=LD_LIBRARY_PATH
10744 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10746 openbsd2.
[89] | openbsd2.
[89].
*)
10747 shlibpath_overrides_runpath
=no
10750 shlibpath_overrides_runpath
=yes
10754 shlibpath_overrides_runpath
=yes
10759 libname_spec
='$name'
10762 library_names_spec
='$libname${shared_ext} $libname.a'
10763 dynamic_linker
='OS/2 ld.exe'
10764 shlibpath_var
=LIBPATH
10767 osf3
* | osf4
* | osf5
*)
10771 soname_spec
='${libname}${release}${shared_ext}$major'
10772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773 shlibpath_var
=LD_LIBRARY_PATH
10774 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10775 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 soname_spec
='${libname}${release}${shared_ext}$major'
10788 shlibpath_var
=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath
=yes
10790 hardcode_into_libs
=yes
10791 # ldd complains unless libraries are executable
10792 postinstall_cmds
='chmod +x $lib'
10797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10798 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10799 shlibpath_var
=LD_LIBRARY_PATH
10800 shlibpath_overrides_runpath
=yes
10801 if test "$with_gnu_ld" = yes; then
10809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810 soname_spec
='${libname}${release}${shared_ext}$major'
10811 shlibpath_var
=LD_LIBRARY_PATH
10812 case $host_vendor in
10814 shlibpath_overrides_runpath
=no
10816 runpath_var
=LD_RUN_PATH
10824 shlibpath_overrides_runpath
=no
10825 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10831 if test -d /usr
/nec
;then
10833 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10834 soname_spec
='$libname${shared_ext}.$major'
10835 shlibpath_var
=LD_LIBRARY_PATH
10839 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10840 version_type
=freebsd-elf
10843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10844 soname_spec
='${libname}${release}${shared_ext}$major'
10845 shlibpath_var
=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath
=yes
10847 hardcode_into_libs
=yes
10848 if test "$with_gnu_ld" = yes; then
10849 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10851 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10854 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10858 sys_lib_dlsearch_path_spec
='/usr/lib'
10862 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 shlibpath_var
=LD_LIBRARY_PATH
10868 shlibpath_overrides_runpath
=no
10869 hardcode_into_libs
=yes
10874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875 soname_spec
='${libname}${release}${shared_ext}$major'
10876 shlibpath_var
=LD_LIBRARY_PATH
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10884 $as_echo "$dynamic_linker" >&6; }
10885 test "$dynamic_linker" = no
&& can_build_shared
=no
10887 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10888 if test "$GCC" = yes; then
10889 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10892 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10893 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10895 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10896 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10991 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10993 if test -n "$hardcode_libdir_flag_spec" ||
10994 test -n "$runpath_var" ||
10995 test "X$hardcode_automatic" = "Xyes" ; then
10997 # We can hardcode non-existent directories.
10998 if test "$hardcode_direct" != no
&&
10999 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11000 # have to relink, otherwise we might link with an installed library
11001 # when we should be linking with a yet-to-be-installed one
11002 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11003 test "$hardcode_minus_L" != no
; then
11004 # Linking always hardcodes the temporary library directory.
11005 hardcode_action
=relink
11007 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11008 hardcode_action
=immediate
11011 # We cannot hardcode anything, or else we can only hardcode existing
11013 hardcode_action
=unsupported
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11016 $as_echo "$hardcode_action" >&6; }
11018 if test "$hardcode_action" = relink ||
11019 test "$inherit_rpath" = yes; then
11020 # Fast installation is not supported
11021 enable_fast_install
=no
11022 elif test "$shlibpath_overrides_runpath" = yes ||
11023 test "$enable_shared" = no
; then
11024 # Fast installation is not necessary
11025 enable_fast_install
=needless
11033 if test "x$enable_dlopen" != xyes
; then
11034 enable_dlopen
=unknown
11035 enable_dlopen_self
=unknown
11036 enable_dlopen_self_static
=unknown
11043 lt_cv_dlopen
="load_add_on"
11045 lt_cv_dlopen_self
=yes
11048 mingw
* | pw32
* | cegcc
*)
11049 lt_cv_dlopen
="LoadLibrary"
11054 lt_cv_dlopen
="dlopen"
11059 # if libdl is installed we need to link against it
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11061 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11062 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11063 $as_echo_n "(cached) " >&6
11065 ac_check_lib_save_LIBS
=$LIBS
11067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11085 if ac_fn_c_try_link
"$LINENO"; then :
11086 ac_cv_lib_dl_dlopen
=yes
11088 ac_cv_lib_dl_dlopen
=no
11090 rm -f core conftest.err conftest.
$ac_objext \
11091 conftest
$ac_exeext conftest.
$ac_ext
11092 LIBS
=$ac_check_lib_save_LIBS
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11095 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11096 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11097 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11100 lt_cv_dlopen
="dyld"
11102 lt_cv_dlopen_self
=yes
11109 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11110 if test "x$ac_cv_func_shl_load" = xyes
; then :
11111 lt_cv_dlopen
="shl_load"
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11114 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11115 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11116 $as_echo_n "(cached) " >&6
11118 ac_check_lib_save_LIBS
=$LIBS
11120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11133 return shl_load ();
11138 if ac_fn_c_try_link
"$LINENO"; then :
11139 ac_cv_lib_dld_shl_load
=yes
11141 ac_cv_lib_dld_shl_load
=no
11143 rm -f core conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LIBS
=$ac_check_lib_save_LIBS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11148 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11149 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11150 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11152 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11153 if test "x$ac_cv_func_dlopen" = xyes
; then :
11154 lt_cv_dlopen
="dlopen"
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11157 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11158 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_lib_save_LIBS
=$LIBS
11163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11181 if ac_fn_c_try_link
"$LINENO"; then :
11182 ac_cv_lib_dl_dlopen
=yes
11184 ac_cv_lib_dl_dlopen
=no
11186 rm -f core conftest.err conftest.
$ac_objext \
11187 conftest
$ac_exeext conftest.
$ac_ext
11188 LIBS
=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11191 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11192 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11193 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11196 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11197 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11198 $as_echo_n "(cached) " >&6
11200 ac_check_lib_save_LIBS
=$LIBS
11201 LIBS
="-lsvld $LIBS"
11202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11220 if ac_fn_c_try_link
"$LINENO"; then :
11221 ac_cv_lib_svld_dlopen
=yes
11223 ac_cv_lib_svld_dlopen
=no
11225 rm -f core conftest.err conftest.
$ac_objext \
11226 conftest
$ac_exeext conftest.
$ac_ext
11227 LIBS
=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11230 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11231 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11232 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11235 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11236 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11237 $as_echo_n "(cached) " >&6
11239 ac_check_lib_save_LIBS
=$LIBS
11241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11254 return dld_link ();
11259 if ac_fn_c_try_link
"$LINENO"; then :
11260 ac_cv_lib_dld_dld_link
=yes
11262 ac_cv_lib_dld_dld_link
=no
11264 rm -f core conftest.err conftest.
$ac_objext \
11265 conftest
$ac_exeext conftest.
$ac_ext
11266 LIBS
=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11269 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11270 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11271 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11292 if test "x$lt_cv_dlopen" != xno
; then
11298 case $lt_cv_dlopen in
11300 save_CPPFLAGS
="$CPPFLAGS"
11301 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11303 save_LDFLAGS
="$LDFLAGS"
11304 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11307 LIBS
="$lt_cv_dlopen_libs $LIBS"
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11310 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11311 if ${lt_cv_dlopen_self+:} false
; then :
11312 $as_echo_n "(cached) " >&6
11314 if test "$cross_compiling" = yes; then :
11315 lt_cv_dlopen_self
=cross
11317 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11318 lt_status
=$lt_dlunknown
11319 cat > conftest.
$ac_ext <<_LT_EOF
11320 #line $LINENO "configure"
11321 #include "confdefs.h"
11330 # define LT_DLGLOBAL RTLD_GLOBAL
11333 # define LT_DLGLOBAL DL_GLOBAL
11335 # define LT_DLGLOBAL 0
11339 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11340 find out it does not work in some platform. */
11341 #ifndef LT_DLLAZY_OR_NOW
11343 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11346 # define LT_DLLAZY_OR_NOW DL_LAZY
11349 # define LT_DLLAZY_OR_NOW RTLD_NOW
11352 # define LT_DLLAZY_OR_NOW DL_NOW
11354 # define LT_DLLAZY_OR_NOW 0
11361 /* When -fvisbility=hidden is used, assume the code has been annotated
11362 correspondingly for the symbols needed. */
11363 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11364 int fnord () __attribute__((visibility("default")));
11367 int fnord () { return 42; }
11370 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11371 int status = $lt_dlunknown;
11375 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11378 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11379 else puts (dlerror ());
11381 /* dlclose (self); */
11389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11390 (eval $ac_link) 2>&5
11392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11393 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11394 (.
/conftest
; exit; ) >&5 2>/dev
/null
11396 case x
$lt_status in
11397 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11398 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11399 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11402 # compilation failed
11403 lt_cv_dlopen_self
=no
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11411 $as_echo "$lt_cv_dlopen_self" >&6; }
11413 if test "x$lt_cv_dlopen_self" = xyes
; then
11414 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11416 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11417 if ${lt_cv_dlopen_self_static+:} false
; then :
11418 $as_echo_n "(cached) " >&6
11420 if test "$cross_compiling" = yes; then :
11421 lt_cv_dlopen_self_static
=cross
11423 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11424 lt_status
=$lt_dlunknown
11425 cat > conftest.
$ac_ext <<_LT_EOF
11426 #line $LINENO "configure"
11427 #include "confdefs.h"
11436 # define LT_DLGLOBAL RTLD_GLOBAL
11439 # define LT_DLGLOBAL DL_GLOBAL
11441 # define LT_DLGLOBAL 0
11445 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11446 find out it does not work in some platform. */
11447 #ifndef LT_DLLAZY_OR_NOW
11449 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11452 # define LT_DLLAZY_OR_NOW DL_LAZY
11455 # define LT_DLLAZY_OR_NOW RTLD_NOW
11458 # define LT_DLLAZY_OR_NOW DL_NOW
11460 # define LT_DLLAZY_OR_NOW 0
11467 /* When -fvisbility=hidden is used, assume the code has been annotated
11468 correspondingly for the symbols needed. */
11469 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11470 int fnord () __attribute__((visibility("default")));
11473 int fnord () { return 42; }
11476 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11477 int status = $lt_dlunknown;
11481 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11484 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11485 else puts (dlerror ());
11487 /* dlclose (self); */
11495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11496 (eval $ac_link) 2>&5
11498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11499 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11500 (.
/conftest
; exit; ) >&5 2>/dev
/null
11502 case x
$lt_status in
11503 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11504 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11505 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11508 # compilation failed
11509 lt_cv_dlopen_self_static
=no
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11517 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11520 CPPFLAGS
="$save_CPPFLAGS"
11521 LDFLAGS
="$save_LDFLAGS"
11526 case $lt_cv_dlopen_self in
11527 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11528 *) enable_dlopen_self
=unknown
;;
11531 case $lt_cv_dlopen_self_static in
11532 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11533 *) enable_dlopen_self_static
=unknown
;;
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11556 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11557 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11558 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11559 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11561 $as_echo "yes" >&6; }
11563 # FIXME - insert some real tests, host_os isn't really good enough
11566 if test -n "$STRIP" ; then
11567 striplib
="$STRIP -x"
11568 old_striplib
="$STRIP -S"
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11570 $as_echo "yes" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11578 $as_echo "no" >&6; }
11594 # Report which library types will actually be built
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11596 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11598 $as_echo "$can_build_shared" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11601 $as_echo_n "checking whether to build shared libraries... " >&6; }
11602 test "$can_build_shared" = "no" && enable_shared
=no
11604 # On AIX, shared libraries and static libraries use the same namespace, and
11605 # are all built from PIC.
11608 test "$enable_shared" = yes && enable_static
=no
11609 if test -n "$RANLIB"; then
11610 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11611 postinstall_cmds
='$RANLIB $lib'
11616 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11617 test "$enable_shared" = yes && enable_static
=no
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11622 $as_echo "$enable_shared" >&6; }
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11625 $as_echo_n "checking whether to build static libraries... " >&6; }
11626 # Make sure either enable_shared or enable_static is yes.
11627 test "$enable_shared" = yes || enable_static
=yes
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11629 $as_echo "$enable_static" >&6; }
11636 ac_cpp
='$CPP $CPPFLAGS'
11637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11655 ac_config_commands
="$ac_config_commands libtool"
11660 # Only expand once:
11668 *-*-mingw32* |
*-*-cygwin*)
11670 $as_echo "#define HOST_W32 1" >>confdefs.h
11673 if test x
"$enable_shared" != "xno" ; then
11674 NO_UNDEFINED
="-no-undefined"
11678 EXTRA_LIBQUVI_LDFLAGS
="$NO_UNDEFINED"
11681 # Checks for programs.
11682 for ac_prog
in gawk mawk nawk
awk
11684 # Extract the first word of "$ac_prog", so it can be a program name with args.
11685 set dummy
$ac_prog; ac_word
=$2
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11687 $as_echo_n "checking for $ac_word... " >&6; }
11688 if ${ac_cv_prog_AWK+:} false
; then :
11689 $as_echo_n "(cached) " >&6
11691 if test -n "$AWK"; then
11692 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11695 for as_dir
in $PATH
11698 test -z "$as_dir" && as_dir
=.
11699 for ac_exec_ext
in '' $ac_executable_extensions; do
11700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11701 ac_cv_prog_AWK
="$ac_prog"
11702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11711 AWK
=$ac_cv_prog_AWK
11712 if test -n "$AWK"; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11714 $as_echo "$AWK" >&6; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717 $as_echo "no" >&6; }
11721 test -n "$AWK" && break
11725 ac_cpp
='$CPP $CPPFLAGS'
11726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11729 if test -n "$ac_tool_prefix"; then
11730 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11731 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11733 $as_echo_n "checking for $ac_word... " >&6; }
11734 if ${ac_cv_prog_CC+:} false
; then :
11735 $as_echo_n "(cached) " >&6
11737 if test -n "$CC"; then
11738 ac_cv_prog_CC
="$CC" # Let the user override the test.
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in $PATH
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11747 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 if test -n "$CC"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11760 $as_echo "$CC" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 $as_echo "no" >&6; }
11768 if test -z "$ac_cv_prog_CC"; then
11770 # Extract the first word of "gcc", so it can be a program name with args.
11771 set dummy gcc
; ac_word
=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 $as_echo_n "checking for $ac_word... " >&6; }
11774 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11775 $as_echo_n "(cached) " >&6
11777 if test -n "$ac_ct_CC"; then
11778 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11781 for as_dir
in $PATH
11784 test -z "$as_dir" && as_dir
=.
11785 for ac_exec_ext
in '' $ac_executable_extensions; do
11786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11787 ac_cv_prog_ac_ct_CC
="gcc"
11788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11797 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11798 if test -n "$ac_ct_CC"; then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11800 $as_echo "$ac_ct_CC" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 $as_echo "no" >&6; }
11806 if test "x$ac_ct_CC" = x
; then
11809 case $cross_compiling:$ac_tool_warned in
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11813 ac_tool_warned
=yes ;;
11818 CC
="$ac_cv_prog_CC"
11821 if test -z "$CC"; then
11822 if test -n "$ac_tool_prefix"; then
11823 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11824 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11826 $as_echo_n "checking for $ac_word... " >&6; }
11827 if ${ac_cv_prog_CC+:} false
; then :
11828 $as_echo_n "(cached) " >&6
11830 if test -n "$CC"; then
11831 ac_cv_prog_CC
="$CC" # Let the user override the test.
11833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11834 for as_dir
in $PATH
11837 test -z "$as_dir" && as_dir
=.
11838 for ac_exec_ext
in '' $ac_executable_extensions; do
11839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11840 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 if test -n "$CC"; then
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11853 $as_echo "$CC" >&6; }
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11856 $as_echo "no" >&6; }
11862 if test -z "$CC"; then
11863 # Extract the first word of "cc", so it can be a program name with args.
11864 set dummy cc
; ac_word
=$2
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11866 $as_echo_n "checking for $ac_word... " >&6; }
11867 if ${ac_cv_prog_CC+:} false
; then :
11868 $as_echo_n "(cached) " >&6
11870 if test -n "$CC"; then
11871 ac_cv_prog_CC
="$CC" # Let the user override the test.
11873 ac_prog_rejected
=no
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11881 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11882 ac_prog_rejected
=yes
11886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11893 if test $ac_prog_rejected = yes; then
11894 # We found a bogon in the path, so make sure we never use it.
11895 set dummy
$ac_cv_prog_CC
11897 if test $# != 0; then
11898 # We chose a different compiler from the bogus one.
11899 # However, it has the same basename, so the bogon will be chosen
11900 # first if we set CC to just the basename; use the full file name.
11902 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11908 if test -n "$CC"; then
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11910 $as_echo "$CC" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11918 if test -z "$CC"; then
11919 if test -n "$ac_tool_prefix"; then
11920 for ac_prog
in cl.exe
11922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11923 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11925 $as_echo_n "checking for $ac_word... " >&6; }
11926 if ${ac_cv_prog_CC+:} false
; then :
11927 $as_echo_n "(cached) " >&6
11929 if test -n "$CC"; then
11930 ac_cv_prog_CC
="$CC" # Let the user override the test.
11932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11933 for as_dir
in $PATH
11936 test -z "$as_dir" && as_dir
=.
11937 for ac_exec_ext
in '' $ac_executable_extensions; do
11938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11939 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11950 if test -n "$CC"; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11952 $as_echo "$CC" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11955 $as_echo "no" >&6; }
11959 test -n "$CC" && break
11962 if test -z "$CC"; then
11964 for ac_prog
in cl.exe
11966 # Extract the first word of "$ac_prog", so it can be a program name with args.
11967 set dummy
$ac_prog; ac_word
=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11969 $as_echo_n "checking for $ac_word... " >&6; }
11970 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11971 $as_echo_n "(cached) " >&6
11973 if test -n "$ac_ct_CC"; then
11974 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11977 for as_dir
in $PATH
11980 test -z "$as_dir" && as_dir
=.
11981 for ac_exec_ext
in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_prog_ac_ct_CC
="$ac_prog"
11984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11994 if test -n "$ac_ct_CC"; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11996 $as_echo "$ac_ct_CC" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11999 $as_echo "no" >&6; }
12003 test -n "$ac_ct_CC" && break
12006 if test "x$ac_ct_CC" = x
; then
12009 case $cross_compiling:$ac_tool_warned in
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12013 ac_tool_warned
=yes ;;
12022 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12024 as_fn_error $?
"no acceptable C compiler found in \$PATH
12025 See \`config.log' for more details" "$LINENO" 5; }
12027 # Provide some information about the compiler.
12028 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12031 for ac_option
in --version -v -V -qversion; do
12032 { { ac_try
="$ac_compiler $ac_option >&5"
12033 case "(($ac_try" in
12034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12035 *) ac_try_echo=$ac_try;;
12037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12038 $as_echo "$ac_try_echo"; } >&5
12039 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12041 if test -s conftest.err; then
12043 ... rest of stderr output deleted ...
12044 10q' conftest.err >conftest.er1
12045 cat conftest.er1 >&5
12047 rm -f conftest.er1 conftest.err
12048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12049 test $ac_status = 0; }
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12053 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12054 if ${ac_cv_c_compiler_gnu+:} false; then :
12055 $as_echo_n "(cached) " >&6
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12071 if ac_fn_c_try_compile "$LINENO"; then :
12072 ac_compiler_gnu=yes
12076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12077 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12081 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12082 if test $ac_compiler_gnu = yes; then
12087 ac_test_CFLAGS=${CFLAGS+set}
12088 ac_save_CFLAGS=$CFLAGS
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12090 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12091 if ${ac_cv_prog_cc_g+:} false; then :
12092 $as_echo_n "(cached) " >&6
12094 ac_save_c_werror_flag=$ac_c_werror_flag
12095 ac_c_werror_flag=yes
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12109 if ac_fn_c_try_compile "$LINENO"; then :
12110 ac_cv_prog_cc_g=yes
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12124 if ac_fn_c_try_compile "$LINENO"; then :
12127 ac_c_werror_flag=$ac_save_c_werror_flag
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12140 if ac_fn_c_try_compile "$LINENO"; then :
12141 ac_cv_prog_cc_g=yes
12143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12148 ac_c_werror_flag=$ac_save_c_werror_flag
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12151 $as_echo "$ac_cv_prog_cc_g" >&6; }
12152 if test "$ac_test_CFLAGS" = set; then
12153 CFLAGS=$ac_save_CFLAGS
12154 elif test $ac_cv_prog_cc_g = yes; then
12155 if test "$GCC" = yes; then
12161 if test "$GCC" = yes; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12168 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12169 if ${ac_cv_prog_cc_c89+:} false; then :
12170 $as_echo_n "(cached) " >&6
12172 ac_cv_prog_cc_c89=no
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12176 #include <stdarg.h>
12178 #include <sys/types.h>
12179 #include <sys/stat.h>
12180 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12181 struct buf { int x; };
12182 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12183 static char *e (p, i)
12189 static char *f (char * (*g) (char **, int), char **p, ...)
12194 s = g (p, va_arg (v,int));
12199 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12200 function prototypes and stuff, but not '\xHH' hex character constants.
12201 These don't provoke an error unfortunately, instead are silently treated
12202 as 'x'. The following induces an error, until -std is added to get
12203 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12204 array size at least. It's necessary to write '\x00'==0 to get something
12205 that's true only with -std. */
12206 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12208 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12209 inside strings and character constants. */
12211 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12213 int test (int i, double x);
12214 struct s1 {int (*f) (int a);};
12215 struct s2 {int (*f) (double a);};
12216 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12222 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12227 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12228 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12230 CC="$ac_save_CC $ac_arg"
12231 if ac_fn_c_try_compile "$LINENO"; then :
12232 ac_cv_prog_cc_c89=$ac_arg
12234 rm -f core conftest.err conftest.$ac_objext
12235 test "x$ac_cv_prog_cc_c89" != "xno" && break
12237 rm -f conftest.$ac_ext
12242 case "x$ac_cv_prog_cc_c89" in
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12245 $as_echo "none needed" >&6; } ;;
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12248 $as_echo "unsupported" >&6; } ;;
12250 CC="$CC $ac_cv_prog_cc_c89"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12252 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12254 if test "x$ac_cv_prog_cc_c89" != xno; then :
12259 ac_cpp='$CPP $CPPFLAGS'
12260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12265 ac_cpp='$CXXCPP $CPPFLAGS'
12266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12269 if test -z "$CXX"; then
12270 if test -n "$CCC"; then
12273 if test -n "$ac_tool_prefix"; then
12274 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12279 $as_echo_n "checking for $ac_word... " >&6; }
12280 if ${ac_cv_prog_CXX+:} false; then :
12281 $as_echo_n "(cached) " >&6
12283 if test -n "$CXX"; then
12284 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12287 for as_dir in $PATH
12290 test -z "$as_dir" && as_dir=.
12291 for ac_exec_ext in '' $ac_executable_extensions; do
12292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12293 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12303 CXX=$ac_cv_prog_CXX
12304 if test -n "$CXX"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12306 $as_echo "$CXX" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12309 $as_echo "no" >&6; }
12313 test -n "$CXX" && break
12316 if test -z "$CXX"; then
12318 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12320 # Extract the first word of "$ac_prog", so it can be a program name with args.
12321 set dummy $ac_prog; ac_word=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12323 $as_echo_n "checking for $ac_word... " >&6; }
12324 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12325 $as_echo_n "(cached) " >&6
12327 if test -n "$ac_ct_CXX"; then
12328 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_prog_ac_ct_CXX="$ac_prog"
12338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12347 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12348 if test -n "$ac_ct_CXX"; then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12350 $as_echo "$ac_ct_CXX" >&6; }
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353 $as_echo "no" >&6; }
12357 test -n "$ac_ct_CXX" && break
12360 if test "x$ac_ct_CXX" = x; then
12363 case $cross_compiling:$ac_tool_warned in
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12367 ac_tool_warned=yes ;;
12375 # Provide some information about the compiler.
12376 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12379 for ac_option in --version -v -V -qversion; do
12380 { { ac_try="$ac_compiler $ac_option >&5"
12381 case "(($ac_try" in
12382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12383 *) ac_try_echo
=$ac_try;;
12385 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12386 $as_echo "$ac_try_echo"; } >&5
12387 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12389 if test -s conftest.err
; then
12391 ... rest of stderr output deleted ...
12392 10q' conftest.err
>conftest.er1
12393 cat conftest.er1
>&5
12395 rm -f conftest.er1 conftest.err
12396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12397 test $ac_status = 0; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12401 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12402 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
12403 $as_echo_n "(cached) " >&6
12405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12419 if ac_fn_cxx_try_compile
"$LINENO"; then :
12420 ac_compiler_gnu
=yes
12424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12425 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12429 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12430 if test $ac_compiler_gnu = yes; then
12435 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12436 ac_save_CXXFLAGS
=$CXXFLAGS
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12438 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12439 if ${ac_cv_prog_cxx_g+:} false
; then :
12440 $as_echo_n "(cached) " >&6
12442 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
12443 ac_cxx_werror_flag
=yes
12444 ac_cv_prog_cxx_g
=no
12446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12457 if ac_fn_cxx_try_compile
"$LINENO"; then :
12458 ac_cv_prog_cxx_g
=yes
12461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12472 if ac_fn_cxx_try_compile
"$LINENO"; then :
12475 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12488 if ac_fn_cxx_try_compile
"$LINENO"; then :
12489 ac_cv_prog_cxx_g
=yes
12491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12496 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12499 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12500 if test "$ac_test_CXXFLAGS" = set; then
12501 CXXFLAGS
=$ac_save_CXXFLAGS
12502 elif test $ac_cv_prog_cxx_g = yes; then
12503 if test "$GXX" = yes; then
12509 if test "$GXX" = yes; then
12516 ac_cpp
='$CPP $CPPFLAGS'
12517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12521 depcc
="$CXX" am_compiler_list
=
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12524 $as_echo_n "checking dependency style of $depcc... " >&6; }
12525 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
12526 $as_echo_n "(cached) " >&6
12528 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12529 # We make a subdir and do the tests there. Otherwise we can end up
12530 # making bogus files that we don't know about and never remove. For
12531 # instance it was reported that on HP-UX the gcc test will end up
12532 # making a dummy file named `D' -- because `-MD' means `put the output
12535 # Copy depcomp to subdir because otherwise we won't find it if we're
12536 # using a relative directory.
12537 cp "$am_depcomp" conftest.dir
12539 # We will build objects and dependencies in a subdirectory because
12540 # it helps to detect inapplicable dependency modes. For instance
12541 # both Tru64's cc and ICC support -MD to output dependencies as a
12542 # side effect of compilation, but ICC will put the dependencies in
12543 # the current directory while Tru64 will put them in the object
12547 am_cv_CXX_dependencies_compiler_type
=none
12548 if test "$am_compiler_list" = ""; then
12549 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12551 am__universal
=false
12552 case " $depcc " in #(
12553 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12556 for depmode
in $am_compiler_list; do
12557 # Setup a source with many dependencies, because some compilers
12558 # like to wrap large dependency lists on column 80 (with \), and
12559 # we should not choose a depcomp mode which is confused by this.
12561 # We need to recreate these files for each test, as the compiler may
12562 # overwrite some of them when testing with obscure command lines.
12563 # This happens at least with the AIX C compiler.
12565 for i
in 1 2 3 4 5 6; do
12566 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12567 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12568 # Solaris 8's {/usr,}/bin/sh.
12569 touch sub
/conftst
$i.h
12571 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12573 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12574 # mode. It turns out that the SunPro C++ compiler does not properly
12575 # handle `-M -o', and we need to detect this. Also, some Intel
12576 # versions had trouble with output in subdirs
12577 am__obj
=sub
/conftest.
${OBJEXT-o}
12578 am__minus_obj
="-o $am__obj"
12581 # This depmode causes a compiler race in universal mode.
12582 test "$am__universal" = false ||
continue
12585 # after this tag, mechanisms are not by side-effect, so they'll
12586 # only be used when explicitly requested
12587 if test "x$enable_dependency_tracking" = xyes
; then
12593 msvisualcpp | msvcmsys
)
12594 # This compiler won't grok `-c -o', but also, the minuso test has
12595 # not run yet. These depmodes are late enough in the game, and
12596 # so weak that their functioning should not be impacted.
12597 am__obj
=conftest.
${OBJEXT-o}
12602 if depmode
=$depmode \
12603 source=sub
/conftest.c object
=$am__obj \
12604 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12605 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12606 >/dev
/null
2>conftest.err
&&
12607 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12608 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12609 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12610 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12611 # icc doesn't choke on unknown options, it will just issue warnings
12612 # or remarks (even with -Werror). So we grep stderr for any message
12613 # that says an option was ignored or not supported.
12614 # When given -MP, icc 7.0 and 7.1 complain thusly:
12615 # icc: Command line warning: ignoring option '-M'; no argument required
12616 # The diagnosis changed in icc 8.0:
12617 # icc: Command line remark: option '-MP' not supported
12618 if (grep 'ignoring option' conftest.err ||
12619 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12620 am_cv_CXX_dependencies_compiler_type
=$depmode
12627 rm -rf conftest.dir
12629 am_cv_CXX_dependencies_compiler_type
=none
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12634 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12635 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12638 test "x$enable_dependency_tracking" != xno \
12639 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12640 am__fastdepCXX_TRUE
=
12641 am__fastdepCXX_FALSE
='#'
12643 am__fastdepCXX_TRUE
='#'
12644 am__fastdepCXX_FALSE
=
12650 func_stripname_cnf
()
12653 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12654 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12656 } # func_stripname_cnf
12658 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12659 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12660 (test "X$CXX" != "Xg++"))) ; then
12662 ac_cpp
='$CXXCPP $CPPFLAGS'
12663 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12664 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12665 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12667 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12668 if test -z "$CXXCPP"; then
12669 if ${ac_cv_prog_CXXCPP+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 # Double quotes because CXXCPP needs to be expanded
12673 for CXXCPP
in "$CXX -E" "/lib/cpp"
12675 ac_preproc_ok
=false
12676 for ac_cxx_preproc_warn_flag
in '' yes
12678 # Use a header file that comes with gcc, so configuring glibc
12679 # with a fresh cross-compiler works.
12680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12681 # <limits.h> exists even on freestanding compilers.
12682 # On the NeXT, cc -E runs the code through the compiler's parser,
12683 # not just through cpp. "Syntax error" is here to catch this case.
12684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 # include <limits.h>
12689 # include <assert.h>
12693 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12696 # Broken: fails on valid input.
12699 rm -f conftest.err conftest.i conftest.
$ac_ext
12701 # OK, works on sane cases. Now check whether nonexistent headers
12702 # can be detected and how.
12703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12705 #include <ac_nonexistent.h>
12707 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12708 # Broken: success on invalid input.
12711 # Passes both tests.
12715 rm -f conftest.err conftest.i conftest.
$ac_ext
12718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12719 rm -f conftest.i conftest.err conftest.
$ac_ext
12720 if $ac_preproc_ok; then :
12725 ac_cv_prog_CXXCPP
=$CXXCPP
12728 CXXCPP
=$ac_cv_prog_CXXCPP
12730 ac_cv_prog_CXXCPP
=$CXXCPP
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12733 $as_echo "$CXXCPP" >&6; }
12734 ac_preproc_ok
=false
12735 for ac_cxx_preproc_warn_flag
in '' yes
12737 # Use a header file that comes with gcc, so configuring glibc
12738 # with a fresh cross-compiler works.
12739 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12740 # <limits.h> exists even on freestanding compilers.
12741 # On the NeXT, cc -E runs the code through the compiler's parser,
12742 # not just through cpp. "Syntax error" is here to catch this case.
12743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 # include <limits.h>
12748 # include <assert.h>
12752 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12755 # Broken: fails on valid input.
12758 rm -f conftest.err conftest.i conftest.
$ac_ext
12760 # OK, works on sane cases. Now check whether nonexistent headers
12761 # can be detected and how.
12762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12764 #include <ac_nonexistent.h>
12766 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12767 # Broken: success on invalid input.
12770 # Passes both tests.
12774 rm -f conftest.err conftest.i conftest.
$ac_ext
12777 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12778 rm -f conftest.i conftest.err conftest.
$ac_ext
12779 if $ac_preproc_ok; then :
12782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12784 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12785 See \`config.log' for more details" "$LINENO" 5; }
12789 ac_cpp
='$CPP $CPPFLAGS'
12790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12795 _lt_caught_CXX_error
=yes
12799 ac_cpp
='$CXXCPP $CPPFLAGS'
12800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12804 archive_cmds_need_lc_CXX
=no
12805 allow_undefined_flag_CXX
=
12806 always_export_symbols_CXX
=no
12807 archive_expsym_cmds_CXX
=
12808 compiler_needs_object_CXX
=no
12809 export_dynamic_flag_spec_CXX
=
12810 hardcode_direct_CXX
=no
12811 hardcode_direct_absolute_CXX
=no
12812 hardcode_libdir_flag_spec_CXX
=
12813 hardcode_libdir_flag_spec_ld_CXX
=
12814 hardcode_libdir_separator_CXX
=
12815 hardcode_minus_L_CXX
=no
12816 hardcode_shlibpath_var_CXX
=unsupported
12817 hardcode_automatic_CXX
=no
12818 inherit_rpath_CXX
=no
12820 module_expsym_cmds_CXX
=
12821 link_all_deplibs_CXX
=unknown
12822 old_archive_cmds_CXX
=$old_archive_cmds
12823 reload_flag_CXX
=$reload_flag
12824 reload_cmds_CXX
=$reload_cmds
12825 no_undefined_flag_CXX
=
12826 whole_archive_flag_spec_CXX
=
12827 enable_shared_with_static_runtimes_CXX
=no
12829 # Source file extension for C++ test sources.
12832 # Object file extension for compiled C++ test sources.
12836 # No sense in running all these tests if we already determined that
12837 # the CXX compiler isn't working. Some variables (like enable_shared)
12838 # are currently assumed to apply to all compilers on this platform,
12839 # and will be corrupted by setting them based on a non-working compiler.
12840 if test "$_lt_caught_CXX_error" != yes; then
12841 # Code to be used in simple compile tests
12842 lt_simple_compile_test_code
="int some_variable = 0;"
12844 # Code to be used in simple link tests
12845 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12847 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12854 # If no C compiler was specified, use CC.
12857 # If no C compiler flags were specified, use CFLAGS.
12858 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12860 # Allow CC to be a program name with arguments.
12864 # save warnings/boilerplate of simple test code
12865 ac_outfile
=conftest.
$ac_objext
12866 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12867 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12868 _lt_compiler_boilerplate
=`cat conftest.err`
12871 ac_outfile
=conftest.
$ac_objext
12872 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12873 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12874 _lt_linker_boilerplate
=`cat conftest.err`
12878 # Allow CC to be a program name with arguments.
12880 lt_save_CFLAGS
=$CFLAGS
12884 lt_save_with_gnu_ld
=$with_gnu_ld
12885 lt_save_path_LD
=$lt_cv_path_LD
12886 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12887 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12889 $as_unset lt_cv_prog_gnu_ld
12891 if test -n "${lt_cv_path_LDCXX+set}"; then
12892 lt_cv_path_LD
=$lt_cv_path_LDCXX
12894 $as_unset lt_cv_path_LD
12896 test -z "${LDCXX+set}" || LD
=$LDCXX
12901 for cc_temp
in $compiler""; do
12903 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12904 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12909 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12912 if test -n "$compiler"; then
12913 # We don't want -fno-exception when compiling C++ code, so set the
12914 # no_builtin_flag separately
12915 if test "$GXX" = yes; then
12916 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12918 lt_prog_compiler_no_builtin_flag_CXX
=
12921 if test "$GXX" = yes; then
12922 # Set up default GNU C++ configuration
12926 # Check whether --with-gnu-ld was given.
12927 if test "${with_gnu_ld+set}" = set; then :
12928 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12934 if test "$GCC" = yes; then
12935 # Check if gcc -print-prog-name=ld gives a path.
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12937 $as_echo_n "checking for ld used by $CC... " >&6; }
12940 # gcc leaves a trailing carriage return which upsets mingw
12941 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12943 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12946 # Accept absolute paths.
12948 re_direlt
='/[^/][^/]*/\.\./'
12949 # Canonicalize the pathname of ld
12950 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12951 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12952 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12954 test -z "$LD" && LD
="$ac_prog"
12957 # If it fails, then pretend we aren't using GCC.
12961 # If it is relative, then search for the first ld in PATH.
12962 with_gnu_ld
=unknown
12965 elif test "$with_gnu_ld" = yes; then
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12967 $as_echo_n "checking for GNU ld... " >&6; }
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12970 $as_echo_n "checking for non-GNU ld... " >&6; }
12972 if ${lt_cv_path_LD+:} false
; then :
12973 $as_echo_n "(cached) " >&6
12975 if test -z "$LD"; then
12976 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12977 for ac_dir
in $PATH; do
12979 test -z "$ac_dir" && ac_dir
=.
12980 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12981 lt_cv_path_LD
="$ac_dir/$ac_prog"
12982 # Check to see if the program is GNU ld. I'd rather use --version,
12983 # but apparently some variants of GNU ld only accept -v.
12984 # Break only if it was the GNU/non-GNU ld that we prefer.
12985 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12986 *GNU
* |
*'with BFD'*)
12987 test "$with_gnu_ld" != no
&& break
12990 test "$with_gnu_ld" != yes && break
12997 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13001 LD
="$lt_cv_path_LD"
13002 if test -n "$LD"; then
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13004 $as_echo "$LD" >&6; }
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13007 $as_echo "no" >&6; }
13009 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13011 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13012 if ${lt_cv_prog_gnu_ld+:} false
; then :
13013 $as_echo_n "(cached) " >&6
13015 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13016 case `$LD -v 2>&1 </dev/null` in
13017 *GNU
* |
*'with BFD'*)
13018 lt_cv_prog_gnu_ld
=yes
13021 lt_cv_prog_gnu_ld
=no
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13026 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13027 with_gnu_ld
=$lt_cv_prog_gnu_ld
13035 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13036 # archiving commands below assume that GNU ld is being used.
13037 if test "$with_gnu_ld" = yes; then
13038 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13039 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'
13041 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13042 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13044 # If archive_cmds runs LD, not CC, wlarc should be empty
13045 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13046 # investigate it a little bit more. (MM)
13049 # ancient GNU ld didn't support --whole-archive et. al.
13050 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13051 $GREP 'no-whole-archive' > /dev
/null
; then
13052 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13054 whole_archive_flag_spec_CXX
=
13060 # A generic and very simple default shared library creation
13061 # command for GNU C++ for the case where it uses the native
13062 # linker, instead of GNU ld. If possible, this setting should
13063 # overridden to take advantage of the native linker features on
13064 # the platform it is being used on.
13065 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13068 # Commands to make compiler produce verbose output that lists
13069 # what "hidden" libraries, object files and flags are used when
13070 # linking a shared library.
13071 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13079 # PORTME: fill in a description of your system's C++ link characteristics
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13081 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13085 # FIXME: insert proper C++ library support
13089 if test "$host_cpu" = ia64
; then
13090 # On IA64, the linker does run time linking by default, so we don't
13091 # have to do anything special.
13092 aix_use_runtimelinking
=no
13093 exp_sym_flag
='-Bexport'
13096 aix_use_runtimelinking
=no
13098 # Test if we are trying to use run time linking or normal
13099 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13100 # need to do runtime linking.
13101 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13102 for ld_flag
in $LDFLAGS; do
13105 aix_use_runtimelinking
=yes
13113 exp_sym_flag
='-bexport'
13114 no_entry_flag
='-bnoentry'
13117 # When large executables or shared objects are built, AIX ld can
13118 # have problems creating the table of contents. If linking a library
13119 # or program results in "error TOC overflow" add -mminimal-toc to
13120 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13121 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13123 archive_cmds_CXX
=''
13124 hardcode_direct_CXX
=yes
13125 hardcode_direct_absolute_CXX
=yes
13126 hardcode_libdir_separator_CXX
=':'
13127 link_all_deplibs_CXX
=yes
13128 file_list_spec_CXX
='${wl}-f,'
13130 if test "$GXX" = yes; then
13131 case $host_os in aix4.
[012]|aix4.
[012].
*)
13132 # We only want to do this on AIX 4.2 and lower, the check
13133 # below for broken collect2 doesn't work under 4.3+
13134 collect2name
=`${CC} -print-prog-name=collect2`
13135 if test -f "$collect2name" &&
13136 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13138 # We have reworked collect2
13141 # We have old collect2
13142 hardcode_direct_CXX
=unsupported
13143 # It fails to find uninstalled libraries when the uninstalled
13144 # path is not listed in the libpath. Setting hardcode_minus_L
13145 # to unsupported forces relinking
13146 hardcode_minus_L_CXX
=yes
13147 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13148 hardcode_libdir_separator_CXX
=
13151 shared_flag
='-shared'
13152 if test "$aix_use_runtimelinking" = yes; then
13153 shared_flag
="$shared_flag "'${wl}-G'
13157 if test "$host_cpu" = ia64
; then
13158 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13159 # chokes on -Wl,-G. The following line is correct:
13162 if test "$aix_use_runtimelinking" = yes; then
13163 shared_flag
='${wl}-G'
13165 shared_flag
='${wl}-bM:SRE'
13170 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13171 # It seems that -bexpall does not export symbols beginning with
13172 # underscore (_), so it is better to generate a list of symbols to
13174 always_export_symbols_CXX
=yes
13175 if test "$aix_use_runtimelinking" = yes; then
13176 # Warning - without using the other runtime loading flags (-brtl),
13177 # -berok will link without error, but may produce a broken library.
13178 allow_undefined_flag_CXX
='-berok'
13179 # Determine the default libpath from the value encoded in an empty
13181 if test "${lt_cv_aix_libpath+set}" = set; then
13182 aix_libpath
=$lt_cv_aix_libpath
13184 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13185 $as_echo_n "(cached) " >&6
13187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13198 if ac_fn_cxx_try_link
"$LINENO"; then :
13200 lt_aix_libpath_sed
='
13201 /Import File Strings/,/^$/ {
13203 s/^0 *\([^ ]*\) *$/\1/
13207 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13208 # Check for a 64-bit object if we didn't find anything.
13209 if test -z "$lt_cv_aix_libpath__CXX"; then
13210 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13213 rm -f core conftest.err conftest.
$ac_objext \
13214 conftest
$ac_exeext conftest.
$ac_ext
13215 if test -z "$lt_cv_aix_libpath__CXX"; then
13216 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13221 aix_libpath
=$lt_cv_aix_libpath__CXX
13224 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13226 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"
13228 if test "$host_cpu" = ia64
; then
13229 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13230 allow_undefined_flag_CXX
="-z nodefs"
13231 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"
13233 # Determine the default libpath from the value encoded in an
13234 # empty executable.
13235 if test "${lt_cv_aix_libpath+set}" = set; then
13236 aix_libpath
=$lt_cv_aix_libpath
13238 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13252 if ac_fn_cxx_try_link
"$LINENO"; then :
13254 lt_aix_libpath_sed
='
13255 /Import File Strings/,/^$/ {
13257 s/^0 *\([^ ]*\) *$/\1/
13261 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13262 # Check for a 64-bit object if we didn't find anything.
13263 if test -z "$lt_cv_aix_libpath__CXX"; then
13264 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13267 rm -f core conftest.err conftest.
$ac_objext \
13268 conftest
$ac_exeext conftest.
$ac_ext
13269 if test -z "$lt_cv_aix_libpath__CXX"; then
13270 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13275 aix_libpath
=$lt_cv_aix_libpath__CXX
13278 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13279 # Warning - without using the other run time loading flags,
13280 # -berok will link without error, but may produce a broken library.
13281 no_undefined_flag_CXX
=' ${wl}-bernotok'
13282 allow_undefined_flag_CXX
=' ${wl}-berok'
13283 if test "$with_gnu_ld" = yes; then
13284 # We only use this code for GNU lds that support --whole-archive.
13285 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13287 # Exported symbols can be pulled into shared objects from archives
13288 whole_archive_flag_spec_CXX
='$convenience'
13290 archive_cmds_need_lc_CXX
=yes
13291 # This is similar to how AIX traditionally builds its shared
13293 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'
13299 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13300 allow_undefined_flag_CXX
=unsupported
13301 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13302 # support --undefined. This deserves some investigation. FIXME
13303 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13310 case $cc_basename in
13312 # FIXME: insert proper C++ library support
13318 cygwin
* | mingw
* | pw32
* | cegcc
*)
13319 case $GXX,$cc_basename in
13322 # hardcode_libdir_flag_spec is actually meaningless, as there is
13323 # no search path for DLLs.
13324 hardcode_libdir_flag_spec_CXX
=' '
13325 allow_undefined_flag_CXX
=unsupported
13326 always_export_symbols_CXX
=yes
13327 file_list_spec_CXX
='@'
13328 # Tell ltmain to make .lib files, not .a files.
13330 # Tell ltmain to make .dll files, not .so files.
13332 # FIXME: Setting linknames here is a bad hack.
13333 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13334 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13335 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13337 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13339 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13341 # The linker will not automatically build a static lib if we build a DLL.
13342 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13343 enable_shared_with_static_runtimes_CXX
=yes
13345 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13346 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13347 lt_tool_outputfile="@TOOL_OUTPUT@"~
13348 case $lt_outputfile in
13351 lt_outputfile="$lt_outputfile.exe"
13352 lt_tool_outputfile="$lt_tool_outputfile.exe"
13355 func_to_tool_file "$lt_outputfile"~
13356 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13357 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13358 $RM "$lt_outputfile.manifest";
13363 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13364 # as there is no search path for DLLs.
13365 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13366 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13367 allow_undefined_flag_CXX
=unsupported
13368 always_export_symbols_CXX
=no
13369 enable_shared_with_static_runtimes_CXX
=yes
13371 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13372 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'
13373 # If the export-symbols file already is a .def file (1st line
13374 # is EXPORTS), use it as is; otherwise, prepend...
13375 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13376 cp $export_symbols $output_objdir/$soname.def;
13378 echo EXPORTS > $output_objdir/$soname.def;
13379 cat $export_symbols >> $output_objdir/$soname.def;
13381 $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'
13388 darwin
* | rhapsody
*)
13391 archive_cmds_need_lc_CXX
=no
13392 hardcode_direct_CXX
=no
13393 hardcode_automatic_CXX
=yes
13394 hardcode_shlibpath_var_CXX
=unsupported
13395 if test "$lt_cv_ld_force_load" = "yes"; then
13396 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\"`'
13398 whole_archive_flag_spec_CXX
=''
13400 link_all_deplibs_CXX
=yes
13401 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13402 case $cc_basename in
13403 ifort
*) _lt_dar_can_shared
=yes ;;
13404 *) _lt_dar_can_shared
=$GCC ;;
13406 if test "$_lt_dar_can_shared" = "yes"; then
13407 output_verbose_link_cmd
=func_echo_all
13408 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}"
13409 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13410 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}"
13411 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}"
13412 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13413 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}"
13414 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}"
13424 case $cc_basename in
13426 # FIXME: insert proper C++ library support
13430 # Green Hills C++ Compiler
13431 # FIXME: insert proper C++ library support
13435 # FIXME: insert proper C++ library support
13442 # C++ shared libraries reported to be fairly broken before
13448 archive_cmds_need_lc_CXX
=no
13451 freebsd
* | dragonfly
*)
13452 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13461 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13462 link_all_deplibs_CXX
=yes
13466 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13467 hardcode_libdir_separator_CXX
=:
13468 export_dynamic_flag_spec_CXX
='${wl}-E'
13469 hardcode_direct_CXX
=yes
13470 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13471 # but as the default
13472 # location of the library.
13474 case $cc_basename in
13476 # FIXME: insert proper C++ library support
13480 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'
13481 # Commands to make compiler produce verbose output that lists
13482 # what "hidden" libraries, object files and flags are used when
13483 # linking a shared library.
13485 # There doesn't appear to be a way to prevent this compiler from
13486 # explicitly linking system object files so we need to strip them
13487 # from the output so that they don't get included in the library
13489 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"'
13492 if test "$GXX" = yes; then
13493 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'
13495 # FIXME: insert proper C++ library support
13503 if test $with_gnu_ld = no
; then
13504 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13505 hardcode_libdir_separator_CXX
=:
13511 export_dynamic_flag_spec_CXX
='${wl}-E'
13517 hardcode_direct_CXX
=no
13518 hardcode_shlibpath_var_CXX
=no
13521 hardcode_direct_CXX
=yes
13522 hardcode_direct_absolute_CXX
=yes
13523 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13524 # but as the default
13525 # location of the library.
13529 case $cc_basename in
13531 # FIXME: insert proper C++ library support
13537 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13540 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13543 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13546 # Commands to make compiler produce verbose output that lists
13547 # what "hidden" libraries, object files and flags are used when
13548 # linking a shared library.
13550 # There doesn't appear to be a way to prevent this compiler from
13551 # explicitly linking system object files so we need to strip them
13552 # from the output so that they don't get included in the library
13554 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"'
13557 if test "$GXX" = yes; then
13558 if test $with_gnu_ld = no
; then
13561 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13564 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13567 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'
13572 # FIXME: insert proper C++ library support
13580 hardcode_direct_CXX
=no
13581 hardcode_shlibpath_var_CXX
=no
13582 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13583 export_dynamic_flag_spec_CXX
='${wl}-E'
13584 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13585 # Instead, shared libraries are loaded at an image base (0x10000000 by
13586 # default) and relocated if they conflict, which is a slow very memory
13587 # consuming and fragmenting process. To avoid this, we pick a random,
13588 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13589 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13590 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'
13591 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'
13594 case $cc_basename in
13597 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'
13599 # Archives containing C++ object files must be created using
13600 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13601 # necessary to make sure instantiated templates are included
13603 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13606 if test "$GXX" = yes; then
13607 if test "$with_gnu_ld" = no
; then
13608 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'
13610 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13613 link_all_deplibs_CXX
=yes
13616 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13617 hardcode_libdir_separator_CXX
=:
13618 inherit_rpath_CXX
=yes
13621 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13622 case $cc_basename in
13624 # Kuck and Associates, Inc. (KAI) C++ Compiler
13626 # KCC will only create a shared library if the output file
13627 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13628 # to its proper name (with version) after linking.
13629 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'
13630 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'
13631 # Commands to make compiler produce verbose output that lists
13632 # what "hidden" libraries, object files and flags are used when
13633 # linking a shared library.
13635 # There doesn't appear to be a way to prevent this compiler from
13636 # explicitly linking system object files so we need to strip them
13637 # from the output so that they don't get included in the library
13639 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"'
13641 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13642 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13644 # Archives containing C++ object files must be created using
13645 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13646 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13651 # version 8.0 and above of icpc choke on multiply defined symbols
13652 # if we add $predep_objects and $postdep_objects, however 7.1 and
13653 # earlier do not add the objects themselves.
13654 case `$CC -V 2>&1` in
13656 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13657 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'
13659 *) # Version 8.0 or newer
13662 ia64
*) tmp_idyn
=' -i_dynamic';;
13664 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13665 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'
13668 archive_cmds_need_lc_CXX
=no
13669 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13670 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13671 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13674 # Portland Group C++ compiler
13676 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13677 prelink_cmds_CXX
='tpldir=Template.dir~
13679 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13680 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13681 old_archive_cmds_CXX
='tpldir=Template.dir~
13683 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13684 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13686 archive_cmds_CXX
='tpldir=Template.dir~
13688 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13689 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13690 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13692 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13693 $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'
13695 *) # Version 6 and above use weak symbols
13696 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13697 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13701 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13702 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13703 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13707 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13708 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'
13710 runpath_var
=LD_RUN_PATH
13711 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13712 hardcode_libdir_separator_CXX
=:
13714 # Commands to make compiler produce verbose output that lists
13715 # what "hidden" libraries, object files and flags are used when
13716 # linking a shared library.
13718 # There doesn't appear to be a way to prevent this compiler from
13719 # explicitly linking system object files so we need to strip them
13720 # from the output so that they don't get included in the library
13722 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'
13724 xl
* | mpixl
* | bgxl
*)
13725 # IBM XL 8.0 on PPC, with GNU ld
13726 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13727 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13728 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13729 if test "x$supports_anon_versioning" = xyes
; then
13730 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13731 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13732 echo "local: *; };" >> $output_objdir/$libname.ver~
13733 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13737 case `$CC -V 2>&1 | sed 5q` in
13740 no_undefined_flag_CXX
=' -zdefs'
13741 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13742 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'
13743 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13744 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'
13745 compiler_needs_object_CXX
=yes
13747 # Not sure whether something based on
13748 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13750 output_verbose_link_cmd
='func_echo_all'
13752 # Archives containing C++ object files must be created using
13753 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13754 # necessary to make sure instantiated templates are included
13756 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13764 # FIXME: insert proper C++ library support
13769 # FIXME: insert proper C++ library support
13774 case $cc_basename in
13776 # FIXME: insert proper C++ library support
13780 # FIXME: insert proper C++ library support
13787 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13788 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13790 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13791 hardcode_direct_CXX
=yes
13792 hardcode_shlibpath_var_CXX
=no
13794 # Workaround some broken pre-1.5 toolchains
13795 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13803 # C++ shared libraries are fairly broken
13808 if test -f /usr
/libexec
/ld.so
; then
13809 hardcode_direct_CXX
=yes
13810 hardcode_shlibpath_var_CXX
=no
13811 hardcode_direct_absolute_CXX
=yes
13812 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13813 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13814 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13815 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13816 export_dynamic_flag_spec_CXX
='${wl}-E'
13817 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13819 output_verbose_link_cmd
=func_echo_all
13825 osf3
* | osf4
* | osf5
*)
13826 case $cc_basename in
13828 # Kuck and Associates, Inc. (KAI) C++ Compiler
13830 # KCC will only create a shared library if the output file
13831 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13832 # to its proper name (with version) after linking.
13833 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'
13835 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13836 hardcode_libdir_separator_CXX
=:
13838 # Archives containing C++ object files must be created using
13839 # the KAI C++ compiler.
13841 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13842 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13846 # Rational C++ 2.4.1
13847 # FIXME: insert proper C++ library support
13853 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13854 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'
13855 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13858 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13859 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'
13860 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13861 echo "-hidden">> $lib.exp~
13862 $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~
13864 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13868 hardcode_libdir_separator_CXX
=:
13870 # Commands to make compiler produce verbose output that lists
13871 # what "hidden" libraries, object files and flags are used when
13872 # linking a shared library.
13874 # There doesn't appear to be a way to prevent this compiler from
13875 # explicitly linking system object files so we need to strip them
13876 # from the output so that they don't get included in the library
13878 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"'
13881 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13882 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13885 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'
13888 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13892 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13893 hardcode_libdir_separator_CXX
=:
13895 # Commands to make compiler produce verbose output that lists
13896 # what "hidden" libraries, object files and flags are used when
13897 # linking a shared library.
13898 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13901 # FIXME: insert proper C++ library support
13909 # FIXME: insert proper C++ library support
13914 case $cc_basename in
13917 # FIXME: insert proper C++ library support
13922 # FIXME: insert proper C++ library support
13926 # FIXME: insert proper C++ library support
13933 case $cc_basename in
13935 # Sun C++ 4.2, 5.x and Centerline C++
13936 archive_cmds_need_lc_CXX
=yes
13937 no_undefined_flag_CXX
=' -zdefs'
13938 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13939 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13940 $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'
13942 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13943 hardcode_shlibpath_var_CXX
=no
13945 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13947 # The compiler driver will combine and reorder linker options,
13948 # but understands `-z linker_flag'.
13949 # Supported since Solaris 2.6 (maybe 2.5.1?)
13950 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13953 link_all_deplibs_CXX
=yes
13955 output_verbose_link_cmd
='func_echo_all'
13957 # Archives containing C++ object files must be created using
13958 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13959 # necessary to make sure instantiated templates are included
13961 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13964 # Green Hills C++ Compiler
13965 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13967 # The C++ compiler must be used to create the archive.
13968 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13971 # GNU C++ compiler with Solaris linker
13972 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13973 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13974 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13975 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13976 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13977 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13979 # Commands to make compiler produce verbose output that lists
13980 # what "hidden" libraries, object files and flags are used when
13981 # linking a shared library.
13982 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13984 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13986 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13987 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13988 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13990 # Commands to make compiler produce verbose output that lists
13991 # what "hidden" libraries, object files and flags are used when
13992 # linking a shared library.
13993 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13996 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13998 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14000 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14008 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14009 no_undefined_flag_CXX
='${wl}-z,text'
14010 archive_cmds_need_lc_CXX
=no
14011 hardcode_shlibpath_var_CXX
=no
14012 runpath_var
='LD_RUN_PATH'
14014 case $cc_basename in
14016 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14017 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14020 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14021 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14026 sysv5
* | sco3.2v5
* | sco5v6
*)
14027 # Note: We can NOT use -z defs as we might desire, because we do not
14028 # link with -lc, and that would cause any symbols used from libc to
14029 # always be unresolved, which means just about no library would
14030 # ever link correctly. If we're not using GNU ld we use -z text
14031 # though, which does catch some bad symbols but isn't as heavy-handed
14033 no_undefined_flag_CXX
='${wl}-z,text'
14034 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14035 archive_cmds_need_lc_CXX
=no
14036 hardcode_shlibpath_var_CXX
=no
14037 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14038 hardcode_libdir_separator_CXX
=':'
14039 link_all_deplibs_CXX
=yes
14040 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14041 runpath_var
='LD_RUN_PATH'
14043 case $cc_basename in
14045 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14046 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14047 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14048 '"$old_archive_cmds_CXX"
14049 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14050 '"$reload_cmds_CXX"
14053 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14054 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14060 case $cc_basename in
14062 # NonStop-UX NCC 3.20
14063 # FIXME: insert proper C++ library support
14067 # FIXME: insert proper C++ library support
14074 # FIXME: insert proper C++ library support
14079 # FIXME: insert proper C++ library support
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14085 $as_echo "$ld_shlibs_CXX" >&6; }
14086 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14092 ## There is no encapsulation within the following macros, do not change
14093 ## the running order or otherwise move them around unless you know exactly
14094 ## what you are doing...
14095 # Dependencies to place before and after the object being linked:
14096 predep_objects_CXX
=
14097 postdep_objects_CXX
=
14100 compiler_lib_search_path_CXX
=
14102 cat > conftest.
$ac_ext <<_LT_EOF
14106 Foo (void) { a = 0; }
14113 _lt_libdeps_save_CFLAGS
=$CFLAGS
14114 case "$CC $CFLAGS " in #(
14115 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14116 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14120 (eval $ac_compile) 2>&5
14122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14123 test $ac_status = 0; }; then
14124 # Parse the compiler output and extract the necessary
14125 # objects, libraries and library flags.
14127 # Sentinel used to keep track of whether or not we are before
14128 # the conftest object file.
14129 pre_test_object_deps_done
=no
14131 for p
in `eval "$output_verbose_link_cmd"`; do
14132 case ${prev}${p} in
14135 # Some compilers place space between "-{L,R}" and the path.
14136 # Remove the space.
14137 if test $p = "-L" ||
14138 test $p = "-R"; then
14143 # Expand the sysroot to ease extracting the directories later.
14144 if test -z "$prev"; then
14146 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14147 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14148 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14152 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14154 if test "$pre_test_object_deps_done" = no
; then
14157 # Internal compiler library paths should come after those
14158 # provided the user. The postdeps already come after the
14159 # user supplied libs so there is no need to process them.
14160 if test -z "$compiler_lib_search_path_CXX"; then
14161 compiler_lib_search_path_CXX
="${prev}${p}"
14163 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14166 # The "-l" case would never come before the object being
14167 # linked, so don't bother handling this case.
14170 if test -z "$postdeps_CXX"; then
14171 postdeps_CXX
="${prev}${p}"
14173 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14179 *.lto.
$objext) ;; # Ignore GCC LTO objects
14181 # This assumes that the test object file only shows up
14182 # once in the compiler output.
14183 if test "$p" = "conftest.$objext"; then
14184 pre_test_object_deps_done
=yes
14188 if test "$pre_test_object_deps_done" = no
; then
14189 if test -z "$predep_objects_CXX"; then
14190 predep_objects_CXX
="$p"
14192 predep_objects_CXX
="$predep_objects_CXX $p"
14195 if test -z "$postdep_objects_CXX"; then
14196 postdep_objects_CXX
="$p"
14198 postdep_objects_CXX
="$postdep_objects_CXX $p"
14203 *) ;; # Ignore the rest.
14211 echo "libtool.m4: error: problem compiling CXX test program"
14214 $RM -f confest.
$objext
14215 CFLAGS
=$_lt_libdeps_save_CFLAGS
14217 # PORTME: override above test on systems where it is broken
14220 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14221 # hack all around it, let's just trust "g++" to DTRT.
14222 predep_objects_CXX
=
14223 postdep_objects_CXX
=
14228 case `$CC -V 2>&1 | sed 5q` in
14232 # The more standards-conforming stlport4 library is
14233 # incompatible with the Cstd library. Avoid specifying
14234 # it if it's in CXXFLAGS. Ignore libCrun as
14235 # -library=stlport4 depends on it.
14236 case " $CXX $CXXFLAGS " in
14237 *" -library=stlport4 "*)
14238 solaris_use_stlport4
=yes
14242 if test "$solaris_use_stlport4" != yes; then
14243 postdeps_CXX
='-library=Cstd -library=Crun'
14250 case $cc_basename in
14252 # The more standards-conforming stlport4 library is
14253 # incompatible with the Cstd library. Avoid specifying
14254 # it if it's in CXXFLAGS. Ignore libCrun as
14255 # -library=stlport4 depends on it.
14256 case " $CXX $CXXFLAGS " in
14257 *" -library=stlport4 "*)
14258 solaris_use_stlport4
=yes
14262 # Adding this requires a known-good setup of shared libraries for
14263 # Sun compiler versions before 5.6, else PIC objects from an old
14264 # archive will be linked into the output, leading to subtle bugs.
14265 if test "$solaris_use_stlport4" != yes; then
14266 postdeps_CXX
='-library=Cstd -library=Crun'
14274 case " $postdeps_CXX " in
14275 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14277 compiler_lib_search_dirs_CXX
=
14278 if test -n "${compiler_lib_search_path_CXX}"; then
14279 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14312 lt_prog_compiler_wl_CXX
=
14313 lt_prog_compiler_pic_CXX
=
14314 lt_prog_compiler_static_CXX
=
14317 # C++ specific cases for pic, static, wl, etc.
14318 if test "$GXX" = yes; then
14319 lt_prog_compiler_wl_CXX
='-Wl,'
14320 lt_prog_compiler_static_CXX
='-static'
14324 # All AIX code is PIC.
14325 if test "$host_cpu" = ia64
; then
14326 # AIX 5 now supports IA64 processor
14327 lt_prog_compiler_static_CXX
='-Bstatic'
14334 # see comment about AmigaOS4 .so support
14335 lt_prog_compiler_pic_CXX
='-fPIC'
14338 # FIXME: we need at least 68020 code to build shared libraries, but
14339 # adding the `-m68020' flag to GCC prevents building anything better,
14341 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14346 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14347 # PIC is the default for these OSes.
14349 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14350 # This hack is so that the source file can tell whether it is being
14351 # built for inclusion in a dll (and should export symbols for example).
14352 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14353 # (--disable-auto-import) libraries
14354 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14356 darwin
* | rhapsody
*)
14357 # PIC is the default on this platform
14358 # Common symbols not allowed in MH_DYLIB files
14359 lt_prog_compiler_pic_CXX
='-fno-common'
14362 # DJGPP does not support shared libraries at all
14363 lt_prog_compiler_pic_CXX
=
14366 # PIC is the default for Haiku.
14367 # The "-static" flag exists, but is broken.
14368 lt_prog_compiler_static_CXX
=
14371 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14372 # Instead, we relocate shared libraries at runtime.
14375 if test -d /usr
/nec
; then
14376 lt_prog_compiler_pic_CXX
=-Kconform_pic
14380 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14381 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14382 # sets the default TLS model and affects inlining.
14387 lt_prog_compiler_pic_CXX
='-fPIC'
14392 # QNX uses GNU C++, but need to define -shared option too, otherwise
14393 # it will coredump.
14394 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14397 lt_prog_compiler_pic_CXX
='-fPIC'
14403 # All AIX code is PIC.
14404 if test "$host_cpu" = ia64
; then
14405 # AIX 5 now supports IA64 processor
14406 lt_prog_compiler_static_CXX
='-Bstatic'
14408 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14412 case $cc_basename in
14414 # Green Hills C++ Compiler
14415 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14419 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14420 # This hack is so that the source file can tell whether it is being
14421 # built for inclusion in a dll (and should export symbols for example).
14422 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14425 case $cc_basename in
14427 lt_prog_compiler_pic_CXX
='-KPIC'
14430 # Green Hills C++ Compiler
14431 lt_prog_compiler_pic_CXX
='-pic'
14437 freebsd
* | dragonfly
*)
14438 # FreeBSD uses GNU C++
14440 hpux9
* | hpux10
* | hpux11
*)
14441 case $cc_basename in
14443 lt_prog_compiler_wl_CXX
='-Wl,'
14444 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14445 if test "$host_cpu" != ia64
; then
14446 lt_prog_compiler_pic_CXX
='+Z'
14450 lt_prog_compiler_wl_CXX
='-Wl,'
14451 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14457 lt_prog_compiler_pic_CXX
='+Z'
14466 # This is c89, which is MS Visual C++ (no shared libs)
14467 # Anyone wants to do a port?
14469 irix5
* | irix6
* | nonstopux
*)
14470 case $cc_basename in
14472 lt_prog_compiler_wl_CXX
='-Wl,'
14473 lt_prog_compiler_static_CXX
='-non_shared'
14474 # CC pic flag -KPIC is the default.
14480 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14481 case $cc_basename in
14484 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14485 lt_prog_compiler_pic_CXX
='-fPIC'
14488 # old Intel C++ for x86_64 which still supported -KPIC.
14489 lt_prog_compiler_wl_CXX
='-Wl,'
14490 lt_prog_compiler_pic_CXX
='-KPIC'
14491 lt_prog_compiler_static_CXX
='-static'
14494 # Intel C++, used to be incompatible with GCC.
14495 # ICC 10 doesn't accept -KPIC any more.
14496 lt_prog_compiler_wl_CXX
='-Wl,'
14497 lt_prog_compiler_pic_CXX
='-fPIC'
14498 lt_prog_compiler_static_CXX
='-static'
14501 # Portland Group C++ compiler
14502 lt_prog_compiler_wl_CXX
='-Wl,'
14503 lt_prog_compiler_pic_CXX
='-fpic'
14504 lt_prog_compiler_static_CXX
='-Bstatic'
14508 # Make sure the PIC flag is empty. It appears that all Alpha
14509 # Linux and Compaq Tru64 Unix objects are PIC.
14510 lt_prog_compiler_pic_CXX
=
14511 lt_prog_compiler_static_CXX
='-non_shared'
14513 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14514 # IBM XL 8.0, 9.0 on PPC and BlueGene
14515 lt_prog_compiler_wl_CXX
='-Wl,'
14516 lt_prog_compiler_pic_CXX
='-qpic'
14517 lt_prog_compiler_static_CXX
='-qstaticlink'
14520 case `$CC -V 2>&1 | sed 5q` in
14523 lt_prog_compiler_pic_CXX
='-KPIC'
14524 lt_prog_compiler_static_CXX
='-Bstatic'
14525 lt_prog_compiler_wl_CXX
='-Qoption ld '
14536 case $cc_basename in
14538 lt_prog_compiler_pic_CXX
='-W c,exportall'
14547 # QNX uses GNU C++, but need to define -shared option too, otherwise
14548 # it will coredump.
14549 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14551 osf3
* | osf4
* | osf5
*)
14552 case $cc_basename in
14554 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14557 # Rational C++ 2.4.1
14558 lt_prog_compiler_pic_CXX
='-pic'
14561 # Digital/Compaq C++
14562 lt_prog_compiler_wl_CXX
='-Wl,'
14563 # Make sure the PIC flag is empty. It appears that all Alpha
14564 # Linux and Compaq Tru64 Unix objects are PIC.
14565 lt_prog_compiler_pic_CXX
=
14566 lt_prog_compiler_static_CXX
='-non_shared'
14575 case $cc_basename in
14577 # Sun C++ 4.2, 5.x and Centerline C++
14578 lt_prog_compiler_pic_CXX
='-KPIC'
14579 lt_prog_compiler_static_CXX
='-Bstatic'
14580 lt_prog_compiler_wl_CXX
='-Qoption ld '
14583 # Green Hills C++ Compiler
14584 lt_prog_compiler_pic_CXX
='-PIC'
14591 case $cc_basename in
14594 lt_prog_compiler_pic_CXX
='-pic'
14595 lt_prog_compiler_static_CXX
='-Bstatic'
14599 lt_prog_compiler_pic_CXX
='-pic'
14605 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14606 case $cc_basename in
14608 lt_prog_compiler_wl_CXX
='-Wl,'
14609 lt_prog_compiler_pic_CXX
='-KPIC'
14610 lt_prog_compiler_static_CXX
='-Bstatic'
14615 case $cc_basename in
14617 # NonStop-UX NCC 3.20
14618 lt_prog_compiler_pic_CXX
='-KPIC'
14627 lt_prog_compiler_can_build_shared_CXX
=no
14633 # For platforms which do not support PIC, -DPIC is meaningless:
14635 lt_prog_compiler_pic_CXX
=
14638 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14643 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14644 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14645 $as_echo_n "(cached) " >&6
14647 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14650 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14651 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14654 # Check to make sure the PIC flag actually works.
14656 if test -n "$lt_prog_compiler_pic_CXX"; then
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14658 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14659 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14660 $as_echo_n "(cached) " >&6
14662 lt_cv_prog_compiler_pic_works_CXX
=no
14663 ac_outfile
=conftest.
$ac_objext
14664 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14665 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14666 # Insert the option either (1) after the last *FLAGS variable, or
14667 # (2) before a word containing "conftest.", or (3) at the end.
14668 # Note that $ac_compile itself does not contain backslashes and begins
14669 # with a dollar sign (not a hyphen), so the echo should work correctly.
14670 # The option is referenced via a variable to avoid confusing sed.
14671 lt_compile
=`echo "$ac_compile" | $SED \
14672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14674 -e 's:$: $lt_compiler_flag:'`
14675 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14676 (eval "$lt_compile" 2>conftest.err
)
14678 cat conftest.err
>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 if (exit $ac_status) && test -s "$ac_outfile"; then
14681 # The compiler can only warn and ignore the option if not recognized
14682 # So say no if there are warnings other than the usual output.
14683 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14685 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14686 lt_cv_prog_compiler_pic_works_CXX
=yes
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14693 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14695 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14696 case $lt_prog_compiler_pic_CXX in
14698 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14701 lt_prog_compiler_pic_CXX
=
14702 lt_prog_compiler_can_build_shared_CXX
=no
14712 # Check to make sure the static flag actually works.
14714 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14716 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14717 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14718 $as_echo_n "(cached) " >&6
14720 lt_cv_prog_compiler_static_works_CXX
=no
14721 save_LDFLAGS
="$LDFLAGS"
14722 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14723 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14724 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14725 # The linker can only warn and ignore the option if not recognized
14726 # So say no if there are warnings
14727 if test -s conftest.err
; then
14728 # Append any errors to the config.log.
14729 cat conftest.err
1>&5
14730 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14731 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14732 if diff conftest.exp conftest.er2
>/dev
/null
; then
14733 lt_cv_prog_compiler_static_works_CXX
=yes
14736 lt_cv_prog_compiler_static_works_CXX
=yes
14740 LDFLAGS
="$save_LDFLAGS"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14744 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14746 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14749 lt_prog_compiler_static_CXX
=
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14756 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14757 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14758 $as_echo_n "(cached) " >&6
14760 lt_cv_prog_compiler_c_o_CXX
=no
14761 $RM -r conftest
2>/dev
/null
14765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14767 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14768 # Insert the option either (1) after the last *FLAGS variable, or
14769 # (2) before a word containing "conftest.", or (3) at the end.
14770 # Note that $ac_compile itself does not contain backslashes and begins
14771 # with a dollar sign (not a hyphen), so the echo should work correctly.
14772 lt_compile
=`echo "$ac_compile" | $SED \
14773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14775 -e 's:$: $lt_compiler_flag:'`
14776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14777 (eval "$lt_compile" 2>out
/conftest.err
)
14779 cat out
/conftest.err
>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14783 # The compiler can only warn and ignore the option if not recognized
14784 # So say no if there are warnings
14785 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14786 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14787 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14788 lt_cv_prog_compiler_c_o_CXX
=yes
14793 # SGI C++ compiler will create directory out/ii_files/ for
14794 # template instantiation
14795 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14796 $RM out
/* && rmdir out
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14803 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14809 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14810 $as_echo_n "(cached) " >&6
14812 lt_cv_prog_compiler_c_o_CXX
=no
14813 $RM -r conftest
2>/dev
/null
14817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14819 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14820 # Insert the option either (1) after the last *FLAGS variable, or
14821 # (2) before a word containing "conftest.", or (3) at the end.
14822 # Note that $ac_compile itself does not contain backslashes and begins
14823 # with a dollar sign (not a hyphen), so the echo should work correctly.
14824 lt_compile
=`echo "$ac_compile" | $SED \
14825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14827 -e 's:$: $lt_compiler_flag:'`
14828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14829 (eval "$lt_compile" 2>out
/conftest.err
)
14831 cat out
/conftest.err
>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14835 # The compiler can only warn and ignore the option if not recognized
14836 # So say no if there are warnings
14837 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14838 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14839 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14840 lt_cv_prog_compiler_c_o_CXX
=yes
14845 # SGI C++ compiler will create directory out/ii_files/ for
14846 # template instantiation
14847 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14848 $RM out
/* && rmdir out
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14855 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14860 hard_links
="nottested"
14861 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14862 # do not overwrite the value of need_locks provided by the user
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14864 $as_echo_n "checking if we can lock with hard links... " >&6; }
14867 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14869 ln conftest.a conftest.b
2>&5 || hard_links
=no
14870 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14872 $as_echo "$hard_links" >&6; }
14873 if test "$hard_links" = no
; then
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14875 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14885 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14887 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14888 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14891 # If we're using GNU nm, then we don't want the "-C" option.
14892 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14893 # Also, AIX nm treats weak defined symbols like other global defined
14894 # symbols, whereas GNU nm marks them as "W".
14895 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14896 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'
14898 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'
14902 export_symbols_cmds_CXX
="$ltdll_cmds"
14904 cygwin
* | mingw
* | cegcc
*)
14905 case $cc_basename in
14908 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'
14909 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14914 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14919 $as_echo "$ld_shlibs_CXX" >&6; }
14920 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14922 with_gnu_ld_CXX
=$with_gnu_ld
14930 # Do we need to explicitly link libc?
14932 case "x$archive_cmds_need_lc_CXX" in
14934 # Assume -lc should be added
14935 archive_cmds_need_lc_CXX
=yes
14937 if test "$enable_shared" = yes && test "$GCC" = yes; then
14938 case $archive_cmds_CXX in
14940 # FIXME: we may have to deal with multi-command sequences.
14943 # Test whether the compiler implicitly links with -lc since on some
14944 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14945 # to ld, don't add -lc before -lgcc.
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14947 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14948 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14949 $as_echo_n "(cached) " >&6
14952 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14955 (eval $ac_compile) 2>&5
14957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14958 test $ac_status = 0; } 2>conftest.err
; then
14961 libobjs
=conftest.
$ac_objext
14963 wl
=$lt_prog_compiler_wl_CXX
14964 pic_flag
=$lt_prog_compiler_pic_CXX
14970 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14971 allow_undefined_flag_CXX
=
14972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14973 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14976 test $ac_status = 0; }
14978 lt_cv_archive_cmds_need_lc_CXX
=no
14980 lt_cv_archive_cmds_need_lc_CXX
=yes
14982 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14984 cat conftest.err
1>&5
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14990 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14991 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15062 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15064 library_names_spec
=
15065 libname_spec
='lib$name'
15069 postuninstall_cmds
=
15073 shlibpath_overrides_runpath
=unknown
15075 dynamic_linker
="$host_os ld.so"
15076 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15077 need_lib_prefix
=unknown
15078 hardcode_into_libs
=no
15080 # when you set need_version to no, make sure it does not cause -set_version
15081 # flags to be left without arguments
15082 need_version
=unknown
15087 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15088 shlibpath_var
=LIBPATH
15090 # AIX 3 has no versioning support, so we append a major version to the name.
15091 soname_spec
='${libname}${release}${shared_ext}$major'
15098 hardcode_into_libs
=yes
15099 if test "$host_cpu" = ia64
; then
15100 # AIX 5 supports IA64
15101 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15102 shlibpath_var
=LD_LIBRARY_PATH
15104 # With GCC up to 2.95.x, collect2 would create an import file
15105 # for dependence libraries. The import file would start with
15106 # the line `#! .'. This would cause the generated library to
15107 # depend on `.', always an invalid library. This was fixed in
15108 # development snapshots of GCC prior to 3.0.
15110 aix4 | aix4.
[01] | aix4.
[01].
*)
15111 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15113 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15116 can_build_shared
=no
15120 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15121 # soname into executable. Probably we can add versioning support to
15122 # collect2, so additional links can be useful in future.
15123 if test "$aix_use_runtimelinking" = yes; then
15124 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15125 # instead of lib<name>.a to let people know that these are not
15126 # typical AIX shared libraries.
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15129 # We preserve .a as extension for shared libraries through AIX4.2
15130 # and later when we are not doing run time linking.
15131 library_names_spec
='${libname}${release}.a $libname.a'
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15134 shlibpath_var
=LIBPATH
15141 # Since July 2007 AmigaOS4 officially supports .so libraries.
15142 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15146 library_names_spec
='$libname.ixlibrary $libname.a'
15147 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15148 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'
15154 library_names_spec
='${libname}${shared_ext}'
15155 dynamic_linker
="$host_os ld.so"
15156 shlibpath_var
=LIBRARY_PATH
15162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15163 soname_spec
='${libname}${release}${shared_ext}$major'
15164 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15165 shlibpath_var
=LD_LIBRARY_PATH
15166 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15167 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15168 # the default ld.so.conf also contains /usr/contrib/lib and
15169 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15170 # libtool to hard-code these into programs
15173 cygwin
* | mingw
* | pw32
* | cegcc
*)
15174 version_type
=windows
15179 case $GCC,$cc_basename in
15182 library_names_spec
='$libname.dll.a'
15183 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15184 postinstall_cmds
='base_file=`basename \${file}`~
15185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15186 dldir=$destdir/`dirname \$dlpath`~
15187 test -d \$dldir || mkdir -p \$dldir~
15188 $install_prog $dir/$dlname \$dldir/$dlname~
15189 chmod a+x \$dldir/$dlname~
15190 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15191 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15193 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15194 dlpath=$dir/\$dldll~
15196 shlibpath_overrides_runpath
=yes
15200 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15201 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15205 # MinGW DLLs use traditional 'lib' prefix
15206 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15209 # pw32 DLLs use 'pw' prefix rather than 'lib'
15210 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15213 dynamic_linker
='Win32 ld.exe'
15218 libname_spec
='$name'
15219 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15220 library_names_spec
='${libname}.dll.lib'
15224 sys_lib_search_path_spec
=
15227 for lt_path
in $LIB
15230 # Let DOS variable expansion print the short 8.3 style file name.
15231 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15232 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15235 # Convert to MSYS style.
15236 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15239 # Convert to unix form, then to dos form, then back to unix form
15240 # but this time dos style (no spaces!) so that the unix form looks
15241 # like /cygdrive/c/PROGRA~1:/cygdr...
15242 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15243 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15244 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15247 sys_lib_search_path_spec
="$LIB"
15248 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15249 # It is most probably a Windows format PATH.
15250 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15252 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15254 # FIXME: find the short name or the path components, as spaces are
15255 # common. (e.g. "Program Files" -> "PROGRA~1")
15259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15260 postinstall_cmds
='base_file=`basename \${file}`~
15261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15262 dldir=$destdir/`dirname \$dlpath`~
15263 test -d \$dldir || mkdir -p \$dldir~
15264 $install_prog $dir/$dlname \$dldir/$dlname'
15265 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15266 dlpath=$dir/\$dldll~
15268 shlibpath_overrides_runpath
=yes
15269 dynamic_linker
='Win32 link.exe'
15273 # Assume MSVC wrapper
15274 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15275 dynamic_linker
='Win32 ld.exe'
15278 # FIXME: first we should search . and the directory the executable is in
15282 darwin
* | rhapsody
*)
15283 dynamic_linker
="$host_os dyld"
15284 version_type
=darwin
15287 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15288 soname_spec
='${libname}${release}${major}$shared_ext'
15289 shlibpath_overrides_runpath
=yes
15290 shlibpath_var
=DYLD_LIBRARY_PATH
15291 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15293 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15301 soname_spec
='${libname}${release}${shared_ext}$major'
15302 shlibpath_var
=LD_LIBRARY_PATH
15309 freebsd
* | dragonfly
*)
15310 # DragonFly does not have aout. When/if they implement a new
15311 # versioning mechanism, adjust this.
15312 if test -x /usr
/bin
/objformat
; then
15313 objformat
=`/usr/bin/objformat`
15316 freebsd
[123]*) objformat
=aout
;;
15317 *) objformat
=elf
;;
15320 version_type
=freebsd-
$objformat
15321 case $version_type in
15323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15328 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15332 shlibpath_var
=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath
=yes
15337 freebsd3.
[01]* | freebsdelf3.
[01]*)
15338 shlibpath_overrides_runpath
=yes
15339 hardcode_into_libs
=yes
15341 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15342 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15343 shlibpath_overrides_runpath
=no
15344 hardcode_into_libs
=yes
15346 *) # from 4.6 on, and DragonFly
15347 shlibpath_overrides_runpath
=yes
15348 hardcode_into_libs
=yes
15357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15358 soname_spec
='${libname}${release}${shared_ext}$major'
15359 shlibpath_var
=LD_LIBRARY_PATH
15360 hardcode_into_libs
=yes
15367 dynamic_linker
="$host_os runtime_loader"
15368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15369 soname_spec
='${libname}${release}${shared_ext}$major'
15370 shlibpath_var
=LIBRARY_PATH
15371 shlibpath_overrides_runpath
=yes
15372 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15373 hardcode_into_libs
=yes
15376 hpux9
* | hpux10
* | hpux11
*)
15377 # Give a soname corresponding to the major version so that dld.sl refuses to
15378 # link against other versions.
15385 hardcode_into_libs
=yes
15386 dynamic_linker
="$host_os dld.so"
15387 shlibpath_var
=LD_LIBRARY_PATH
15388 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390 soname_spec
='${libname}${release}${shared_ext}$major'
15391 if test "X$HPUX_IA64_MODE" = X32
; then
15392 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15394 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15396 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15400 hardcode_into_libs
=yes
15401 dynamic_linker
="$host_os dld.sl"
15402 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15403 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 soname_spec
='${libname}${release}${shared_ext}$major'
15406 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15407 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15411 dynamic_linker
="$host_os dld.sl"
15412 shlibpath_var
=SHLIB_PATH
15413 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15415 soname_spec
='${libname}${release}${shared_ext}$major'
15418 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15419 postinstall_cmds
='chmod 555 $lib'
15420 # or fails outright, so override atomically:
15421 install_override_mode
=555
15428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15429 soname_spec
='${libname}${release}${shared_ext}$major'
15430 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15431 shlibpath_var
=LD_LIBRARY_PATH
15432 shlibpath_overrides_runpath
=no
15433 hardcode_into_libs
=yes
15436 irix5
* | irix6
* | nonstopux
*)
15438 nonstopux
*) version_type
=nonstopux
;;
15440 if test "$lt_cv_prog_gnu_ld" = yes; then
15448 soname_spec
='${libname}${release}${shared_ext}$major'
15449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15451 irix5
* | nonstopux
*)
15452 libsuff
= shlibsuff
=
15455 case $LD in # libtool.m4 will add one of these switches to LD
15456 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15457 libsuff
= shlibsuff
= libmagic
=32-bit;;
15458 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15459 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15460 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15461 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15462 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15466 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15467 shlibpath_overrides_runpath
=no
15468 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15469 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15470 hardcode_into_libs
=yes
15473 # No shared lib support for Linux oldld, aout, or coff.
15474 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15478 # This must be Linux ELF.
15479 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484 soname_spec
='${libname}${release}${shared_ext}$major'
15485 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15486 shlibpath_var
=LD_LIBRARY_PATH
15487 shlibpath_overrides_runpath
=no
15489 # Some binutils ld are patched to set DT_RUNPATH
15490 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15491 $as_echo_n "(cached) " >&6
15493 lt_cv_shlibpath_overrides_runpath
=no
15494 save_LDFLAGS
=$LDFLAGS
15495 save_libdir
=$libdir
15496 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15497 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15509 if ac_fn_cxx_try_link
"$LINENO"; then :
15510 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15511 lt_cv_shlibpath_overrides_runpath
=yes
15514 rm -f core conftest.err conftest.
$ac_objext \
15515 conftest
$ac_exeext conftest.
$ac_ext
15516 LDFLAGS
=$save_LDFLAGS
15517 libdir
=$save_libdir
15521 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15523 # This implies no fast_install, which is unacceptable.
15524 # Some rework will be needed to allow for fast_install
15525 # before this can be enabled.
15526 hardcode_into_libs
=yes
15528 # Append ld.so.conf contents to the search path
15529 if test -f /etc
/ld.so.conf
; then
15530 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' ' '`
15531 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15534 # We used to test for /lib/ld.so.1 and disable shared libraries on
15535 # powerpc, because MkLinux only supported shared libraries with the
15536 # GNU dynamic linker. Since this was broken with cross compilers,
15537 # most powerpc-linux boxes support dynamic linking these days and
15538 # people can always --disable-shared, the test was removed, and we
15539 # assume the GNU/Linux dynamic linker is in use.
15540 dynamic_linker
='GNU/Linux ld.so'
15547 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15549 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15550 dynamic_linker
='NetBSD (a.out) ld.so'
15552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15554 dynamic_linker
='NetBSD ld.elf_so'
15556 shlibpath_var
=LD_LIBRARY_PATH
15557 shlibpath_overrides_runpath
=yes
15558 hardcode_into_libs
=yes
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564 shlibpath_var
=LD_LIBRARY_PATH
15565 shlibpath_overrides_runpath
=yes
15572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15573 soname_spec
='${libname}${release}${shared_ext}$major'
15574 shlibpath_var
=LD_LIBRARY_PATH
15575 shlibpath_overrides_runpath
=no
15576 hardcode_into_libs
=yes
15577 dynamic_linker
='ldqnx.so'
15582 sys_lib_dlsearch_path_spec
="/usr/lib"
15584 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15586 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15587 *) need_version
=no
;;
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15591 shlibpath_var
=LD_LIBRARY_PATH
15592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15594 openbsd2.
[89] | openbsd2.
[89].
*)
15595 shlibpath_overrides_runpath
=no
15598 shlibpath_overrides_runpath
=yes
15602 shlibpath_overrides_runpath
=yes
15607 libname_spec
='$name'
15610 library_names_spec
='$libname${shared_ext} $libname.a'
15611 dynamic_linker
='OS/2 ld.exe'
15612 shlibpath_var
=LIBPATH
15615 osf3
* | osf4
* | osf5
*)
15619 soname_spec
='${libname}${release}${shared_ext}$major'
15620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15621 shlibpath_var
=LD_LIBRARY_PATH
15622 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15623 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15635 soname_spec
='${libname}${release}${shared_ext}$major'
15636 shlibpath_var
=LD_LIBRARY_PATH
15637 shlibpath_overrides_runpath
=yes
15638 hardcode_into_libs
=yes
15639 # ldd complains unless libraries are executable
15640 postinstall_cmds
='chmod +x $lib'
15645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15646 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15647 shlibpath_var
=LD_LIBRARY_PATH
15648 shlibpath_overrides_runpath
=yes
15649 if test "$with_gnu_ld" = yes; then
15657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658 soname_spec
='${libname}${release}${shared_ext}$major'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 case $host_vendor in
15662 shlibpath_overrides_runpath
=no
15664 runpath_var
=LD_RUN_PATH
15672 shlibpath_overrides_runpath
=no
15673 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15679 if test -d /usr
/nec
;then
15681 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15682 soname_spec
='$libname${shared_ext}.$major'
15683 shlibpath_var
=LD_LIBRARY_PATH
15687 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15688 version_type
=freebsd-elf
15691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15692 soname_spec
='${libname}${release}${shared_ext}$major'
15693 shlibpath_var
=LD_LIBRARY_PATH
15694 shlibpath_overrides_runpath
=yes
15695 hardcode_into_libs
=yes
15696 if test "$with_gnu_ld" = yes; then
15697 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15699 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15702 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15706 sys_lib_dlsearch_path_spec
='/usr/lib'
15710 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15715 shlibpath_var
=LD_LIBRARY_PATH
15716 shlibpath_overrides_runpath
=no
15717 hardcode_into_libs
=yes
15722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15723 soname_spec
='${libname}${release}${shared_ext}$major'
15724 shlibpath_var
=LD_LIBRARY_PATH
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15732 $as_echo "$dynamic_linker" >&6; }
15733 test "$dynamic_linker" = no
&& can_build_shared
=no
15735 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15736 if test "$GCC" = yes; then
15737 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15740 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15741 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15744 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15786 hardcode_action_CXX
=
15787 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15788 test -n "$runpath_var_CXX" ||
15789 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15791 # We can hardcode non-existent directories.
15792 if test "$hardcode_direct_CXX" != no
&&
15793 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15794 # have to relink, otherwise we might link with an installed library
15795 # when we should be linking with a yet-to-be-installed one
15796 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15797 test "$hardcode_minus_L_CXX" != no
; then
15798 # Linking always hardcodes the temporary library directory.
15799 hardcode_action_CXX
=relink
15801 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15802 hardcode_action_CXX
=immediate
15805 # We cannot hardcode anything, or else we can only hardcode existing
15807 hardcode_action_CXX
=unsupported
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15810 $as_echo "$hardcode_action_CXX" >&6; }
15812 if test "$hardcode_action_CXX" = relink ||
15813 test "$inherit_rpath_CXX" = yes; then
15814 # Fast installation is not supported
15815 enable_fast_install
=no
15816 elif test "$shlibpath_overrides_runpath" = yes ||
15817 test "$enable_shared" = no
; then
15818 # Fast installation is not necessary
15819 enable_fast_install
=needless
15828 fi # test -n "$compiler"
15831 CFLAGS
=$lt_save_CFLAGS
15835 with_gnu_ld
=$lt_save_with_gnu_ld
15836 lt_cv_path_LDCXX
=$lt_cv_path_LD
15837 lt_cv_path_LD
=$lt_save_path_LD
15838 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15839 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15840 fi # test "$_lt_caught_CXX_error" != yes
15843 ac_cpp
='$CPP $CPPFLAGS'
15844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15850 $as_echo_n "checking whether ln -s works... " >&6; }
15852 if test "$LN_S" = "ln -s"; then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15854 $as_echo "yes" >&6; }
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15857 $as_echo "no, using $LN_S" >&6; }
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15862 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15864 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15865 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
15866 $as_echo_n "(cached) " >&6
15868 cat >conftest.
make <<\_ACEOF
15871 @
echo '@@@%%%=$(MAKE)=@@@%%%'
15873 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15874 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15875 *@@@
%%%=?
*=@@@
%%%*)
15876 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
15878 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
15880 rm -f conftest.
make
15882 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15884 $as_echo "yes" >&6; }
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15888 $as_echo "no" >&6; }
15889 SET_MAKE
="MAKE=${MAKE-make}"
15894 # Extract the first word of "gengetopt", so it can be a program name with args.
15895 set dummy gengetopt
; ac_word
=$2
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15897 $as_echo_n "checking for $ac_word... " >&6; }
15898 if ${ac_cv_path_GENGETOPT+:} false
; then :
15899 $as_echo_n "(cached) " >&6
15903 ac_cv_path_GENGETOPT
="$GENGETOPT" # Let the user override the test with a path.
15906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15907 for as_dir
in $PATH
15910 test -z "$as_dir" && as_dir
=.
15911 for ac_exec_ext
in '' $ac_executable_extensions; do
15912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15913 ac_cv_path_GENGETOPT
="$as_dir/$ac_word$ac_exec_ext"
15914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15921 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT
="no"
15925 GENGETOPT
=$ac_cv_path_GENGETOPT
15926 if test -n "$GENGETOPT"; then
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15928 $as_echo "$GENGETOPT" >&6; }
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15931 $as_echo "no" >&6; }
15935 if test x
"$GENGETOPT" != "xno"; then
15936 HAVE_GENGETOPT_TRUE
=
15937 HAVE_GENGETOPT_FALSE
='#'
15939 HAVE_GENGETOPT_TRUE
='#'
15940 HAVE_GENGETOPT_FALSE
=
15945 # Extract the first word of "doxygen", so it can be a program name with args.
15946 set dummy doxygen
; ac_word
=$2
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15948 $as_echo_n "checking for $ac_word... " >&6; }
15949 if ${ac_cv_path_DOXYGEN+:} false
; then :
15950 $as_echo_n "(cached) " >&6
15954 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
15957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15958 for as_dir
in $PATH
15961 test -z "$as_dir" && as_dir
=.
15962 for ac_exec_ext
in '' $ac_executable_extensions; do
15963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15964 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15972 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="no"
15976 DOXYGEN
=$ac_cv_path_DOXYGEN
15977 if test -n "$DOXYGEN"; then
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15979 $as_echo "$DOXYGEN" >&6; }
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15982 $as_echo "no" >&6; }
15986 if test x
"$DOXYGEN" != "xno"; then
15988 HAVE_DOXYGEN_FALSE
='#'
15990 HAVE_DOXYGEN_TRUE
='#'
15991 HAVE_DOXYGEN_FALSE
=
15996 # Extract the first word of "perl", so it can be a program name with args.
15997 set dummy perl
; ac_word
=$2
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15999 $as_echo_n "checking for $ac_word... " >&6; }
16000 if ${ac_cv_path_PERL+:} false
; then :
16001 $as_echo_n "(cached) " >&6
16005 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16009 for as_dir
in $PATH
16012 test -z "$as_dir" && as_dir
=.
16013 for ac_exec_ext
in '' $ac_executable_extensions; do
16014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16015 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16023 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
16027 PERL
=$ac_cv_path_PERL
16028 if test -n "$PERL"; then
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16030 $as_echo "$PERL" >&6; }
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16033 $as_echo "no" >&6; }
16037 if test x
"$PERL" != "xno"; then
16039 HAVE_PERL_FALSE
='#'
16047 have_pod_checker
=no
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Pod::Checker" >&5
16049 $as_echo_n "checking for Pod::Checker... " >&6; }
16050 if $PERL -mPod::Checker
>/dev
/null
2>&1 ; then
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16052 $as_echo "yes" >&6; }
16053 have_pod_checker
=yes
16055 if test x
"$have_pod_checker" = "xyes"; then
16056 HAVE_PERL_POD_CHECKER_TRUE
=
16057 HAVE_PERL_POD_CHECKER_FALSE
='#'
16059 HAVE_PERL_POD_CHECKER_TRUE
='#'
16060 HAVE_PERL_POD_CHECKER_FALSE
=
16064 # Extract the first word of "pod2man", so it can be a program name with args.
16065 set dummy pod2man
; ac_word
=$2
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16067 $as_echo_n "checking for $ac_word... " >&6; }
16068 if ${ac_cv_path_POD2MAN+:} false
; then :
16069 $as_echo_n "(cached) " >&6
16073 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
16076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16077 for as_dir
in $PATH
16080 test -z "$as_dir" && as_dir
=.
16081 for ac_exec_ext
in '' $ac_executable_extensions; do
16082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16083 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
16084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16091 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="no"
16095 POD2MAN
=$ac_cv_path_POD2MAN
16096 if test -n "$POD2MAN"; then
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16098 $as_echo "$POD2MAN" >&6; }
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16101 $as_echo "no" >&6; }
16105 if test x
"$POD2MAN" != "xno"; then
16107 HAVE_POD2MAN_FALSE
='#'
16109 HAVE_POD2MAN_TRUE
='#'
16110 HAVE_POD2MAN_FALSE
=
16115 # Extract the first word of "pod2html", so it can be a program name with args.
16116 set dummy pod2html
; ac_word
=$2
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16118 $as_echo_n "checking for $ac_word... " >&6; }
16119 if ${ac_cv_path_POD2HTML+:} false
; then :
16120 $as_echo_n "(cached) " >&6
16124 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
16127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16128 for as_dir
in $PATH
16131 test -z "$as_dir" && as_dir
=.
16132 for ac_exec_ext
in '' $ac_executable_extensions; do
16133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16134 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
16135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16142 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="no"
16146 POD2HTML
=$ac_cv_path_POD2HTML
16147 if test -n "$POD2HTML"; then
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16149 $as_echo "$POD2HTML" >&6; }
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152 $as_echo "no" >&6; }
16156 if test x
"$POD2HTML" != "xno"; then
16157 HAVE_POD2HTML_TRUE
=
16158 HAVE_POD2HTML_FALSE
='#'
16160 HAVE_POD2HTML_TRUE
='#'
16161 HAVE_POD2HTML_FALSE
=
16166 # Extract the first word of "date", so it can be a program name with args.
16167 set dummy
date; ac_word
=$2
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16169 $as_echo_n "checking for $ac_word... " >&6; }
16170 if ${ac_cv_path_DATE+:} false
; then :
16171 $as_echo_n "(cached) " >&6
16175 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16179 for as_dir
in $PATH
16182 test -z "$as_dir" && as_dir
=.
16183 for ac_exec_ext
in '' $ac_executable_extensions; do
16184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16185 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16193 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="no"
16197 DATE
=$ac_cv_path_DATE
16198 if test -n "$DATE"; then
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16200 $as_echo "$DATE" >&6; }
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16203 $as_echo "no" >&6; }
16207 if test x
"$DATE" != "xno" ; then
16208 build_date
=`"$DATE" +%Y-%m-%d 2>/dev/null`
16209 if test x
"$build_date" != "x" ; then
16211 cat >>confdefs.h
<<_ACEOF
16212 #define BUILD_DATE "$build_date"
16218 # Extract the first word of "git", so it can be a program name with args.
16219 set dummy git
; ac_word
=$2
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16221 $as_echo_n "checking for $ac_word... " >&6; }
16222 if ${ac_cv_path_GIT+:} false
; then :
16223 $as_echo_n "(cached) " >&6
16227 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16231 for as_dir
in $PATH
16234 test -z "$as_dir" && as_dir
=.
16235 for ac_exec_ext
in '' $ac_executable_extensions; do
16236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16237 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16245 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT
="no"
16249 GIT
=$ac_cv_path_GIT
16250 if test -n "$GIT"; then
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16252 $as_echo "$GIT" >&6; }
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16255 $as_echo "no" >&6; }
16259 if test x
"$GIT" != "xno" ; then
16261 git_describe
=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16262 if test x
"$git_describe" != "x" ; then
16264 cat >>confdefs.h
<<_ACEOF
16265 #define GIT_DESCRIBE "$git_describe"
16271 # Checks for libraries.
16273 if test "X$prefix" = "XNONE"; then
16274 acl_final_prefix
="$ac_default_prefix"
16276 acl_final_prefix
="$prefix"
16278 if test "X$exec_prefix" = "XNONE"; then
16279 acl_final_exec_prefix
='${prefix}'
16281 acl_final_exec_prefix
="$exec_prefix"
16283 acl_save_prefix
="$prefix"
16284 prefix
="$acl_final_prefix"
16285 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16286 prefix
="$acl_save_prefix"
16289 # Check whether --with-gnu-ld was given.
16290 if test "${with_gnu_ld+set}" = set; then :
16291 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16296 # Prepare PATH_SEPARATOR.
16297 # The user is always right.
16298 if test "${PATH_SEPARATOR+set}" != set; then
16299 echo "#! /bin/sh" >conf$$.sh
16300 echo "exit 0" >>conf$$.sh
16302 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16310 if test "$GCC" = yes; then
16311 # Check if gcc -print-prog-name=ld gives a path.
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16313 $as_echo_n "checking for ld used by GCC... " >&6; }
16316 # gcc leaves a trailing carriage return which upsets mingw
16317 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16319 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16322 # Accept absolute paths.
16323 [\\/]* |
[A-Za-z
]:[\\/]*)
16324 re_direlt
='/[^/][^/]*/\.\./'
16325 # Canonicalize the path of ld
16326 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16327 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16328 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16330 test -z "$LD" && LD
="$ac_prog"
16333 # If it fails, then pretend we aren't using GCC.
16337 # If it is relative, then search for the first ld in PATH.
16338 with_gnu_ld
=unknown
16341 elif test "$with_gnu_ld" = yes; then
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16343 $as_echo_n "checking for GNU ld... " >&6; }
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16346 $as_echo_n "checking for non-GNU ld... " >&6; }
16348 if ${acl_cv_path_LD+:} false
; then :
16349 $as_echo_n "(cached) " >&6
16351 if test -z "$LD"; then
16352 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16353 for ac_dir
in $PATH; do
16354 test -z "$ac_dir" && ac_dir
=.
16355 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16356 acl_cv_path_LD
="$ac_dir/$ac_prog"
16357 # Check to see if the program is GNU ld. I'd rather use --version,
16358 # but apparently some GNU ld's only accept -v.
16359 # Break only if it was the GNU/non-GNU ld that we prefer.
16360 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16361 *GNU
* |
*'with BFD'*)
16362 test "$with_gnu_ld" != no
&& break ;;
16364 test "$with_gnu_ld" != yes && break ;;
16370 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16374 LD
="$acl_cv_path_LD"
16375 if test -n "$LD"; then
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16377 $as_echo "$LD" >&6; }
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16380 $as_echo "no" >&6; }
16382 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16384 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16385 if ${acl_cv_prog_gnu_ld+:} false
; then :
16386 $as_echo_n "(cached) " >&6
16388 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16389 case `$LD -v 2>&1 </dev/null` in
16390 *GNU
* |
*'with BFD'*)
16391 acl_cv_prog_gnu_ld
=yes ;;
16393 acl_cv_prog_gnu_ld
=no
;;
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16397 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16398 with_gnu_ld
=$acl_cv_prog_gnu_ld
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16404 $as_echo_n "checking for shared library run path origin... " >&6; }
16405 if ${acl_cv_rpath+:} false
; then :
16406 $as_echo_n "(cached) " >&6
16409 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16410 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16412 rm -f .
/conftest.sh
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16417 $as_echo "$acl_cv_rpath" >&6; }
16419 acl_libext
="$acl_cv_libext"
16420 acl_shlibext
="$acl_cv_shlibext"
16421 acl_libname_spec
="$acl_cv_libname_spec"
16422 acl_library_names_spec
="$acl_cv_library_names_spec"
16423 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16424 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16425 acl_hardcode_direct
="$acl_cv_hardcode_direct"
16426 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16427 # Check whether --enable-rpath was given.
16428 if test "${enable_rpath+set}" = set; then :
16429 enableval
=$enable_rpath; :
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16442 $as_echo_n "checking for 64-bit host... " >&6; }
16443 if ${gl_cv_solaris_64bit+:} false
; then :
16444 $as_echo_n "(cached) " >&6
16446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16455 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
16456 gl_cv_solaris_64bit
=yes
16458 gl_cv_solaris_64bit
=no
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16465 $as_echo "$gl_cv_solaris_64bit" >&6; }
16466 if test $gl_cv_solaris_64bit = yes; then
16467 acl_libdirstem
=lib
/64
16468 case "$host_cpu" in
16469 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
16470 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
16475 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16476 if test -n "$searchpath"; then
16477 acl_save_IFS
="${IFS= }"; IFS
=":"
16478 for searchdir
in $searchpath; do
16479 if test -d "$searchdir"; then
16480 case "$searchdir" in
16481 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
16483 # Better ignore directories of this form. They are misleading.
16485 *) searchdir
=`cd "$searchdir" && pwd`
16486 case "$searchdir" in
16487 */lib64
) acl_libdirstem
=lib64
;;
16492 IFS
="$acl_save_IFS"
16496 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
16511 acl_save_prefix
="$prefix"
16512 prefix
="$acl_final_prefix"
16513 acl_save_exec_prefix
="$exec_prefix"
16514 exec_prefix
="$acl_final_exec_prefix"
16516 eval additional_includedir
=\"$includedir\"
16517 eval additional_libdir
=\"$libdir\"
16519 exec_prefix
="$acl_save_exec_prefix"
16520 prefix
="$acl_save_prefix"
16523 # Check whether --with-libiconv-prefix was given.
16524 if test "${with_libiconv_prefix+set}" = set; then :
16525 withval
=$with_libiconv_prefix;
16526 if test "X$withval" = "Xno"; then
16529 if test "X$withval" = "X"; then
16531 acl_save_prefix
="$prefix"
16532 prefix
="$acl_final_prefix"
16533 acl_save_exec_prefix
="$exec_prefix"
16534 exec_prefix
="$acl_final_exec_prefix"
16536 eval additional_includedir
=\"$includedir\"
16537 eval additional_libdir
=\"$libdir\"
16539 exec_prefix
="$acl_save_exec_prefix"
16540 prefix
="$acl_save_prefix"
16543 additional_includedir
="$withval/include"
16544 additional_libdir
="$withval/$acl_libdirstem"
16545 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16546 && ! test -d "$withval/$acl_libdirstem"; then
16547 additional_libdir
="$withval/$acl_libdirstem2"
16561 names_already_handled
=
16562 names_next_round
='iconv '
16563 while test -n "$names_next_round"; do
16564 names_this_round
="$names_next_round"
16566 for name
in $names_this_round; do
16568 for n
in $names_already_handled; do
16569 if test "$n" = "$name"; then
16570 already_handled
=yes
16574 if test -z "$already_handled"; then
16575 names_already_handled
="$names_already_handled $name"
16576 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16577 eval value
=\"\
$HAVE_LIB$uppername\"
16578 if test -n "$value"; then
16579 if test "$value" = yes; then
16580 eval value
=\"\
$LIB$uppername\"
16581 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16582 eval value
=\"\
$LTLIB$uppername\"
16583 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16592 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
16593 if test -n "$acl_shlibext"; then
16594 shrext
=".$acl_shlibext" # typically: shrext=.so
16598 if test $use_additional = yes; then
16599 dir
="$additional_libdir"
16600 if test -n "$acl_shlibext"; then
16601 if test -f "$dir/$libname$shrext"; then
16603 found_so
="$dir/$libname$shrext"
16605 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16606 ver
=`(cd "$dir" && \
16607 for f in "$libname$shrext".*; do echo "$f"; done \
16608 | sed -e "s,^$libname$shrext\\\\.,," \
16609 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16610 | sed 1q ) 2>/dev/null`
16611 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16613 found_so
="$dir/$libname$shrext.$ver"
16616 eval library_names
=\"$acl_library_names_spec\"
16617 for f
in $library_names; do
16618 if test -f "$dir/$f"; then
16627 if test "X$found_dir" = "X"; then
16628 if test -f "$dir/$libname.$acl_libext"; then
16630 found_a
="$dir/$libname.$acl_libext"
16633 if test "X$found_dir" != "X"; then
16634 if test -f "$dir/$libname.la"; then
16635 found_la
="$dir/$libname.la"
16639 if test "X$found_dir" = "X"; then
16640 for x
in $LDFLAGS $LTLIBICONV; do
16642 acl_save_prefix
="$prefix"
16643 prefix
="$acl_final_prefix"
16644 acl_save_exec_prefix
="$exec_prefix"
16645 exec_prefix
="$acl_final_exec_prefix"
16647 exec_prefix
="$acl_save_exec_prefix"
16648 prefix
="$acl_save_prefix"
16652 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16653 if test -n "$acl_shlibext"; then
16654 if test -f "$dir/$libname$shrext"; then
16656 found_so
="$dir/$libname$shrext"
16658 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16659 ver
=`(cd "$dir" && \
16660 for f in "$libname$shrext".*; do echo "$f"; done \
16661 | sed -e "s,^$libname$shrext\\\\.,," \
16662 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16663 | sed 1q ) 2>/dev/null`
16664 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16666 found_so
="$dir/$libname$shrext.$ver"
16669 eval library_names
=\"$acl_library_names_spec\"
16670 for f
in $library_names; do
16671 if test -f "$dir/$f"; then
16680 if test "X$found_dir" = "X"; then
16681 if test -f "$dir/$libname.$acl_libext"; then
16683 found_a
="$dir/$libname.$acl_libext"
16686 if test "X$found_dir" != "X"; then
16687 if test -f "$dir/$libname.la"; then
16688 found_la
="$dir/$libname.la"
16693 if test "X$found_dir" != "X"; then
16698 if test "X$found_dir" != "X"; then
16699 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16700 if test "X$found_so" != "X"; then
16701 if test "$enable_rpath" = no \
16702 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
16703 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16704 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16707 for x
in $ltrpathdirs; do
16708 if test "X$x" = "X$found_dir"; then
16713 if test -z "$haveit"; then
16714 ltrpathdirs
="$ltrpathdirs $found_dir"
16716 if test "$acl_hardcode_direct" = yes; then
16717 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16719 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
16720 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16722 for x
in $rpathdirs; do
16723 if test "X$x" = "X$found_dir"; then
16728 if test -z "$haveit"; then
16729 rpathdirs
="$rpathdirs $found_dir"
16733 for x
in $LDFLAGS $LIBICONV; do
16735 acl_save_prefix
="$prefix"
16736 prefix
="$acl_final_prefix"
16737 acl_save_exec_prefix
="$exec_prefix"
16738 exec_prefix
="$acl_final_exec_prefix"
16740 exec_prefix
="$acl_save_exec_prefix"
16741 prefix
="$acl_save_prefix"
16743 if test "X$x" = "X-L$found_dir"; then
16748 if test -z "$haveit"; then
16749 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16751 if test "$acl_hardcode_minus_L" != no
; then
16752 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16754 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16760 if test "X$found_a" != "X"; then
16761 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16763 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16766 additional_includedir
=
16767 case "$found_dir" in
16768 */$acl_libdirstem |
*/$acl_libdirstem/)
16769 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16770 if test "$name" = 'iconv'; then
16771 LIBICONV_PREFIX
="$basedir"
16773 additional_includedir
="$basedir/include"
16775 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
16776 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16777 if test "$name" = 'iconv'; then
16778 LIBICONV_PREFIX
="$basedir"
16780 additional_includedir
="$basedir/include"
16783 if test "X$additional_includedir" != "X"; then
16784 if test "X$additional_includedir" != "X/usr/include"; then
16786 if test "X$additional_includedir" = "X/usr/local/include"; then
16787 if test -n "$GCC"; then
16789 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16793 if test -z "$haveit"; then
16794 for x
in $CPPFLAGS $INCICONV; do
16796 acl_save_prefix
="$prefix"
16797 prefix
="$acl_final_prefix"
16798 acl_save_exec_prefix
="$exec_prefix"
16799 exec_prefix
="$acl_final_exec_prefix"
16801 exec_prefix
="$acl_save_exec_prefix"
16802 prefix
="$acl_save_prefix"
16804 if test "X$x" = "X-I$additional_includedir"; then
16809 if test -z "$haveit"; then
16810 if test -d "$additional_includedir"; then
16811 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16817 if test -n "$found_la"; then
16818 save_libdir
="$libdir"
16819 case "$found_la" in
16820 */* |
*\\*) .
"$found_la" ;;
16821 *) .
"./$found_la" ;;
16823 libdir
="$save_libdir"
16824 for dep
in $dependency_libs; do
16827 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16828 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16829 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16831 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16832 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16833 if test -n "$GCC"; then
16835 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16839 if test -z "$haveit"; then
16841 for x
in $LDFLAGS $LIBICONV; do
16843 acl_save_prefix
="$prefix"
16844 prefix
="$acl_final_prefix"
16845 acl_save_exec_prefix
="$exec_prefix"
16846 exec_prefix
="$acl_final_exec_prefix"
16848 exec_prefix
="$acl_save_exec_prefix"
16849 prefix
="$acl_save_prefix"
16851 if test "X$x" = "X-L$additional_libdir"; then
16856 if test -z "$haveit"; then
16857 if test -d "$additional_libdir"; then
16858 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16862 for x
in $LDFLAGS $LTLIBICONV; do
16864 acl_save_prefix
="$prefix"
16865 prefix
="$acl_final_prefix"
16866 acl_save_exec_prefix
="$exec_prefix"
16867 exec_prefix
="$acl_final_exec_prefix"
16869 exec_prefix
="$acl_save_exec_prefix"
16870 prefix
="$acl_save_prefix"
16872 if test "X$x" = "X-L$additional_libdir"; then
16877 if test -z "$haveit"; then
16878 if test -d "$additional_libdir"; then
16879 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16886 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16887 if test "$enable_rpath" != no
; then
16889 for x
in $rpathdirs; do
16890 if test "X$x" = "X$dir"; then
16895 if test -z "$haveit"; then
16896 rpathdirs
="$rpathdirs $dir"
16899 for x
in $ltrpathdirs; do
16900 if test "X$x" = "X$dir"; then
16905 if test -z "$haveit"; then
16906 ltrpathdirs
="$ltrpathdirs $dir"
16911 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16914 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16917 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16918 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16924 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16925 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16931 if test "X$rpathdirs" != "X"; then
16932 if test -n "$acl_hardcode_libdir_separator"; then
16934 for found_dir
in $rpathdirs; do
16935 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16937 acl_save_libdir
="$libdir"
16939 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16940 libdir
="$acl_save_libdir"
16941 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16943 for found_dir
in $rpathdirs; do
16944 acl_save_libdir
="$libdir"
16945 libdir
="$found_dir"
16946 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16947 libdir
="$acl_save_libdir"
16948 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16952 if test "X$ltrpathdirs" != "X"; then
16953 for found_dir
in $ltrpathdirs; do
16954 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16969 am_save_CPPFLAGS
="$CPPFLAGS"
16971 for element
in $INCICONV; do
16973 for x
in $CPPFLAGS; do
16975 acl_save_prefix
="$prefix"
16976 prefix
="$acl_final_prefix"
16977 acl_save_exec_prefix
="$exec_prefix"
16978 exec_prefix
="$acl_final_exec_prefix"
16980 exec_prefix
="$acl_save_exec_prefix"
16981 prefix
="$acl_save_prefix"
16983 if test "X$x" = "X$element"; then
16988 if test -z "$haveit"; then
16989 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16995 $as_echo_n "checking for iconv... " >&6; }
16996 if ${am_cv_func_iconv+:} false
; then :
16997 $as_echo_n "(cached) " >&6
17000 am_cv_func_iconv
="no, consider installing GNU libiconv"
17002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <stdlib.h>
17009 iconv_t cd = iconv_open("","");
17010 iconv(cd,NULL,NULL,NULL,NULL);
17016 if ac_fn_c_try_link
"$LINENO"; then :
17017 am_cv_func_iconv
=yes
17019 rm -f core conftest.err conftest.
$ac_objext \
17020 conftest
$ac_exeext conftest.
$ac_ext
17021 if test "$am_cv_func_iconv" != yes; then
17022 am_save_LIBS
="$LIBS"
17023 LIBS
="$LIBS $LIBICONV"
17024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #include <stdlib.h>
17031 iconv_t cd = iconv_open("","");
17032 iconv(cd,NULL,NULL,NULL,NULL);
17038 if ac_fn_c_try_link
"$LINENO"; then :
17039 am_cv_lib_iconv
=yes
17040 am_cv_func_iconv
=yes
17042 rm -f core conftest.err conftest.
$ac_objext \
17043 conftest
$ac_exeext conftest.
$ac_ext
17044 LIBS
="$am_save_LIBS"
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17049 $as_echo "$am_cv_func_iconv" >&6; }
17050 if test "$am_cv_func_iconv" = yes; then
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17052 $as_echo_n "checking for working iconv... " >&6; }
17053 if ${am_cv_func_iconv_works+:} false
; then :
17054 $as_echo_n "(cached) " >&6
17057 am_save_LIBS
="$LIBS"
17058 if test $am_cv_lib_iconv = yes; then
17059 LIBS
="$LIBS $LIBICONV"
17061 if test "$cross_compiling" = yes; then :
17063 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
17064 *) am_cv_func_iconv_works
="guessing yes" ;;
17067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17071 #include <string.h>
17074 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17077 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17078 if (cd_utf8_to_88591 != (iconv_t)(-1))
17080 static const char input[] = "\342\202\254"; /* EURO SIGN */
17082 const char *inptr = input;
17083 size_t inbytesleft = strlen (input);
17084 char *outptr = buf;
17085 size_t outbytesleft = sizeof (buf);
17086 size_t res = iconv (cd_utf8_to_88591,
17087 (char **) &inptr, &inbytesleft,
17088 &outptr, &outbytesleft);
17093 /* Test against Solaris 10 bug: Failures are not distinguishable from
17094 successful returns. */
17096 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17097 if (cd_ascii_to_88591 != (iconv_t)(-1))
17099 static const char input[] = "\263";
17101 const char *inptr = input;
17102 size_t inbytesleft = strlen (input);
17103 char *outptr = buf;
17104 size_t outbytesleft = sizeof (buf);
17105 size_t res = iconv (cd_ascii_to_88591,
17106 (char **) &inptr, &inbytesleft,
17107 &outptr, &outbytesleft);
17112 #if 0 /* This bug could be worked around by the caller. */
17113 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17115 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17116 if (cd_88591_to_utf8 != (iconv_t)(-1))
17118 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17120 const char *inptr = input;
17121 size_t inbytesleft = strlen (input);
17122 char *outptr = buf;
17123 size_t outbytesleft = sizeof (buf);
17124 size_t res = iconv (cd_88591_to_utf8,
17125 (char **) &inptr, &inbytesleft,
17126 &outptr, &outbytesleft);
17132 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17134 if (/* Try standardized names. */
17135 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17136 /* Try IRIX, OSF/1 names. */
17137 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17138 /* Try AIX names. */
17139 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17140 /* Try HP-UX names. */
17141 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17146 if ac_fn_c_try_run
"$LINENO"; then :
17147 am_cv_func_iconv_works
=yes
17149 am_cv_func_iconv_works
=no
17151 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17152 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17155 LIBS
="$am_save_LIBS"
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17159 $as_echo "$am_cv_func_iconv_works" >&6; }
17160 case "$am_cv_func_iconv_works" in
17161 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
17162 *) am_func_iconv
=yes ;;
17165 am_func_iconv
=no am_cv_lib_iconv
=no
17167 if test "$am_func_iconv" = yes; then
17169 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17172 if test "$am_cv_lib_iconv" = yes; then
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17174 $as_echo_n "checking how to link with libiconv... " >&6; }
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17176 $as_echo "$LIBICONV" >&6; }
17178 CPPFLAGS
="$am_save_CPPFLAGS"
17185 if test "$am_cv_func_iconv" = yes; then
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17187 $as_echo_n "checking for iconv declaration... " >&6; }
17188 if ${am_cv_proto_iconv+:} false
; then :
17189 $as_echo_n "(cached) " >&6
17192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17195 #include <stdlib.h>
17201 #if defined(__STDC__) || defined(__cplusplus)
17202 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17215 if ac_fn_c_try_compile
"$LINENO"; then :
17216 am_cv_proto_iconv_arg1
=""
17218 am_cv_proto_iconv_arg1
="const"
17220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17221 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);"
17224 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17226 $am_cv_proto_iconv" >&5
17228 $am_cv_proto_iconv" >&6; }
17230 cat >>confdefs.h
<<_ACEOF
17231 #define ICONV_CONST $am_cv_proto_iconv_arg1
17242 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17243 if test -n "$ac_tool_prefix"; then
17244 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17245 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17247 $as_echo_n "checking for $ac_word... " >&6; }
17248 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17249 $as_echo_n "(cached) " >&6
17251 case $PKG_CONFIG in
17253 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17257 for as_dir
in $PATH
17260 test -z "$as_dir" && as_dir
=.
17261 for ac_exec_ext
in '' $ac_executable_extensions; do
17262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17263 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17274 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17275 if test -n "$PKG_CONFIG"; then
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17277 $as_echo "$PKG_CONFIG" >&6; }
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17280 $as_echo "no" >&6; }
17285 if test -z "$ac_cv_path_PKG_CONFIG"; then
17286 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17287 # Extract the first word of "pkg-config", so it can be a program name with args.
17288 set dummy pkg-config
; ac_word
=$2
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17290 $as_echo_n "checking for $ac_word... " >&6; }
17291 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17292 $as_echo_n "(cached) " >&6
17294 case $ac_pt_PKG_CONFIG in
17296 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17300 for as_dir
in $PATH
17303 test -z "$as_dir" && as_dir
=.
17304 for ac_exec_ext
in '' $ac_executable_extensions; do
17305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17306 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17317 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17318 if test -n "$ac_pt_PKG_CONFIG"; then
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17320 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17326 if test "x$ac_pt_PKG_CONFIG" = x
; then
17329 case $cross_compiling:$ac_tool_warned in
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17333 ac_tool_warned
=yes ;;
17335 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17338 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17342 if test -n "$PKG_CONFIG"; then
17343 _pkg_min_version
=0.9.0
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17345 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17346 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17348 $as_echo "yes" >&6; }
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17351 $as_echo "no" >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17358 $as_echo_n "checking for libcurl... " >&6; }
17360 if test -n "$libcurl_CFLAGS"; then
17361 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
17362 elif test -n "$PKG_CONFIG"; then
17363 if test -n "$PKG_CONFIG" && \
17364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17365 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17368 test $ac_status = 0; }; then
17369 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17376 if test -n "$libcurl_LIBS"; then
17377 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
17378 elif test -n "$PKG_CONFIG"; then
17379 if test -n "$PKG_CONFIG" && \
17380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17381 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17384 test $ac_status = 0; }; then
17385 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17395 if test $pkg_failed = yes; then
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17397 $as_echo "no" >&6; }
17399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17400 _pkg_short_errors_supported
=yes
17402 _pkg_short_errors_supported
=no
17404 if test $_pkg_short_errors_supported = yes; then
17405 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17407 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17409 # Put the nasty error message in config.log where it belongs
17410 echo "$libcurl_PKG_ERRORS" >&5
17412 as_fn_error $?
"Package requirements (libcurl >= 7.18.0) were not met:
17414 $libcurl_PKG_ERRORS
17416 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17417 installed software in a non-standard prefix.
17419 Alternatively, you may set the environment variables libcurl_CFLAGS
17420 and libcurl_LIBS to avoid the need to call pkg-config.
17421 See the pkg-config man page for more details." "$LINENO" 5
17422 elif test $pkg_failed = untried
; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17424 $as_echo "no" >&6; }
17425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17427 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17428 is in your PATH or set the PKG_CONFIG environment variable to the full
17429 path to pkg-config.
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.
17435 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17436 See \`config.log' for more details" "$LINENO" 5; }
17438 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
17439 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17441 $as_echo "yes" >&6; }
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17447 $as_echo_n "checking for liblua... " >&6; }
17449 if test -n "$liblua_CFLAGS"; then
17450 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17451 elif test -n "$PKG_CONFIG"; then
17452 if test -n "$PKG_CONFIG" && \
17453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17454 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17457 test $ac_status = 0; }; then
17458 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17465 if test -n "$liblua_LIBS"; then
17466 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17467 elif test -n "$PKG_CONFIG"; then
17468 if test -n "$PKG_CONFIG" && \
17469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17470 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17473 test $ac_status = 0; }; then
17474 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17484 if test $pkg_failed = yes; then
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17486 $as_echo "no" >&6; }
17488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17489 _pkg_short_errors_supported
=yes
17491 _pkg_short_errors_supported
=no
17493 if test $_pkg_short_errors_supported = yes; then
17494 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17496 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17498 # Put the nasty error message in config.log where it belongs
17499 echo "$liblua_PKG_ERRORS" >&5
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17505 $as_echo_n "checking for liblua... " >&6; }
17507 if test -n "$liblua_CFLAGS"; then
17508 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17509 elif test -n "$PKG_CONFIG"; then
17510 if test -n "$PKG_CONFIG" && \
17511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17512 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17515 test $ac_status = 0; }; then
17516 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17523 if test -n "$liblua_LIBS"; then
17524 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17525 elif test -n "$PKG_CONFIG"; then
17526 if test -n "$PKG_CONFIG" && \
17527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17528 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17531 test $ac_status = 0; }; then
17532 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17542 if test $pkg_failed = yes; then
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17544 $as_echo "no" >&6; }
17546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17547 _pkg_short_errors_supported
=yes
17549 _pkg_short_errors_supported
=no
17551 if test $_pkg_short_errors_supported = yes; then
17552 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17554 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17556 # Put the nasty error message in config.log where it belongs
17557 echo "$liblua_PKG_ERRORS" >&5
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17563 $as_echo_n "checking for liblua... " >&6; }
17565 if test -n "$liblua_CFLAGS"; then
17566 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17567 elif test -n "$PKG_CONFIG"; then
17568 if test -n "$PKG_CONFIG" && \
17569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17570 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17573 test $ac_status = 0; }; then
17574 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17581 if test -n "$liblua_LIBS"; then
17582 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17583 elif test -n "$PKG_CONFIG"; then
17584 if test -n "$PKG_CONFIG" && \
17585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17586 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17589 test $ac_status = 0; }; then
17590 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17600 if test $pkg_failed = yes; then
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17602 $as_echo "no" >&6; }
17604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17605 _pkg_short_errors_supported
=yes
17607 _pkg_short_errors_supported
=no
17609 if test $_pkg_short_errors_supported = yes; then
17610 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17612 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17614 # Put the nasty error message in config.log where it belongs
17615 echo "$liblua_PKG_ERRORS" >&5
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17621 $as_echo_n "checking for liblua... " >&6; }
17623 if test -n "$liblua_CFLAGS"; then
17624 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17625 elif test -n "$PKG_CONFIG"; then
17626 if test -n "$PKG_CONFIG" && \
17627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17628 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17631 test $ac_status = 0; }; then
17632 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17639 if test -n "$liblua_LIBS"; then
17640 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17641 elif test -n "$PKG_CONFIG"; then
17642 if test -n "$PKG_CONFIG" && \
17643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17644 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17647 test $ac_status = 0; }; then
17648 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17658 if test $pkg_failed = yes; then
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17660 $as_echo "no" >&6; }
17662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17663 _pkg_short_errors_supported
=yes
17665 _pkg_short_errors_supported
=no
17667 if test $_pkg_short_errors_supported = yes; then
17668 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17670 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17672 # Put the nasty error message in config.log where it belongs
17673 echo "$liblua_PKG_ERRORS" >&5
17675 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17679 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17680 installed software in a non-standard prefix.
17682 Alternatively, you may set the environment variables liblua_CFLAGS
17683 and liblua_LIBS to avoid the need to call pkg-config.
17684 See the pkg-config man page for more details." "$LINENO" 5
17685 elif test $pkg_failed = untried
; then
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17687 $as_echo "no" >&6; }
17688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17690 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17691 is in your PATH or set the PKG_CONFIG environment variable to the full
17692 path to pkg-config.
17694 Alternatively, you may set the environment variables liblua_CFLAGS
17695 and liblua_LIBS to avoid the need to call pkg-config.
17696 See the pkg-config man page for more details.
17698 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17699 See \`config.log' for more details" "$LINENO" 5; }
17701 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17702 liblua_LIBS
=$pkg_cv_liblua_LIBS
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17704 $as_echo "yes" >&6; }
17708 elif test $pkg_failed = untried
; then
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17710 $as_echo "no" >&6; }
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17715 $as_echo_n "checking for liblua... " >&6; }
17717 if test -n "$liblua_CFLAGS"; then
17718 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17719 elif test -n "$PKG_CONFIG"; then
17720 if test -n "$PKG_CONFIG" && \
17721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17722 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17725 test $ac_status = 0; }; then
17726 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17733 if test -n "$liblua_LIBS"; then
17734 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17735 elif test -n "$PKG_CONFIG"; then
17736 if test -n "$PKG_CONFIG" && \
17737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17738 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17741 test $ac_status = 0; }; then
17742 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17752 if test $pkg_failed = yes; then
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17754 $as_echo "no" >&6; }
17756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17757 _pkg_short_errors_supported
=yes
17759 _pkg_short_errors_supported
=no
17761 if test $_pkg_short_errors_supported = yes; then
17762 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17764 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17766 # Put the nasty error message in config.log where it belongs
17767 echo "$liblua_PKG_ERRORS" >&5
17769 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17773 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17774 installed software in a non-standard prefix.
17776 Alternatively, you may set the environment variables liblua_CFLAGS
17777 and liblua_LIBS to avoid the need to call pkg-config.
17778 See the pkg-config man page for more details." "$LINENO" 5
17779 elif test $pkg_failed = untried
; then
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17781 $as_echo "no" >&6; }
17782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17784 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17785 is in your PATH or set the PKG_CONFIG environment variable to the full
17786 path to pkg-config.
17788 Alternatively, you may set the environment variables liblua_CFLAGS
17789 and liblua_LIBS to avoid the need to call pkg-config.
17790 See the pkg-config man page for more details.
17792 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17793 See \`config.log' for more details" "$LINENO" 5; }
17795 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17796 liblua_LIBS
=$pkg_cv_liblua_LIBS
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17798 $as_echo "yes" >&6; }
17803 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17804 liblua_LIBS
=$pkg_cv_liblua_LIBS
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17806 $as_echo "yes" >&6; }
17810 elif test $pkg_failed = untried
; then
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17812 $as_echo "no" >&6; }
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17817 $as_echo_n "checking for liblua... " >&6; }
17819 if test -n "$liblua_CFLAGS"; then
17820 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17821 elif test -n "$PKG_CONFIG"; then
17822 if test -n "$PKG_CONFIG" && \
17823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17824 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17827 test $ac_status = 0; }; then
17828 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17835 if test -n "$liblua_LIBS"; then
17836 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17837 elif test -n "$PKG_CONFIG"; then
17838 if test -n "$PKG_CONFIG" && \
17839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17840 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17843 test $ac_status = 0; }; then
17844 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17854 if test $pkg_failed = yes; then
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17856 $as_echo "no" >&6; }
17858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17859 _pkg_short_errors_supported
=yes
17861 _pkg_short_errors_supported
=no
17863 if test $_pkg_short_errors_supported = yes; then
17864 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17866 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17868 # Put the nasty error message in config.log where it belongs
17869 echo "$liblua_PKG_ERRORS" >&5
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17875 $as_echo_n "checking for liblua... " >&6; }
17877 if test -n "$liblua_CFLAGS"; then
17878 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17879 elif test -n "$PKG_CONFIG"; then
17880 if test -n "$PKG_CONFIG" && \
17881 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17882 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17885 test $ac_status = 0; }; then
17886 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17893 if test -n "$liblua_LIBS"; then
17894 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17895 elif test -n "$PKG_CONFIG"; then
17896 if test -n "$PKG_CONFIG" && \
17897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17898 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17901 test $ac_status = 0; }; then
17902 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17912 if test $pkg_failed = yes; then
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17914 $as_echo "no" >&6; }
17916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17917 _pkg_short_errors_supported
=yes
17919 _pkg_short_errors_supported
=no
17921 if test $_pkg_short_errors_supported = yes; then
17922 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17924 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17926 # Put the nasty error message in config.log where it belongs
17927 echo "$liblua_PKG_ERRORS" >&5
17929 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17933 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17934 installed software in a non-standard prefix.
17936 Alternatively, you may set the environment variables liblua_CFLAGS
17937 and liblua_LIBS to avoid the need to call pkg-config.
17938 See the pkg-config man page for more details." "$LINENO" 5
17939 elif test $pkg_failed = untried
; then
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17941 $as_echo "no" >&6; }
17942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17944 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17945 is in your PATH or set the PKG_CONFIG environment variable to the full
17946 path to pkg-config.
17948 Alternatively, you may set the environment variables liblua_CFLAGS
17949 and liblua_LIBS to avoid the need to call pkg-config.
17950 See the pkg-config man page for more details.
17952 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17953 See \`config.log' for more details" "$LINENO" 5; }
17955 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17956 liblua_LIBS
=$pkg_cv_liblua_LIBS
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17958 $as_echo "yes" >&6; }
17962 elif test $pkg_failed = untried
; then
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17964 $as_echo "no" >&6; }
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17969 $as_echo_n "checking for liblua... " >&6; }
17971 if test -n "$liblua_CFLAGS"; then
17972 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17973 elif test -n "$PKG_CONFIG"; then
17974 if test -n "$PKG_CONFIG" && \
17975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17976 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17979 test $ac_status = 0; }; then
17980 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17987 if test -n "$liblua_LIBS"; then
17988 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17989 elif test -n "$PKG_CONFIG"; then
17990 if test -n "$PKG_CONFIG" && \
17991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17992 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17995 test $ac_status = 0; }; then
17996 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18006 if test $pkg_failed = yes; then
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18008 $as_echo "no" >&6; }
18010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18011 _pkg_short_errors_supported
=yes
18013 _pkg_short_errors_supported
=no
18015 if test $_pkg_short_errors_supported = yes; then
18016 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18018 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18020 # Put the nasty error message in config.log where it belongs
18021 echo "$liblua_PKG_ERRORS" >&5
18023 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18027 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18028 installed software in a non-standard prefix.
18030 Alternatively, you may set the environment variables liblua_CFLAGS
18031 and liblua_LIBS to avoid the need to call pkg-config.
18032 See the pkg-config man page for more details." "$LINENO" 5
18033 elif test $pkg_failed = untried
; then
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18035 $as_echo "no" >&6; }
18036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18038 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18039 is in your PATH or set the PKG_CONFIG environment variable to the full
18040 path to pkg-config.
18042 Alternatively, you may set the environment variables liblua_CFLAGS
18043 and liblua_LIBS to avoid the need to call pkg-config.
18044 See the pkg-config man page for more details.
18046 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18047 See \`config.log' for more details" "$LINENO" 5; }
18049 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18050 liblua_LIBS
=$pkg_cv_liblua_LIBS
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18052 $as_echo "yes" >&6; }
18057 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18058 liblua_LIBS
=$pkg_cv_liblua_LIBS
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18060 $as_echo "yes" >&6; }
18065 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18066 liblua_LIBS
=$pkg_cv_liblua_LIBS
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18068 $as_echo "yes" >&6; }
18072 elif test $pkg_failed = untried
; then
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18074 $as_echo "no" >&6; }
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18079 $as_echo_n "checking for liblua... " >&6; }
18081 if test -n "$liblua_CFLAGS"; then
18082 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18083 elif test -n "$PKG_CONFIG"; then
18084 if test -n "$PKG_CONFIG" && \
18085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18086 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18089 test $ac_status = 0; }; then
18090 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18097 if test -n "$liblua_LIBS"; then
18098 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18099 elif test -n "$PKG_CONFIG"; then
18100 if test -n "$PKG_CONFIG" && \
18101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18102 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18105 test $ac_status = 0; }; then
18106 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18116 if test $pkg_failed = yes; then
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18118 $as_echo "no" >&6; }
18120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18121 _pkg_short_errors_supported
=yes
18123 _pkg_short_errors_supported
=no
18125 if test $_pkg_short_errors_supported = yes; then
18126 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18128 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18130 # Put the nasty error message in config.log where it belongs
18131 echo "$liblua_PKG_ERRORS" >&5
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18137 $as_echo_n "checking for liblua... " >&6; }
18139 if test -n "$liblua_CFLAGS"; then
18140 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18141 elif test -n "$PKG_CONFIG"; then
18142 if test -n "$PKG_CONFIG" && \
18143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18144 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18147 test $ac_status = 0; }; then
18148 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18155 if test -n "$liblua_LIBS"; then
18156 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18157 elif test -n "$PKG_CONFIG"; then
18158 if test -n "$PKG_CONFIG" && \
18159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18160 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18163 test $ac_status = 0; }; then
18164 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18174 if test $pkg_failed = yes; then
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18176 $as_echo "no" >&6; }
18178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18179 _pkg_short_errors_supported
=yes
18181 _pkg_short_errors_supported
=no
18183 if test $_pkg_short_errors_supported = yes; then
18184 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18186 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18188 # Put the nasty error message in config.log where it belongs
18189 echo "$liblua_PKG_ERRORS" >&5
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18195 $as_echo_n "checking for liblua... " >&6; }
18197 if test -n "$liblua_CFLAGS"; then
18198 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18199 elif test -n "$PKG_CONFIG"; then
18200 if test -n "$PKG_CONFIG" && \
18201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18202 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18205 test $ac_status = 0; }; then
18206 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18213 if test -n "$liblua_LIBS"; then
18214 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18215 elif test -n "$PKG_CONFIG"; then
18216 if test -n "$PKG_CONFIG" && \
18217 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18218 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18221 test $ac_status = 0; }; then
18222 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18232 if test $pkg_failed = yes; then
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18234 $as_echo "no" >&6; }
18236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18237 _pkg_short_errors_supported
=yes
18239 _pkg_short_errors_supported
=no
18241 if test $_pkg_short_errors_supported = yes; then
18242 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18244 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18246 # Put the nasty error message in config.log where it belongs
18247 echo "$liblua_PKG_ERRORS" >&5
18249 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18253 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18254 installed software in a non-standard prefix.
18256 Alternatively, you may set the environment variables liblua_CFLAGS
18257 and liblua_LIBS to avoid the need to call pkg-config.
18258 See the pkg-config man page for more details." "$LINENO" 5
18259 elif test $pkg_failed = untried
; then
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18261 $as_echo "no" >&6; }
18262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18264 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18265 is in your PATH or set the PKG_CONFIG environment variable to the full
18266 path to pkg-config.
18268 Alternatively, you may set the environment variables liblua_CFLAGS
18269 and liblua_LIBS to avoid the need to call pkg-config.
18270 See the pkg-config man page for more details.
18272 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18273 See \`config.log' for more details" "$LINENO" 5; }
18275 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18276 liblua_LIBS
=$pkg_cv_liblua_LIBS
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18278 $as_echo "yes" >&6; }
18282 elif test $pkg_failed = untried
; then
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18284 $as_echo "no" >&6; }
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18289 $as_echo_n "checking for liblua... " >&6; }
18291 if test -n "$liblua_CFLAGS"; then
18292 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18293 elif test -n "$PKG_CONFIG"; then
18294 if test -n "$PKG_CONFIG" && \
18295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18296 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18299 test $ac_status = 0; }; then
18300 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18307 if test -n "$liblua_LIBS"; then
18308 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18309 elif test -n "$PKG_CONFIG"; then
18310 if test -n "$PKG_CONFIG" && \
18311 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18312 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18315 test $ac_status = 0; }; then
18316 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18326 if test $pkg_failed = yes; then
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18328 $as_echo "no" >&6; }
18330 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18331 _pkg_short_errors_supported
=yes
18333 _pkg_short_errors_supported
=no
18335 if test $_pkg_short_errors_supported = yes; then
18336 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18338 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18340 # Put the nasty error message in config.log where it belongs
18341 echo "$liblua_PKG_ERRORS" >&5
18343 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18347 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18348 installed software in a non-standard prefix.
18350 Alternatively, you may set the environment variables liblua_CFLAGS
18351 and liblua_LIBS to avoid the need to call pkg-config.
18352 See the pkg-config man page for more details." "$LINENO" 5
18353 elif test $pkg_failed = untried
; then
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18355 $as_echo "no" >&6; }
18356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18358 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18359 is in your PATH or set the PKG_CONFIG environment variable to the full
18360 path to pkg-config.
18362 Alternatively, you may set the environment variables liblua_CFLAGS
18363 and liblua_LIBS to avoid the need to call pkg-config.
18364 See the pkg-config man page for more details.
18366 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18367 See \`config.log' for more details" "$LINENO" 5; }
18369 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18370 liblua_LIBS
=$pkg_cv_liblua_LIBS
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18372 $as_echo "yes" >&6; }
18377 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18378 liblua_LIBS
=$pkg_cv_liblua_LIBS
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18380 $as_echo "yes" >&6; }
18384 elif test $pkg_failed = untried
; then
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18386 $as_echo "no" >&6; }
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18391 $as_echo_n "checking for liblua... " >&6; }
18393 if test -n "$liblua_CFLAGS"; then
18394 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18395 elif test -n "$PKG_CONFIG"; then
18396 if test -n "$PKG_CONFIG" && \
18397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18398 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18401 test $ac_status = 0; }; then
18402 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18409 if test -n "$liblua_LIBS"; then
18410 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18411 elif test -n "$PKG_CONFIG"; then
18412 if test -n "$PKG_CONFIG" && \
18413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18414 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18417 test $ac_status = 0; }; then
18418 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18428 if test $pkg_failed = yes; then
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18430 $as_echo "no" >&6; }
18432 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18433 _pkg_short_errors_supported
=yes
18435 _pkg_short_errors_supported
=no
18437 if test $_pkg_short_errors_supported = yes; then
18438 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18440 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18442 # Put the nasty error message in config.log where it belongs
18443 echo "$liblua_PKG_ERRORS" >&5
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18449 $as_echo_n "checking for liblua... " >&6; }
18451 if test -n "$liblua_CFLAGS"; then
18452 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18453 elif test -n "$PKG_CONFIG"; then
18454 if test -n "$PKG_CONFIG" && \
18455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18456 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18459 test $ac_status = 0; }; then
18460 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18467 if test -n "$liblua_LIBS"; then
18468 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18469 elif test -n "$PKG_CONFIG"; then
18470 if test -n "$PKG_CONFIG" && \
18471 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18472 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18475 test $ac_status = 0; }; then
18476 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18486 if test $pkg_failed = yes; then
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18488 $as_echo "no" >&6; }
18490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18491 _pkg_short_errors_supported
=yes
18493 _pkg_short_errors_supported
=no
18495 if test $_pkg_short_errors_supported = yes; then
18496 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18498 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18500 # Put the nasty error message in config.log where it belongs
18501 echo "$liblua_PKG_ERRORS" >&5
18503 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18507 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18508 installed software in a non-standard prefix.
18510 Alternatively, you may set the environment variables liblua_CFLAGS
18511 and liblua_LIBS to avoid the need to call pkg-config.
18512 See the pkg-config man page for more details." "$LINENO" 5
18513 elif test $pkg_failed = untried
; then
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18515 $as_echo "no" >&6; }
18516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18518 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18519 is in your PATH or set the PKG_CONFIG environment variable to the full
18520 path to pkg-config.
18522 Alternatively, you may set the environment variables liblua_CFLAGS
18523 and liblua_LIBS to avoid the need to call pkg-config.
18524 See the pkg-config man page for more details.
18526 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18527 See \`config.log' for more details" "$LINENO" 5; }
18529 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18530 liblua_LIBS
=$pkg_cv_liblua_LIBS
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18532 $as_echo "yes" >&6; }
18536 elif test $pkg_failed = untried
; then
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18538 $as_echo "no" >&6; }
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18543 $as_echo_n "checking for liblua... " >&6; }
18545 if test -n "$liblua_CFLAGS"; then
18546 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18547 elif test -n "$PKG_CONFIG"; then
18548 if test -n "$PKG_CONFIG" && \
18549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18550 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18553 test $ac_status = 0; }; then
18554 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18561 if test -n "$liblua_LIBS"; then
18562 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18563 elif test -n "$PKG_CONFIG"; then
18564 if test -n "$PKG_CONFIG" && \
18565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18566 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18569 test $ac_status = 0; }; then
18570 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18580 if test $pkg_failed = yes; then
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18582 $as_echo "no" >&6; }
18584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18585 _pkg_short_errors_supported
=yes
18587 _pkg_short_errors_supported
=no
18589 if test $_pkg_short_errors_supported = yes; then
18590 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18592 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18594 # Put the nasty error message in config.log where it belongs
18595 echo "$liblua_PKG_ERRORS" >&5
18597 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18601 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18602 installed software in a non-standard prefix.
18604 Alternatively, you may set the environment variables liblua_CFLAGS
18605 and liblua_LIBS to avoid the need to call pkg-config.
18606 See the pkg-config man page for more details." "$LINENO" 5
18607 elif test $pkg_failed = untried
; then
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18609 $as_echo "no" >&6; }
18610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18612 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18613 is in your PATH or set the PKG_CONFIG environment variable to the full
18614 path to pkg-config.
18616 Alternatively, you may set the environment variables liblua_CFLAGS
18617 and liblua_LIBS to avoid the need to call pkg-config.
18618 See the pkg-config man page for more details.
18620 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18621 See \`config.log' for more details" "$LINENO" 5; }
18623 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18624 liblua_LIBS
=$pkg_cv_liblua_LIBS
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18626 $as_echo "yes" >&6; }
18631 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18632 liblua_LIBS
=$pkg_cv_liblua_LIBS
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18634 $as_echo "yes" >&6; }
18639 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18640 liblua_LIBS
=$pkg_cv_liblua_LIBS
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18642 $as_echo "yes" >&6; }
18647 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18648 liblua_LIBS
=$pkg_cv_liblua_LIBS
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18650 $as_echo "yes" >&6; }
18653 # Check whether --enable-silent-rules was given.
18654 if test "${enable_silent_rules+set}" = set; then :
18655 enableval
=$enable_silent_rules;
18658 case $enable_silent_rules in
18659 yes) AM_DEFAULT_VERBOSITY
=0;;
18660 no
) AM_DEFAULT_VERBOSITY
=1;;
18661 *) AM_DEFAULT_VERBOSITY
=0;;
18666 # Checks for header files.
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18668 $as_echo_n "checking for ANSI C header files... " >&6; }
18669 if ${ac_cv_header_stdc+:} false; then :
18670 $as_echo_n "(cached) " >&6
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18674 #include <stdlib.h>
18675 #include <stdarg.h>
18676 #include <string.h>
18687 if ac_fn_c_try_compile "$LINENO"; then :
18688 ac_cv_header_stdc=yes
18690 ac_cv_header_stdc=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 if test $ac_cv_header_stdc = yes; then
18695 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 #include <string.h>
18701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18702 $EGREP "memchr" >/dev/null 2>&1; then :
18705 ac_cv_header_stdc=no
18711 if test $ac_cv_header_stdc = yes; then
18712 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <stdlib.h>
18718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18719 $EGREP "free" >/dev/null 2>&1; then :
18722 ac_cv_header_stdc=no
18728 if test $ac_cv_header_stdc = yes; then
18729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18730 if test "$cross_compiling" = yes; then :
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18736 #include <stdlib.h>
18737 #if ((' ' & 0x0FF) == 0x020)
18738 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
18739 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
18741 # define ISLOWER(c) \
18742 (('a
' <= (c) && (c) <= 'i
') \
18743 || ('j
' <= (c) && (c) <= 'r
') \
18744 || ('s
' <= (c) && (c) <= 'z
'))
18745 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18748 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18753 for (i = 0; i < 256; i++)
18754 if (XOR (islower (i), ISLOWER (i))
18755 || toupper (i) != TOUPPER (i))
18760 if ac_fn_c_try_run "$LINENO"; then :
18763 ac_cv_header_stdc=no
18765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18766 conftest.$ac_objext conftest.beam conftest.$ac_ext
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18772 $as_echo "$ac_cv_header_stdc" >&6; }
18773 if test $ac_cv_header_stdc = yes; then
18775 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18778 # `stdlib.h', `stdarg.h', `string.h
', ...
18779 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18782 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18784 cat >>confdefs.h <<_ACEOF
18785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18793 # Checks for typedefs, structures, and compiler characteristics.
18794 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18795 if test "x$ac_cv_type_size_t" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define size_t unsigned int
18805 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18806 case $ac_cv_c_uint32_t in #(
18810 $as_echo "#define _UINT32_T 1" >>confdefs.h
18813 cat >>confdefs.h <<_ACEOF
18814 #define uint32_t $ac_cv_c_uint32_t
18819 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18820 case $ac_cv_c_uint64_t in #(
18824 $as_echo "#define _UINT64_T 1" >>confdefs.h
18827 cat >>confdefs.h <<_ACEOF
18828 #define uint64_t $ac_cv_c_uint64_t
18833 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18834 case $ac_cv_c_uint8_t in #(
18838 $as_echo "#define _UINT8_T 1" >>confdefs.h
18841 cat >>confdefs.h <<_ACEOF
18842 #define uint8_t $ac_cv_c_uint8_t
18847 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18848 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18850 cat >>confdefs.h <<_ACEOF
18851 #define HAVE_PTRDIFF_T 1
18858 # Checks for library functions.
18859 if test x"$host_w32" = "xno" ; then
18860 for ac_header in stdlib.h
18862 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18863 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_STDLIB_H 1
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18873 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18874 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18875 $as_echo_n "(cached) " >&6
18877 if test "$cross_compiling" = yes; then :
18878 ac_cv_func_malloc_0_nonnull=no
18880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18881 /* end confdefs.h. */
18882 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18883 # include <stdlib.h>
18891 return ! malloc (0);
18896 if ac_fn_c_try_run "$LINENO"; then :
18897 ac_cv_func_malloc_0_nonnull=yes
18899 ac_cv_func_malloc_0_nonnull=no
18901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18902 conftest.$ac_objext conftest.beam conftest.$ac_ext
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18907 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18908 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18910 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18913 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18915 case " $LIBOBJS " in
18916 *" malloc.$ac_objext "* ) ;;
18917 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18922 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18927 for ac_header in stdlib.h
18929 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18930 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_STDLIB_H 1
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
18940 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
18941 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
18942 $as_echo_n "(cached) " >&6
18944 if test "$cross_compiling" = yes; then :
18945 ac_cv_func_realloc_0_nonnull=no
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18950 # include <stdlib.h>
18958 return ! realloc (0, 0);
18963 if ac_fn_c_try_run "$LINENO"; then :
18964 ac_cv_func_realloc_0_nonnull=yes
18966 ac_cv_func_realloc_0_nonnull=no
18968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18969 conftest.$ac_objext conftest.beam conftest.$ac_ext
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
18974 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
18975 if test $ac_cv_func_realloc_0_nonnull = yes; then :
18977 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
18980 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
18982 case " $LIBOBJS " in
18983 *" realloc.$ac_objext "* ) ;;
18984 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
18989 $as_echo "#define realloc rpl_realloc" >>confdefs.h
18995 for ac_func in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
18997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18999 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19008 $as_echo_n "checking for working strtod... " >&6; }
19009 if ${ac_cv_func_strtod+:} false; then :
19010 $as_echo_n "(cached) " >&6
19012 if test "$cross_compiling" = yes; then :
19013 ac_cv_func_strtod=no
19015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19016 /* end confdefs.h. */
19018 $ac_includes_default
19026 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19027 char *string = " +69";
19030 value = strtod (string, &term);
19031 if (value != 69 || term != (string + 4))
19036 /* Under Solaris 2.4, strtod returns the wrong value for the
19037 terminating character under some conditions. */
19038 char *string = "NaN";
19040 strtod (string, &term);
19041 if (term != string && *(term - 1) == 0)
19048 if ac_fn_c_try_run "$LINENO"; then :
19049 ac_cv_func_strtod=yes
19051 ac_cv_func_strtod=no
19053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19054 conftest.$ac_objext conftest.beam conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19059 $as_echo "$ac_cv_func_strtod" >&6; }
19060 if test $ac_cv_func_strtod = no; then
19061 case " $LIBOBJS " in
19062 *" strtod.$ac_objext "* ) ;;
19063 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19067 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19068 if test "x$ac_cv_func_pow" = xyes; then :
19072 if test $ac_cv_func_pow = no; then
19073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19074 $as_echo_n "checking for pow in -lm... " >&6; }
19075 if ${ac_cv_lib_m_pow+:} false; then :
19076 $as_echo_n "(cached) " >&6
19078 ac_check_lib_save_LIBS=$LIBS
19080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19083 /* Override any GCC internal prototype to avoid an error.
19084 Use char because int might match the return type of a GCC
19085 builtin and then its argument prototype would still apply. */
19098 if ac_fn_c_try_link "$LINENO"; then :
19099 ac_cv_lib_m_pow=yes
19103 rm -f core conftest.err conftest.$ac_objext \
19104 conftest$ac_exeext conftest.$ac_ext
19105 LIBS=$ac_check_lib_save_LIBS
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19108 $as_echo "$ac_cv_lib_m_pow" >&6; }
19109 if test "x$ac_cv_lib_m_pow" = xyes; then :
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19113 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19122 for ac_func in vasprintf
19124 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19125 if test "x$ac_cv_func_vasprintf" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_VASPRINTF 1
19130 for ac_func in asprintf
19132 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19133 if test "x$ac_cv_func_asprintf" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_ASPRINTF 1
19145 if test x"$have_asprintf" != "xyes"; then
19147 NO_ASPRINTF_FALSE='#'
19149 NO_ASPRINTF_TRUE
='#'
19155 # Check whether --enable-quvi was given.
19156 if test "${enable_quvi+set}" = set; then :
19157 enableval
=$enable_quvi;
19162 if test x
"$enable_quvi" != "xno"; then
19164 ENABLE_QUVI_FALSE
='#'
19166 ENABLE_QUVI_TRUE
='#'
19171 # --enable-examples
19172 # Check whether --enable-examples was given.
19173 if test "${enable_examples+set}" = set; then :
19174 enableval
=$enable_examples;
19179 if test x
"$enable_examples" != "xno"; then
19180 ENABLE_EXAMPLES_TRUE
=
19181 ENABLE_EXAMPLES_FALSE
='#'
19183 ENABLE_EXAMPLES_TRUE
='#'
19184 ENABLE_EXAMPLES_FALSE
=
19189 # Check whether --enable-nsfw was given.
19190 if test "${enable_nsfw+set}" = set; then :
19191 enableval
=$enable_nsfw;
19196 if test x
"$enable_nsfw" != "xno"; then
19198 ENABLE_NSFW_FALSE
='#'
19200 ENABLE_NSFW_TRUE
='#'
19205 if test x
"$enable_nsfw" != "xno" ; then
19207 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19212 # Check whether --enable-tests was given.
19213 if test "${enable_tests+set}" = set; then :
19214 enableval
=$enable_tests;
19219 if test x
"$enable_tests" != "xno"; then
19221 ENABLE_TESTS_FALSE
='#'
19223 ENABLE_TESTS_TRUE
='#'
19224 ENABLE_TESTS_FALSE
=
19229 # Check whether --enable-broken was given.
19230 if test "${enable_broken+set}" = set; then :
19231 enableval
=$enable_broken;
19236 if test x
"$enable_broken" != "xno"; then
19237 ENABLE_BROKEN_TRUE
=
19238 ENABLE_BROKEN_FALSE
='#'
19240 ENABLE_BROKEN_TRUE
='#'
19241 ENABLE_BROKEN_FALSE
=
19245 if test x
"$enable_broken" != "xno" ; then
19247 $as_echo "#define ENABLE_BROKEN 1" >>confdefs.h
19253 # Check whether --with-man was given.
19254 if test "${with_man+set}" = set; then :
19260 if test x
"$with_man" != "xno"; then
19271 # Check whether --with-doc was given.
19272 if test "${with_doc+set}" = set; then :
19278 if test x
"$with_doc" != "xno"; then
19288 if test x
"$with_gnu_ld" = "xyes"; then
19290 HAVE_GNU_LD_FALSE
='#'
19292 HAVE_GNU_LD_TRUE
='#'
19297 ac_config_files
="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile man1/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile tests/quviTest.pm scripts/Makefile libquvi.pc doxygen.conf"
19300 cat >confcache
<<\_ACEOF
19301 # This file is a shell script that caches the results of configure
19302 # tests run on this system so they can be shared between configure
19303 # scripts and configure runs, see configure's option --config-cache.
19304 # It is not useful on other systems. If it contains results you don't
19305 # want to keep, you may remove or edit it.
19307 # config.status only pays attention to the cache file if you give it
19308 # the --recheck option to rerun configure.
19310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19312 # following values.
19316 # The following way of writing the cache mishandles newlines in values,
19317 # but we know of no workaround that is simple, portable, and efficient.
19318 # So, we kill variables containing newlines.
19319 # Ultrix sh set writes to stderr and can't be redirected directly,
19320 # and sets the high bit in the cache file unless we assign to the vars.
19322 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19323 eval ac_val
=\$
$ac_var
19327 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19331 _ | IFS | as_nl
) ;; #(
19332 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19333 *) { eval $ac_var=; unset $ac_var;} ;;
19339 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19340 *${as_nl}ac_space
=\
*)
19341 # `set' does not quote correctly, so add quotes: double-quote
19342 # substitution turns \\\\ into \\, and sed turns \\ into \.
19345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19348 # `set' quotes correctly as required by POSIX, so do not add quotes.
19349 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19360 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19362 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19363 if test -w "$cache_file"; then
19364 if test "x$cache_file" != "x/dev/null"; then
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19366 $as_echo "$as_me: updating cache $cache_file" >&6;}
19367 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19368 cat confcache
>"$cache_file"
19370 case $cache_file in #(
19372 mv -f confcache
"$cache_file"$$
&&
19373 mv -f "$cache_file"$$
"$cache_file" ;; #(
19375 mv -f confcache
"$cache_file" ;;
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19381 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19386 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19387 # Let make expand exec_prefix.
19388 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19390 DEFS
=-DHAVE_CONFIG_H
19395 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19396 # 1. Remove the extension, and $U if already installed.
19397 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19398 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19399 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19400 # will be set to the directory where LIBOBJS objects are built.
19401 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19402 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19404 LIBOBJS
=$ac_libobjs
19406 LTLIBOBJS
=$ac_ltlibobjs
19409 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19410 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19413 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19414 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19417 if test -n "$EXEEXT"; then
19419 am__EXEEXT_FALSE
='#'
19421 am__EXEEXT_TRUE
='#'
19425 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19426 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19429 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19430 as_fn_error $?
"conditional \"HAVE_GENGETOPT\" was never defined.
19431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19433 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19434 as_fn_error $?
"conditional \"HAVE_DOXYGEN\" was never defined.
19435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19437 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
19438 as_fn_error $?
"conditional \"HAVE_PERL\" was never defined.
19439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19441 if test -z "${HAVE_PERL_POD_CHECKER_TRUE}" && test -z "${HAVE_PERL_POD_CHECKER_FALSE}"; then
19442 as_fn_error $?
"conditional \"HAVE_PERL_POD_CHECKER\" was never defined.
19443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19445 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19446 as_fn_error $?
"conditional \"HAVE_POD2MAN\" was never defined.
19447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19449 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19450 as_fn_error $?
"conditional \"HAVE_POD2HTML\" was never defined.
19451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19453 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19454 as_fn_error $?
"conditional \"NO_ASPRINTF\" was never defined.
19455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19457 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19458 as_fn_error $?
"conditional \"ENABLE_QUVI\" was never defined.
19459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19461 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19462 as_fn_error $?
"conditional \"ENABLE_EXAMPLES\" was never defined.
19463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19465 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19466 as_fn_error $?
"conditional \"ENABLE_NSFW\" was never defined.
19467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19469 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19470 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
19471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19473 if test -z "${ENABLE_BROKEN_TRUE}" && test -z "${ENABLE_BROKEN_FALSE}"; then
19474 as_fn_error $?
"conditional \"ENABLE_BROKEN\" was never defined.
19475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19477 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19478 as_fn_error $?
"conditional \"WITH_MAN\" was never defined.
19479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19481 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19482 as_fn_error $?
"conditional \"WITH_DOC\" was never defined.
19483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19485 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19486 as_fn_error $?
"conditional \"HAVE_GNU_LD\" was never defined.
19487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19490 : "${CONFIG_STATUS=./config.status}"
19492 ac_clean_files_save
=$ac_clean_files
19493 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19499 # Generated by $as_me.
19500 # Run this file to recreate the current configuration.
19501 # Compiler output produced by configure, useful for debugging
19502 # configure, is in config.log if it exists.
19505 ac_cs_recheck=false
19508 SHELL=\${CONFIG_SHELL-$SHELL}
19511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19512 ## -------------------- ##
19513 ## M4sh Initialization. ##
19514 ## -------------------- ##
19516 # Be more Bourne compatible
19517 DUALCASE
=1; export DUALCASE
# for MKS sh
19518 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19522 # is contrary to our usage. Disable this feature.
19523 alias -g '${1+"$@"}'='"$@"'
19524 setopt NO_GLOB_SUBST
19526 case `(set -o) 2>/dev/null` in #(
19538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19539 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19542 # Prefer a ksh shell builtin over an external printf program on Solaris,
19543 # but without wasting forks for bash or zsh.
19544 if test -z "$BASH_VERSION$ZSH_VERSION" \
19545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19546 as_echo='print
-r --'
19547 as_echo_n='print
-rn --'
19548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19549 as_echo='printf %s
\n'
19550 as_echo_n='printf %s
'
19552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19553 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19554 as_echo_n='/usr
/ucb
/echo -n'
19556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19557 as_echo_n_body='eval
19561 expr "X$arg" : "X\\(.*\\)$as_nl";
19562 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19564 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19566 export as_echo_n_body
19567 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19569 export as_echo_body
19570 as_echo='sh
-c $as_echo_body as_echo
'
19573 # The user is always right.
19574 if test "${PATH_SEPARATOR+set}" != set; then
19576 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19577 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19584 # We need space, tab and new line, in precisely that order. Quoting is
19585 # there to prevent editors from complaining about space-tab.
19586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19587 # splitting by setting IFS to empty value.)
19590 # Find who we are. Look in the path if we contain no directory separator.
19593 *[\\/]* ) as_myself=$0 ;;
19594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19595 for as_dir in $PATH
19598 test -z "$as_dir" && as_dir=.
19599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19605 # We did not find ourselves, most probably we were run as `sh COMMAND'
19606 # in which case we are not to be found in the path.
19607 if test "x$as_myself" = x
; then
19610 if test ! -f "$as_myself"; then
19611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19615 # Unset variables that we do not need and which cause bugs (e.g. in
19616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19617 # suppresses any "Segmentation fault" message there. '((' could
19618 # trigger a bug in pdksh 5.2.14.
19619 for as_var
in BASH_ENV ENV MAIL MAILPATH
19620 do eval test x\
${$as_var+set} = xset \
19621 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19634 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19638 # ----------------------------------------
19639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19641 # script with STATUS, using 1 if that was 0.
19644 as_status
=$1; test $as_status -eq 0 && as_status
=1
19646 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19649 $as_echo "$as_me: error: $2" >&2
19650 as_fn_exit
$as_status
19654 # as_fn_set_status STATUS
19655 # -----------------------
19656 # Set $? to STATUS, without forking.
19657 as_fn_set_status
()
19660 } # as_fn_set_status
19662 # as_fn_exit STATUS
19663 # -----------------
19664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19668 as_fn_set_status
$1
19674 # Portably unset VAR.
19677 { eval $1=; unset $1;}
19679 as_unset
=as_fn_unset
19680 # as_fn_append VAR VALUE
19681 # ----------------------
19682 # Append the text in VALUE to the end of the definition contained in VAR. Take
19683 # advantage of any shell optimizations that allow amortized linear growth over
19684 # repeated appends, instead of the typical quadratic growth present in naive
19686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19687 eval 'as_fn_append ()
19698 # as_fn_arith ARG...
19699 # ------------------
19700 # Perform arithmetic evaluation on the ARGs, and store the result in the
19701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19702 # must be portable across $(()) and expr.
19703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19704 eval 'as_fn_arith ()
19711 as_val
=`expr "$@" || test $? -eq 1`
19716 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19717 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19723 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19724 as_basename
=basename
19729 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19735 as_me
=`$as_basename -- "$0" ||
19736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19737 X"$0" : 'X\(//\)$' \| \
19738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19740 sed '/^.*\/\([^/][^/]*\)\/*$/{
19754 # Avoid depending upon Character Ranges.
19755 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19756 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19757 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19758 as_cr_digits
='0123456789'
19759 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19761 ECHO_C
= ECHO_N
= ECHO_T
=
19762 case `echo -n x` in #(((((
19764 case `echo 'xy\c'` in
19765 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19767 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19774 rm -f conf$$ conf$$.exe conf$$.
file
19775 if test -d conf$$.dir
; then
19776 rm -f conf$$.dir
/conf$$.
file
19779 mkdir conf$$.dir
2>/dev
/null
19781 if (echo >conf$$.
file) 2>/dev
/null
; then
19782 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19784 # ... but there are two gotchas:
19785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19787 # In both cases, we have to default to `cp -p'.
19788 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19790 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19798 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19799 rmdir conf$$.dir
2>/dev
/null
19804 # Create "$as_dir" as a directory, including parents if necessary.
19809 -*) as_dir
=.
/$as_dir;;
19811 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19815 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19816 *) as_qdir
=$as_dir;;
19818 as_dirs
="'$as_qdir' $as_dirs"
19819 as_dir
=`$as_dirname -- "$as_dir" ||
19820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19821 X"$as_dir" : 'X\(//\)[^/]' \| \
19822 X"$as_dir" : 'X\(//\)$' \| \
19823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19824 $as_echo X"$as_dir" |
19825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19829 /^X\(\/\/\)[^/].*/{
19842 test -d "$as_dir" && break
19844 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19845 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19849 if mkdir
-p .
2>/dev
/null
; then
19850 as_mkdir_p
='mkdir -p "$as_dir"'
19852 test -d .
/-p && rmdir .
/-p
19856 if test -x / >/dev
/null
2>&1; then
19857 as_test_x
='test -x'
19859 if ls -dL / >/dev
/null
2>&1; then
19866 if test -d "$1"; then
19872 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19873 ???[sx]*):;;*)false;;esac;fi
19877 as_executable_p
=$as_test_x
19879 # Sed expression to map a string onto a valid CPP name.
19880 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19882 # Sed expression to map a string onto a valid variable name.
19883 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19887 ## ----------------------------------- ##
19888 ## Main body of $CONFIG_STATUS script. ##
19889 ## ----------------------------------- ##
19891 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19894 # Save the log message, to keep $0 and so on meaningful, and to
19895 # report actual input values of CONFIG_FILES etc. instead of their
19896 # values after options handling.
19898 This file was extended by quvi $as_me 0.2.15, which was
19899 generated by GNU Autoconf 2.68. Invocation command line was
19901 CONFIG_FILES = $CONFIG_FILES
19902 CONFIG_HEADERS = $CONFIG_HEADERS
19903 CONFIG_LINKS = $CONFIG_LINKS
19904 CONFIG_COMMANDS = $CONFIG_COMMANDS
19907 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19912 case $ac_config_files in *"
19913 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19916 case $ac_config_headers in *"
19917 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19922 # Files that config.status was made for.
19923 config_files="$ac_config_files"
19924 config_headers="$ac_config_headers"
19925 config_commands="$ac_config_commands"
19929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19931 \`$as_me' instantiates files and other configuration actions
19932 from templates according to the current configuration. Unless the files
19933 and actions are specified as TAGs, all are instantiated by default.
19935 Usage: $0 [OPTION]... [TAG]...
19937 -h, --help print this help, then exit
19938 -V, --version print version number and configuration settings, then exit
19939 --config print configuration, then exit
19940 -q, --quiet, --silent
19941 do not print progress messages
19942 -d, --debug don't remove temporary files
19943 --recheck update $as_me by reconfiguring in the same conditions
19944 --file=FILE[:TEMPLATE]
19945 instantiate the configuration file FILE
19946 --header=FILE[:TEMPLATE]
19947 instantiate the configuration header FILE
19949 Configuration files:
19952 Configuration headers:
19955 Configuration commands:
19958 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
19959 quvi home page: <http://quvi.sourceforge.net/>."
19962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19963 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19965 quvi config.status 0.2.15
19966 configured by $0, generated by GNU Autoconf 2.68,
19967 with options \\"\$ac_cs_config\\"
19969 Copyright (C) 2010 Free Software Foundation, Inc.
19970 This config.status script is free software; the Free Software Foundation
19971 gives unlimited permission to copy, distribute and modify it."
19978 test -n "\$AWK" || AWK=awk
19981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19982 # The default lists apply if the user does not specify any file.
19988 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19989 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19993 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20005 # Handling of the options.
20006 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20008 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20009 $as_echo "$ac_cs_version"; exit ;;
20010 --config |
--confi |
--conf |
--con |
--co |
--c )
20011 $as_echo "$ac_cs_config"; exit ;;
20012 --debug |
--debu |
--deb |
--de |
--d |
-d )
20014 --file |
--fil |
--fi |
--f )
20017 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20018 '') as_fn_error $?
"missing file argument" ;;
20020 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20021 ac_need_defaults
=false
;;
20022 --header |
--heade |
--head |
--hea )
20025 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20027 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20028 ac_need_defaults
=false
;;
20030 # Conflict between --help and --header
20031 as_fn_error $?
"ambiguous option: \`$1'
20032 Try \`$0 --help' for more information.";;
20033 --help |
--hel |
-h )
20034 $as_echo "$ac_cs_usage"; exit ;;
20035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20036 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20039 # This is an error.
20040 -*) as_fn_error $?
"unrecognized option: \`$1'
20041 Try \`$0 --help' for more information." ;;
20043 *) as_fn_append ac_config_targets
" $1"
20044 ac_need_defaults
=false
;;
20050 ac_configure_extra_args
=
20052 if $ac_cs_silent; then
20054 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20059 if \$ac_cs_recheck; then
20060 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20062 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20063 CONFIG_SHELL='$SHELL'
20064 export CONFIG_SHELL
20069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20073 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20074 ## Running $as_me. ##
20080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20084 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20087 # The HP-UX ksh and POSIX shell print the target directory to stdout
20088 # if CDPATH is set.
20089 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20091 sed_quote_subst='$sed_quote_subst'
20092 double_quote_subst='$double_quote_subst'
20093 delay_variable_subst='$delay_variable_subst'
20094 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20095 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20096 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20097 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20098 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20099 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20100 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20101 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20102 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20103 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20104 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20105 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20106 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20107 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20108 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20109 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20110 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20111 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20112 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20113 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20114 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20115 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20116 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20117 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20118 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20119 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20120 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20121 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20122 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20123 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20124 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20125 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20126 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20127 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20128 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20129 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20130 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20131 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20132 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20133 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20134 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20135 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20136 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20137 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20138 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20139 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20140 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20141 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20142 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20143 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20144 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20145 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20146 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20147 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20148 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20149 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"`'
20150 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20151 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20152 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20153 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20154 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20155 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20156 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20157 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20158 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20159 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20160 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20161 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20162 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20163 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20164 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20165 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20166 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20167 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20168 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20169 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20170 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20171 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20172 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20173 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20174 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20175 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20176 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20177 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20178 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20179 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20180 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20181 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20182 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20183 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20184 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20185 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20186 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20187 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20188 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20189 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20190 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20191 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20192 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20193 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20194 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20195 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20196 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20197 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20198 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20199 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20200 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20201 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20202 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20203 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20204 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20205 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20206 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20207 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20208 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20209 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20210 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20211 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20212 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20213 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20214 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20215 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20216 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20217 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20218 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20219 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20220 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20221 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20222 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20223 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20224 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20225 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20226 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20227 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20228 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20229 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20230 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20231 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20232 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20233 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20234 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20235 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20236 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20237 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20238 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20239 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20240 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20241 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20242 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20243 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20244 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20245 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20246 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20247 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20248 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20249 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20250 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20251 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20252 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20253 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20254 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20255 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20256 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20257 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20258 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20259 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20260 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20261 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20262 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20263 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20264 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20265 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20266 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20267 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20268 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20269 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20270 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20271 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20272 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20273 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20274 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20275 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20276 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20277 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20278 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20281 LTCFLAGS='$LTCFLAGS'
20282 compiler='$compiler_DEFAULT'
20284 # A function that is used when there is no print builtin or printf.
20285 func_fallback_echo ()
20287 eval 'cat <<_LTECHO_EOF
20292 # Quote evaled strings.
20306 deplibs_check_method \
20311 sharedlib_from_linklib_cmd \
20314 archiver_list_spec \
20320 lt_cv_sys_global_symbol_pipe \
20321 lt_cv_sys_global_symbol_to_cdecl \
20322 lt_cv_sys_global_symbol_to_c_name_address \
20323 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20324 nm_file_list_spec \
20325 lt_prog_compiler_no_builtin_flag \
20326 lt_prog_compiler_pic \
20327 lt_prog_compiler_wl \
20328 lt_prog_compiler_static \
20329 lt_cv_prog_compiler_c_o \
20338 export_dynamic_flag_spec \
20339 whole_archive_flag_spec \
20340 compiler_needs_object \
20342 allow_undefined_flag \
20343 no_undefined_flag \
20344 hardcode_libdir_flag_spec \
20345 hardcode_libdir_flag_spec_ld \
20346 hardcode_libdir_separator \
20350 variables_saved_for_relink \
20352 library_names_spec \
20354 install_override_mode \
20358 compiler_lib_search_dirs \
20363 compiler_lib_search_path \
20367 lt_prog_compiler_no_builtin_flag_CXX \
20368 lt_prog_compiler_pic_CXX \
20369 lt_prog_compiler_wl_CXX \
20370 lt_prog_compiler_static_CXX \
20371 lt_cv_prog_compiler_c_o_CXX \
20372 export_dynamic_flag_spec_CXX \
20373 whole_archive_flag_spec_CXX \
20374 compiler_needs_object_CXX \
20376 allow_undefined_flag_CXX \
20377 no_undefined_flag_CXX \
20378 hardcode_libdir_flag_spec_CXX \
20379 hardcode_libdir_flag_spec_ld_CXX \
20380 hardcode_libdir_separator_CXX \
20381 exclude_expsyms_CXX \
20382 include_expsyms_CXX \
20383 file_list_spec_CXX \
20384 compiler_lib_search_dirs_CXX \
20385 predep_objects_CXX \
20386 postdep_objects_CXX \
20389 compiler_lib_search_path_CXX; do
20390 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20391 *[\\\\\\\`\\"\\\$]*)
20392 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20395 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20400 # Double-quote double-evaled strings.
20401 for var in reload_cmds \
20402 old_postinstall_cmds \
20403 old_postuninstall_cmds \
20405 extract_expsyms_cmds \
20406 old_archive_from_new_cmds \
20407 old_archive_from_expsyms_cmds \
20409 archive_expsym_cmds \
20411 module_expsym_cmds \
20412 export_symbols_cmds \
20416 postuninstall_cmds \
20418 sys_lib_search_path_spec \
20419 sys_lib_dlsearch_path_spec \
20421 old_archive_cmds_CXX \
20422 old_archive_from_new_cmds_CXX \
20423 old_archive_from_expsyms_cmds_CXX \
20425 archive_expsym_cmds_CXX \
20427 module_expsym_cmds_CXX \
20428 export_symbols_cmds_CXX \
20430 postlink_cmds_CXX; do
20431 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20432 *[\\\\\\\`\\"\\\$]*)
20433 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20436 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20441 ac_aux_dir='$ac_aux_dir'
20442 xsi_shell='$xsi_shell'
20443 lt_shell_append='$lt_shell_append'
20445 # See if we are running on zsh, and set the options which allow our
20446 # commands through without removal of \ escapes INIT.
20447 if test -n "\${ZSH_VERSION+set}" ; then
20448 setopt NO_GLOB_SUBST
20454 TIMESTAMP='$TIMESTAMP'
20465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20467 # Handling of arguments.
20468 for ac_config_target
in $ac_config_targets
20470 case $ac_config_target in
20471 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20472 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20473 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20474 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20475 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20476 "include/quvi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/quvi/Makefile" ;;
20477 "include/quvi/quvi.h") CONFIG_FILES
="$CONFIG_FILES include/quvi/quvi.h" ;;
20478 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20479 "man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man1/Makefile" ;;
20480 "share/Makefile") CONFIG_FILES
="$CONFIG_FILES share/Makefile" ;;
20481 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20482 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20483 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20484 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20485 "tests/quviTest.pm") CONFIG_FILES
="$CONFIG_FILES tests/quviTest.pm" ;;
20486 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
20487 "libquvi.pc") CONFIG_FILES
="$CONFIG_FILES libquvi.pc" ;;
20488 "doxygen.conf") CONFIG_FILES
="$CONFIG_FILES doxygen.conf" ;;
20490 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20495 # If the user did not use the arguments to specify the items to instantiate,
20496 # then the envvar interface is used. Set only those that are not.
20497 # We use the long form for the default assignment because of an extremely
20498 # bizarre bug on SunOS 4.1.3.
20499 if $ac_need_defaults; then
20500 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20501 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20502 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20505 # Have a temporary directory for convenience. Make it in the build tree
20506 # simply because there is no reason against having it here, and in addition,
20507 # creating and moving files from /tmp can sometimes cause problems.
20508 # Hook for its removal unless debugging.
20509 # Note that there is a small window in which the directory will not be cleaned:
20510 # after its creation but before its name has been assigned to `$tmp'.
20514 trap 'exit_status=$?
20515 : "${ac_tmp:=$tmp}"
20516 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20518 trap 'as_fn_exit 1' 1 2 13 15
20520 # Create a (secure) tmp directory for tmp files.
20523 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20527 tmp
=.
/conf$$
-$RANDOM
20528 (umask 077 && mkdir
"$tmp")
20529 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20532 # Set up the scripts for CONFIG_FILES section.
20533 # No need to generate them if there are no CONFIG_FILES.
20534 # This happens for instance with `./config.status config.h'.
20535 if test -n "$CONFIG_FILES"; then
20538 ac_cr
=`echo X | tr X '\015'`
20539 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20540 # But we know of no other shell where ac_cr would be empty at this
20541 # point, so we can use a bashism as a fallback.
20542 if test "x$ac_cr" = x
; then
20543 eval ac_cr
=\$
\'\\r
\'
20545 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20546 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20549 ac_cs_awk_cr
=$ac_cr
20552 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20557 echo "cat >conf$$subs.awk <<_ACEOF" &&
20558 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20560 } >conf$$subs.sh ||
20561 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20562 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20564 for ac_last_try in false false false false false :; do
20565 . ./conf$$subs.sh ||
20566 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20568 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20569 if test $ac_delim_n = $ac_delim_num; then
20571 elif $ac_last_try; then
20572 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20574 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20577 rm -f conf$$subs.sh
20579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20580 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20584 s/^/S["/; s
/!.
*/"]=/
20594 s/\(.\{148\}\)..*/\1/
20596 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20601 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20608 s/\(.\{148\}\)..*/\1/
20610 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20614 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20619 ' <conf$$subs.awk | sed '
20624 ' >>$CONFIG_STATUS || ac_write_fail=1
20625 rm -f conf$$subs.awk
20626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20628 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20629 for (key in S) S_is_set[key] = 1
20635 nfields = split(line, field, "@
")
20637 len = length(field[1])
20638 for (i = 2; i < nfields; i++) {
20640 keylen = length(key)
20641 if (S_is_set[key]) {
20643 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20644 len += length(value) + length(field[++i])
20655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20656 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20657 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20660 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20661 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20664 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20665 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20666 # trailing colons and then remove the whole line if VPATH becomes empty
20667 # (actually we leave an empty line to preserve line numbers).
20668 if test "x
$srcdir" = x.; then
20669 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20688 fi # test -n "$CONFIG_FILES"
20690 # Set up the scripts for CONFIG_HEADERS section.
20691 # No need to generate them if there are no CONFIG_HEADERS.
20692 # This happens for instance with `./config.status Makefile'.
20693 if test -n "$CONFIG_HEADERS"; then
20694 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20698 # Transform confdefs.h into an awk script `defines.awk', embedded as
20699 # here-document in config.status, that substitutes the proper values into
20700 # config.h.in to produce config.h.
20702 # Create a delimiter string that does not exist in confdefs.h, to ease
20703 # handling of long lines.
20705 for ac_last_try in false false :; do
20706 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20707 if test -z "$ac_tt"; then
20709 elif $ac_last_try; then
20710 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20712 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20716 # For the awk script, D is an array of macro values keyed by name,
20717 # likewise P contains macro parameters if any. Preserve backslash
20718 # newline sequences.
20720 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20722 s/.\{148\}/&'"$ac_delim"'/g
20725 s/^[ ]*#[ ]*define[ ][ ]*/ /
20732 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20734 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20738 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20739 D["\
1"]=" \
3\\\\\\n
"\\/p
20741 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20746 s/.\{148\}/&'"$ac_delim"'/g
20751 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20754 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20756 ' <confdefs.h | sed '
20757 s/'"$ac_delim"'/"\\\
20758 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20761 for (key in D) D_is_set[key] = 1
20764 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20766 split(line, arg, " ")
20767 if (arg[1] == "#") {
20771 defundef
= substr
(arg
[1], 2)
20774 split(mac1
, mac2
, "(") #)
20776 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20777 if (D_is_set
[macro
]) {
20778 # Preserve the white space surrounding the "#".
20779 print prefix
"define", macro P
[macro
] D
[macro
]
20782 # Replace #undef with comments. This is necessary, for example,
20783 # in the case of _POSIX_SOURCE, which is predefined and required
20784 # on some systems where configure will not decide to define it.
20785 if (defundef
== "undef") {
20786 print
"/*", prefix defundef
, macro
, "*/"
20794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20795 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20796 fi # test -n "$CONFIG_HEADERS"
20799 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20804 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20806 case $ac_mode$ac_tag in
20808 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20809 :[FH
]-) ac_tag
=-:-;;
20810 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20827 -) ac_f
="$ac_tmp/stdin";;
20828 *) # Look for the file first in the build tree, then in the source tree
20829 # (if the path is not absolute). The absolute path cannot be DOS-style,
20830 # because $ac_f cannot contain `:'.
20834 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20836 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20838 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20839 as_fn_append ac_file_inputs
" '$ac_f'"
20842 # Let's still pretend it is `configure' which instantiates (i.e., don't
20843 # use $as_me), people would be surprised to read:
20844 # /* config.h. Generated by config.status. */
20845 configure_input
='Generated from '`
20846 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20848 if test x
"$ac_file" != x-
; then
20849 configure_input
="$ac_file. $configure_input"
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20851 $as_echo "$as_me: creating $ac_file" >&6;}
20853 # Neutralize special characters interpreted by sed in replacement strings.
20854 case $configure_input in #(
20855 *\
&* |
*\|
* |
*\\* )
20856 ac_sed_conf_input
=`$as_echo "$configure_input" |
20857 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20858 *) ac_sed_conf_input
=$configure_input;;
20862 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20863 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20868 ac_dir
=`$as_dirname -- "$ac_file" ||
20869 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20870 X"$ac_file" : 'X\(//\)[^/]' \| \
20871 X"$ac_file" : 'X\(//\)$' \| \
20872 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20873 $as_echo X"$ac_file" |
20874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20878 /^X\(\/\/\)[^/].*/{
20891 as_dir
="$ac_dir"; as_fn_mkdir_p
20895 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20897 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20898 # A ".." for each directory in $ac_dir_suffix.
20899 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20900 case $ac_top_builddir_sub in
20901 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20902 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20905 ac_abs_top_builddir
=$ac_pwd
20906 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20907 # for backward compatibility:
20908 ac_top_builddir
=$ac_top_build_prefix
20911 .
) # We are building in place.
20913 ac_top_srcdir
=$ac_top_builddir_sub
20914 ac_abs_top_srcdir
=$ac_pwd ;;
20915 [\\/]* | ?
:[\\/]* ) # Absolute name.
20916 ac_srcdir
=$srcdir$ac_dir_suffix;
20917 ac_top_srcdir
=$srcdir
20918 ac_abs_top_srcdir
=$srcdir ;;
20919 *) # Relative name.
20920 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20921 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20922 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20924 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20934 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20935 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20937 ac_MKDIR_P
=$MKDIR_P
20939 [\\/$
]* | ?
:[\\/]* ) ;;
20940 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20945 # If the template does not know about datarootdir, expand it.
20946 # FIXME: This hack should be removed a few years after 2.60.
20947 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20958 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20959 *datarootdir
*) ac_datarootdir_seen
=yes;;
20960 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20962 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20965 ac_datarootdir_hack='
20966 s&@datadir@&$datadir&g
20967 s&@docdir@&$docdir&g
20968 s&@infodir@&$infodir&g
20969 s&@localedir@&$localedir&g
20970 s&@mandir@&$mandir&g
20971 s&\\\${datarootdir}&$datarootdir&g' ;;
20975 # Neutralize VPATH when `$srcdir' = `.'.
20976 # Shell code in configure.ac might set extrasub.
20977 # FIXME: do we really want to maintain this feature?
20978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20979 ac_sed_extra="$ac_vpsub
20982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20984 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20985 s|@configure_input@|
$ac_sed_conf_input|
;t t
20986 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20987 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20988 s
&@srcdir@
&$ac_srcdir&;t t
20989 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20990 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20991 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20992 s
&@builddir@
&$ac_builddir&;t t
20993 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20994 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20995 s
&@INSTALL@
&$ac_INSTALL&;t t
20996 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20997 $ac_datarootdir_hack
20999 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21000 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21002 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21003 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21004 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21005 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21007 which seems to be undefined. Please make sure it is defined" >&5
21008 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21009 which seems to be undefined. Please make sure it is defined" >&2;}
21011 rm -f "$ac_tmp/stdin"
21013 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21014 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21016 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21022 if test x"$ac_file" != x-; then
21024 $as_echo "/* $configure_input */" \
21025 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21026 } >"$ac_tmp/config.h" \
21027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21028 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21030 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21033 mv "$ac_tmp/config.h" "$ac_file" \
21034 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21037 $as_echo "/* $configure_input */" \
21038 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21039 || as_fn_error $? "could not create -" "$LINENO" 5
21041 # Compute "$ac_file"'s index
in $config_headers.
21044 for _am_header
in $config_headers :; do
21045 case $_am_header in
21046 $_am_arg |
$_am_arg:* )
21049 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21052 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21053 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21054 X"$_am_arg" : 'X\(//\)[^/]' \| \
21055 X"$_am_arg" : 'X\(//\)$' \| \
21056 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21057 $as_echo X"$_am_arg" |
21058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21062 /^X\(\/\/\)[^/].*/{
21074 s/.*/./; q'`/stamp-h
$_am_stamp_count
21077 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21078 $as_echo "$as_me: executing $ac_file commands" >&6;}
21083 case $ac_file$ac_mode in
21084 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21085 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21086 # are listed without --file. Let's play safe and only enable the eval
21087 # if we detect the quoting.
21088 case $CONFIG_FILES in
21089 *\'*) eval set x
"$CONFIG_FILES" ;;
21090 *) set x
$CONFIG_FILES ;;
21095 # Strip MF so we end up with the name of the file.
21096 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21097 # Check whether this is an Automake generated Makefile or not.
21098 # We used to match only the files named `Makefile.in', but
21099 # some people rename them; so instead we look at the file content.
21100 # Grep'ing the first line is not enough: some people post-process
21101 # each Makefile.in and add a new line on top of each file to say so.
21102 # Grep'ing the whole file is not good either: AIX grep has a line
21103 # limit of 2048, but all sed's we know have understand at least 4000.
21104 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21105 dirpart
=`$as_dirname -- "$mf" ||
21106 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21107 X"$mf" : 'X\(//\)[^/]' \| \
21108 X"$mf" : 'X\(//\)$' \| \
21109 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21115 /^X\(\/\/\)[^/].*/{
21131 # Extract the definition of DEPDIR, am__include, and am__quote
21132 # from the Makefile without running `make'.
21133 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21134 test -z "$DEPDIR" && continue
21135 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21136 test -z "am__include" && continue
21137 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21138 # When using ansi2knr, U may be empty or an underscore; expand it
21139 U
=`sed -n 's/^U = //p' < "$mf"`
21140 # Find all dependency output files, they are included files with
21141 # $(DEPDIR) in their names. We invoke sed twice because it is the
21142 # simplest approach to changing $(DEPDIR) to its actual value in the
21144 for file in `sed -n "
21145 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21146 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21147 # Make sure the directory exists.
21148 test -f "$dirpart/$file" && continue
21149 fdir
=`$as_dirname -- "$file" ||
21150 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21151 X"$file" : 'X\(//\)[^/]' \| \
21152 X"$file" : 'X\(//\)$' \| \
21153 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21154 $as_echo X"$file" |
21155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21159 /^X\(\/\/\)[^/].*/{
21172 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21173 # echo "creating $dirpart/$file"
21174 echo '# dummy' > "$dirpart/$file"
21181 # See if we are running on zsh, and set the options which allow our
21182 # commands through without removal of \ escapes.
21183 if test -n "${ZSH_VERSION+set}" ; then
21184 setopt NO_GLOB_SUBST
21187 cfgfile
="${ofile}T"
21188 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21191 cat <<_LT_EOF >> "$cfgfile"
21194 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21195 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21196 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21197 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21199 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21200 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21202 # Written by Gordon Matzigkeit, 1996
21204 # This file is part of GNU Libtool.
21206 # GNU Libtool is free software; you can redistribute it and/or
21207 # modify it under the terms of the GNU General Public License as
21208 # published by the Free Software Foundation; either version 2 of
21209 # the License, or (at your option) any later version.
21211 # As a special exception to the GNU General Public License,
21212 # if you distribute this file as part of a program or library that
21213 # is built using GNU Libtool, you may include this file under the
21214 # same distribution terms that you use for the rest of that program.
21216 # GNU Libtool is distributed in the hope that it will be useful,
21217 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21218 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21219 # GNU General Public License for more details.
21221 # You should have received a copy of the GNU General Public License
21222 # along with GNU Libtool; see the file COPYING. If not, a copy
21223 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21224 # obtained by writing to the Free Software Foundation, Inc.,
21225 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21228 # The names of the tagged configurations supported by this script.
21229 available_tags="CXX "
21231 # ### BEGIN LIBTOOL CONFIG
21233 # Which release of libtool.m4 was used?
21234 macro_version=$macro_version
21235 macro_revision=$macro_revision
21237 # Whether or not to build shared libraries.
21238 build_libtool_libs=$enable_shared
21240 # Whether or not to build static libraries.
21241 build_old_libs=$enable_static
21243 # What type of objects to build.
21246 # Whether or not to optimize for fast installation.
21247 fast_install=$enable_fast_install
21249 # Shell to use when invoking shell scripts.
21252 # An echo program that protects backslashes.
21256 host_alias=$host_alias
21260 # The build system.
21261 build_alias=$build_alias
21265 # A sed program that does not truncate output.
21268 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21269 Xsed="\$SED -e 1s/^X//"
21271 # A grep program that handles long lines.
21277 # A literal string matcher.
21280 # A BSD- or MS-compatible name lister.
21283 # Whether we need soft or hard links.
21286 # What is the maximum length of a command?
21287 max_cmd_len=$max_cmd_len
21289 # Object file suffix (normally "o").
21292 # Executable file suffix (normally "").
21295 # whether the shell understands "unset".
21298 # turn spaces into newlines.
21301 # turn newlines into spaces.
21304 # convert \$build file names to \$host format.
21305 to_host_file_cmd=$lt_cv_to_host_file_cmd
21307 # convert \$build files to toolchain format.
21308 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21310 # An object symbol dumper.
21311 OBJDUMP=$lt_OBJDUMP
21313 # Method to check whether dependent libraries are shared objects.
21314 deplibs_check_method=$lt_deplibs_check_method
21316 # Command to use when deplibs_check_method = "file_magic".
21317 file_magic_cmd=$lt_file_magic_cmd
21319 # How to find potential files when deplibs_check_method = "file_magic".
21320 file_magic_glob=$lt_file_magic_glob
21322 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21323 want_nocaseglob=$lt_want_nocaseglob
21325 # DLL creation program.
21326 DLLTOOL=$lt_DLLTOOL
21328 # Command to associate shared and link libraries.
21329 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21334 # Flags to create an archive.
21335 AR_FLAGS=$lt_AR_FLAGS
21337 # How to feed a file listing to the archiver.
21338 archiver_list_spec=$lt_archiver_list_spec
21340 # A symbol stripping program.
21343 # Commands used to install an old-style archive.
21345 old_postinstall_cmds=$lt_old_postinstall_cmds
21346 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21348 # Whether to use a lock for old archive extraction.
21349 lock_old_archive_extraction=$lock_old_archive_extraction
21354 # LTCC compiler flags.
21355 LTCFLAGS=$lt_CFLAGS
21357 # Take the output of nm and produce a listing of raw symbols and C names.
21358 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21360 # Transform the output of nm in a proper C declaration.
21361 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21363 # Transform the output of nm in a C name address pair.
21364 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21366 # Transform the output of nm in a C name address pair when lib prefix is needed.
21367 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21369 # Specify filename containing input files for \$NM.
21370 nm_file_list_spec=$lt_nm_file_list_spec
21372 # The root where to search for dependent libraries,and in which our libraries should be installed.
21373 lt_sysroot=$lt_sysroot
21375 # The name of the directory that contains temporary libtool files.
21378 # Used to examine libraries when file_magic_cmd begins with "file".
21379 MAGIC_CMD=$MAGIC_CMD
21381 # Must we lock files when doing compilation?
21382 need_locks=$lt_need_locks
21385 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21387 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21388 DSYMUTIL=$lt_DSYMUTIL
21390 # Tool to change global to local symbols on Mac OS X.
21393 # Tool to manipulate fat objects and archives on Mac OS X.
21396 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21399 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21400 OTOOL64=$lt_OTOOL64
21402 # Old archive suffix (normally "a").
21405 # Shared library suffix (normally ".so").
21406 shrext_cmds=$lt_shrext_cmds
21408 # The commands to extract the exported symbol list from a shared archive.
21409 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21411 # Variables whose values should be saved in libtool wrapper scripts and
21412 # restored at link time.
21413 variables_saved_for_relink=$lt_variables_saved_for_relink
21415 # Do we need the "lib" prefix for modules?
21416 need_lib_prefix=$need_lib_prefix
21418 # Do we need a version for libraries?
21419 need_version=$need_version
21421 # Library versioning type.
21422 version_type=$version_type
21424 # Shared library runtime path variable.
21425 runpath_var=$runpath_var
21427 # Shared library path variable.
21428 shlibpath_var=$shlibpath_var
21430 # Is shlibpath searched before the hard-coded library search path?
21431 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21433 # Format of library name prefix.
21434 libname_spec=$lt_libname_spec
21436 # List of archive names. First name is the real one, the rest are links.
21437 # The last name is the one that the linker finds with -lNAME
21438 library_names_spec=$lt_library_names_spec
21440 # The coded name of the library, if different from the real name.
21441 soname_spec=$lt_soname_spec
21443 # Permission mode override for installation of shared libraries.
21444 install_override_mode=$lt_install_override_mode
21446 # Command to use after installation of a shared archive.
21447 postinstall_cmds=$lt_postinstall_cmds
21449 # Command to use after uninstallation of a shared archive.
21450 postuninstall_cmds=$lt_postuninstall_cmds
21452 # Commands used to finish a libtool library installation in a directory.
21453 finish_cmds=$lt_finish_cmds
21455 # As "finish_cmds", except a single script fragment to be evaled but
21457 finish_eval=$lt_finish_eval
21459 # Whether we should hardcode library paths into libraries.
21460 hardcode_into_libs=$hardcode_into_libs
21462 # Compile-time system search path for libraries.
21463 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21465 # Run-time system search path for libraries.
21466 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21468 # Whether dlopen is supported.
21469 dlopen_support=$enable_dlopen
21471 # Whether dlopen of programs is supported.
21472 dlopen_self=$enable_dlopen_self
21474 # Whether dlopen of statically linked programs is supported.
21475 dlopen_self_static=$enable_dlopen_self_static
21477 # Commands to strip libraries.
21478 old_striplib=$lt_old_striplib
21479 striplib=$lt_striplib
21482 # The linker used to build libraries.
21485 # How to create reloadable object files.
21486 reload_flag=$lt_reload_flag
21487 reload_cmds=$lt_reload_cmds
21489 # Commands used to build an old-style archive.
21490 old_archive_cmds=$lt_old_archive_cmds
21492 # A language specific compiler.
21495 # Is the compiler the GNU compiler?
21498 # Compiler flag to turn off builtin functions.
21499 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21501 # Additional compiler flags for building library objects.
21502 pic_flag=$lt_lt_prog_compiler_pic
21504 # How to pass a linker flag through the compiler.
21505 wl=$lt_lt_prog_compiler_wl
21507 # Compiler flag to prevent dynamic linking.
21508 link_static_flag=$lt_lt_prog_compiler_static
21510 # Does compiler simultaneously support -c and -o options?
21511 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21513 # Whether or not to add -lc for building shared libraries.
21514 build_libtool_need_lc=$archive_cmds_need_lc
21516 # Whether or not to disallow shared libs when runtime libs are static.
21517 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21519 # Compiler flag to allow reflexive dlopens.
21520 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21522 # Compiler flag to generate shared objects directly from archives.
21523 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21525 # Whether the compiler copes with passing no objects directly.
21526 compiler_needs_object=$lt_compiler_needs_object
21528 # Create an old-style archive from a shared archive.
21529 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21531 # Create a temporary old-style archive to link instead of a shared archive.
21532 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21534 # Commands used to build a shared archive.
21535 archive_cmds=$lt_archive_cmds
21536 archive_expsym_cmds=$lt_archive_expsym_cmds
21538 # Commands used to build a loadable module if different from building
21539 # a shared archive.
21540 module_cmds=$lt_module_cmds
21541 module_expsym_cmds=$lt_module_expsym_cmds
21543 # Whether we are building with GNU ld or not.
21544 with_gnu_ld=$lt_with_gnu_ld
21546 # Flag that allows shared libraries with undefined symbols to be built.
21547 allow_undefined_flag=$lt_allow_undefined_flag
21549 # Flag that enforces no undefined symbols.
21550 no_undefined_flag=$lt_no_undefined_flag
21552 # Flag to hardcode \$libdir into a binary during linking.
21553 # This must work even if \$libdir does not exist
21554 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21556 # If ld is used when linking, flag to hardcode \$libdir into a binary
21557 # during linking. This must work even if \$libdir does not exist.
21558 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21560 # Whether we need a single "-rpath" flag with a separated argument.
21561 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21563 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21564 # DIR into the resulting binary.
21565 hardcode_direct=$hardcode_direct
21567 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21568 # DIR into the resulting binary and the resulting library dependency is
21569 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21570 # library is relocated.
21571 hardcode_direct_absolute=$hardcode_direct_absolute
21573 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21574 # into the resulting binary.
21575 hardcode_minus_L=$hardcode_minus_L
21577 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21578 # into the resulting binary.
21579 hardcode_shlibpath_var=$hardcode_shlibpath_var
21581 # Set to "yes" if building a shared library automatically hardcodes DIR
21582 # into the library and all subsequent libraries and executables linked
21584 hardcode_automatic=$hardcode_automatic
21586 # Set to yes if linker adds runtime paths of dependent libraries
21587 # to runtime path list.
21588 inherit_rpath=$inherit_rpath
21590 # Whether libtool must link a program against all its dependency libraries.
21591 link_all_deplibs=$link_all_deplibs
21593 # Set to "yes" if exported symbols are required.
21594 always_export_symbols=$always_export_symbols
21596 # The commands to list exported symbols.
21597 export_symbols_cmds=$lt_export_symbols_cmds
21599 # Symbols that should not be listed in the preloaded symbols.
21600 exclude_expsyms=$lt_exclude_expsyms
21602 # Symbols that must always be exported.
21603 include_expsyms=$lt_include_expsyms
21605 # Commands necessary for linking programs (against libraries) with templates.
21606 prelink_cmds=$lt_prelink_cmds
21608 # Commands necessary for finishing linking programs.
21609 postlink_cmds=$lt_postlink_cmds
21611 # Specify filename containing input files.
21612 file_list_spec=$lt_file_list_spec
21614 # How to hardcode a shared library path into an executable.
21615 hardcode_action=$hardcode_action
21617 # The directories searched by this compiler when creating a shared library.
21618 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21620 # Dependencies to place before and after the objects being linked to
21621 # create a shared library.
21622 predep_objects=$lt_predep_objects
21623 postdep_objects=$lt_postdep_objects
21624 predeps=$lt_predeps
21625 postdeps=$lt_postdeps
21627 # The library search path used internally by the compiler when linking
21628 # a shared library.
21629 compiler_lib_search_path=$lt_compiler_lib_search_path
21631 # ### END LIBTOOL CONFIG
21637 cat <<\_LT_EOF
>> "$cfgfile"
21638 # AIX sometimes has problems with the GCC collect2 program. For some
21639 # reason, if we set the COLLECT_NAMES environment variable, the problems
21640 # vanish in a puff of smoke.
21641 if test "X${COLLECT_NAMES+set}" != Xset
; then
21643 export COLLECT_NAMES
21650 ltmain
="$ac_aux_dir/ltmain.sh"
21653 # We use sed instead of cat because bash on DJGPP gets confused if
21654 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21655 # text mode, it properly converts lines to CR/LF. This bash problem
21656 # is reportedly fixed, but why not run on old versions too?
21657 sed '$q' "$ltmain" >> "$cfgfile" \
21658 ||
(rm -f "$cfgfile"; exit 1)
21660 if test x
"$xsi_shell" = xyes
; then
21661 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21665 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21666 \ * ) func_dirname_result="${3}" ;;\
21668 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21669 && mv -f "$cfgfile.tmp" "$cfgfile" \
21670 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21671 test 0 -eq $? || _lt_function_replace_fail
=:
21674 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21677 \ func_basename_result="${1##*/}"\
21678 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21679 && mv -f "$cfgfile.tmp" "$cfgfile" \
21680 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21681 test 0 -eq $? || _lt_function_replace_fail
=:
21684 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21685 func_dirname_and_basename ()\
21688 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21689 \ * ) func_dirname_result="${3}" ;;\
21691 \ func_basename_result="${1##*/}"\
21692 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21693 && mv -f "$cfgfile.tmp" "$cfgfile" \
21694 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21695 test 0 -eq $? || _lt_function_replace_fail
=:
21698 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21701 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21702 \ # positional parameters, so assign one to ordinary parameter first.\
21703 \ func_stripname_result=${3}\
21704 \ func_stripname_result=${func_stripname_result#"${1}"}\
21705 \ func_stripname_result=${func_stripname_result%"${2}"}\
21706 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21707 && mv -f "$cfgfile.tmp" "$cfgfile" \
21708 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21709 test 0 -eq $? || _lt_function_replace_fail
=:
21712 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21713 func_split_long_opt ()\
21715 \ func_split_long_opt_name=${1%%=*}\
21716 \ func_split_long_opt_arg=${1#*=}\
21717 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21718 && mv -f "$cfgfile.tmp" "$cfgfile" \
21719 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21720 test 0 -eq $? || _lt_function_replace_fail
=:
21723 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21724 func_split_short_opt ()\
21726 \ func_split_short_opt_arg=${1#??}\
21727 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21728 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21729 && mv -f "$cfgfile.tmp" "$cfgfile" \
21730 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21731 test 0 -eq $? || _lt_function_replace_fail
=:
21734 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21738 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21739 \ *) func_lo2o_result=${1} ;;\
21741 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21742 && mv -f "$cfgfile.tmp" "$cfgfile" \
21743 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21744 test 0 -eq $? || _lt_function_replace_fail
=:
21747 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21750 func_xform_result=${1%.*}.lo\
21751 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21752 && mv -f "$cfgfile.tmp" "$cfgfile" \
21753 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21754 test 0 -eq $? || _lt_function_replace_fail
=:
21757 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21760 func_arith_result=$(( $* ))\
21761 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21762 && mv -f "$cfgfile.tmp" "$cfgfile" \
21763 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21764 test 0 -eq $? || _lt_function_replace_fail
=:
21767 sed -e '/^func_len ()$/,/^} # func_len /c\
21770 func_len_result=${#1}\
21771 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21772 && mv -f "$cfgfile.tmp" "$cfgfile" \
21773 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21774 test 0 -eq $? || _lt_function_replace_fail
=:
21778 if test x
"$lt_shell_append" = xyes
; then
21779 sed -e '/^func_append ()$/,/^} # func_append /c\
21782 eval "${1}+=\\${2}"\
21783 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21784 && mv -f "$cfgfile.tmp" "$cfgfile" \
21785 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21786 test 0 -eq $? || _lt_function_replace_fail
=:
21789 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21790 func_append_quoted ()\
21792 \ func_quote_for_eval "${2}"\
21793 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21794 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21795 && mv -f "$cfgfile.tmp" "$cfgfile" \
21796 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21797 test 0 -eq $? || _lt_function_replace_fail
=:
21800 # Save a `func_append' function call where possible by direct use of '+='
21801 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21802 && mv -f "$cfgfile.tmp" "$cfgfile" \
21803 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21804 test 0 -eq $? || _lt_function_replace_fail
=:
21806 # Save a `func_append' function call even when '+=' is not available
21807 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21808 && mv -f "$cfgfile.tmp" "$cfgfile" \
21809 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21810 test 0 -eq $? || _lt_function_replace_fail
=:
21813 if test x
"$_lt_function_replace_fail" = x
":"; then
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21815 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21819 mv -f "$cfgfile" "$ofile" ||
21820 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21824 cat <<_LT_EOF >> "$ofile"
21826 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21828 # The linker used to build libraries.
21831 # How to create reloadable object files.
21832 reload_flag=$lt_reload_flag_CXX
21833 reload_cmds=$lt_reload_cmds_CXX
21835 # Commands used to build an old-style archive.
21836 old_archive_cmds=$lt_old_archive_cmds_CXX
21838 # A language specific compiler.
21839 CC=$lt_compiler_CXX
21841 # Is the compiler the GNU compiler?
21844 # Compiler flag to turn off builtin functions.
21845 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21847 # Additional compiler flags for building library objects.
21848 pic_flag=$lt_lt_prog_compiler_pic_CXX
21850 # How to pass a linker flag through the compiler.
21851 wl=$lt_lt_prog_compiler_wl_CXX
21853 # Compiler flag to prevent dynamic linking.
21854 link_static_flag=$lt_lt_prog_compiler_static_CXX
21856 # Does compiler simultaneously support -c and -o options?
21857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21859 # Whether or not to add -lc for building shared libraries.
21860 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21862 # Whether or not to disallow shared libs when runtime libs are static.
21863 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21865 # Compiler flag to allow reflexive dlopens.
21866 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21868 # Compiler flag to generate shared objects directly from archives.
21869 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21871 # Whether the compiler copes with passing no objects directly.
21872 compiler_needs_object=$lt_compiler_needs_object_CXX
21874 # Create an old-style archive from a shared archive.
21875 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21877 # Create a temporary old-style archive to link instead of a shared archive.
21878 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21880 # Commands used to build a shared archive.
21881 archive_cmds=$lt_archive_cmds_CXX
21882 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21884 # Commands used to build a loadable module if different from building
21885 # a shared archive.
21886 module_cmds=$lt_module_cmds_CXX
21887 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21889 # Whether we are building with GNU ld or not.
21890 with_gnu_ld=$lt_with_gnu_ld_CXX
21892 # Flag that allows shared libraries with undefined symbols to be built.
21893 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21895 # Flag that enforces no undefined symbols.
21896 no_undefined_flag=$lt_no_undefined_flag_CXX
21898 # Flag to hardcode \$libdir into a binary during linking.
21899 # This must work even if \$libdir does not exist
21900 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21902 # If ld is used when linking, flag to hardcode \$libdir into a binary
21903 # during linking. This must work even if \$libdir does not exist.
21904 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21906 # Whether we need a single "-rpath" flag with a separated argument.
21907 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21909 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21910 # DIR into the resulting binary.
21911 hardcode_direct=$hardcode_direct_CXX
21913 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21914 # DIR into the resulting binary and the resulting library dependency is
21915 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21916 # library is relocated.
21917 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21919 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21920 # into the resulting binary.
21921 hardcode_minus_L=$hardcode_minus_L_CXX
21923 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21924 # into the resulting binary.
21925 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21927 # Set to "yes" if building a shared library automatically hardcodes DIR
21928 # into the library and all subsequent libraries and executables linked
21930 hardcode_automatic=$hardcode_automatic_CXX
21932 # Set to yes if linker adds runtime paths of dependent libraries
21933 # to runtime path list.
21934 inherit_rpath=$inherit_rpath_CXX
21936 # Whether libtool must link a program against all its dependency libraries.
21937 link_all_deplibs=$link_all_deplibs_CXX
21939 # Set to "yes" if exported symbols are required.
21940 always_export_symbols=$always_export_symbols_CXX
21942 # The commands to list exported symbols.
21943 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21945 # Symbols that should not be listed in the preloaded symbols.
21946 exclude_expsyms=$lt_exclude_expsyms_CXX
21948 # Symbols that must always be exported.
21949 include_expsyms=$lt_include_expsyms_CXX
21951 # Commands necessary for linking programs (against libraries) with templates.
21952 prelink_cmds=$lt_prelink_cmds_CXX
21954 # Commands necessary for finishing linking programs.
21955 postlink_cmds=$lt_postlink_cmds_CXX
21957 # Specify filename containing input files.
21958 file_list_spec=$lt_file_list_spec_CXX
21960 # How to hardcode a shared library path into an executable.
21961 hardcode_action=$hardcode_action_CXX
21963 # The directories searched by this compiler when creating a shared library.
21964 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21966 # Dependencies to place before and after the objects being linked to
21967 # create a shared library.
21968 predep_objects=$lt_predep_objects_CXX
21969 postdep_objects=$lt_postdep_objects_CXX
21970 predeps=$lt_predeps_CXX
21971 postdeps=$lt_postdeps_CXX
21973 # The library search path used internally by the compiler when linking
21974 # a shared library.
21975 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21977 # ### END LIBTOOL TAG CONFIG: CXX
21988 ac_clean_files
=$ac_clean_files_save
21990 test $ac_write_fail = 0 ||
21991 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21994 # configure is writing to config.log, and then calls config.status.
21995 # config.status does its own redirection, appending to config.log.
21996 # Unfortunately, on DOS this fails, as config.log is still kept open
21997 # by configure, so config.status won't be able to write to it; its
21998 # output is simply discarded. So we exec the FD to /dev/null,
21999 # effectively closing config.log, so it can be properly (re)opened and
22000 # appended to by config.status. When coming back to configure, we
22001 # need to make the FD available again.
22002 if test "$no_create" != yes; then
22004 ac_config_status_args
=
22005 test "$silent" = yes &&
22006 ac_config_status_args
="$ac_config_status_args --quiet"
22008 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22010 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22011 # would make configure fail if this is the last instruction.
22012 $ac_cs_success || as_fn_exit
1
22014 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22016 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22020 { $as_echo "$as_me:${as_lineno-$LINENO}:
22023 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22024 host setup: ${host}
22030 build libquvi: shared=${enable_shared} static=${enable_static}
22031 build examples: ${enable_examples}
22032 build quvi: ${enable_quvi}
22034 enable broken: ${enable_broken}
22035 enable tests: ${enable_tests}
22036 enable nsfw: ${enable_nsfw}
22038 install manual: ${with_man}
22039 install docs: ${with_doc}
22044 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22045 host setup: ${host}
22051 build libquvi: shared=${enable_shared} static=${enable_static}
22052 build examples: ${enable_examples}
22053 build quvi: ${enable_quvi}
22055 enable broken: ${enable_broken}
22056 enable tests: ${enable_tests}
22057 enable nsfw: ${enable_nsfw}
22059 install manual: ${with_man}
22060 install docs: ${with_doc}
22064 # gengetopt: ${GENGETOPT}
22065 # doxygen: ${DOXYGEN}
22067 # Pod::Checker: ${have_pod_checker}
22068 # pod2man: ${POD2MAN}
22069 # pod2html: ${POD2HTML}