2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.10.
5 # Report bugs to <http://sourceforge.net/apps/trac/quvi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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.10'
574 PACKAGE_STRING
='quvi 0.2.10'
575 PACKAGE_BUGREPORT
='http://sourceforge.net/apps/trac/quvi'
576 PACKAGE_URL
='http://quvi.sourceforge.net/'
578 ac_unique_file
="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
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
659 HAVE_PERL_POD_CHECKER_FALSE
660 HAVE_PERL_POD_CHECKER_TRUE
677 EXTRA_LIBQUVI_LDFLAGS
714 INSTALL_STRIP_PROGRAM
781 program_transform_name
794 enable_option_checking
795 enable_dependency_tracking
814 ac_precious_vars
='build_alias
836 # Initialize some variables set by options.
838 ac_init_version
=false
839 ac_unrecognized_opts
=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
850 program_transform_name
=s
,x
,x
,
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir
='${exec_prefix}/bin'
865 sbindir
='${exec_prefix}/sbin'
866 libexecdir
='${exec_prefix}/libexec'
867 datarootdir
='${prefix}/share'
868 datadir
='${datarootdir}'
869 sysconfdir
='${prefix}/etc'
870 sharedstatedir
='${prefix}/com'
871 localstatedir
='${prefix}/var'
872 includedir
='${prefix}/include'
873 oldincludedir
='/usr/include'
874 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir
='${datarootdir}/info'
880 libdir
='${exec_prefix}/lib'
881 localedir
='${datarootdir}/locale'
882 mandir
='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\
$ac_option
896 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error $?
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information"
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error $?
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used" >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $?
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $?
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 for ac_var
in $ac_precious_vars; do
1363 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1365 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures quvi 0.2.10 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --program-prefix=PREFIX prepend PREFIX to installed program names
1435 --program-suffix=SUFFIX append SUFFIX to installed program names
1436 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1439 --build=BUILD configure
for building on BUILD
[guessed
]
1440 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1441 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive
) echo "Configuration of quvi 0.2.10:";;
1452 --disable-option-checking ignore unrecognized
--enable/--with options
1453 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1454 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1455 --disable-dependency-tracking speeds up one-time build
1456 --enable-dependency-tracking do not reject slow dependency extractors
1457 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1458 --enable-static[=PKGS
] build static libraries
[default
=yes]
1459 --enable-fast-install[=PKGS
]
1460 optimize
for fast installation
[default
=yes]
1461 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1462 --disable-rpath do not hardcode runtime library paths
1463 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1464 --disable-silent-rules verbose build output (undo: `make V
=0')
1465 --enable-quvi build quvi command line tool[default=yes]
1466 --enable-examples build examples [default=no]
1467 --enable-nsfw build with adult website support [default=no]
1468 --enable-tests enable tests [default=no]
1469 --enable-broken build with broken website support [default=no]
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --with-pic try to use only PIC/non-PIC objects [default=use
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot=DIR Search for dependent libraries within DIR
1478 (or the compiler's sysroot
if not specified
).
1479 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1480 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1481 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1482 --with-man install manual pages [default=yes]
1483 --with-doc install documentation [default=yes]
1485 Some influential environment variables:
1486 CC C compiler command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1489 nonstandard directory <lib dir>
1490 LIBS libraries to pass to the linker, e.g. -l<library>
1491 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492 you have headers in a nonstandard directory <include dir>
1494 CXX C++ compiler command
1495 CXXFLAGS C++ compiler flags
1496 CXXCPP C++ preprocessor
1497 PKG_CONFIG path to pkg-config utility
1499 directories to add to pkg-config's search path
1501 path overriding pkg-config
's built-in search path
1503 C compiler flags for libcurl, overriding pkg-config
1505 linker flags for libcurl, overriding pkg-config
1507 C compiler flags for liblua, overriding pkg-config
1508 liblua_LIBS linker flags for liblua, overriding pkg-config
1510 Use these variables to override the choices made by `configure' or to
help
1511 it to
find libraries and programs with nonstandard names
/locations.
1513 Report bugs to
<http
://sourceforge.net
/apps
/trac
/quvi
>.
1514 quvi home page
: <http
://quvi.sourceforge.net
/>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1528 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1530 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1535 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir
=$ac_pwd
1539 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir
=$ac_top_build_prefix
1544 .
) # We are building in place.
1546 ac_top_srcdir
=$ac_top_builddir_sub
1547 ac_abs_top_srcdir
=$ac_pwd ;;
1548 [\\/]* | ?
:[\\/]* ) # Absolute name.
1549 ac_srcdir
=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir
=$srcdir
1551 ac_abs_top_srcdir
=$srcdir ;;
1553 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 quvi configure
0.2.10
1578 generated by GNU Autoconf
2.68
1580 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1581 This configure
script is free software
; the Free Software Foundation
1582 gives unlimited permission to copy
, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile
()
1596 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1597 rm -f conftest.
$ac_objext
1598 if { { ac_try
="$ac_compile"
1600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.$ac_objext; then :
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if { { ac_try="$ac_cpp conftest.$ac_ext"
1637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1638 *) ac_try_echo
=$ac_try;;
1640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 if test -s conftest.err
; then
1645 grep -v '^ *+' conftest.err
>conftest.er1
1646 cat conftest.er1
>&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i
&& {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.
$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status
$ac_retval
1666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1669 # the include files in INCLUDES and setting the cache variable VAR
1671 ac_fn_c_check_header_mongrel
()
1673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1674 if eval \
${$3+:} false
; then :
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \
${$3+:} false
; then :
1678 $as_echo_n "(cached) " >&6
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1684 # Is the header compilable?
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1686 $as_echo_n "checking $2 usability... " >&6; }
1687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1692 if ac_fn_c_try_compile
"$LINENO"; then :
1693 ac_header_compiler
=yes
1695 ac_header_compiler
=no
1697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1699 $as_echo "$ac_header_compiler" >&6; }
1701 # Is the header present?
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1703 $as_echo_n "checking $2 presence... " >&6; }
1704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1708 if ac_fn_c_try_cpp
"$LINENO"; then :
1709 ac_header_preproc
=yes
1711 ac_header_preproc
=no
1713 rm -f conftest.err conftest.i conftest.
$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1715 $as_echo "$ac_header_preproc" >&6; }
1717 # So? What about this header?
1718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 ( $as_echo "## ---------------------------------------------------- ##
1737 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1738 ## ---------------------------------------------------- ##"
1739 ) |
sed "s/^/$as_me: WARNING: /" >&2
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \
${$3+:} false
; then :
1745 $as_echo_n "(cached) " >&6
1747 eval "$3=\$ac_header_compiler"
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_header_mongrel
1757 # ac_fn_c_try_run LINENO
1758 # ----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1760 # that executables *can* be run.
1763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1764 if { { ac_try
="$ac_link"
1766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>&5
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1775 { { case "(($ac_try" in
1776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1777 *) ac_try_echo
=$ac_try;;
1779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_try") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; }; }; then :
1787 $as_echo "$as_me: program exited with status $ac_status" >&5
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.
$ac_ext >&5
1791 ac_retval
=$ac_status
1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status
$ac_retval
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile
()
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \
${$3+:} false
; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile
"$LINENO"; then :
1821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_compile
1830 # ac_fn_c_try_link LINENO
1831 # -----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded.
1835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1836 rm -f conftest.
$ac_objext conftest
$ac_exeext
1837 if { { ac_try
="$ac_link"
1839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest$ac_exeext && {
1856 test "$cross_compiling" = yes ||
1857 $as_test_x conftest$ac_exeext
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1868 # interfere with the next link command; also delete a directory that is
1869 # left behind by Apple's compiler. We do this before executing the actions.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1874 } # ac_fn_c_try_link
1876 # ac_fn_c_check_func LINENO FUNC VAR
1877 # ----------------------------------
1878 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1879 ac_fn_c_check_func ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if eval \${$3+:} false; then :
1885 $as_echo_n "(cached) " >&6
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1891 #define $2 innocuous_$2
1893 /* System header to define __stub macros and hopefully few prototypes,
1894 which can conflict with char $2 (); below.
1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896 <limits.h> exists even on freestanding compilers. */
1899 # include <limits.h>
1901 # include <assert.h>
1906 /* Override any GCC internal prototype to avoid an error.
1907 Use char because int might match the return type of a GCC
1908 builtin and then its argument prototype would still apply. */
1913 /* The GNU C library defines this for functions which it implements
1914 to always fail with ENOSYS. Some functions are actually named
1915 something starting with __ and the normal name is an alias. */
1916 #if defined __stub_$2 || defined __stub___$2
1928 if ac_fn_c_try_link "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext \
1934 conftest$ac_exeext conftest.$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_func
1943 # ac_fn_cxx_try_compile LINENO
1944 # ----------------------------
1945 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_cxx_try_compile ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext
1950 if { { ac_try="$ac_compile"
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_compile") 2>conftest.err
1959 if test -s conftest.err
; then
1960 grep -v '^ *+' conftest.err
>conftest.er1
1961 cat conftest.er1
>&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_cxx_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest.
$ac_objext; then :
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.
$ac_ext >&5
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status
$ac_retval
1979 } # ac_fn_cxx_try_compile
1981 # ac_fn_cxx_try_cpp LINENO
1982 # ------------------------
1983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } > conftest.i && {
2003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 as_fn_set_status $ac_retval
2016 } # ac_fn_cxx_try_cpp
2018 # ac_fn_cxx_try_link LINENO
2019 # -------------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 rm -f conftest.$ac_objext conftest$ac_exeext
2025 if { { ac_try="$ac_link"
2027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2028 *) ac_try_echo
=$ac_try;;
2030 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>conftest.err
2034 if test -s conftest.err
; then
2035 grep -v '^ *+' conftest.err
>conftest.er1
2036 cat conftest.er1
>&5
2037 mv -f conftest.er1 conftest.err
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_cxx_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest
$ac_exeext && {
2044 test "$cross_compiling" = yes ||
2045 $as_test_x conftest
$ac_exeext
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.
$ac_ext >&5
2054 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056 # interfere with the next link command; also delete a directory that is
2057 # left behind by Apple's compiler. We do this before executing the actions.
2058 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 as_fn_set_status
$ac_retval
2062 } # ac_fn_cxx_try_link
2064 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2065 # -------------------------------------------
2066 # Tests whether TYPE exists after having included INCLUDES, setting cache
2067 # variable VAR accordingly.
2068 ac_fn_c_check_type
()
2070 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072 $as_echo_n "checking for $2... " >&6; }
2073 if eval \
${$3+:} false
; then :
2074 $as_echo_n "(cached) " >&6
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2089 if ac_fn_c_try_compile
"$LINENO"; then :
2090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2102 if ac_fn_c_try_compile
"$LINENO"; then :
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 } # ac_fn_c_check_type
2118 # ac_fn_c_find_uintX_t LINENO BITS VAR
2119 # ------------------------------------
2120 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2122 ac_fn_c_find_uintX_t
()
2124 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2126 $as_echo_n "checking for uint$2_t... " >&6; }
2127 if eval \
${$3+:} false
; then :
2128 $as_echo_n "(cached) " >&6
2131 # Order is important - never check a type that is potentially smaller
2132 # than half of the expected target width.
2133 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2134 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 $ac_includes_default
2141 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2148 if ac_fn_c_try_compile
"$LINENO"; then :
2153 eval "$3=\$ac_type" ;;
2156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2157 if eval test \"x\$
"$3"\" = x
"no"; then :
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 } # ac_fn_c_find_uintX_t
2170 cat >config.log
<<_ACEOF
2171 This file contains any messages produced by compilers while
2172 running configure, to aid debugging if configure makes a mistake.
2174 It was created by quvi $as_me 0.2.10, which was
2175 generated by GNU Autoconf 2.68. Invocation command line was
2187 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2188 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2189 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2190 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2191 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2193 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2194 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2196 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2197 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2198 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2199 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2200 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2201 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2202 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir
=.
2211 $as_echo "PATH: $as_dir"
2227 # Keep a trace of the command line.
2228 # Strip out --no-create and --no-recursion so they do not pile up.
2229 # Strip out --silent because we don't want to record it for future runs.
2230 # Also quote any args containing shell meta-characters.
2231 # Make two passes to allow for proper duplicate-argument suppression.
2235 ac_must_keep_next
=false
2241 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2242 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2243 |
-silent |
--silent |
--silen |
--sile |
--sil)
2246 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2249 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2251 as_fn_append ac_configure_args1
" '$ac_arg'"
2252 if test $ac_must_keep_next = true
; then
2253 ac_must_keep_next
=false
# Got value, back to normal.
2256 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2257 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2258 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2259 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2260 case "$ac_configure_args0 " in
2261 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2264 -* ) ac_must_keep_next
=true
;;
2267 as_fn_append ac_configure_args
" '$ac_arg'"
2272 { ac_configure_args0
=; unset ac_configure_args0
;}
2273 { ac_configure_args1
=; unset ac_configure_args1
;}
2275 # When interrupted or exit'd, cleanup temporary files, and complete
2276 # config.log. We remove comments because anyway the quotes in there
2277 # would cause problems or look ugly.
2278 # WARNING: Use '\'' to represent an apostrophe within the trap.
2279 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2280 trap 'exit_status=$?
2281 # Save into config.log some information that might help in debugging.
2285 $as_echo "## ---------------- ##
2286 ## Cache variables. ##
2287 ## ---------------- ##"
2289 # The following way of writing the cache mishandles newlines in values,
2291 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2292 eval ac_val=\$$ac_var
2296 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2297 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2300 _ | IFS | as_nl) ;; #(
2301 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2302 *) { eval $ac_var=; unset $ac_var;} ;;
2307 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2308 *${as_nl}ac_space=\ *)
2310 "s/'\''/'\''\\\\'\'''\''/g;
2311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2321 $as_echo "## ----------------- ##
2322 ## Output variables. ##
2323 ## ----------------- ##"
2325 for ac_var in $ac_subst_vars
2327 eval ac_val=\$$ac_var
2329 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2331 $as_echo "$ac_var='\''$ac_val'\''"
2335 if test -n "$ac_subst_files"; then
2336 $as_echo "## ------------------- ##
2337 ## File substitutions. ##
2338 ## ------------------- ##"
2340 for ac_var
in $ac_subst_files
2342 eval ac_val
=\$
$ac_var
2344 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2346 $as_echo "$ac_var='\''$ac_val'\''"
2351 if test -s confdefs.h; then
2352 $as_echo "## ----------- ##
2359 test "$ac_signal" != 0 &&
2360 $as_echo "$as_me: caught signal $ac_signal"
2361 $as_echo "$as_me: exit $exit_status"
2363 rm -f core *.core core.conftest.* &&
2364 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2367 for ac_signal
in 1 2 13 15; do
2368 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2372 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2373 rm -f -r conftest
* confdefs.h
2375 $as_echo "/* confdefs.h */" > confdefs.h
2377 # Predefined preprocessor variables.
2379 cat >>confdefs.h
<<_ACEOF
2380 #define PACKAGE_NAME "$PACKAGE_NAME"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_STRING "$PACKAGE_STRING"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_URL "$PACKAGE_URL"
2404 # Let the site file select an alternate cache file if it wants to.
2405 # Prefer an explicitly selected file to automatically selected ones.
2408 if test -n "$CONFIG_SITE"; then
2409 # We do not want a PATH search for config.site.
2410 case $CONFIG_SITE in #((
2411 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2412 */*) ac_site_file1
=$CONFIG_SITE;;
2413 *) ac_site_file1
=.
/$CONFIG_SITE;;
2415 elif test "x$prefix" != xNONE
; then
2416 ac_site_file1
=$prefix/share
/config.site
2417 ac_site_file2
=$prefix/etc
/config.site
2419 ac_site_file1
=$ac_default_prefix/share
/config.site
2420 ac_site_file2
=$ac_default_prefix/etc
/config.site
2422 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2424 test "x$ac_site_file" = xNONE
&& continue
2425 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2427 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2428 sed 's/^/| /' "$ac_site_file" >&5
2430 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432 as_fn_error $?
"failed to load site script $ac_site_file
2433 See \`config.log' for more details" "$LINENO" 5; }
2437 if test -r "$cache_file"; then
2438 # Some versions of bash will fail to source /dev/null (special files
2439 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2440 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2442 $as_echo "$as_me: loading cache $cache_file" >&6;}
2444 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2445 *) .
"./$cache_file";;
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2450 $as_echo "$as_me: creating cache $cache_file" >&6;}
2454 # Check that the precious variables saved in the cache have kept the same
2456 ac_cache_corrupted
=false
2457 for ac_var
in $ac_precious_vars; do
2458 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2459 eval ac_new_set
=\
$ac_env_${ac_var}_set
2460 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2461 eval ac_new_val
=\
$ac_env_${ac_var}_value
2462 case $ac_old_set,$ac_new_set in
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2465 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2466 ac_cache_corrupted
=: ;;
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2469 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2470 ac_cache_corrupted
=: ;;
2473 if test "x$ac_old_val" != "x$ac_new_val"; then
2474 # differences in whitespace do not lead to failure.
2475 ac_old_val_w
=`echo x $ac_old_val`
2476 ac_new_val_w
=`echo x $ac_new_val`
2477 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2479 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2480 ac_cache_corrupted
=:
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2483 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2484 eval $ac_var=\
$ac_old_val
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2487 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2489 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2492 # Pass precious variables to config.status.
2493 if test "$ac_new_set" = set; then
2495 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2496 *) ac_arg
=$ac_var=$ac_new_val ;;
2498 case " $ac_configure_args " in
2499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2500 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2504 if $ac_cache_corrupted; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2509 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2511 ## -------------------- ##
2512 ## Main body of script. ##
2513 ## -------------------- ##
2516 ac_cpp
='$CPP $CPPFLAGS'
2517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2532 ac_config_headers
="$ac_config_headers config.h"
2535 for ac_dir
in config.aux
"$srcdir"/config.aux
; do
2536 if test -f "$ac_dir/install-sh"; then
2538 ac_install_sh
="$ac_aux_dir/install-sh -c"
2540 elif test -f "$ac_dir/install.sh"; then
2542 ac_install_sh
="$ac_aux_dir/install.sh -c"
2544 elif test -f "$ac_dir/shtool"; then
2546 ac_install_sh
="$ac_aux_dir/shtool install -c"
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2565 # Make sure we can run config.sub.
2566 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2567 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2570 $as_echo_n "checking build system type... " >&6; }
2571 if ${ac_cv_build+:} false
; then :
2572 $as_echo_n "(cached) " >&6
2574 ac_build_alias
=$build_alias
2575 test "x$ac_build_alias" = x
&&
2576 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2577 test "x$ac_build_alias" = x
&&
2578 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2579 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2580 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2584 $as_echo "$ac_cv_build" >&6; }
2585 case $ac_cv_build in
2587 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2590 ac_save_IFS
=$IFS; IFS
='-'
2596 # Remember, the first character of IFS is used to create $*,
2597 # except with old shells:
2600 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2604 $as_echo_n "checking host system type... " >&6; }
2605 if ${ac_cv_host+:} false
; then :
2606 $as_echo_n "(cached) " >&6
2608 if test "x$host_alias" = x
; then
2609 ac_cv_host
=$ac_cv_build
2611 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2612 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2617 $as_echo "$ac_cv_host" >&6; }
2620 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2623 ac_save_IFS
=$IFS; IFS
='-'
2629 # Remember, the first character of IFS is used to create $*,
2630 # except with old shells:
2633 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2637 $as_echo_n "checking target system type... " >&6; }
2638 if ${ac_cv_target+:} false
; then :
2639 $as_echo_n "(cached) " >&6
2641 if test "x$target_alias" = x
; then
2642 ac_cv_target
=$ac_cv_host
2644 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2645 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2650 $as_echo "$ac_cv_target" >&6; }
2651 case $ac_cv_target in
2653 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2655 target
=$ac_cv_target
2656 ac_save_IFS
=$IFS; IFS
='-'
2662 # Remember, the first character of IFS is used to create $*,
2663 # except with old shells:
2666 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2669 # The aliases save the names the user supplied, while $host etc.
2670 # will get canonicalized.
2671 test -n "$target_alias" &&
2672 test "$program_prefix$program_suffix$program_transform_name" = \
2674 program_prefix
=${target_alias}-
2677 ac_cpp
='$CPP $CPPFLAGS'
2678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2681 if test -n "$ac_tool_prefix"; then
2682 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2683 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if ${ac_cv_prog_CC+:} false
; then :
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC
="$CC" # Let the user override the test.
2692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir
=.
2697 for ac_exec_ext
in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$ac_cv_prog_CC"; then
2722 # Extract the first word of "gcc", so it can be a program name with args.
2723 set dummy gcc
; ac_word
=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$ac_ct_CC"; then
2730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir
=.
2737 for ac_exec_ext
in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_ac_ct_CC
="gcc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2750 if test -n "$ac_ct_CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2752 $as_echo "$ac_ct_CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2758 if test "x$ac_ct_CC" = x
; then
2761 case $cross_compiling:$ac_tool_warned in
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2765 ac_tool_warned
=yes ;;
2773 if test -z "$CC"; then
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2776 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if ${ac_cv_prog_CC+:} false
; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC
="$CC" # Let the user override the test.
2785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir
=.
2790 for ac_exec_ext
in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2814 if test -z "$CC"; then
2815 # Extract the first word of "cc", so it can be a program name with args.
2816 set dummy cc
; ac_word
=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if ${ac_cv_prog_CC+:} false
; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC
="$CC" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2834 ac_prog_rejected
=yes
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test $ac_prog_rejected = yes; then
2846 # We found a bogon in the path, so make sure we never use it.
2847 set dummy
$ac_cv_prog_CC
2849 if test $# != 0; then
2850 # We chose a different compiler from the bogus one.
2851 # However, it has the same basename, so the bogon will be chosen
2852 # first if we set CC to just the basename; use the full file name.
2854 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2860 if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862 $as_echo "$CC" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2870 if test -z "$CC"; then
2871 if test -n "$ac_tool_prefix"; then
2872 for ac_prog
in cl.exe
2874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if ${ac_cv_prog_CC+:} false
; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC
="$CC" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2911 test -n "$CC" && break
2914 if test -z "$CC"; then
2916 for ac_prog
in cl.exe
2918 # Extract the first word of "$ac_prog", so it can be a program name with args.
2919 set dummy
$ac_prog; ac_word
=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$ac_ct_CC"; then
2926 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_ac_ct_CC
="$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2946 if test -n "$ac_ct_CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2948 $as_echo "$ac_ct_CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2955 test -n "$ac_ct_CC" && break
2958 if test "x$ac_ct_CC" = x
; then
2961 case $cross_compiling:$ac_tool_warned in
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2965 ac_tool_warned
=yes ;;
2974 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976 as_fn_error $?
"no acceptable C compiler found in \$PATH
2977 See \`config.log' for more details" "$LINENO" 5; }
2979 # Provide some information about the compiler.
2980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2983 for ac_option
in --version -v -V -qversion; do
2984 { { ac_try
="$ac_compiler $ac_option >&5"
2986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2993 if test -s conftest.err; then
2995 ... rest of stderr output deleted ...
2996 10q' conftest.err >conftest.er1
2997 cat conftest.er1 >&5
2999 rm -f conftest.er1 conftest.err
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3015 ac_clean_files_save=$ac_clean_files
3016 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3017 # Try to create an executable without -o first, disregard a.out.
3018 # It will help us diagnose broken compilers, and finding out an intuition
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3021 $as_echo_n "checking whether the C compiler works... " >&6; }
3022 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3024 # The possible output files:
3025 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3028 for ac_file in $ac_files
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3037 if { { ac_try="$ac_link_default"
3039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3040 *) ac_try_echo
=$ac_try;;
3042 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_link_default") 2>&5
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }; then :
3048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3050 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3051 # so that the user can short-circuit this test for compilers unknown to
3053 for ac_file
in $ac_files ''
3055 test -f "$ac_file" ||
continue
3057 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3060 # We found the default executable, but exeext='' is most
3064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3066 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3068 # We set ac_cv_exeext here because the later test for it is not
3069 # safe: cross compilers may not add the suffix if given an `-o'
3070 # argument, so we may need to know it at that point already.
3071 # Even if this section looks crufty: it has the advantage of
3078 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3083 if test -z "$ac_file"; then :
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 as_fn_error
77 "C compiler cannot create executables
3092 See \`config.log' for more details" "$LINENO" 5; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3095 $as_echo "yes" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3098 $as_echo_n "checking for C compiler default output file name... " >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3100 $as_echo "$ac_file" >&6; }
3101 ac_exeext
=$ac_cv_exeext
3103 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3104 ac_clean_files
=$ac_clean_files_save
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3106 $as_echo_n "checking for suffix of executables... " >&6; }
3107 if { { ac_try
="$ac_link"
3109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3119 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3120 # work properly (i.e., refer to `conftest.exe'), while it won't with
3122 for ac_file
in conftest.exe conftest conftest.
*; do
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3126 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3135 See \`config.log' for more details" "$LINENO" 5; }
3137 rm -f conftest conftest
$ac_cv_exeext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3139 $as_echo "$ac_cv_exeext" >&6; }
3141 rm -f conftest.
$ac_ext
3142 EXEEXT
=$ac_cv_exeext
3144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3150 FILE *f = fopen ("conftest.out", "w");
3151 return ferror (f) || fclose (f) != 0;
3157 ac_clean_files
="$ac_clean_files conftest.out"
3158 # Check that the compiler produces executables we can run. If not, either
3159 # the compiler is broken, or we cross compile.
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3161 $as_echo_n "checking whether we are cross compiling... " >&6; }
3162 if test "$cross_compiling" != yes; then
3163 { { ac_try
="$ac_link"
3165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_link") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }
3174 if { ac_try='./conftest$ac_cv_exeext'
3175 { { case "(($ac_try" in
3176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3177 *) ac_try_echo
=$ac_try;;
3179 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_try") 2>&5
3183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184 test $ac_status = 0; }; }; then
3187 if test "$cross_compiling" = maybe
; then
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $?
"cannot run C compiled programs.
3193 If you meant to cross compile, use \`--host'.
3194 See \`config.log' for more details" "$LINENO" 5; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3199 $as_echo "$cross_compiling" >&6; }
3201 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3202 ac_clean_files
=$ac_clean_files_save
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3204 $as_echo_n "checking for suffix of object files... " >&6; }
3205 if ${ac_cv_objext+:} false
; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3219 rm -f conftest.o conftest.obj
3220 if { { ac_try
="$ac_compile"
3222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compile") 2>&5
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; then :
3231 for ac_file in conftest.o conftest.obj conftest.*; do
3232 test -f "$ac_file" || continue;
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3235 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3240 $as_echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3246 See \
`config.log' for more details" "$LINENO" 5; }
3248 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3251 $as_echo "$ac_cv_objext" >&6; }
3252 OBJEXT=$ac_cv_objext
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3255 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3256 if ${ac_cv_c_compiler_gnu+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3283 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3284 if test $ac_compiler_gnu = yes; then
3289 ac_test_CFLAGS=${CFLAGS+set}
3290 ac_save_CFLAGS=$CFLAGS
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3292 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3293 if ${ac_cv_prog_cc_g+:} false; then :
3294 $as_echo_n "(cached) " >&6
3296 ac_save_c_werror_flag=$ac_c_werror_flag
3297 ac_c_werror_flag=yes
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3311 if ac_fn_c_try_compile "$LINENO"; then :
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3326 if ac_fn_c_try_compile "$LINENO"; then :
3329 ac_c_werror_flag=$ac_save_c_werror_flag
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 if ac_fn_c_try_compile "$LINENO"; then :
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3353 $as_echo "$ac_cv_prog_cc_g" >&6; }
3354 if test "$ac_test_CFLAGS" = set; then
3355 CFLAGS=$ac_save_CFLAGS
3356 elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
3363 if test "$GCC" = yes; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3370 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3371 if ${ac_cv_prog_cc_c89+:} false; then :
3372 $as_echo_n "(cached) " >&6
3374 ac_cv_prog_cc_c89=no
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 #include <sys/types.h>
3381 #include <sys/stat.h>
3382 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3383 struct buf { int x; };
3384 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3385 static char *e (p, i)
3391 static char *f (char * (*g) (char **, int), char **p, ...)
3396 s = g (p, va_arg (v,int));
3401 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3402 function prototypes and stuff, but not '\xHH' hex character constants.
3403 These don't provoke an error unfortunately, instead are silently treated
3404 as 'x'. The following induces an error, until -std is added to get
3405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3406 array size at least. It's necessary to write '\x00'==0 to get something
3407 that's true only with -std. */
3408 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3410 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3411 inside strings and character constants. */
3413 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3415 int test (int i, double x);
3416 struct s1 {int (*f) (int a);};
3417 struct s2 {int (*f) (double a);};
3418 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3424 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3429 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3432 CC="$ac_save_CC $ac_arg"
3433 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_cv_prog_cc_c89=$ac_arg
3436 rm -f core conftest.err conftest.$ac_objext
3437 test "x$ac_cv_prog_cc_c89" != "xno" && break
3439 rm -f conftest.$ac_ext
3444 case "x$ac_cv_prog_cc_c89" in
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3447 $as_echo "none needed" >&6; } ;;
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3450 $as_echo "unsupported" >&6; } ;;
3452 CC="$CC $ac_cv_prog_cc_c89"
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3454 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3456 if test "x$ac_cv_prog_cc_c89" != xno; then :
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3474 # On Suns, sometimes $CPP names a directory.
3475 if test -n "$CPP" && test -d "$CPP"; then
3478 if test -z "$CPP"; then
3479 if ${ac_cv_prog_CPP+:} false; then :
3480 $as_echo_n "(cached) " >&6
3482 # Double quotes because CPP needs to be expanded
3483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3486 for ac_c_preproc_warn_flag in '' yes
3488 # Use a header file that comes with gcc, so configuring glibc
3489 # with a fresh cross-compiler works.
3490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3491 # <limits.h> exists even on freestanding compilers.
3492 # On the NeXT, cc -E runs the code through the compiler's parser,
3493 # not just through cpp. "Syntax error" is here to catch this case.
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3497 # include <limits.h>
3499 # include <assert.h>
3503 if ac_fn_c_try_cpp "$LINENO"; then :
3506 # Broken: fails on valid input.
3509 rm -f conftest.err conftest.i conftest.$ac_ext
3511 # OK, works on sane cases. Now check whether nonexistent headers
3512 # can be detected and how.
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3515 #include <ac_nonexistent.h>
3517 if ac_fn_c_try_cpp "$LINENO"; then :
3518 # Broken: success on invalid input.
3521 # Passes both tests.
3525 rm -f conftest.err conftest.i conftest.$ac_ext
3528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3529 rm -f conftest.i conftest.err conftest.
$ac_ext
3530 if $ac_preproc_ok; then :
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3543 $as_echo "$CPP" >&6; }
3545 for ac_c_preproc_warn_flag
in '' yes
3547 # Use a header file that comes with gcc, so configuring glibc
3548 # with a fresh cross-compiler works.
3549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3550 # <limits.h> exists even on freestanding compilers.
3551 # On the NeXT, cc -E runs the code through the compiler's parser,
3552 # not just through cpp. "Syntax error" is here to catch this case.
3553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3556 # include <limits.h>
3558 # include <assert.h>
3562 if ac_fn_c_try_cpp
"$LINENO"; then :
3565 # Broken: fails on valid input.
3568 rm -f conftest.err conftest.i conftest.
$ac_ext
3570 # OK, works on sane cases. Now check whether nonexistent headers
3571 # can be detected and how.
3572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574 #include <ac_nonexistent.h>
3576 if ac_fn_c_try_cpp
"$LINENO"; then :
3577 # Broken: success on invalid input.
3580 # Passes both tests.
3584 rm -f conftest.err conftest.i conftest.
$ac_ext
3587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3588 rm -f conftest.i conftest.err conftest.
$ac_ext
3589 if $ac_preproc_ok; then :
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3595 See \`config.log' for more details" "$LINENO" 5; }
3599 ac_cpp
='$CPP $CPPFLAGS'
3600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3607 if ${ac_cv_path_GREP+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -z "$GREP"; then
3611 ac_path_GREP_found
=false
3612 # Loop through the user's path and test for each of PROGNAME-LIST
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3614 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_prog
in grep ggrep
; do
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3621 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3622 # Check for GNU ac_path_GREP and select it if it is found.
3623 # Check for GNU $ac_path_GREP
3624 case `"$ac_path_GREP" --version 2>&1` in
3626 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3629 $as_echo_n 0123456789 >"conftest.in"
3632 cat "conftest.in" "conftest.in" >"conftest.tmp"
3633 mv "conftest.tmp" "conftest.in"
3634 cp "conftest.in" "conftest.nl"
3635 $as_echo 'GREP' >> "conftest.nl"
3636 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3637 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3638 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3639 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3640 # Best one so far, save it but keep looking for a better one
3641 ac_cv_path_GREP
="$ac_path_GREP"
3642 ac_path_GREP_max
=$ac_count
3644 # 10*(2^10) chars as input seems more than enough
3645 test $ac_count -gt 10 && break
3647 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3650 $ac_path_GREP_found && break 3
3655 if test -z "$ac_cv_path_GREP"; then
3656 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3659 ac_cv_path_GREP
=$GREP
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3664 $as_echo "$ac_cv_path_GREP" >&6; }
3665 GREP
="$ac_cv_path_GREP"
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3669 $as_echo_n "checking for egrep... " >&6; }
3670 if ${ac_cv_path_EGREP+:} false
; then :
3671 $as_echo_n "(cached) " >&6
3673 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3674 then ac_cv_path_EGREP
="$GREP -E"
3676 if test -z "$EGREP"; then
3677 ac_path_EGREP_found
=false
3678 # Loop through the user's path and test for each of PROGNAME-LIST
3679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3683 test -z "$as_dir" && as_dir
=.
3684 for ac_prog
in egrep; do
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3687 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3688 # Check for GNU ac_path_EGREP and select it if it is found.
3689 # Check for GNU $ac_path_EGREP
3690 case `"$ac_path_EGREP" --version 2>&1` in
3692 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3695 $as_echo_n 0123456789 >"conftest.in"
3698 cat "conftest.in" "conftest.in" >"conftest.tmp"
3699 mv "conftest.tmp" "conftest.in"
3700 cp "conftest.in" "conftest.nl"
3701 $as_echo 'EGREP' >> "conftest.nl"
3702 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3703 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3704 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3705 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3706 # Best one so far, save it but keep looking for a better one
3707 ac_cv_path_EGREP
="$ac_path_EGREP"
3708 ac_path_EGREP_max
=$ac_count
3710 # 10*(2^10) chars as input seems more than enough
3711 test $ac_count -gt 10 && break
3713 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3716 $ac_path_EGREP_found && break 3
3721 if test -z "$ac_cv_path_EGREP"; then
3722 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3725 ac_cv_path_EGREP
=$EGREP
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3731 $as_echo "$ac_cv_path_EGREP" >&6; }
3732 EGREP
="$ac_cv_path_EGREP"
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3736 $as_echo_n "checking for ANSI C header files... " >&6; }
3737 if ${ac_cv_header_stdc+:} false
; then :
3738 $as_echo_n "(cached) " >&6
3740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3755 if ac_fn_c_try_compile
"$LINENO"; then :
3756 ac_cv_header_stdc
=yes
3758 ac_cv_header_stdc
=no
3760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3762 if test $ac_cv_header_stdc = yes; then
3763 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3770 $EGREP "memchr" >/dev
/null
2>&1; then :
3773 ac_cv_header_stdc
=no
3779 if test $ac_cv_header_stdc = yes; then
3780 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3787 $EGREP "free" >/dev
/null
2>&1; then :
3790 ac_cv_header_stdc
=no
3796 if test $ac_cv_header_stdc = yes; then
3797 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3798 if test "$cross_compiling" = yes; then :
3801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3805 #if ((' ' & 0x0FF) == 0x020)
3806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3807 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3809 # define ISLOWER(c) \
3810 (('a' <= (c) && (c) <= 'i') \
3811 || ('j' <= (c) && (c) <= 'r') \
3812 || ('s' <= (c) && (c) <= 'z'))
3813 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3816 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3821 for (i = 0; i < 256; i++)
3822 if (XOR (islower (i), ISLOWER (i))
3823 || toupper (i) != TOUPPER (i))
3828 if ac_fn_c_try_run
"$LINENO"; then :
3831 ac_cv_header_stdc
=no
3833 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3834 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3840 $as_echo "$ac_cv_header_stdc" >&6; }
3841 if test $ac_cv_header_stdc = yes; then
3843 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3847 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3848 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3849 inttypes.h stdint.h unistd.h
3851 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3852 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3854 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3855 cat >>confdefs.h
<<_ACEOF
3856 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3865 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3866 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3873 if test "$MINIX" = yes; then
3875 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3878 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3881 $as_echo "#define _MINIX 1" >>confdefs.h
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3887 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3888 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3889 $as_echo_n "(cached) " >&6
3891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3894 # define __EXTENSIONS__ 1
3895 $ac_includes_default
3904 if ac_fn_c_try_compile
"$LINENO"; then :
3905 ac_cv_safe_to_define___extensions__
=yes
3907 ac_cv_safe_to_define___extensions__
=no
3909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3912 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3913 test $ac_cv_safe_to_define___extensions__ = yes &&
3914 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3916 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3918 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3920 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3922 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3928 cat >>confdefs.h
<<_ACEOF
3929 #define CANONICAL_TARGET "$target"
3933 cat >>confdefs.h
<<_ACEOF
3934 #define CANONICAL_HOST "$host"
3938 am__api_version
='1.11'
3940 # Find a good install program. We prefer a C program (faster),
3941 # so one script is as good as another. But avoid the broken or
3942 # incompatible versions:
3943 # SysV /etc/install, /usr/sbin/install
3944 # SunOS /usr/etc/install
3945 # IRIX /sbin/install
3947 # AmigaOS /C/install, which installs bootblocks on floppy discs
3948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3951 # OS/2's system install, which has a completely different semantic
3952 # ./install, which can be erroneously created by make from ./install.sh.
3953 # Reject install programs that cannot install multiple files.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3955 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3956 if test -z "$INSTALL"; then
3957 if ${ac_cv_path_install+:} false
; then :
3958 $as_echo_n "(cached) " >&6
3960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir
=.
3965 # Account for people who put trailing slashes in PATH elements.
3966 case $as_dir/ in #((
3967 .
/ | .
// |
/[cC
]/* | \
3968 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3969 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3972 # OSF1 and SCO ODT 3.0 have their own names for install.
3973 # Don't use installbsd from OSF since it installs stuff as root
3975 for ac_prog
in ginstall scoinst
install; do
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3978 if test $ac_prog = install &&
3979 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3980 # AIX install. It has an incompatible calling convention.
3982 elif test $ac_prog = install &&
3983 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3984 # program-specific install script used by HP pwplus--don't use.
3987 rm -rf conftest.one conftest.two conftest.dir
3988 echo one
> conftest.one
3989 echo two
> conftest.two
3991 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3992 test -s conftest.one
&& test -s conftest.two
&&
3993 test -s conftest.dir
/conftest.one
&&
3994 test -s conftest.dir
/conftest.two
3996 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4009 rm -rf conftest.one conftest.two conftest.dir
4012 if test "${ac_cv_path_install+set}" = set; then
4013 INSTALL
=$ac_cv_path_install
4015 # As a last resort, use the slow shell script. Don't cache a
4016 # value for INSTALL within a source directory, because that will
4017 # break other packages using the cache if that directory is
4018 # removed, or if the value is a relative name.
4019 INSTALL
=$ac_install_sh
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4023 $as_echo "$INSTALL" >&6; }
4025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4026 # It thinks the first close brace ends the variable substitution.
4027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4031 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4034 $as_echo_n "checking whether build environment is sane... " >&6; }
4037 echo timestamp
> conftest.
file
4038 # Reject unsafe characters in $srcdir or the absolute working directory
4039 # name. Accept space and tab only in the latter.
4043 *[\\\"\
#\$\&\'\`$am_lf]*)
4044 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4047 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4048 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4051 # Do `set' in a subshell so we don't clobber the current shell's
4052 # arguments. Must try -L first in case configure is actually a
4053 # symlink; some systems play weird games with the mod time of symlinks
4054 # (eg FreeBSD returns the mod time of the symlink's containing
4057 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4058 if test "$*" = "X"; then
4060 set X
`ls -t "$srcdir/configure" conftest.file`
4063 if test "$*" != "X $srcdir/configure conftest.file" \
4064 && test "$*" != "X conftest.file $srcdir/configure"; then
4066 # If neither matched, then we have a broken ls. This can happen
4067 # if, for instance, CONFIG_SHELL is bash and it inherits a
4068 # broken ls alias from the environment. This has actually
4069 # happened. Such a system could not be considered "sane".
4070 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4071 alias in your environment" "$LINENO" 5
4074 test "$2" = conftest.
file
4080 as_fn_error $?
"newly created file is older than distributed files!
4081 Check your system clock" "$LINENO" 5
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4084 $as_echo "yes" >&6; }
4085 test "$program_prefix" != NONE
&&
4086 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4087 # Use a double $ so make ignores it.
4088 test "$program_suffix" != NONE
&&
4089 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4090 # Double any \ or $.
4091 # By default was `s,x,x', remove it if useless.
4092 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4093 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4095 # expand $ac_aux_dir to an absolute path
4096 am_aux_dir
=`cd $ac_aux_dir && pwd`
4098 if test x
"${MISSING+set}" != xset
; then
4101 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4103 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4106 # Use eval to expand $SHELL
4107 if eval "$MISSING --run true"; then
4108 am_missing_run
="$MISSING --run "
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4112 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4115 if test x
"${install_sh}" != xset
; then
4118 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4120 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4124 # Installed binaries are usually stripped using `strip' when the user
4125 # run `make install-strip'. However `strip' might not be the right
4126 # tool to use in cross-compilation environments, therefore Automake
4127 # will honor the `STRIP' environment variable to overrule this program.
4128 if test "$cross_compiling" != no
; then
4129 if test -n "$ac_tool_prefix"; then
4130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4131 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if ${ac_cv_prog_STRIP+:} false
; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -n "$STRIP"; then
4138 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4144 test -z "$as_dir" && as_dir
=.
4145 for ac_exec_ext
in '' $ac_executable_extensions; do
4146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4147 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 STRIP
=$ac_cv_prog_STRIP
4158 if test -n "$STRIP"; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4160 $as_echo "$STRIP" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4168 if test -z "$ac_cv_prog_STRIP"; then
4170 # Extract the first word of "strip", so it can be a program name with args.
4171 set dummy strip
; ac_word
=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$ac_ct_STRIP"; then
4178 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_exec_ext
in '' $ac_executable_extensions; do
4186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4187 ac_cv_prog_ac_ct_STRIP
="strip"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4198 if test -n "$ac_ct_STRIP"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4200 $as_echo "$ac_ct_STRIP" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4206 if test "x$ac_ct_STRIP" = x
; then
4209 case $cross_compiling:$ac_tool_warned in
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4213 ac_tool_warned
=yes ;;
4218 STRIP
="$ac_cv_prog_STRIP"
4222 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4225 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4226 if test -z "$MKDIR_P"; then
4227 if ${ac_cv_path_mkdir+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4231 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_prog
in mkdir gmkdir
; do
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4238 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4239 'mkdir (GNU coreutils) '* | \
4240 'mkdir (coreutils) '* | \
4241 'mkdir (fileutils) '4.1*)
4242 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4252 test -d .
/--version && rmdir .
/--version
4253 if test "${ac_cv_path_mkdir+set}" = set; then
4254 MKDIR_P
="$ac_cv_path_mkdir -p"
4256 # As a last resort, use the slow shell script. Don't cache a
4257 # value for MKDIR_P within a source directory, because that will
4258 # break other packages using the cache if that directory is
4259 # removed, or if the value is a relative name.
4260 MKDIR_P
="$ac_install_sh -d"
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4264 $as_echo "$MKDIR_P" >&6; }
4268 [\\/$
]* | ?
:[\\/]*) ;;
4269 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4272 for ac_prog
in gawk mawk nawk
awk
4274 # Extract the first word of "$ac_prog", so it can be a program name with args.
4275 set dummy
$ac_prog; ac_word
=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if ${ac_cv_prog_AWK+:} false
; then :
4279 $as_echo_n "(cached) " >&6
4281 if test -n "$AWK"; then
4282 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4288 test -z "$as_dir" && as_dir
=.
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4291 ac_cv_prog_AWK
="$ac_prog"
4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 if test -n "$AWK"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4304 $as_echo "$AWK" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4311 test -n "$AWK" && break
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4317 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4318 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4319 $as_echo_n "(cached) " >&6
4321 cat >conftest.
make <<\_ACEOF
4324 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4326 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4329 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4331 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4335 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4337 $as_echo "yes" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4342 SET_MAKE
="MAKE=${MAKE-make}"
4345 rm -rf .tst
2>/dev
/null
4346 mkdir .tst
2>/dev
/null
4347 if test -d .tst
; then
4352 rmdir .tst
2>/dev
/null
4354 DEPDIR
="${am__leading_dot}deps"
4356 ac_config_commands
="$ac_config_commands depfiles"
4359 am_make
=${MAKE-make}
4360 cat > confinc
<< 'END'
4362 @
echo this is the am__doit target
4365 # If we don't find an include directive, just comment out the code.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4367 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4371 # First try GNU make style include.
4372 echo "include confinc" > confmf
4373 # Ignore all kinds of additional output from `make'.
4374 case `$am_make -s -f confmf 2> /dev/null` in #(
4375 *the\ am__doit\ target
*)
4381 # Now try BSD make style include.
4382 if test "$am__include" = "#"; then
4383 echo '.include "confinc"' > confmf
4384 case `$am_make -s -f confmf 2> /dev/null` in #(
4385 *the\ am__doit\ target
*)
4386 am__include
=.include
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4395 $as_echo "$_am_result" >&6; }
4396 rm -f confinc confmf
4398 # Check whether --enable-dependency-tracking was given.
4399 if test "${enable_dependency_tracking+set}" = set; then :
4400 enableval
=$enable_dependency_tracking;
4403 if test "x$enable_dependency_tracking" != xno
; then
4404 am_depcomp
="$ac_aux_dir/depcomp"
4407 if test "x$enable_dependency_tracking" != xno; then
4416 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4417 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4418 # is not polluted with repeated "-I."
4419 am__isrc
=' -I$(srcdir)'
4420 # test to see if srcdir already configured
4421 if test -f $srcdir/config.status
; then
4422 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4426 # test whether we have cygpath
4427 if test -z "$CYGPATH_W"; then
4428 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4429 CYGPATH_W
='cygpath -w'
4436 # Define the identity of the package.
4441 cat >>confdefs.h
<<_ACEOF
4442 #define PACKAGE "$PACKAGE"
4446 cat >>confdefs.h
<<_ACEOF
4447 #define VERSION "$VERSION"
4450 # Some tools Automake needs.
4452 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4455 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4458 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4461 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4464 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4466 # We need awk for the "check" target. The system "awk" is bad on
4468 # Always define AMTAR for backward compatibility.
4470 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4472 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4477 depcc
="$CC" am_compiler_list
=
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4480 $as_echo_n "checking dependency style of $depcc... " >&6; }
4481 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4485 # We make a subdir and do the tests there. Otherwise we can end up
4486 # making bogus files that we don't know about and never remove. For
4487 # instance it was reported that on HP-UX the gcc test will end up
4488 # making a dummy file named `D' -- because `-MD' means `put the output
4491 # Copy depcomp to subdir because otherwise we won't find it if we're
4492 # using a relative directory.
4493 cp "$am_depcomp" conftest.dir
4495 # We will build objects and dependencies in a subdirectory because
4496 # it helps to detect inapplicable dependency modes. For instance
4497 # both Tru64's cc and ICC support -MD to output dependencies as a
4498 # side effect of compilation, but ICC will put the dependencies in
4499 # the current directory while Tru64 will put them in the object
4503 am_cv_CC_dependencies_compiler_type
=none
4504 if test "$am_compiler_list" = ""; then
4505 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4508 case " $depcc " in #(
4509 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4512 for depmode
in $am_compiler_list; do
4513 # Setup a source with many dependencies, because some compilers
4514 # like to wrap large dependency lists on column 80 (with \), and
4515 # we should not choose a depcomp mode which is confused by this.
4517 # We need to recreate these files for each test, as the compiler may
4518 # overwrite some of them when testing with obscure command lines.
4519 # This happens at least with the AIX C compiler.
4521 for i
in 1 2 3 4 5 6; do
4522 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4524 # Solaris 8's {/usr,}/bin/sh.
4525 touch sub
/conftst
$i.h
4527 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4529 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4530 # mode. It turns out that the SunPro C++ compiler does not properly
4531 # handle `-M -o', and we need to detect this. Also, some Intel
4532 # versions had trouble with output in subdirs
4533 am__obj
=sub
/conftest.
${OBJEXT-o}
4534 am__minus_obj
="-o $am__obj"
4537 # This depmode causes a compiler race in universal mode.
4538 test "$am__universal" = false ||
continue
4541 # after this tag, mechanisms are not by side-effect, so they'll
4542 # only be used when explicitly requested
4543 if test "x$enable_dependency_tracking" = xyes
; then
4549 msvisualcpp | msvcmsys
)
4550 # This compiler won't grok `-c -o', but also, the minuso test has
4551 # not run yet. These depmodes are late enough in the game, and
4552 # so weak that their functioning should not be impacted.
4553 am__obj
=conftest.
${OBJEXT-o}
4558 if depmode
=$depmode \
4559 source=sub
/conftest.c object
=$am__obj \
4560 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4561 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4562 >/dev
/null
2>conftest.err
&&
4563 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4564 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4565 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4566 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4567 # icc doesn't choke on unknown options, it will just issue warnings
4568 # or remarks (even with -Werror). So we grep stderr for any message
4569 # that says an option was ignored or not supported.
4570 # When given -MP, icc 7.0 and 7.1 complain thusly:
4571 # icc: Command line warning: ignoring option '-M'; no argument required
4572 # The diagnosis changed in icc 8.0:
4573 # icc: Command line remark: option '-MP' not supported
4574 if (grep 'ignoring option' conftest.err ||
4575 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4576 am_cv_CC_dependencies_compiler_type
=$depmode
4585 am_cv_CC_dependencies_compiler_type
=none
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4590 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4591 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4594 test "x$enable_dependency_tracking" != xno \
4595 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4597 am__fastdepCC_FALSE
='#'
4599 am__fastdepCC_TRUE
='#'
4600 am__fastdepCC_FALSE
=
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4609 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4615 macro_revision
='1.3293'
4629 ltmain
="$ac_aux_dir/ltmain.sh"
4631 # Backslashify metacharacters that are still active within
4632 # double-quoted strings.
4633 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4635 # Same as above, but do not quote variable references.
4636 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4638 # Sed substitution to delay expansion of an escaped shell variable in a
4639 # double_quote_subst'ed string.
4640 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4642 # Sed substitution to delay expansion of an escaped single quote.
4643 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4645 # Sed substitution to avoid accidental globbing in evaled expressions
4646 no_glob_subst
='s/\*/\\\*/g'
4648 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4649 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4650 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4653 $as_echo_n "checking how to print strings... " >&6; }
4654 # Test print first, because it will be a builtin if present.
4655 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4656 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4658 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4661 # Use this function as a fallback that always works.
4662 func_fallback_echo ()
4664 eval 'cat <<_LTECHO_EOF
4668 ECHO='func_fallback_echo
'
4671 # func_echo_all arg...
4672 # Invoke $ECHO with all args, space-separated.
4679 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4680 $as_echo "printf" >&6; } ;;
4681 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4682 $as_echo "print -r" >&6; } ;;
4683 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4684 $as_echo "cat" >&6; } ;;
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4701 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4702 if ${ac_cv_path_SED+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4706 for ac_i in 1 2 3 4 5 6 7; do
4707 ac_script="$ac_script$as_nl$ac_script"
4709 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4710 { ac_script=; unset ac_script;}
4711 if test -z "$SED"; then
4712 ac_path_SED_found=false
4713 # Loop through the user's path and
test for each of PROGNAME-LIST
4714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir
=.
4719 for ac_prog
in sed gsed
; do
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4722 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4723 # Check for GNU ac_path_SED and select it if it is found.
4724 # Check for GNU $ac_path_SED
4725 case `"$ac_path_SED" --version 2>&1` in
4727 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4730 $as_echo_n 0123456789 >"conftest.in"
4733 cat "conftest.in" "conftest.in" >"conftest.tmp"
4734 mv "conftest.tmp" "conftest.in"
4735 cp "conftest.in" "conftest.nl"
4736 $as_echo '' >> "conftest.nl"
4737 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4738 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4739 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4740 if test $ac_count -gt ${ac_path_SED_max-0}; then
4741 # Best one so far, save it but keep looking for a better one
4742 ac_cv_path_SED
="$ac_path_SED"
4743 ac_path_SED_max
=$ac_count
4745 # 10*(2^10) chars as input seems more than enough
4746 test $ac_count -gt 10 && break
4748 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4751 $ac_path_SED_found && break 3
4756 if test -z "$ac_cv_path_SED"; then
4757 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4765 $as_echo "$ac_cv_path_SED" >&6; }
4766 SED
="$ac_cv_path_SED"
4769 test -z "$SED" && SED
=sed
4770 Xsed
="$SED -e 1s/^X//"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4783 $as_echo_n "checking for fgrep... " >&6; }
4784 if ${ac_cv_path_FGREP+:} false
; then :
4785 $as_echo_n "(cached) " >&6
4787 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4788 then ac_cv_path_FGREP
="$GREP -F"
4790 if test -z "$FGREP"; then
4791 ac_path_FGREP_found
=false
4792 # Loop through the user's path and test for each of PROGNAME-LIST
4793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4794 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4797 test -z "$as_dir" && as_dir
=.
4798 for ac_prog
in fgrep
; do
4799 for ac_exec_ext
in '' $ac_executable_extensions; do
4800 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4801 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4802 # Check for GNU ac_path_FGREP and select it if it is found.
4803 # Check for GNU $ac_path_FGREP
4804 case `"$ac_path_FGREP" --version 2>&1` in
4806 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4809 $as_echo_n 0123456789 >"conftest.in"
4812 cat "conftest.in" "conftest.in" >"conftest.tmp"
4813 mv "conftest.tmp" "conftest.in"
4814 cp "conftest.in" "conftest.nl"
4815 $as_echo 'FGREP' >> "conftest.nl"
4816 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4817 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4818 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4819 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4820 # Best one so far, save it but keep looking for a better one
4821 ac_cv_path_FGREP
="$ac_path_FGREP"
4822 ac_path_FGREP_max
=$ac_count
4824 # 10*(2^10) chars as input seems more than enough
4825 test $ac_count -gt 10 && break
4827 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4830 $ac_path_FGREP_found && break 3
4835 if test -z "$ac_cv_path_FGREP"; then
4836 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4839 ac_cv_path_FGREP
=$FGREP
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4845 $as_echo "$ac_cv_path_FGREP" >&6; }
4846 FGREP
="$ac_cv_path_FGREP"
4849 test -z "$GREP" && GREP
=grep
4869 # Check whether --with-gnu-ld was given.
4870 if test "${with_gnu_ld+set}" = set; then :
4871 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4877 if test "$GCC" = yes; then
4878 # Check if gcc -print-prog-name=ld gives a path.
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4880 $as_echo_n "checking for ld used by $CC... " >&6; }
4883 # gcc leaves a trailing carriage return which upsets mingw
4884 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4886 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4889 # Accept absolute paths.
4891 re_direlt
='/[^/][^/]*/\.\./'
4892 # Canonicalize the pathname of ld
4893 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4894 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4895 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4897 test -z "$LD" && LD
="$ac_prog"
4900 # If it fails, then pretend we aren't using GCC.
4904 # If it is relative, then search for the first ld in PATH.
4908 elif test "$with_gnu_ld" = yes; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4910 $as_echo_n "checking for GNU ld... " >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4913 $as_echo_n "checking for non-GNU ld... " >&6; }
4915 if ${lt_cv_path_LD+:} false
; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -z "$LD"; then
4919 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4920 for ac_dir
in $PATH; do
4922 test -z "$ac_dir" && ac_dir
=.
4923 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4924 lt_cv_path_LD
="$ac_dir/$ac_prog"
4925 # Check to see if the program is GNU ld. I'd rather use --version,
4926 # but apparently some variants of GNU ld only accept -v.
4927 # Break only if it was the GNU/non-GNU ld that we prefer.
4928 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4929 *GNU
* |
*'with BFD'*)
4930 test "$with_gnu_ld" != no
&& break
4933 test "$with_gnu_ld" != yes && break
4940 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4945 if test -n "$LD"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4947 $as_echo "$LD" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4952 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4954 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4955 if ${lt_cv_prog_gnu_ld+:} false
; then :
4956 $as_echo_n "(cached) " >&6
4958 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4959 case `$LD -v 2>&1 </dev/null` in
4960 *GNU
* |
*'with BFD'*)
4961 lt_cv_prog_gnu_ld
=yes
4964 lt_cv_prog_gnu_ld
=no
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4969 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4970 with_gnu_ld
=$lt_cv_prog_gnu_ld
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4981 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4982 if ${lt_cv_path_NM+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$NM"; then
4986 # Let the user override the test.
4989 lt_nm_to_check
="${ac_tool_prefix}nm"
4990 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4991 lt_nm_to_check
="$lt_nm_to_check nm"
4993 for lt_tmp_nm
in $lt_nm_to_check; do
4994 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4995 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4997 test -z "$ac_dir" && ac_dir
=.
4998 tmp_nm
="$ac_dir/$lt_tmp_nm"
4999 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5000 # Check to see if the nm accepts a BSD-compat flag.
5001 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5002 # nm: unknown option "B" ignored
5003 # Tru64's nm complains that /dev/null is an invalid object file
5004 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5005 */dev
/null
* |
*'Invalid file or object type'*)
5006 lt_cv_path_NM
="$tmp_nm -B"
5010 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5012 lt_cv_path_NM
="$tmp_nm -p"
5016 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5017 continue # so that we can try to find one that supports BSD flags
5026 : ${lt_cv_path_NM=no}
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5030 $as_echo "$lt_cv_path_NM" >&6; }
5031 if test "$lt_cv_path_NM" != "no"; then
5034 # Didn't find any BSD compatible name lister, look for dumpbin.
5035 if test -n "$DUMPBIN"; then :
5036 # Let the user override the test.
5038 if test -n "$ac_tool_prefix"; then
5039 for ac_prog
in dumpbin
"link -dump"
5041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5042 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$DUMPBIN"; then
5049 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 DUMPBIN
=$ac_cv_prog_DUMPBIN
5069 if test -n "$DUMPBIN"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5071 $as_echo "$DUMPBIN" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 test -n "$DUMPBIN" && break
5081 if test -z "$DUMPBIN"; then
5082 ac_ct_DUMPBIN
=$DUMPBIN
5083 for ac_prog
in dumpbin
"link -dump"
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy
$ac_prog; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$ac_ct_DUMPBIN"; then
5093 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5102 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5113 if test -n "$ac_ct_DUMPBIN"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5115 $as_echo "$ac_ct_DUMPBIN" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$ac_ct_DUMPBIN" && break
5125 if test "x$ac_ct_DUMPBIN" = x
; then
5128 case $cross_compiling:$ac_tool_warned in
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned
=yes ;;
5134 DUMPBIN
=$ac_ct_DUMPBIN
5138 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5140 DUMPBIN
="$DUMPBIN -symbols"
5148 if test "$DUMPBIN" != ":"; then
5152 test -z "$NM" && NM
=nm
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5160 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5161 if ${lt_cv_nm_interface+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 lt_cv_nm_interface
="BSD nm"
5165 echo "int some_variable = 0;" > conftest.
$ac_ext
5166 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5167 (eval "$ac_compile" 2>conftest.err
)
5168 cat conftest.err
>&5
5169 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5170 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5171 cat conftest.err
>&5
5172 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5173 cat conftest.out
>&5
5174 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5175 lt_cv_nm_interface
="MS dumpbin"
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5180 $as_echo "$lt_cv_nm_interface" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5183 $as_echo_n "checking whether ln -s works... " >&6; }
5185 if test "$LN_S" = "ln -s"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5187 $as_echo "yes" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5190 $as_echo "no, using $LN_S" >&6; }
5193 # find the maximum length of command line arguments
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5195 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5196 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5197 $as_echo_n "(cached) " >&6
5204 # On DJGPP, this test can blow up pretty badly due to problems in libc
5205 # (any single argument exceeding 2000 bytes causes a buffer overrun
5206 # during glob expansion). Even if it were fixed, the result of this
5207 # check would be larger than it should be.
5208 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5212 # Under GNU Hurd, this test is not required because there is
5213 # no limit to the length of command line arguments.
5214 # Libtool will interpret -1 as no limit whatsoever
5215 lt_cv_sys_max_cmd_len
=-1;
5218 cygwin
* | mingw
* | cegcc
*)
5219 # On Win9x/ME, this test blows up -- it succeeds, but takes
5220 # about 5 minutes as the teststring grows exponentially.
5221 # Worse, since 9x/ME are not pre-emptively multitasking,
5222 # you end up with a "frozen" computer, even though with patience
5223 # the test eventually succeeds (with a max line length of 256k).
5224 # Instead, let's just punt: use the minimum linelength reported by
5225 # all of the supported platforms: 8192 (on NT/2K/XP).
5226 lt_cv_sys_max_cmd_len
=8192;
5230 # On MiNT this can take a long time and run out of memory.
5231 lt_cv_sys_max_cmd_len
=8192;
5235 # On AmigaOS with pdksh, this test takes hours, literally.
5236 # So we just punt and use a minimum line length of 8192.
5237 lt_cv_sys_max_cmd_len
=8192;
5240 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5241 # This has been around since 386BSD, at least. Likely further.
5242 if test -x /sbin
/sysctl
; then
5243 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5244 elif test -x /usr
/sbin
/sysctl
; then
5245 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5247 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5249 # And add a safety zone
5250 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5251 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5255 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5256 lt_cv_sys_max_cmd_len
=196608
5260 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5261 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5262 # nice to cause kernel panics so lets avoid the loop below.
5263 # First set a reasonable default.
5264 lt_cv_sys_max_cmd_len
=16384
5266 if test -x /sbin
/sysconfig
; then
5267 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5268 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5273 lt_cv_sys_max_cmd_len
=102400
5275 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5276 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5277 if test -n "$kargmax"; then
5278 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5280 lt_cv_sys_max_cmd_len
=32768
5284 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5285 if test -n "$lt_cv_sys_max_cmd_len"; then
5286 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5287 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5289 # Make teststring a little bigger before we do anything with it.
5290 # a 1K string should be a reasonable start.
5291 for i
in 1 2 3 4 5 6 7 8 ; do
5292 teststring
=$teststring$teststring
5294 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5295 # If test is not a shell built-in, we'll probably end up computing a
5296 # maximum length that is only half of the actual maximum length, but
5298 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5299 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5300 test $i != 17 # 1/2 MB should be enough
5303 teststring
=$teststring$teststring
5305 # Only check the string length outside the loop.
5306 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5308 # Add a significant safety factor because C++ compilers can tack on
5309 # massive amounts of additional arguments before passing them to the
5310 # linker. It appears as though 1/2 is a usable value.
5311 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5318 if test -n $lt_cv_sys_max_cmd_len ; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5320 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5323 $as_echo "none" >&6; }
5325 max_cmd_len
=$lt_cv_sys_max_cmd_len
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5337 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5338 # Try some XSI features
5341 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5343 && eval 'test $(( 1 + 1 )) -eq 2 \
5344 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5347 $as_echo "$xsi_shell" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5351 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5353 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5355 && lt_shell_append=yes
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5357 $as_echo "$lt_shell_append" >&6; }
5360 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5370 # test EBCDIC or ASCII
5371 case `echo X|tr X '\101'` in
5372 A) # ASCII based system
5373 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5374 lt_SP2NL='tr \040 \012'
5375 lt_NL2SP='tr \015\012 \040\040'
5377 *) # EBCDIC based system
5378 lt_SP2NL='tr \100 \n'
5379 lt_NL2SP='tr \r\n \100\100'
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5392 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5393 if ${lt_cv_to_host_file_cmd+:} false; then :
5394 $as_echo_n "(cached
) " >&6
5399 *-*-mingw* ) # actually msys
5400 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5403 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5405 * ) # otherwise, assume *nix
5406 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5412 *-*-mingw* ) # actually msys
5413 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5416 lt_cv_to_host_file_cmd=func_convert_file_noop
5418 * ) # otherwise, assume *nix
5419 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5423 * ) # unhandled hosts (and "normal
" native builds)
5424 lt_cv_to_host_file_cmd=func_convert_file_noop
5430 to_host_file_cmd=$lt_cv_to_host_file_cmd
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5432 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5439 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5440 if ${lt_cv_to_tool_file_cmd+:} false; then :
5441 $as_echo_n "(cached
) " >&6
5443 #assume ordinary cross tools, or native build.
5444 lt_cv_to_tool_file_cmd=func_convert_file_noop
5448 *-*-mingw* ) # actually msys
5449 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5457 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5459 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5466 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5467 if ${lt_cv_ld_reload_flag+:} false; then :
5468 $as_echo_n "(cached
) " >&6
5470 lt_cv_ld_reload_flag='-r'
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5473 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5474 reload_flag=$lt_cv_ld_reload_flag
5475 case $reload_flag in
5477 *) reload_flag=" $reload_flag" ;;
5479 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5481 cygwin* | mingw* | pw32* | cegcc*)
5482 if test "$GCC" != yes; then
5487 if test "$GCC" = yes; then
5488 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5490 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5503 if test -n "$ac_tool_prefix"; then
5504 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5505 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5507 $as_echo_n "checking
for $ac_word...
" >&6; }
5508 if ${ac_cv_prog_OBJDUMP+:} false; then :
5509 $as_echo_n "(cached
) " >&6
5511 if test -n "$OBJDUMP"; then
5512 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5521 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5531 OBJDUMP=$ac_cv_prog_OBJDUMP
5532 if test -n "$OBJDUMP"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5534 $as_echo "$OBJDUMP" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5537 $as_echo "no
" >&6; }
5542 if test -z "$ac_cv_prog_OBJDUMP"; then
5543 ac_ct_OBJDUMP=$OBJDUMP
5544 # Extract the first word of "objdump
", so it can be a program name with args.
5545 set dummy objdump; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5547 $as_echo_n "checking
for $ac_word...
" >&6; }
5548 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5549 $as_echo_n "(cached
) " >&6
5551 if test -n "$ac_ct_OBJDUMP"; then
5552 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5561 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5571 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5572 if test -n "$ac_ct_OBJDUMP"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5574 $as_echo "$ac_ct_OBJDUMP" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5577 $as_echo "no
" >&6; }
5580 if test "x
$ac_ct_OBJDUMP" = x; then
5583 case $cross_compiling:$ac_tool_warned in
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5586 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5587 ac_tool_warned=yes ;;
5589 OBJDUMP=$ac_ct_OBJDUMP
5592 OBJDUMP="$ac_cv_prog_OBJDUMP"
5595 test -z "$OBJDUMP" && OBJDUMP=objdump
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5606 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5607 if ${lt_cv_deplibs_check_method+:} false; then :
5608 $as_echo_n "(cached
) " >&6
5610 lt_cv_file_magic_cmd='$MAGIC_CMD'
5611 lt_cv_file_magic_test_file=
5612 lt_cv_deplibs_check_method='unknown'
5613 # Need to set the preceding variable on all platforms that support
5614 # interlibrary dependencies.
5615 # 'none' -- dependencies not supported.
5616 # `unknown' -- same as none, but documents that we really don't know.
5617 # 'pass_all' -- all dependencies passed with no checks.
5618 # 'test_compile' -- check by making test program.
5619 # 'file_magic [[regex]]' -- check by looking for files in library path
5620 # which responds to the $file_magic_cmd with a given extended regex.
5621 # If you have `file' or equivalent on your system and you're not sure
5622 # whether `pass_all' will *always* work, you probably want this one.
5626 lt_cv_deplibs_check_method=pass_all
5630 lt_cv_deplibs_check_method=pass_all
5634 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5635 lt_cv_file_magic_cmd='/usr/bin/file -L'
5636 lt_cv_file_magic_test_file=/shlib/libc.so
5640 # func_win32_libid is a shell function defined in ltmain.sh
5641 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5642 lt_cv_file_magic_cmd='func_win32_libid'
5646 # Base MSYS/MinGW do not provide the 'file' command needed by
5647 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5648 # unless we find 'file', for example because we are cross-compiling.
5649 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5650 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5651 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5652 lt_cv_file_magic_cmd='func_win32_libid'
5654 # Keep this pattern in sync with the one in func_win32_libid.
5655 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5656 lt_cv_file_magic_cmd='$OBJDUMP -f'
5661 # use the weaker test based on 'objdump'. See mingw*.
5662 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5663 lt_cv_file_magic_cmd='$OBJDUMP -f'
5666 darwin* | rhapsody*)
5667 lt_cv_deplibs_check_method=pass_all
5670 freebsd* | dragonfly*)
5671 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5674 # Not sure whether the presence of OpenBSD here was a mistake.
5675 # Let's accept both of them until this is cleared up.
5676 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5677 lt_cv_file_magic_cmd=/usr/bin/file
5678 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5682 lt_cv_deplibs_check_method=pass_all
5687 lt_cv_deplibs_check_method=pass_all
5691 lt_cv_deplibs_check_method=pass_all
5694 hpux10.20* | hpux11*)
5695 lt_cv_file_magic_cmd=/usr/bin/file
5698 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5699 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5702 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5703 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5706 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5707 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5713 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5717 irix5* | irix6* | nonstopux*)
5719 *-32|*"-32 ") libmagic=32-bit;;
5720 *-n32|*"-n32 ") libmagic=N32;;
5721 *-64|*"-64 ") libmagic=64-bit;;
5722 *) libmagic=never-match;;
5724 lt_cv_deplibs_check_method=pass_all
5727 # This must be Linux ELF.
5728 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5729 lt_cv_deplibs_check_method=pass_all
5733 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5741 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5742 lt_cv_file_magic_cmd=/usr/bin/file
5743 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5747 lt_cv_deplibs_check_method=pass_all
5751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5752 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5754 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5758 osf3* | osf4* | osf5*)
5759 lt_cv_deplibs_check_method=pass_all
5763 lt_cv_deplibs_check_method=pass_all
5767 lt_cv_deplibs_check_method=pass_all
5770 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5771 lt_cv_deplibs_check_method=pass_all
5775 case $host_vendor in
5777 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5778 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5781 lt_cv_deplibs_check_method=pass_all
5784 lt_cv_file_magic_cmd='/bin/file'
5785 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5788 lt_cv_file_magic_cmd='/bin/file'
5789 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5790 lt_cv_file_magic_test_file=/lib/libc.so
5793 lt_cv_deplibs_check_method=pass_all
5796 lt_cv_deplibs_check_method=pass_all
5802 lt_cv_deplibs_check_method=pass_all
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5808 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5812 if test "$build" = "$host"; then
5815 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5818 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5824 file_magic_cmd=$lt_cv_file_magic_cmd
5825 deplibs_check_method=$lt_cv_deplibs_check_method
5826 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5849 if test -n "$ac_tool_prefix"; then
5850 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5851 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5853 $as_echo_n "checking
for $ac_word...
" >&6; }
5854 if ${ac_cv_prog_DLLTOOL+:} false; then :
5855 $as_echo_n "(cached
) " >&6
5857 if test -n "$DLLTOOL"; then
5858 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5877 DLLTOOL=$ac_cv_prog_DLLTOOL
5878 if test -n "$DLLTOOL"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5880 $as_echo "$DLLTOOL" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5883 $as_echo "no
" >&6; }
5888 if test -z "$ac_cv_prog_DLLTOOL"; then
5889 ac_ct_DLLTOOL=$DLLTOOL
5890 # Extract the first word of "dlltool
", so it can be a program name with args.
5891 set dummy dlltool; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5893 $as_echo_n "checking
for $ac_word...
" >&6; }
5894 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5895 $as_echo_n "(cached
) " >&6
5897 if test -n "$ac_ct_DLLTOOL"; then
5898 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5918 if test -n "$ac_ct_DLLTOOL"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5920 $as_echo "$ac_ct_DLLTOOL" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5923 $as_echo "no
" >&6; }
5926 if test "x
$ac_ct_DLLTOOL" = x; then
5929 case $cross_compiling:$ac_tool_warned in
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5932 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5933 ac_tool_warned=yes ;;
5935 DLLTOOL=$ac_ct_DLLTOOL
5938 DLLTOOL="$ac_cv_prog_DLLTOOL"
5941 test -z "$DLLTOOL" && DLLTOOL=dlltool
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5953 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5954 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5955 $as_echo_n "(cached
) " >&6
5957 lt_cv_sharedlib_from_linklib_cmd='unknown'
5960 cygwin* | mingw* | pw32* | cegcc*)
5961 # two different shell functions defined in ltmain.sh
5962 # decide which to use based on capabilities of $DLLTOOL
5963 case `$DLLTOOL --help 2>&1` in
5964 *--identify-strict*)
5965 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5968 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5973 # fallback: assume linklib IS sharedlib
5974 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5980 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5981 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5982 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5990 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5996 $as_echo_n "checking
for $ac_word...
" >&6; }
5997 if ${ac_cv_prog_AR+:} false; then :
5998 $as_echo_n "(cached
) " >&6
6000 if test -n "$AR"; then
6001 ac_cv_prog_AR="$AR" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6021 if test -n "$AR"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6023 $as_echo "$AR" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6026 $as_echo "no
" >&6; }
6030 test -n "$AR" && break
6033 if test -z "$AR"; then
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy $ac_prog; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6040 $as_echo_n "checking
for $ac_word...
" >&6; }
6041 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6042 $as_echo_n "(cached
) " >&6
6044 if test -n "$ac_ct_AR"; then
6045 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054 ac_cv_prog_ac_ct_AR="$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6064 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6065 if test -n "$ac_ct_AR"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6067 $as_echo "$ac_ct_AR" >&6; }
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6070 $as_echo "no
" >&6; }
6074 test -n "$ac_ct_AR" && break
6077 if test "x
$ac_ct_AR" = x; then
6080 case $cross_compiling:$ac_tool_warned in
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6083 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6084 ac_tool_warned=yes ;;
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6104 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6105 if ${lt_cv_ar_at_file+:} false; then :
6106 $as_echo_n "(cached
) " >&6
6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6120 if ac_fn_c_try_compile "$LINENO"; then :
6121 echo conftest.$ac_objext > conftest.lst
6122 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6123 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6124 (eval $lt_ar_try) 2>&5
6126 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6127 test $ac_status = 0; }
6128 if test "$ac_status" -eq 0; then
6129 # Ensure the archiver fails upon bogus file names.
6130 rm -f conftest.$ac_objext libconftest.a
6131 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6132 (eval $lt_ar_try) 2>&5
6134 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6135 test $ac_status = 0; }
6136 if test "$ac_status" -ne 0; then
6140 rm -f conftest.* libconftest.a
6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6147 $as_echo "$lt_cv_ar_at_file" >&6; }
6149 if test "x
$lt_cv_ar_at_file" = xno; then
6152 archiver_list_spec=$lt_cv_ar_at_file
6161 if test -n "$ac_tool_prefix"; then
6162 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6163 set dummy ${ac_tool_prefix}strip; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6165 $as_echo_n "checking
for $ac_word...
" >&6; }
6166 if ${ac_cv_prog_STRIP+:} false; then :
6167 $as_echo_n "(cached
) " >&6
6169 if test -n "$STRIP"; then
6170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6189 STRIP=$ac_cv_prog_STRIP
6190 if test -n "$STRIP"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6192 $as_echo "$STRIP" >&6; }
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6195 $as_echo "no
" >&6; }
6200 if test -z "$ac_cv_prog_STRIP"; then
6202 # Extract the first word of "strip
", so it can be a program name with args.
6203 set dummy strip; ac_word=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6205 $as_echo_n "checking
for $ac_word...
" >&6; }
6206 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6207 $as_echo_n "(cached
) " >&6
6209 if test -n "$ac_ct_STRIP"; then
6210 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_ac_ct_STRIP="strip
"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6230 if test -n "$ac_ct_STRIP"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6232 $as_echo "$ac_ct_STRIP" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6235 $as_echo "no
" >&6; }
6238 if test "x
$ac_ct_STRIP" = x; then
6241 case $cross_compiling:$ac_tool_warned in
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6245 ac_tool_warned=yes ;;
6250 STRIP="$ac_cv_prog_STRIP"
6253 test -z "$STRIP" && STRIP=:
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6264 $as_echo_n "checking
for $ac_word...
" >&6; }
6265 if ${ac_cv_prog_RANLIB+:} false; then :
6266 $as_echo_n "(cached
) " >&6
6268 if test -n "$RANLIB"; then
6269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6288 RANLIB=$ac_cv_prog_RANLIB
6289 if test -n "$RANLIB"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6291 $as_echo "$RANLIB" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6294 $as_echo "no
" >&6; }
6299 if test -z "$ac_cv_prog_RANLIB"; then
6300 ac_ct_RANLIB=$RANLIB
6301 # Extract the first word of "ranlib
", so it can be a program name with args.
6302 set dummy ranlib; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6304 $as_echo_n "checking
for $ac_word...
" >&6; }
6305 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6306 $as_echo_n "(cached
) " >&6
6308 if test -n "$ac_ct_RANLIB"; then
6309 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6328 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6329 if test -n "$ac_ct_RANLIB"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6331 $as_echo "$ac_ct_RANLIB" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6334 $as_echo "no
" >&6; }
6337 if test "x
$ac_ct_RANLIB" = x; then
6340 case $cross_compiling:$ac_tool_warned in
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6343 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6344 ac_tool_warned=yes ;;
6346 RANLIB=$ac_ct_RANLIB
6349 RANLIB="$ac_cv_prog_RANLIB"
6352 test -z "$RANLIB" && RANLIB=:
6359 # Determine commands to create old-style static archives.
6360 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6361 old_postinstall_cmds='chmod 644 $oldlib'
6362 old_postuninstall_cmds=
6364 if test -n "$RANLIB"; then
6367 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6370 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6373 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6378 lock_old_archive_extraction=yes ;;
6380 lock_old_archive_extraction=no ;;
6421 # If no C compiler was specified, use CC.
6424 # If no C compiler flags were specified, use CFLAGS.
6425 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6427 # Allow CC to be a program name with arguments.
6431 # Check for command to grab the raw symbol name followed by C symbol from nm.
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6433 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6434 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6435 $as_echo_n "(cached
) " >&6
6438 # These are sane defaults that work on at least a few old systems.
6439 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6441 # Character class describing NM global symbol codes.
6442 symcode='[BCDEGRST]'
6444 # Regexp to match symbols that can be accessed directly from C.
6445 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6447 # Define system-specific variables.
6452 cygwin* | mingw* | pw32* | cegcc*)
6453 symcode='[ABCDGISTW]'
6456 if test "$host_cpu" = ia64; then
6457 symcode='[ABCDEGRST]'
6461 symcode='[BCDEGRST]'
6464 symcode='[BCDEGQRST]'
6475 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6483 # If we're using GNU nm, then use its standard symbol codes.
6484 case `$NM -V 2>&1` in
6485 *GNU* | *'with BFD'*)
6486 symcode='[ABCDGIRSTW]' ;;
6489 # Transform an extracted symbol line into a proper C declaration.
6490 # Some systems (esp. on ia64) link data and code symbols differently,
6491 # so use this general approach.
6492 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6494 # Transform an extracted symbol line into symbol name and symbol address
6495 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6496 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6498 # Handle CRLF in mingw tool chain
6502 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6506 # Try without a prefix underscore, then with it.
6507 for ac_symprfx in "" "_
"; do
6509 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6510 symxfrm="\\1 $ac_symprfx\\2 \\2"
6512 # Write the raw and C identifiers.
6513 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6514 # Fake it for dumpbin and say T for any non-static function
6515 # and D for any global variable.
6516 # Also find C++ and __fastcall symbols from MSVC++,
6517 # which start with @ or ?.
6518 lt_cv_sys_global_symbol_pipe="$AWK '"\
6519 " {last_section=section; section=\$ 3};"\
6520 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6521 " \$ 0!~/External *\|/{next};"\
6522 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6523 " {if(hide[section]) next};"\
6524 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6525 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6526 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6527 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6528 " ' prfx
=^
$ac_symprfx"
6530 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6532 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6534 # Check to see that the pipe works correctly.
6538 cat > conftest.$ac_ext <<_LT_EOF
6543 void nm_test_func(void);
6544 void nm_test_func(void){}
6548 int main(){nm_test_var='a';nm_test_func();return(0);}
6551 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6552 (eval $ac_compile) 2>&5
6554 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6555 test $ac_status = 0; }; then
6556 # Now try to grab the symbols.
6558 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6559 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6561 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6562 test $ac_status = 0; } && test -s "$nlist"; then
6563 # Try sorting and uniquifying the output.
6564 if sort "$nlist" | uniq > "$nlist"T; then
6565 mv -f "$nlist"T "$nlist"
6570 # Make sure that we snagged all the symbols we need.
6571 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6572 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6573 cat <<_LT_EOF > conftest.$ac_ext
6574 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6575 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6576 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6577 relocations are performed -- see ld's documentation on pseudo-relocs. */
6578 # define LT_DLSYM_CONST
6579 #elif defined(__osf__)
6580 /* This system does not cope well with relocations in const data. */
6581 # define LT_DLSYM_CONST
6583 # define LT_DLSYM_CONST const
6591 # Now generate the symbol file.
6592 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6594 cat <<_LT_EOF >> conftest.$ac_ext
6596 /* The mapping between symbol names and symbols. */
6597 LT_DLSYM_CONST struct {
6601 lt__PROGRAM__LTX_preloaded_symbols[] =
6603 { "@PROGRAM@
", (void *) 0 },
6605 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6606 cat <<\_LT_EOF >> conftest.$ac_ext
6610 /* This works around a problem in FreeBSD linker */
6611 #ifdef FREEBSD_WORKAROUND
6612 static const void *lt_preloaded_setup() {
6613 return lt__PROGRAM__LTX_preloaded_symbols;
6621 # Now try linking the two files.
6622 mv conftest.$ac_objext conftstm.$ac_objext
6623 lt_globsym_save_LIBS=$LIBS
6624 lt_globsym_save_CFLAGS=$CFLAGS
6625 LIBS="conftstm.
$ac_objext"
6626 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6627 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6628 (eval $ac_link) 2>&5
6630 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6631 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6634 LIBS=$lt_globsym_save_LIBS
6635 CFLAGS=$lt_globsym_save_CFLAGS
6637 echo "cannot
find nm_test_func
in $nlist" >&5
6640 echo "cannot
find nm_test_var
in $nlist" >&5
6643 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6646 echo "$progname: failed program was
:" >&5
6647 cat conftest.$ac_ext >&5
6649 rm -rf conftest* conftst*
6651 # Do not use the global_symbol_pipe unless it works.
6652 if test "$pipe_works" = yes; then
6655 lt_cv_sys_global_symbol_pipe=
6661 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6662 lt_cv_sys_global_symbol_to_cdecl=
6664 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6666 $as_echo "failed
" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6669 $as_echo "ok
" >&6; }
6672 # Response file support.
6673 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6674 nm_file_list_spec='@'
6675 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6676 nm_file_list_spec='@'
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6706 $as_echo_n "checking
for sysroot...
" >&6; }
6708 # Check whether --with-sysroot was given.
6709 if test "${with_sysroot+set}" = set; then :
6710 withval=$with_sysroot;
6717 case ${with_sysroot} in #(
6719 if test "$GCC" = yes; then
6720 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6724 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6730 $as_echo "${with_sysroot}" >&6; }
6731 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6736 $as_echo "${lt_sysroot:-no}" >&6; }
6742 # Check whether --enable-libtool-lock was given.
6743 if test "${enable_libtool_lock+set}" = set; then :
6744 enableval=$enable_libtool_lock;
6747 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6749 # Some flags need to be propagated to the compiler or linker for good
6753 # Find out which ABI we are using.
6754 echo 'int i;' > conftest.$ac_ext
6755 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6756 (eval $ac_compile) 2>&5
6758 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6759 test $ac_status = 0; }; then
6760 case `/usr/bin/file conftest.$ac_objext` in
6772 # Find out which ABI we are using.
6773 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6774 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775 (eval $ac_compile) 2>&5
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6778 test $ac_status = 0; }; then
6779 if test "$lt_cv_prog_gnu_ld" = yes; then
6780 case `/usr/bin/file conftest.$ac_objext` in
6782 LD="${LD-ld} -melf32bsmip"
6785 LD="${LD-ld} -melf32bmipn32"
6788 LD="${LD-ld} -melf64bmip"
6792 case `/usr/bin/file conftest.$ac_objext` in
6808 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6809 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6810 # Find out which ABI we are using.
6811 echo 'int i;' > conftest.$ac_ext
6812 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6813 (eval $ac_compile) 2>&5
6815 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6816 test $ac_status = 0; }; then
6817 case `/usr/bin/file conftest.o` in
6820 x86_64-*kfreebsd*-gnu)
6821 LD="${LD-ld} -m elf_i386_fbsd
"
6824 LD="${LD-ld} -m elf_i386
"
6826 ppc64-*linux*|powerpc64-*linux*)
6827 LD="${LD-ld} -m elf32ppclinux
"
6830 LD="${LD-ld} -m elf_s390
"
6833 LD="${LD-ld} -m elf32_sparc
"
6839 x86_64-*kfreebsd*-gnu)
6840 LD="${LD-ld} -m elf_x86_64_fbsd
"
6843 LD="${LD-ld} -m elf_x86_64
"
6845 ppc*-*linux*|powerpc*-*linux*)
6846 LD="${LD-ld} -m elf64ppc
"
6848 s390*-*linux*|s390*-*tpf*)
6849 LD="${LD-ld} -m elf64_s390
"
6852 LD="${LD-ld} -m elf64_sparc
"
6862 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6863 SAVE_CFLAGS="$CFLAGS"
6864 CFLAGS="$CFLAGS -belf"
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6866 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6867 if ${lt_cv_cc_needs_belf+:} false; then :
6868 $as_echo_n "(cached
) " >&6
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6887 if ac_fn_c_try_link "$LINENO"; then :
6888 lt_cv_cc_needs_belf=yes
6890 lt_cv_cc_needs_belf=no
6892 rm -f core conftest.err conftest.$ac_objext \
6893 conftest$ac_exeext conftest.$ac_ext
6895 ac_cpp='$CPP $CPPFLAGS'
6896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6902 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6903 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6904 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6905 CFLAGS="$SAVE_CFLAGS"
6909 # Find out which ABI we are using.
6910 echo 'int i;' > conftest.$ac_ext
6911 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6912 (eval $ac_compile) 2>&5
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6915 test $ac_status = 0; }; then
6916 case `/usr/bin/file conftest.o` in
6918 case $lt_cv_prog_gnu_ld in
6919 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6921 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6933 need_locks="$enable_libtool_lock"
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6937 set dummy ${ac_tool_prefix}mt; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6939 $as_echo_n "checking
for $ac_word...
" >&6; }
6940 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6941 $as_echo_n "(cached
) " >&6
6943 if test -n "$MANIFEST_TOOL"; then
6944 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6964 if test -n "$MANIFEST_TOOL"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6966 $as_echo "$MANIFEST_TOOL" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6969 $as_echo "no
" >&6; }
6974 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6975 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6976 # Extract the first word of "mt
", so it can be a program name with args.
6977 set dummy mt; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6979 $as_echo_n "checking
for $ac_word...
" >&6; }
6980 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6981 $as_echo_n "(cached
) " >&6
6983 if test -n "$ac_ct_MANIFEST_TOOL"; then
6984 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7003 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7004 if test -n "$ac_ct_MANIFEST_TOOL"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7006 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7009 $as_echo "no
" >&6; }
7012 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7015 case $cross_compiling:$ac_tool_warned in
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7018 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7019 ac_tool_warned=yes ;;
7021 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7024 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7027 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7029 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7030 if ${lt_cv_path_mainfest_tool+:} false; then :
7031 $as_echo_n "(cached
) " >&6
7033 lt_cv_path_mainfest_tool=no
7034 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7035 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7036 cat conftest.err >&5
7037 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7038 lt_cv_path_mainfest_tool=yes
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7043 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7044 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7054 rhapsody* | darwin*)
7055 if test -n "$ac_tool_prefix"; then
7056 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7057 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7059 $as_echo_n "checking
for $ac_word...
" >&6; }
7060 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7061 $as_echo_n "(cached
) " >&6
7063 if test -n "$DSYMUTIL"; then
7064 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7083 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7084 if test -n "$DSYMUTIL"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7086 $as_echo "$DSYMUTIL" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7089 $as_echo "no
" >&6; }
7094 if test -z "$ac_cv_prog_DSYMUTIL"; then
7095 ac_ct_DSYMUTIL=$DSYMUTIL
7096 # Extract the first word of "dsymutil
", so it can be a program name with args.
7097 set dummy dsymutil; ac_word=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7099 $as_echo_n "checking
for $ac_word...
" >&6; }
7100 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7101 $as_echo_n "(cached
) " >&6
7103 if test -n "$ac_ct_DSYMUTIL"; then
7104 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7123 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7124 if test -n "$ac_ct_DSYMUTIL"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7126 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7129 $as_echo "no
" >&6; }
7132 if test "x
$ac_ct_DSYMUTIL" = x; then
7135 case $cross_compiling:$ac_tool_warned in
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7138 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7139 ac_tool_warned=yes ;;
7141 DSYMUTIL=$ac_ct_DSYMUTIL
7144 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7151 $as_echo_n "checking
for $ac_word...
" >&6; }
7152 if ${ac_cv_prog_NMEDIT+:} false; then :
7153 $as_echo_n "(cached
) " >&6
7155 if test -n "$NMEDIT"; then
7156 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7175 NMEDIT=$ac_cv_prog_NMEDIT
7176 if test -n "$NMEDIT"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7178 $as_echo "$NMEDIT" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7181 $as_echo "no
" >&6; }
7186 if test -z "$ac_cv_prog_NMEDIT"; then
7187 ac_ct_NMEDIT=$NMEDIT
7188 # Extract the first word of "nmedit
", so it can be a program name with args.
7189 set dummy nmedit; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7191 $as_echo_n "checking
for $ac_word...
" >&6; }
7192 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7193 $as_echo_n "(cached
) " >&6
7195 if test -n "$ac_ct_NMEDIT"; then
7196 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7216 if test -n "$ac_ct_NMEDIT"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7218 $as_echo "$ac_ct_NMEDIT" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7221 $as_echo "no
" >&6; }
7224 if test "x
$ac_ct_NMEDIT" = x; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7230 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7231 ac_tool_warned=yes ;;
7233 NMEDIT=$ac_ct_NMEDIT
7236 NMEDIT="$ac_cv_prog_NMEDIT"
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7243 $as_echo_n "checking
for $ac_word...
" >&6; }
7244 if ${ac_cv_prog_LIPO+:} false; then :
7245 $as_echo_n "(cached
) " >&6
7247 if test -n "$LIPO"; then
7248 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7267 LIPO=$ac_cv_prog_LIPO
7268 if test -n "$LIPO"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7270 $as_echo "$LIPO" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7273 $as_echo "no
" >&6; }
7278 if test -z "$ac_cv_prog_LIPO"; then
7280 # Extract the first word of "lipo
", so it can be a program name with args.
7281 set dummy lipo; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7283 $as_echo_n "checking
for $ac_word...
" >&6; }
7284 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7285 $as_echo_n "(cached
) " >&6
7287 if test -n "$ac_ct_LIPO"; then
7288 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_LIPO="lipo
"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7308 if test -n "$ac_ct_LIPO"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7310 $as_echo "$ac_ct_LIPO" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7313 $as_echo "no
" >&6; }
7316 if test "x
$ac_ct_LIPO" = x; then
7319 case $cross_compiling:$ac_tool_warned in
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7322 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7323 ac_tool_warned=yes ;;
7328 LIPO="$ac_cv_prog_LIPO"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}otool; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7335 $as_echo_n "checking
for $ac_word...
" >&6; }
7336 if ${ac_cv_prog_OTOOL+:} false; then :
7337 $as_echo_n "(cached
) " >&6
7339 if test -n "$OTOOL"; then
7340 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7359 OTOOL=$ac_cv_prog_OTOOL
7360 if test -n "$OTOOL"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7362 $as_echo "$OTOOL" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7365 $as_echo "no
" >&6; }
7370 if test -z "$ac_cv_prog_OTOOL"; then
7372 # Extract the first word of "otool
", so it can be a program name with args.
7373 set dummy otool; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7375 $as_echo_n "checking
for $ac_word...
" >&6; }
7376 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7377 $as_echo_n "(cached
) " >&6
7379 if test -n "$ac_ct_OTOOL"; then
7380 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_OTOOL="otool
"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7400 if test -n "$ac_ct_OTOOL"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7402 $as_echo "$ac_ct_OTOOL" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7405 $as_echo "no
" >&6; }
7408 if test "x
$ac_ct_OTOOL" = x; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7414 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7415 ac_tool_warned=yes ;;
7420 OTOOL="$ac_cv_prog_OTOOL"
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7427 $as_echo_n "checking
for $ac_word...
" >&6; }
7428 if ${ac_cv_prog_OTOOL64+:} false; then :
7429 $as_echo_n "(cached
) " >&6
7431 if test -n "$OTOOL64"; then
7432 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7451 OTOOL64=$ac_cv_prog_OTOOL64
7452 if test -n "$OTOOL64"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7454 $as_echo "$OTOOL64" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7457 $as_echo "no
" >&6; }
7462 if test -z "$ac_cv_prog_OTOOL64"; then
7463 ac_ct_OTOOL64=$OTOOL64
7464 # Extract the first word of "otool64
", so it can be a program name with args.
7465 set dummy otool64; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7467 $as_echo_n "checking
for $ac_word...
" >&6; }
7468 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7469 $as_echo_n "(cached
) " >&6
7471 if test -n "$ac_ct_OTOOL64"; then
7472 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7491 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7492 if test -n "$ac_ct_OTOOL64"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7494 $as_echo "$ac_ct_OTOOL64" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7497 $as_echo "no
" >&6; }
7500 if test "x
$ac_ct_OTOOL64" = x; then
7503 case $cross_compiling:$ac_tool_warned in
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7506 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7507 ac_tool_warned=yes ;;
7509 OTOOL64=$ac_ct_OTOOL64
7512 OTOOL64="$ac_cv_prog_OTOOL64"
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7542 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7543 if ${lt_cv_apple_cc_single_mod+:} false; then :
7544 $as_echo_n "(cached
) " >&6
7546 lt_cv_apple_cc_single_mod=no
7547 if test -z "${LT_MULTI_MODULE}"; then
7548 # By default we will add the -single_module flag. You can override
7549 # by either setting the environment variable LT_MULTI_MODULE
7550 # non-empty at configure time, or by adding -multi_module to the
7552 rm -rf libconftest.dylib*
7553 echo "int foo
(void
){return 1;}" > conftest.c
7554 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7555 -dynamiclib -Wl,-single_module conftest.c
" >&5
7556 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7557 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7559 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7560 lt_cv_apple_cc_single_mod=yes
7562 cat conftest.err >&5
7564 rm -rf libconftest.dylib*
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7569 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7571 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7572 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7573 $as_echo_n "(cached
) " >&6
7575 lt_cv_ld_exported_symbols_list=no
7576 save_LDFLAGS=$LDFLAGS
7577 echo "_main
" > conftest.sym
7578 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7590 if ac_fn_c_try_link "$LINENO"; then :
7591 lt_cv_ld_exported_symbols_list=yes
7593 lt_cv_ld_exported_symbols_list=no
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7597 LDFLAGS="$save_LDFLAGS"
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7601 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7603 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7604 if ${lt_cv_ld_force_load+:} false; then :
7605 $as_echo_n "(cached
) " >&6
7607 lt_cv_ld_force_load=no
7608 cat > conftest.c << _LT_EOF
7609 int forced_loaded() { return 2;}
7611 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7612 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7613 echo "$AR cru libconftest.a conftest.o
" >&5
7614 $AR cru libconftest.a conftest.o 2>&5
7615 echo "$RANLIB libconftest.a
" >&5
7616 $RANLIB libconftest.a 2>&5
7617 cat > conftest.c << _LT_EOF
7618 int main() { return 0;}
7620 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7621 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7623 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7624 lt_cv_ld_force_load=yes
7626 cat conftest.err >&5
7628 rm -f conftest.err libconftest.a conftest conftest.c
7629 rm -rf conftest.dSYM
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7633 $as_echo "$lt_cv_ld_force_load" >&6; }
7635 rhapsody* | darwin1.[012])
7636 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7638 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7639 darwin*) # darwin 5.x on
7640 # if running on 10.5 or later, the deployment target defaults
7641 # to the OS version, if on x86, and 10.4, the deployment
7642 # target defaults to 10.4. Don't you love it?
7643 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7644 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7645 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7647 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7649 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7653 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7654 _lt_dar_single_mod='$single_module'
7656 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7657 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7659 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7661 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7662 _lt_dsymutil='~$DSYMUTIL $lib || :'
7669 for ac_header in dlfcn.h
7671 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7673 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define HAVE_DLFCN_H 1
7696 # Check whether --enable-shared was given.
7697 if test "${enable_shared+set}" = set; then :
7698 enableval=$enable_shared; p=${PACKAGE-default}
7700 yes) enable_shared=yes ;;
7701 no) enable_shared=no ;;
7704 # Look at the argument we got. We use all the common list separators.
7705 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7706 for pkg in $enableval; do
7708 if test "X
$pkg" = "X
$p"; then
7727 # Check whether --enable-static was given.
7728 if test "${enable_static+set}" = set; then :
7729 enableval=$enable_static; p=${PACKAGE-default}
7731 yes) enable_static=yes ;;
7732 no) enable_static=no ;;
7735 # Look at the argument we got. We use all the common list separators.
7736 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7737 for pkg in $enableval; do
7739 if test "X
$pkg" = "X
$p"; then
7759 # Check whether --with-pic was given.
7760 if test "${with_pic+set}" = set; then :
7761 withval=$with_pic; pic_mode="$withval"
7767 test -z "$pic_mode" && pic_mode=default
7775 # Check whether --enable-fast-install was given.
7776 if test "${enable_fast_install+set}" = set; then :
7777 enableval=$enable_fast_install; p=${PACKAGE-default}
7779 yes) enable_fast_install=yes ;;
7780 no) enable_fast_install=no ;;
7782 enable_fast_install=no
7783 # Look at the argument we got. We use all the common list separators.
7784 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7785 for pkg in $enableval; do
7787 if test "X
$pkg" = "X
$p"; then
7788 enable_fast_install=yes
7795 enable_fast_install=yes
7808 # This can be used to rebuild libtool when needed
7809 LIBTOOL_DEPS="$ltmain"
7811 # Always use our own libtool.
7812 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7839 test -z "$LN_S" && LN_S="ln -s"
7854 if test -n "${ZSH_VERSION+set}" ; then
7855 setopt NO_GLOB_SUBST
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7859 $as_echo_n "checking
for objdir...
" >&6; }
7860 if ${lt_cv_objdir+:} false; then :
7861 $as_echo_n "(cached
) " >&6
7863 rm -f .libs 2>/dev/null
7864 mkdir .libs 2>/dev/null
7865 if test -d .libs; then
7868 # MS-DOS does not allow filenames that begin with a dot.
7871 rmdir .libs 2>/dev/null
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7874 $as_echo "$lt_cv_objdir" >&6; }
7875 objdir=$lt_cv_objdir
7881 cat >>confdefs.h <<_ACEOF
7882 #define LT_OBJDIR "$lt_cv_objdir/"
7890 # AIX sometimes has problems with the GCC collect2 program. For some
7891 # reason, if we set the COLLECT_NAMES environment variable, the problems
7892 # vanish in a puff of smoke.
7893 if test "X
${COLLECT_NAMES+set}" != Xset; then
7895 export COLLECT_NAMES
7902 can_build_shared=yes
7904 # All known linkers require a `.a' archive for static linking (except MSVC,
7905 # which needs '.lib').
7908 with_gnu_ld="$lt_cv_prog_gnu_ld"
7911 old_CFLAGS="$CFLAGS"
7913 # Set sane defaults for various variables
7914 test -z "$CC" && CC=cc
7915 test -z "$LTCC" && LTCC=$CC
7916 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7917 test -z "$LD" && LD=ld
7918 test -z "$ac_objext" && ac_objext=o
7920 for cc_temp in $compiler""; do
7922 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7923 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7928 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7931 # Only perform the check for file, if the check method requires it
7932 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7933 case $deplibs_check_method in
7935 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7937 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7938 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7939 $as_echo_n "(cached
) " >&6
7943 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7946 lt_save_MAGIC_CMD="$MAGIC_CMD"
7947 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7948 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7949 for ac_dir in $ac_dummy; do
7951 test -z "$ac_dir" && ac_dir=.
7952 if test -f $ac_dir/${ac_tool_prefix}file; then
7953 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7954 if test -n "$file_magic_test_file"; then
7955 case $deplibs_check_method in
7957 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7958 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7959 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7960 $EGREP "$file_magic_regex" > /dev/null; then
7965 *** Warning: the command libtool uses to detect shared libraries,
7966 *** $file_magic_cmd, produces output that libtool cannot recognize.
7967 *** The result is that libtool may fail to recognize shared libraries
7968 *** as such. This will affect the creation of libtool libraries that
7969 *** depend on shared libraries, but programs linked with such libtool
7970 *** libraries will work regardless of this problem. Nevertheless, you
7971 *** may want to report the problem to your system manager and/or to
7972 *** bug-libtool@gnu.org
7982 MAGIC_CMD="$lt_save_MAGIC_CMD"
7987 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7988 if test -n "$MAGIC_CMD"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7990 $as_echo "$MAGIC_CMD" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7993 $as_echo "no
" >&6; }
8000 if test -z "$lt_cv_path_MAGIC_CMD"; then
8001 if test -n "$ac_tool_prefix"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8003 $as_echo_n "checking
for file...
" >&6; }
8004 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8005 $as_echo_n "(cached
) " >&6
8009 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8012 lt_save_MAGIC_CMD="$MAGIC_CMD"
8013 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8014 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8015 for ac_dir in $ac_dummy; do
8017 test -z "$ac_dir" && ac_dir=.
8018 if test -f $ac_dir/file; then
8019 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8020 if test -n "$file_magic_test_file"; then
8021 case $deplibs_check_method in
8023 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8024 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8026 $EGREP "$file_magic_regex" > /dev/null; then
8031 *** Warning: the command libtool uses to detect shared libraries,
8032 *** $file_magic_cmd, produces output that libtool cannot recognize.
8033 *** The result is that libtool may fail to recognize shared libraries
8034 *** as such. This will affect the creation of libtool libraries that
8035 *** depend on shared libraries, but programs linked with such libtool
8036 *** libraries will work regardless of this problem. Nevertheless, you
8037 *** may want to report the problem to your system manager and/or to
8038 *** bug-libtool@gnu.org
8048 MAGIC_CMD="$lt_save_MAGIC_CMD"
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if test -n "$MAGIC_CMD"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8056 $as_echo "$MAGIC_CMD" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8059 $as_echo "no
" >&6; }
8072 # Use C for the default configuration in the libtool script
8076 ac_cpp='$CPP $CPPFLAGS'
8077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8082 # Source file extension for C test sources.
8085 # Object file extension for compiled C test sources.
8089 # Code to be used in simple compile tests
8090 lt_simple_compile_test_code="int some_variable
= 0;"
8092 # Code to be used in simple link tests
8093 lt_simple_link_test_code='int main(){return(0);}'
8101 # If no C compiler was specified, use CC.
8104 # If no C compiler flags were specified, use CFLAGS.
8105 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8107 # Allow CC to be a program name with arguments.
8110 # Save the default compiler, since it gets overwritten when the other
8111 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8112 compiler_DEFAULT=$CC
8114 # save warnings/boilerplate of simple test code
8115 ac_outfile=conftest.$ac_objext
8116 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8117 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8118 _lt_compiler_boilerplate=`cat conftest.err`
8121 ac_outfile=conftest.$ac_objext
8122 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8123 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8124 _lt_linker_boilerplate=`cat conftest.err`
8129 ## There is no encapsulation within the following macros, do not change
8130 ## the running order or otherwise move them around unless you know exactly
8131 ## what you are doing...
8132 if test -n "$compiler"; then
8134 lt_prog_compiler_no_builtin_flag=
8136 if test "$GCC" = yes; then
8137 case $cc_basename in
8139 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8141 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8145 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8146 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8147 $as_echo_n "(cached
) " >&6
8149 lt_cv_prog_compiler_rtti_exceptions=no
8150 ac_outfile=conftest.$ac_objext
8151 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8152 lt_compiler_flag="-fno-rtti -fno-exceptions"
8153 # Insert the option either (1) after the last *FLAGS variable, or
8154 # (2) before a word containing "conftest.
", or (3) at the end.
8155 # Note that $ac_compile itself does not contain backslashes and begins
8156 # with a dollar sign (not a hyphen), so the echo should work correctly.
8157 # The option is referenced via a variable to avoid confusing sed.
8158 lt_compile=`echo "$ac_compile" | $SED \
8159 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8161 -e 's:$: $lt_compiler_flag:'`
8162 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8163 (eval "$lt_compile" 2>conftest.err)
8165 cat conftest.err >&5
8166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8167 if (exit $ac_status) && test -s "$ac_outfile"; then
8168 # The compiler can only warn and ignore the option if not recognized
8169 # So say no if there are warnings other than the usual output.
8170 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8171 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8172 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8173 lt_cv_prog_compiler_rtti_exceptions=yes
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8180 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8182 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8183 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8195 lt_prog_compiler_wl=
8196 lt_prog_compiler_pic=
8197 lt_prog_compiler_static=
8200 if test "$GCC" = yes; then
8201 lt_prog_compiler_wl='-Wl,'
8202 lt_prog_compiler_static='-static'
8206 # All AIX code is PIC.
8207 if test "$host_cpu" = ia64; then
8208 # AIX 5 now supports IA64 processor
8209 lt_prog_compiler_static='-Bstatic'
8216 # see comment about AmigaOS4 .so support
8217 lt_prog_compiler_pic='-fPIC'
8220 # FIXME: we need at least 68020 code to build shared libraries, but
8221 # adding the `-m68020' flag to GCC prevents building anything better,
8223 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8228 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8229 # PIC is the default for these OSes.
8232 mingw* | cygwin* | pw32* | os2* | cegcc*)
8233 # This hack is so that the source file can tell whether it is being
8234 # built for inclusion in a dll (and should export symbols for example).
8235 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8236 # (--disable-auto-import) libraries
8237 lt_prog_compiler_pic='-DDLL_EXPORT'
8240 darwin* | rhapsody*)
8241 # PIC is the default on this platform
8242 # Common symbols not allowed in MH_DYLIB files
8243 lt_prog_compiler_pic='-fno-common'
8247 # PIC is the default for Haiku.
8248 # The "-static" flag exists, but is broken.
8249 lt_prog_compiler_static=
8253 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8254 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8255 # sets the default TLS model and affects inlining.
8261 lt_prog_compiler_pic='-fPIC'
8267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8268 # Instead, we relocate shared libraries at runtime.
8272 # Just because we use GCC doesn't mean we suddenly get shared libraries
8273 # on systems that don't support them.
8274 lt_prog_compiler_can_build_shared=no
8279 # QNX uses GNU C++, but need to define -shared option too, otherwise
8281 lt_prog_compiler_pic='-fPIC -shared'
8285 if test -d /usr/nec; then
8286 lt_prog_compiler_pic=-Kconform_pic
8291 lt_prog_compiler_pic='-fPIC'
8295 case $cc_basename in
8296 nvcc*) # Cuda Compiler Driver 2.2
8297 lt_prog_compiler_wl='-Xlinker '
8298 lt_prog_compiler_pic='-Xcompiler -fPIC'
8302 # PORTME Check for flag to pass linker flags through the system compiler.
8305 lt_prog_compiler_wl='-Wl,'
8306 if test "$host_cpu" = ia64; then
8307 # AIX 5 now supports IA64 processor
8308 lt_prog_compiler_static='-Bstatic'
8310 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8314 mingw* | cygwin* | pw32* | os2* | cegcc*)
8315 # This hack is so that the source file can tell whether it is being
8316 # built for inclusion in a dll (and should export symbols for example).
8317 lt_prog_compiler_pic='-DDLL_EXPORT'
8320 hpux9* | hpux10* | hpux11*)
8321 lt_prog_compiler_wl='-Wl,'
8322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8329 lt_prog_compiler_pic='+Z'
8332 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8333 lt_prog_compiler_static='${wl}-a ${wl}archive'
8336 irix5* | irix6* | nonstopux*)
8337 lt_prog_compiler_wl='-Wl,'
8338 # PIC (with -KPIC) is the default.
8339 lt_prog_compiler_static='-non_shared'
8342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8343 case $cc_basename in
8344 # old Intel for x86_64 which still supported -KPIC.
8346 lt_prog_compiler_wl='-Wl,'
8347 lt_prog_compiler_pic='-KPIC'
8348 lt_prog_compiler_static='-static'
8350 # icc used to be incompatible with GCC.
8351 # ICC 10 doesn't accept -KPIC any more.
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_pic='-fPIC'
8355 lt_prog_compiler_static='-static'
8357 # Lahey Fortran 8.1.
8359 lt_prog_compiler_wl='-Wl,'
8360 lt_prog_compiler_pic='--shared'
8361 lt_prog_compiler_static='--static'
8364 # NAG Fortran compiler
8365 lt_prog_compiler_wl='-Wl,-Wl,,'
8366 lt_prog_compiler_pic='-PIC'
8367 lt_prog_compiler_static='-Bstatic'
8369 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8370 # Portland Group compilers (*not* the Pentium gcc compiler,
8371 # which looks to be a dead project)
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_pic='-fpic'
8374 lt_prog_compiler_static='-Bstatic'
8377 lt_prog_compiler_wl='-Wl,'
8378 # All Alpha code is PIC.
8379 lt_prog_compiler_static='-non_shared'
8381 xl* | bgxl* | bgf* | mpixl*)
8382 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8383 lt_prog_compiler_wl='-Wl,'
8384 lt_prog_compiler_pic='-qpic'
8385 lt_prog_compiler_static='-qstaticlink'
8388 case `$CC -V 2>&1 | sed 5q` in
8389 *Sun\ F* | *Sun*Fortran*)
8390 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8391 lt_prog_compiler_pic='-KPIC'
8392 lt_prog_compiler_static='-Bstatic'
8393 lt_prog_compiler_wl=''
8397 lt_prog_compiler_pic='-KPIC'
8398 lt_prog_compiler_static='-Bstatic'
8399 lt_prog_compiler_wl='-Wl,'
8407 lt_prog_compiler_pic='-KPIC'
8408 lt_prog_compiler_static='-Bstatic'
8412 # QNX uses GNU C++, but need to define -shared option too, otherwise
8414 lt_prog_compiler_pic='-fPIC -shared'
8417 osf3* | osf4* | osf5*)
8418 lt_prog_compiler_wl='-Wl,'
8419 # All OSF/1 code is PIC.
8420 lt_prog_compiler_static='-non_shared'
8424 lt_prog_compiler_static='-non_shared'
8428 lt_prog_compiler_pic='-KPIC'
8429 lt_prog_compiler_static='-Bstatic'
8430 case $cc_basename in
8431 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8432 lt_prog_compiler_wl='-Qoption ld ';;
8434 lt_prog_compiler_wl='-Wl,';;
8439 lt_prog_compiler_wl='-Qoption ld '
8440 lt_prog_compiler_pic='-PIC'
8441 lt_prog_compiler_static='-Bstatic'
8444 sysv4 | sysv4.2uw2* | sysv4.3*)
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-KPIC'
8447 lt_prog_compiler_static='-Bstatic'
8451 if test -d /usr/nec ;then
8452 lt_prog_compiler_pic='-Kconform_pic'
8453 lt_prog_compiler_static='-Bstatic'
8457 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8458 lt_prog_compiler_wl='-Wl,'
8459 lt_prog_compiler_pic='-KPIC'
8460 lt_prog_compiler_static='-Bstatic'
8464 lt_prog_compiler_wl='-Wl,'
8465 lt_prog_compiler_can_build_shared=no
8469 lt_prog_compiler_pic='-pic'
8470 lt_prog_compiler_static='-Bstatic'
8474 lt_prog_compiler_can_build_shared=no
8480 # For platforms which do not support PIC, -DPIC is meaningless:
8482 lt_prog_compiler_pic=
8485 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8490 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8491 if ${lt_cv_prog_compiler_pic+:} false; then :
8492 $as_echo_n "(cached
) " >&6
8494 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
8497 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8498 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8501 # Check to make sure the PIC flag actually works.
8503 if test -n "$lt_prog_compiler_pic"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8505 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8506 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8507 $as_echo_n "(cached
) " >&6
8509 lt_cv_prog_compiler_pic_works=no
8510 ac_outfile=conftest.$ac_objext
8511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8513 # Insert the option either (1) after the last *FLAGS variable, or
8514 # (2) before a word containing "conftest.
", or (3) at the end.
8515 # Note that $ac_compile itself does not contain backslashes and begins
8516 # with a dollar sign (not a hyphen), so the echo should work correctly.
8517 # The option is referenced via a variable to avoid confusing sed.
8518 lt_compile=`echo "$ac_compile" | $SED \
8519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521 -e 's:$: $lt_compiler_flag:'`
8522 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8523 (eval "$lt_compile" 2>conftest.err)
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8527 if (exit $ac_status) && test -s "$ac_outfile"; then
8528 # The compiler can only warn and ignore the option if not recognized
8529 # So say no if there are warnings other than the usual output.
8530 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8531 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8533 lt_cv_prog_compiler_pic_works=yes
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8540 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8542 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8543 case $lt_prog_compiler_pic in
8545 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8548 lt_prog_compiler_pic=
8549 lt_prog_compiler_can_build_shared=no
8565 # Check to make sure the static flag actually works.
8567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8569 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8570 if ${lt_cv_prog_compiler_static_works+:} false; then :
8571 $as_echo_n "(cached
) " >&6
8573 lt_cv_prog_compiler_static_works=no
8574 save_LDFLAGS="$LDFLAGS"
8575 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8578 # The linker can only warn and ignore the option if not recognized
8579 # So say no if there are warnings
8580 if test -s conftest.err; then
8581 # Append any errors to the config.log.
8582 cat conftest.err 1>&5
8583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585 if diff conftest.exp conftest.er2 >/dev/null; then
8586 lt_cv_prog_compiler_static_works=yes
8589 lt_cv_prog_compiler_static_works=yes
8593 LDFLAGS="$save_LDFLAGS"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8597 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8599 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8602 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8612 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8613 if ${lt_cv_prog_compiler_c_o+:} false; then :
8614 $as_echo_n "(cached
) " >&6
8616 lt_cv_prog_compiler_c_o=no
8617 $RM -r conftest 2>/dev/null
8621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8623 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8624 # Insert the option either (1) after the last *FLAGS variable, or
8625 # (2) before a word containing "conftest.
", or (3) at the end.
8626 # Note that $ac_compile itself does not contain backslashes and begins
8627 # with a dollar sign (not a hyphen), so the echo should work correctly.
8628 lt_compile=`echo "$ac_compile" | $SED \
8629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8631 -e 's:$: $lt_compiler_flag:'`
8632 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8633 (eval "$lt_compile" 2>out/conftest.err)
8635 cat out/conftest.err >&5
8636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8637 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8639 # The compiler can only warn and ignore the option if not recognized
8640 # So say no if there are warnings
8641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8642 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8643 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8644 lt_cv_prog_compiler_c_o=yes
8649 # SGI C++ compiler will create directory out/ii_files/ for
8650 # template instantiation
8651 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8652 $RM out/* && rmdir out
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8667 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8668 if ${lt_cv_prog_compiler_c_o+:} false; then :
8669 $as_echo_n "(cached
) " >&6
8671 lt_cv_prog_compiler_c_o=no
8672 $RM -r conftest 2>/dev/null
8676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8678 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8679 # Insert the option either (1) after the last *FLAGS variable, or
8680 # (2) before a word containing "conftest.
", or (3) at the end.
8681 # Note that $ac_compile itself does not contain backslashes and begins
8682 # with a dollar sign (not a hyphen), so the echo should work correctly.
8683 lt_compile=`echo "$ac_compile" | $SED \
8684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8686 -e 's:$: $lt_compiler_flag:'`
8687 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8688 (eval "$lt_compile" 2>out/conftest.err)
8690 cat out/conftest.err >&5
8691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8694 # The compiler can only warn and ignore the option if not recognized
8695 # So say no if there are warnings
8696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8699 lt_cv_prog_compiler_c_o=yes
8704 # SGI C++ compiler will create directory out/ii_files/ for
8705 # template instantiation
8706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8707 $RM out/* && rmdir out
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8719 hard_links="nottested
"
8720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8721 # do not overwrite the value of need_locks provided by the user
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8723 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8728 ln conftest.a conftest.b 2>&5 || hard_links=no
8729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8731 $as_echo "$hard_links" >&6; }
8732 if test "$hard_links" = no; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8734 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8747 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8750 allow_undefined_flag=
8751 always_export_symbols=no
8753 archive_expsym_cmds=
8754 compiler_needs_object=no
8755 enable_shared_with_static_runtimes=no
8756 export_dynamic_flag_spec=
8757 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8758 hardcode_automatic=no
8760 hardcode_direct_absolute=no
8761 hardcode_libdir_flag_spec=
8762 hardcode_libdir_flag_spec_ld=
8763 hardcode_libdir_separator=
8765 hardcode_shlibpath_var=unsupported
8767 link_all_deplibs=unknown
8770 old_archive_from_new_cmds=
8771 old_archive_from_expsyms_cmds=
8772 thread_safe_flag_spec=
8773 whole_archive_flag_spec=
8774 # include_expsyms should be a list of space-separated symbols to be *always*
8775 # included in the symbol list
8777 # exclude_expsyms can be an extended regexp of symbols to exclude
8778 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8779 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8780 # as well as any symbol that contains `d'.
8781 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8782 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8783 # platforms (ab)use it in PIC code, but their linkers get confused if
8784 # the symbol is explicitly referenced. Since portable code cannot
8785 # rely on this symbol name, it's probably fine to never include it in
8786 # preloaded symbol tables.
8787 # Exclude shared library initialization/finalization symbols.
8788 extract_expsyms_cmds=
8791 cygwin* | mingw* | pw32* | cegcc*)
8792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8793 # When not using gcc, we currently assume that we are using
8794 # Microsoft Visual C++.
8795 if test "$GCC" != yes; then
8800 # we just hope/assume this is gcc and not c89 (= MSVC++)
8810 # On some targets, GNU ld is compatible enough with the native linker
8811 # that we're better off using the native interface for both.
8812 lt_use_gnu_ld_interface=no
8813 if test "$with_gnu_ld" = yes; then
8816 # The AIX port of GNU ld has always aspired to compatibility
8817 # with the native linker. However, as the warning in the GNU ld
8818 # block says, versions before 2.19.5* couldn't really create working
8819 # shared libraries, regardless of the interface used.
8820 case `$LD -v 2>&1` in
8821 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8822 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8823 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8825 lt_use_gnu_ld_interface=yes
8830 lt_use_gnu_ld_interface=yes
8835 if test "$lt_use_gnu_ld_interface" = yes; then
8836 # If archive_cmds runs LD, not CC, wlarc should be empty
8839 # Set some defaults for GNU ld with shared library support. These
8840 # are reset later if shared libraries are not supported. Putting them
8841 # here allows them to be overridden if necessary.
8842 runpath_var=LD_RUN_PATH
8843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8844 export_dynamic_flag_spec='${wl}--export-dynamic'
8845 # ancient GNU ld didn't support --whole-archive et. al.
8846 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8847 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8849 whole_archive_flag_spec=
8851 supports_anon_versioning=no
8852 case `$LD -v 2>&1` in
8853 *GNU\ gold*) supports_anon_versioning=yes ;;
8854 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8855 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8856 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8857 *\ 2.11.*) ;; # other 2.11 versions
8858 *) supports_anon_versioning=yes ;;
8861 # See if GNU ld supports shared libraries.
8864 # On AIX/PPC, the GNU linker is very broken
8865 if test "$host_cpu" != ia64; then
8869 *** Warning: the GNU linker, at least up to release 2.19, is reported
8870 *** to be unable to reliably create shared libraries on AIX.
8871 *** Therefore, libtool is disabling shared libraries support. If you
8872 *** really care for shared libraries, you may want to install binutils
8873 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8874 *** You will then need to restart the configuration process.
8883 # see comment about AmigaOS4 .so support
8884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8885 archive_expsym_cmds=''
8888 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8889 hardcode_libdir_flag_spec
='-L$libdir'
8890 hardcode_minus_L
=yes
8896 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8897 allow_undefined_flag
=unsupported
8898 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8899 # support --undefined. This deserves some investigation. FIXME
8900 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8906 cygwin
* | mingw
* | pw32
* | cegcc
*)
8907 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8908 # as there is no search path for DLLs.
8909 hardcode_libdir_flag_spec
='-L$libdir'
8910 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8911 allow_undefined_flag
=unsupported
8912 always_export_symbols
=no
8913 enable_shared_with_static_runtimes
=yes
8914 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8915 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8917 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8918 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8919 # If the export-symbols file already is a .def file (1st line
8920 # is EXPORTS), use it as is; otherwise, prepend...
8921 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8922 cp $export_symbols $output_objdir/$soname.def;
8924 echo EXPORTS > $output_objdir/$soname.def;
8925 cat $export_symbols >> $output_objdir/$soname.def;
8927 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8934 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 link_all_deplibs
=yes
8940 hardcode_shlibpath_var
=no
8941 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8942 export_dynamic_flag_spec
='${wl}-E'
8943 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8944 # Instead, shared libraries are loaded at an image base (0x10000000 by
8945 # default) and relocated if they conflict, which is a slow very memory
8946 # consuming and fragmenting process. To avoid this, we pick a random,
8947 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8948 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8949 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8950 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8953 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8955 if test "$host_os" = linux-dietlibc
; then
8956 case $cc_basename in
8957 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8960 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8961 && test "$tmp_diet" = no
8963 tmp_addflag
=' $pic_flag'
8964 tmp_sharedflag
='-shared'
8965 case $cc_basename,$host_cpu in
8966 pgcc
*) # Portland Group C compiler
8967 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8968 tmp_addflag
=' $pic_flag'
8970 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8971 # Portland Group f77 and f90 compilers
8972 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8973 tmp_addflag
=' $pic_flag -Mnomain' ;;
8974 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8975 tmp_addflag
=' -i_dynamic' ;;
8976 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8977 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8978 ifc
* | ifort
*) # Intel Fortran compiler
8979 tmp_addflag
=' -nofor_main' ;;
8980 lf95
*) # Lahey Fortran 8.1
8981 whole_archive_flag_spec
=
8982 tmp_sharedflag
='--shared' ;;
8983 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8984 tmp_sharedflag
='-qmkshrobj'
8986 nvcc
*) # Cuda Compiler Driver 2.2
8987 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8988 compiler_needs_object
=yes
8991 case `$CC -V 2>&1 | sed 5q` in
8992 *Sun\ C
*) # Sun C 5.9
8993 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8994 compiler_needs_object
=yes
8995 tmp_sharedflag
='-G' ;;
8996 *Sun\ F
*) # Sun Fortran 8.3
8997 tmp_sharedflag
='-G' ;;
8999 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001 if test "x$supports_anon_versioning" = xyes
; then
9002 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9003 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9004 echo "local: *; };" >> $output_objdir/$libname.ver~
9005 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9008 case $cc_basename in
9009 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9010 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9011 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9012 hardcode_libdir_flag_spec
=
9013 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9014 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9015 if test "x$supports_anon_versioning" = xyes
; then
9016 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9018 echo "local: *; };" >> $output_objdir/$libname.ver~
9019 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9029 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9030 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9033 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9039 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9043 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9044 *** create shared libraries on Solaris systems. Therefore, libtool
9045 *** is disabling shared libraries support. We urge you to upgrade GNU
9046 *** binutils to release 2.9.1 or newer. Another option is to modify
9047 *** your PATH or compiler configuration so that the native linker is
9048 *** used, and then restart.
9051 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9052 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9059 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9060 case `$LD -v 2>&1` in
9061 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9065 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9066 *** reliably create shared libraries on SCO systems. Therefore, libtool
9067 *** is disabling shared libraries support. We urge you to upgrade GNU
9068 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9069 *** your PATH or compiler configuration so that the native linker is
9070 *** used, and then restart.
9075 # For security reasons, it is highly recommended that you always
9076 # use absolute paths for naming shared libraries, and exclude the
9077 # DT_RUNPATH tag from executables and libraries. But doing so
9078 # requires that you compile everything twice, which is a pain.
9079 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9080 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9081 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9091 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9094 hardcode_shlibpath_var
=no
9098 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9099 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9107 if test "$ld_shlibs" = no
; then
9109 hardcode_libdir_flag_spec
=
9110 export_dynamic_flag_spec
=
9111 whole_archive_flag_spec
=
9114 # PORTME fill in a description of your system's linker (not GNU ld)
9117 allow_undefined_flag
=unsupported
9118 always_export_symbols
=yes
9119 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9120 # Note: this linker hardcodes the directories in LIBPATH if there
9121 # are no directories specified by -L.
9122 hardcode_minus_L
=yes
9123 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9124 # Neither direct hardcoding nor static linking is supported with a
9126 hardcode_direct
=unsupported
9131 if test "$host_cpu" = ia64
; then
9132 # On IA64, the linker does run time linking by default, so we don't
9133 # have to do anything special.
9134 aix_use_runtimelinking
=no
9135 exp_sym_flag
='-Bexport'
9138 # If we're using GNU nm, then we don't want the "-C" option.
9139 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9140 # Also, AIX nm treats weak defined symbols like other global
9141 # defined symbols, whereas GNU nm marks them as "W".
9142 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9143 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9145 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9147 aix_use_runtimelinking
=no
9149 # Test if we are trying to use run time linking or normal
9150 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9151 # need to do runtime linking.
9152 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9153 for ld_flag
in $LDFLAGS; do
9154 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9155 aix_use_runtimelinking
=yes
9162 exp_sym_flag
='-bexport'
9163 no_entry_flag
='-bnoentry'
9166 # When large executables or shared objects are built, AIX ld can
9167 # have problems creating the table of contents. If linking a library
9168 # or program results in "error TOC overflow" add -mminimal-toc to
9169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9174 hardcode_direct_absolute
=yes
9175 hardcode_libdir_separator
=':'
9176 link_all_deplibs
=yes
9177 file_list_spec
='${wl}-f,'
9179 if test "$GCC" = yes; then
9180 case $host_os in aix4.
[012]|aix4.
[012].
*)
9181 # We only want to do this on AIX 4.2 and lower, the check
9182 # below for broken collect2 doesn't work under 4.3+
9183 collect2name
=`${CC} -print-prog-name=collect2`
9184 if test -f "$collect2name" &&
9185 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9187 # We have reworked collect2
9190 # We have old collect2
9191 hardcode_direct
=unsupported
9192 # It fails to find uninstalled libraries when the uninstalled
9193 # path is not listed in the libpath. Setting hardcode_minus_L
9194 # to unsupported forces relinking
9195 hardcode_minus_L
=yes
9196 hardcode_libdir_flag_spec
='-L$libdir'
9197 hardcode_libdir_separator
=
9201 shared_flag
='-shared'
9202 if test "$aix_use_runtimelinking" = yes; then
9203 shared_flag
="$shared_flag "'${wl}-G'
9207 if test "$host_cpu" = ia64
; then
9208 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9209 # chokes on -Wl,-G. The following line is correct:
9212 if test "$aix_use_runtimelinking" = yes; then
9213 shared_flag
='${wl}-G'
9215 shared_flag
='${wl}-bM:SRE'
9220 export_dynamic_flag_spec
='${wl}-bexpall'
9221 # It seems that -bexpall does not export symbols beginning with
9222 # underscore (_), so it is better to generate a list of symbols to export.
9223 always_export_symbols
=yes
9224 if test "$aix_use_runtimelinking" = yes; then
9225 # Warning - without using the other runtime loading flags (-brtl),
9226 # -berok will link without error, but may produce a broken library.
9227 allow_undefined_flag
='-berok'
9228 # Determine the default libpath from the value encoded in an
9230 if test "${lt_cv_aix_libpath+set}" = set; then
9231 aix_libpath
=$lt_cv_aix_libpath
9233 if ${lt_cv_aix_libpath_+:} false
; then :
9234 $as_echo_n "(cached) " >&6
9236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9247 if ac_fn_c_try_link
"$LINENO"; then :
9249 lt_aix_libpath_sed
='
9250 /Import File Strings/,/^$/ {
9252 s/^0 *\([^ ]*\) *$/\1/
9256 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9257 # Check for a 64-bit object if we didn't find anything.
9258 if test -z "$lt_cv_aix_libpath_"; then
9259 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9262 rm -f core conftest.err conftest.
$ac_objext \
9263 conftest
$ac_exeext conftest.
$ac_ext
9264 if test -z "$lt_cv_aix_libpath_"; then
9265 lt_cv_aix_libpath_
="/usr/lib:/lib"
9270 aix_libpath
=$lt_cv_aix_libpath_
9273 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9274 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9276 if test "$host_cpu" = ia64
; then
9277 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9278 allow_undefined_flag
="-z nodefs"
9279 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9281 # Determine the default libpath from the value encoded in an
9283 if test "${lt_cv_aix_libpath+set}" = set; then
9284 aix_libpath
=$lt_cv_aix_libpath
9286 if ${lt_cv_aix_libpath_+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9300 if ac_fn_c_try_link
"$LINENO"; then :
9302 lt_aix_libpath_sed
='
9303 /Import File Strings/,/^$/ {
9305 s/^0 *\([^ ]*\) *$/\1/
9309 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9310 # Check for a 64-bit object if we didn't find anything.
9311 if test -z "$lt_cv_aix_libpath_"; then
9312 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 if test -z "$lt_cv_aix_libpath_"; then
9318 lt_cv_aix_libpath_
="/usr/lib:/lib"
9323 aix_libpath
=$lt_cv_aix_libpath_
9326 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9327 # Warning - without using the other run time loading flags,
9328 # -berok will link without error, but may produce a broken library.
9329 no_undefined_flag
=' ${wl}-bernotok'
9330 allow_undefined_flag
=' ${wl}-berok'
9331 if test "$with_gnu_ld" = yes; then
9332 # We only use this code for GNU lds that support --whole-archive.
9333 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9335 # Exported symbols can be pulled into shared objects from archives
9336 whole_archive_flag_spec
='$convenience'
9338 archive_cmds_need_lc
=yes
9339 # This is similar to how AIX traditionally builds its shared libraries.
9340 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9348 # see comment about AmigaOS4 .so support
9349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds
=''
9353 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9354 hardcode_libdir_flag_spec
='-L$libdir'
9355 hardcode_minus_L
=yes
9361 export_dynamic_flag_spec
=-rdynamic
9364 cygwin
* | mingw
* | pw32
* | cegcc
*)
9365 # When not using gcc, we currently assume that we are using
9366 # Microsoft Visual C++.
9367 # hardcode_libdir_flag_spec is actually meaningless, as there is
9368 # no search path for DLLs.
9369 case $cc_basename in
9372 hardcode_libdir_flag_spec
=' '
9373 allow_undefined_flag
=unsupported
9374 always_export_symbols
=yes
9376 # Tell ltmain to make .lib files, not .a files.
9378 # Tell ltmain to make .dll files, not .so files.
9380 # FIXME: Setting linknames here is a bad hack.
9381 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9382 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9383 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9385 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9387 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9389 # The linker will not automatically build a static lib if we build a DLL.
9390 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9391 enable_shared_with_static_runtimes
=yes
9392 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9394 old_postinstall_cmds
='chmod 644 $oldlib'
9395 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9396 lt_tool_outputfile="@TOOL_OUTPUT@"~
9397 case $lt_outputfile in
9400 lt_outputfile="$lt_outputfile.exe"
9401 lt_tool_outputfile="$lt_tool_outputfile.exe"
9404 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9405 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9406 $RM "$lt_outputfile.manifest";
9410 # Assume MSVC wrapper
9411 hardcode_libdir_flag_spec
=' '
9412 allow_undefined_flag
=unsupported
9413 # Tell ltmain to make .lib files, not .a files.
9415 # Tell ltmain to make .dll files, not .so files.
9417 # FIXME: Setting linknames here is a bad hack.
9418 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9419 # The linker will automatically build a .lib file if we build a DLL.
9420 old_archive_from_new_cmds
='true'
9421 # FIXME: Should let the user specify the lib program.
9422 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9423 enable_shared_with_static_runtimes
=yes
9428 darwin
* | rhapsody
*)
9431 archive_cmds_need_lc
=no
9433 hardcode_automatic
=yes
9434 hardcode_shlibpath_var
=unsupported
9435 if test "$lt_cv_ld_force_load" = "yes"; then
9436 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9438 whole_archive_flag_spec
=''
9440 link_all_deplibs
=yes
9441 allow_undefined_flag
="$_lt_dar_allow_undefined"
9442 case $cc_basename in
9443 ifort
*) _lt_dar_can_shared
=yes ;;
9444 *) _lt_dar_can_shared
=$GCC ;;
9446 if test "$_lt_dar_can_shared" = "yes"; then
9447 output_verbose_link_cmd
=func_echo_all
9448 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9449 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9450 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9451 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9460 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9461 hardcode_libdir_flag_spec
='-L$libdir'
9462 hardcode_shlibpath_var
=no
9469 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9470 # support. Future versions do this automatically, but an explicit c++rt0.o
9471 # does not break anything, and helps significantly (at the cost of a little
9474 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9475 hardcode_libdir_flag_spec
='-R$libdir'
9477 hardcode_shlibpath_var
=no
9480 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9482 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9484 hardcode_minus_L
=yes
9485 hardcode_shlibpath_var
=no
9488 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9489 freebsd
* | dragonfly
*)
9490 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9491 hardcode_libdir_flag_spec
='-R$libdir'
9493 hardcode_shlibpath_var
=no
9497 if test "$GCC" = yes; then
9498 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9500 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9502 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9503 hardcode_libdir_separator
=:
9506 # hardcode_minus_L: Not really in the search PATH,
9507 # but as the default location of the library.
9508 hardcode_minus_L
=yes
9509 export_dynamic_flag_spec
='${wl}-E'
9513 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9514 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9516 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9518 if test "$with_gnu_ld" = no
; then
9519 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9520 hardcode_libdir_flag_spec_ld
='+b $libdir'
9521 hardcode_libdir_separator
=:
9523 hardcode_direct_absolute
=yes
9524 export_dynamic_flag_spec
='${wl}-E'
9525 # hardcode_minus_L: Not really in the search PATH,
9526 # but as the default location of the library.
9527 hardcode_minus_L
=yes
9532 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9535 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9538 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9547 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9554 # Older versions of the 11.00 compiler do not understand -b yet
9555 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9557 $as_echo_n "checking if $CC understands -b... " >&6; }
9558 if ${lt_cv_prog_compiler__b+:} false
; then :
9559 $as_echo_n "(cached) " >&6
9561 lt_cv_prog_compiler__b
=no
9562 save_LDFLAGS
="$LDFLAGS"
9563 LDFLAGS
="$LDFLAGS -b"
9564 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9565 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9566 # The linker can only warn and ignore the option if not recognized
9567 # So say no if there are warnings
9568 if test -s conftest.err
; then
9569 # Append any errors to the config.log.
9570 cat conftest.err
1>&5
9571 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9572 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9573 if diff conftest.exp conftest.er2
>/dev
/null
; then
9574 lt_cv_prog_compiler__b
=yes
9577 lt_cv_prog_compiler__b
=yes
9581 LDFLAGS
="$save_LDFLAGS"
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9585 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9587 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9588 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9590 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9596 if test "$with_gnu_ld" = no
; then
9597 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9598 hardcode_libdir_separator
=:
9603 hardcode_shlibpath_var
=no
9607 hardcode_direct_absolute
=yes
9608 export_dynamic_flag_spec
='${wl}-E'
9610 # hardcode_minus_L: Not really in the search PATH,
9611 # but as the default location of the library.
9612 hardcode_minus_L
=yes
9618 irix5
* | irix6
* | nonstopux
*)
9619 if test "$GCC" = yes; then
9620 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9621 # Try to use the -exported_symbol ld option, if it does not
9622 # work, assume that -exports_file does not work either and
9623 # implicitly export all symbols.
9624 # This should be the same for all languages, so no per-tag cache variable.
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9626 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9627 if ${lt_cv_irix_exported_symbol+:} false
; then :
9628 $as_echo_n "(cached) " >&6
9630 save_LDFLAGS
="$LDFLAGS"
9631 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 int foo (void) { return 0; }
9636 if ac_fn_c_try_link
"$LINENO"; then :
9637 lt_cv_irix_exported_symbol
=yes
9639 lt_cv_irix_exported_symbol
=no
9641 rm -f core conftest.err conftest.
$ac_objext \
9642 conftest
$ac_exeext conftest.
$ac_ext
9643 LDFLAGS
="$save_LDFLAGS"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9646 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9647 if test "$lt_cv_irix_exported_symbol" = yes; then
9648 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9651 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9652 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9654 archive_cmds_need_lc
='no'
9655 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9656 hardcode_libdir_separator
=:
9658 link_all_deplibs
=yes
9662 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9663 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9665 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9667 hardcode_libdir_flag_spec
='-R$libdir'
9669 hardcode_shlibpath_var
=no
9673 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9676 hardcode_libdir_separator
=:
9677 hardcode_shlibpath_var
=no
9684 if test -f /usr
/libexec
/ld.so
; then
9686 hardcode_shlibpath_var
=no
9687 hardcode_direct_absolute
=yes
9688 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9689 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9691 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9692 export_dynamic_flag_spec
='${wl}-E'
9695 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9696 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9697 hardcode_libdir_flag_spec
='-R$libdir'
9700 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9701 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9711 hardcode_libdir_flag_spec
='-L$libdir'
9712 hardcode_minus_L
=yes
9713 allow_undefined_flag
=unsupported
9714 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9715 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9719 if test "$GCC" = yes; then
9720 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9721 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9723 allow_undefined_flag
=' -expect_unresolved \*'
9724 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9726 archive_cmds_need_lc
='no'
9727 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9728 hardcode_libdir_separator
=:
9731 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9732 if test "$GCC" = yes; then
9733 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9734 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9735 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9737 allow_undefined_flag
=' -expect_unresolved \*'
9738 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9739 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9740 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9742 # Both c and cxx compiler support -rpath directly
9743 hardcode_libdir_flag_spec
='-rpath $libdir'
9745 archive_cmds_need_lc
='no'
9746 hardcode_libdir_separator
=:
9750 no_undefined_flag
=' -z defs'
9751 if test "$GCC" = yes; then
9753 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9754 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9755 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9757 case `$CC -V 2>&1` in
9760 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9761 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9762 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9766 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9767 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9768 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9772 hardcode_libdir_flag_spec
='-R$libdir'
9773 hardcode_shlibpath_var
=no
9775 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9777 # The compiler driver will combine and reorder linker options,
9778 # but understands `-z linker_flag'. GCC discards it without `$wl',
9779 # but is careful enough not to reorder.
9780 # Supported since Solaris 2.6 (maybe 2.5.1?)
9781 if test "$GCC" = yes; then
9782 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9784 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9788 link_all_deplibs
=yes
9792 if test "x$host_vendor" = xsequent
; then
9793 # Use $CC to link under sequent, because it throws in some extra .o
9794 # files that make .init and .fini sections work.
9795 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9799 hardcode_libdir_flag_spec
='-L$libdir'
9801 hardcode_minus_L
=yes
9802 hardcode_shlibpath_var
=no
9806 case $host_vendor in
9808 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_direct
=yes # is this really true???
9812 ## LD is ld it makes a PLAMLIB
9813 ## CC just makes a GrossModule.
9814 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9815 reload_cmds
='$CC -r -o $output$reload_objs'
9819 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9823 runpath_var
='LD_RUN_PATH'
9824 hardcode_shlibpath_var
=no
9828 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_shlibpath_var
=no
9830 export_dynamic_flag_spec
='-Bexport'
9834 if test -d /usr
/nec
; then
9835 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9836 hardcode_shlibpath_var
=no
9837 runpath_var
=LD_RUN_PATH
9838 hardcode_runpath_var
=yes
9843 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9844 no_undefined_flag
='${wl}-z,text'
9845 archive_cmds_need_lc
=no
9846 hardcode_shlibpath_var
=no
9847 runpath_var
='LD_RUN_PATH'
9849 if test "$GCC" = yes; then
9850 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9858 sysv5
* | sco3.2v5
* | sco5v6
*)
9859 # Note: We can NOT use -z defs as we might desire, because we do not
9860 # link with -lc, and that would cause any symbols used from libc to
9861 # always be unresolved, which means just about no library would
9862 # ever link correctly. If we're not using GNU ld we use -z text
9863 # though, which does catch some bad symbols but isn't as heavy-handed
9865 no_undefined_flag
='${wl}-z,text'
9866 allow_undefined_flag
='${wl}-z,nodefs'
9867 archive_cmds_need_lc
=no
9868 hardcode_shlibpath_var
=no
9869 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9870 hardcode_libdir_separator
=':'
9871 link_all_deplibs
=yes
9872 export_dynamic_flag_spec
='${wl}-Bexport'
9873 runpath_var
='LD_RUN_PATH'
9875 if test "$GCC" = yes; then
9876 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9877 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_libdir_flag_spec
='-L$libdir'
9887 hardcode_shlibpath_var
=no
9895 if test x
$host_vendor = xsni
; then
9897 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9898 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9905 $as_echo "$ld_shlibs" >&6; }
9906 test "$ld_shlibs" = no
&& can_build_shared
=no
9908 with_gnu_ld
=$with_gnu_ld
9925 # Do we need to explicitly link libc?
9927 case "x$archive_cmds_need_lc" in
9929 # Assume -lc should be added
9930 archive_cmds_need_lc
=yes
9932 if test "$enable_shared" = yes && test "$GCC" = yes; then
9933 case $archive_cmds in
9935 # FIXME: we may have to deal with multi-command sequences.
9938 # Test whether the compiler implicitly links with -lc since on some
9939 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9940 # to ld, don't add -lc before -lgcc.
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9942 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9943 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9944 $as_echo_n "(cached) " >&6
9947 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9950 (eval $ac_compile) 2>&5
9952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9953 test $ac_status = 0; } 2>conftest.err
; then
9956 libobjs
=conftest.
$ac_objext
9958 wl
=$lt_prog_compiler_wl
9959 pic_flag
=$lt_prog_compiler_pic
9965 lt_save_allow_undefined_flag
=$allow_undefined_flag
9966 allow_undefined_flag
=
9967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9968 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9971 test $ac_status = 0; }
9973 lt_cv_archive_cmds_need_lc
=no
9975 lt_cv_archive_cmds_need_lc
=yes
9977 allow_undefined_flag
=$lt_save_allow_undefined_flag
9979 cat conftest.err
1>&5
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9985 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9986 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10150 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10152 if test "$GCC" = yes; then
10154 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10155 *) lt_awk_arg
="/^libraries:/" ;;
10158 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10159 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10161 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10162 case $lt_search_path_spec in
10164 # if the path contains ";" then we assume it to be the separator
10165 # otherwise default to the standard path separator (i.e. ":") - it is
10166 # assumed that no part of a normal pathname contains ";" but that should
10167 # okay in the real world where ";" in dirpaths is itself problematic.
10168 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10171 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10174 # Ok, now we have the path, separated by spaces, we can step through it
10175 # and add multilib dir if necessary.
10176 lt_tmp_lt_search_path_spec
=
10177 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10178 for lt_sys_path
in $lt_search_path_spec; do
10179 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10180 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10182 test -d "$lt_sys_path" && \
10183 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10186 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10187 BEGIN {RS=" "; FS="/|\n";} {
10190 for (lt_i = NF; lt_i > 0; lt_i--) {
10191 if ($lt_i != "" && $lt_i != ".") {
10192 if ($lt_i == "..") {
10195 if (lt_count == 0) {
10196 lt_foo="/" $lt_i lt_foo;
10203 if (lt_foo != "") { lt_freq[lt_foo]++; }
10204 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10206 # AWK program above erroneously prepends '/' to C:/dos/paths
10209 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10210 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10212 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10214 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10216 library_names_spec
=
10217 libname_spec
='lib$name'
10221 postuninstall_cmds
=
10225 shlibpath_overrides_runpath
=unknown
10227 dynamic_linker
="$host_os ld.so"
10228 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10229 need_lib_prefix
=unknown
10230 hardcode_into_libs
=no
10232 # when you set need_version to no, make sure it does not cause -set_version
10233 # flags to be left without arguments
10234 need_version
=unknown
10239 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10240 shlibpath_var
=LIBPATH
10242 # AIX 3 has no versioning support, so we append a major version to the name.
10243 soname_spec
='${libname}${release}${shared_ext}$major'
10250 hardcode_into_libs
=yes
10251 if test "$host_cpu" = ia64
; then
10252 # AIX 5 supports IA64
10253 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10254 shlibpath_var
=LD_LIBRARY_PATH
10256 # With GCC up to 2.95.x, collect2 would create an import file
10257 # for dependence libraries. The import file would start with
10258 # the line `#! .'. This would cause the generated library to
10259 # depend on `.', always an invalid library. This was fixed in
10260 # development snapshots of GCC prior to 3.0.
10262 aix4 | aix4.
[01] | aix4.
[01].
*)
10263 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10265 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10268 can_build_shared
=no
10272 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10273 # soname into executable. Probably we can add versioning support to
10274 # collect2, so additional links can be useful in future.
10275 if test "$aix_use_runtimelinking" = yes; then
10276 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10277 # instead of lib<name>.a to let people know that these are not
10278 # typical AIX shared libraries.
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 # We preserve .a as extension for shared libraries through AIX4.2
10282 # and later when we are not doing run time linking.
10283 library_names_spec
='${libname}${release}.a $libname.a'
10284 soname_spec
='${libname}${release}${shared_ext}$major'
10286 shlibpath_var
=LIBPATH
10293 # Since July 2007 AmigaOS4 officially supports .so libraries.
10294 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10298 library_names_spec
='$libname.ixlibrary $libname.a'
10299 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10300 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10306 library_names_spec
='${libname}${shared_ext}'
10307 dynamic_linker
="$host_os ld.so"
10308 shlibpath_var
=LIBRARY_PATH
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10315 soname_spec
='${libname}${release}${shared_ext}$major'
10316 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10317 shlibpath_var
=LD_LIBRARY_PATH
10318 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10319 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10320 # the default ld.so.conf also contains /usr/contrib/lib and
10321 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10322 # libtool to hard-code these into programs
10325 cygwin
* | mingw
* | pw32
* | cegcc
*)
10326 version_type
=windows
10331 case $GCC,$cc_basename in
10334 library_names_spec
='$libname.dll.a'
10335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10336 postinstall_cmds
='base_file=`basename \${file}`~
10337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10338 dldir=$destdir/`dirname \$dlpath`~
10339 test -d \$dldir || mkdir -p \$dldir~
10340 $install_prog $dir/$dlname \$dldir/$dlname~
10341 chmod a+x \$dldir/$dlname~
10342 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10343 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10345 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10346 dlpath=$dir/\$dldll~
10348 shlibpath_overrides_runpath
=yes
10352 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10353 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10355 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10358 # MinGW DLLs use traditional 'lib' prefix
10359 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10362 # pw32 DLLs use 'pw' prefix rather than 'lib'
10363 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10366 dynamic_linker
='Win32 ld.exe'
10371 libname_spec
='$name'
10372 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10373 library_names_spec
='${libname}.dll.lib'
10377 sys_lib_search_path_spec
=
10380 for lt_path
in $LIB
10383 # Let DOS variable expansion print the short 8.3 style file name.
10384 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10385 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10388 # Convert to MSYS style.
10389 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10392 # Convert to unix form, then to dos form, then back to unix form
10393 # but this time dos style (no spaces!) so that the unix form looks
10394 # like /cygdrive/c/PROGRA~1:/cygdr...
10395 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10396 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10397 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10400 sys_lib_search_path_spec
="$LIB"
10401 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10402 # It is most probably a Windows format PATH.
10403 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10405 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10407 # FIXME: find the short name or the path components, as spaces are
10408 # common. (e.g. "Program Files" -> "PROGRA~1")
10412 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10413 postinstall_cmds
='base_file=`basename \${file}`~
10414 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10415 dldir=$destdir/`dirname \$dlpath`~
10416 test -d \$dldir || mkdir -p \$dldir~
10417 $install_prog $dir/$dlname \$dldir/$dlname'
10418 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10419 dlpath=$dir/\$dldll~
10421 shlibpath_overrides_runpath
=yes
10422 dynamic_linker
='Win32 link.exe'
10426 # Assume MSVC wrapper
10427 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10428 dynamic_linker
='Win32 ld.exe'
10431 # FIXME: first we should search . and the directory the executable is in
10435 darwin
* | rhapsody
*)
10436 dynamic_linker
="$host_os dyld"
10437 version_type
=darwin
10440 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10441 soname_spec
='${libname}${release}${major}$shared_ext'
10442 shlibpath_overrides_runpath
=yes
10443 shlibpath_var
=DYLD_LIBRARY_PATH
10444 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10446 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10447 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10455 soname_spec
='${libname}${release}${shared_ext}$major'
10456 shlibpath_var
=LD_LIBRARY_PATH
10463 freebsd
* | dragonfly
*)
10464 # DragonFly does not have aout. When/if they implement a new
10465 # versioning mechanism, adjust this.
10466 if test -x /usr
/bin
/objformat
; then
10467 objformat
=`/usr/bin/objformat`
10470 freebsd
[123]*) objformat
=aout
;;
10471 *) objformat
=elf
;;
10474 version_type
=freebsd-
$objformat
10475 case $version_type in
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10486 shlibpath_var
=LD_LIBRARY_PATH
10489 shlibpath_overrides_runpath
=yes
10491 freebsd3.
[01]* | freebsdelf3.
[01]*)
10492 shlibpath_overrides_runpath
=yes
10493 hardcode_into_libs
=yes
10495 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10496 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10497 shlibpath_overrides_runpath
=no
10498 hardcode_into_libs
=yes
10500 *) # from 4.6 on, and DragonFly
10501 shlibpath_overrides_runpath
=yes
10502 hardcode_into_libs
=yes
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 hardcode_into_libs
=yes
10521 dynamic_linker
="$host_os runtime_loader"
10522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10523 soname_spec
='${libname}${release}${shared_ext}$major'
10524 shlibpath_var
=LIBRARY_PATH
10525 shlibpath_overrides_runpath
=yes
10526 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10527 hardcode_into_libs
=yes
10530 hpux9
* | hpux10
* | hpux11
*)
10531 # Give a soname corresponding to the major version so that dld.sl refuses to
10532 # link against other versions.
10539 hardcode_into_libs
=yes
10540 dynamic_linker
="$host_os dld.so"
10541 shlibpath_var
=LD_LIBRARY_PATH
10542 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec
='${libname}${release}${shared_ext}$major'
10545 if test "X$HPUX_IA64_MODE" = X32
; then
10546 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10548 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10550 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10554 hardcode_into_libs
=yes
10555 dynamic_linker
="$host_os dld.sl"
10556 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10557 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10559 soname_spec
='${libname}${release}${shared_ext}$major'
10560 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10561 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10565 dynamic_linker
="$host_os dld.sl"
10566 shlibpath_var
=SHLIB_PATH
10567 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10572 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10573 postinstall_cmds
='chmod 555 $lib'
10574 # or fails outright, so override atomically:
10575 install_override_mode
=555
10582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10583 soname_spec
='${libname}${release}${shared_ext}$major'
10584 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10585 shlibpath_var
=LD_LIBRARY_PATH
10586 shlibpath_overrides_runpath
=no
10587 hardcode_into_libs
=yes
10590 irix5
* | irix6
* | nonstopux
*)
10592 nonstopux
*) version_type
=nonstopux
;;
10594 if test "$lt_cv_prog_gnu_ld" = yes; then
10602 soname_spec
='${libname}${release}${shared_ext}$major'
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10605 irix5
* | nonstopux
*)
10606 libsuff
= shlibsuff
=
10609 case $LD in # libtool.m4 will add one of these switches to LD
10610 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10611 libsuff
= shlibsuff
= libmagic
=32-bit;;
10612 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10613 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10614 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10615 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10616 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10620 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10621 shlibpath_overrides_runpath
=no
10622 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10623 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10624 hardcode_into_libs
=yes
10627 # No shared lib support for Linux oldld, aout, or coff.
10628 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10632 # This must be Linux ELF.
10633 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10640 shlibpath_var
=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath
=no
10643 # Some binutils ld are patched to set DT_RUNPATH
10644 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10645 $as_echo_n "(cached) " >&6
10647 lt_cv_shlibpath_overrides_runpath
=no
10648 save_LDFLAGS
=$LDFLAGS
10649 save_libdir
=$libdir
10650 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10651 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10663 if ac_fn_c_try_link
"$LINENO"; then :
10664 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10665 lt_cv_shlibpath_overrides_runpath
=yes
10668 rm -f core conftest.err conftest.
$ac_objext \
10669 conftest
$ac_exeext conftest.
$ac_ext
10670 LDFLAGS
=$save_LDFLAGS
10671 libdir
=$save_libdir
10675 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10677 # This implies no fast_install, which is unacceptable.
10678 # Some rework will be needed to allow for fast_install
10679 # before this can be enabled.
10680 hardcode_into_libs
=yes
10682 # Append ld.so.conf contents to the search path
10683 if test -f /etc
/ld.so.conf
; then
10684 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10685 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10688 # We used to test for /lib/ld.so.1 and disable shared libraries on
10689 # powerpc, because MkLinux only supported shared libraries with the
10690 # GNU dynamic linker. Since this was broken with cross compilers,
10691 # most powerpc-linux boxes support dynamic linking these days and
10692 # people can always --disable-shared, the test was removed, and we
10693 # assume the GNU/Linux dynamic linker is in use.
10694 dynamic_linker
='GNU/Linux ld.so'
10701 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10703 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10704 dynamic_linker
='NetBSD (a.out) ld.so'
10706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10707 soname_spec
='${libname}${release}${shared_ext}$major'
10708 dynamic_linker
='NetBSD ld.elf_so'
10710 shlibpath_var
=LD_LIBRARY_PATH
10711 shlibpath_overrides_runpath
=yes
10712 hardcode_into_libs
=yes
10717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10718 shlibpath_var
=LD_LIBRARY_PATH
10719 shlibpath_overrides_runpath
=yes
10726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec
='${libname}${release}${shared_ext}$major'
10728 shlibpath_var
=LD_LIBRARY_PATH
10729 shlibpath_overrides_runpath
=no
10730 hardcode_into_libs
=yes
10731 dynamic_linker
='ldqnx.so'
10736 sys_lib_dlsearch_path_spec
="/usr/lib"
10738 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10740 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10741 *) need_version
=no
;;
10743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10744 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10745 shlibpath_var
=LD_LIBRARY_PATH
10746 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10748 openbsd2.
[89] | openbsd2.
[89].
*)
10749 shlibpath_overrides_runpath
=no
10752 shlibpath_overrides_runpath
=yes
10756 shlibpath_overrides_runpath
=yes
10761 libname_spec
='$name'
10764 library_names_spec
='$libname${shared_ext} $libname.a'
10765 dynamic_linker
='OS/2 ld.exe'
10766 shlibpath_var
=LIBPATH
10769 osf3
* | osf4
* | osf5
*)
10773 soname_spec
='${libname}${release}${shared_ext}$major'
10774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 shlibpath_var
=LD_LIBRARY_PATH
10776 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10777 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec
='${libname}${release}${shared_ext}$major'
10790 shlibpath_var
=LD_LIBRARY_PATH
10791 shlibpath_overrides_runpath
=yes
10792 hardcode_into_libs
=yes
10793 # ldd complains unless libraries are executable
10794 postinstall_cmds
='chmod +x $lib'
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10800 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10801 shlibpath_var
=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath
=yes
10803 if test "$with_gnu_ld" = yes; then
10811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 soname_spec
='${libname}${release}${shared_ext}$major'
10813 shlibpath_var
=LD_LIBRARY_PATH
10814 case $host_vendor in
10816 shlibpath_overrides_runpath
=no
10818 runpath_var
=LD_RUN_PATH
10826 shlibpath_overrides_runpath
=no
10827 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10833 if test -d /usr
/nec
;then
10835 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10836 soname_spec
='$libname${shared_ext}.$major'
10837 shlibpath_var
=LD_LIBRARY_PATH
10841 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10842 version_type
=freebsd-elf
10845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10846 soname_spec
='${libname}${release}${shared_ext}$major'
10847 shlibpath_var
=LD_LIBRARY_PATH
10848 shlibpath_overrides_runpath
=yes
10849 hardcode_into_libs
=yes
10850 if test "$with_gnu_ld" = yes; then
10851 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10853 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10856 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10860 sys_lib_dlsearch_path_spec
='/usr/lib'
10864 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var
=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath
=no
10871 hardcode_into_libs
=yes
10876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec
='${libname}${release}${shared_ext}$major'
10878 shlibpath_var
=LD_LIBRARY_PATH
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10886 $as_echo "$dynamic_linker" >&6; }
10887 test "$dynamic_linker" = no
&& can_build_shared
=no
10889 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10890 if test "$GCC" = yes; then
10891 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10894 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10895 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10897 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10898 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10995 if test -n "$hardcode_libdir_flag_spec" ||
10996 test -n "$runpath_var" ||
10997 test "X$hardcode_automatic" = "Xyes" ; then
10999 # We can hardcode non-existent directories.
11000 if test "$hardcode_direct" != no
&&
11001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11002 # have to relink, otherwise we might link with an installed library
11003 # when we should be linking with a yet-to-be-installed one
11004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11005 test "$hardcode_minus_L" != no
; then
11006 # Linking always hardcodes the temporary library directory.
11007 hardcode_action
=relink
11009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11010 hardcode_action
=immediate
11013 # We cannot hardcode anything, or else we can only hardcode existing
11015 hardcode_action
=unsupported
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11018 $as_echo "$hardcode_action" >&6; }
11020 if test "$hardcode_action" = relink ||
11021 test "$inherit_rpath" = yes; then
11022 # Fast installation is not supported
11023 enable_fast_install
=no
11024 elif test "$shlibpath_overrides_runpath" = yes ||
11025 test "$enable_shared" = no
; then
11026 # Fast installation is not necessary
11027 enable_fast_install
=needless
11035 if test "x$enable_dlopen" != xyes
; then
11036 enable_dlopen
=unknown
11037 enable_dlopen_self
=unknown
11038 enable_dlopen_self_static
=unknown
11045 lt_cv_dlopen
="load_add_on"
11047 lt_cv_dlopen_self
=yes
11050 mingw
* | pw32
* | cegcc
*)
11051 lt_cv_dlopen
="LoadLibrary"
11056 lt_cv_dlopen
="dlopen"
11061 # if libdl is installed we need to link against it
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11063 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11064 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11065 $as_echo_n "(cached) " >&6
11067 ac_check_lib_save_LIBS
=$LIBS
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11087 if ac_fn_c_try_link
"$LINENO"; then :
11088 ac_cv_lib_dl_dlopen
=yes
11090 ac_cv_lib_dl_dlopen
=no
11092 rm -f core conftest.err conftest.
$ac_objext \
11093 conftest
$ac_exeext conftest.
$ac_ext
11094 LIBS
=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11097 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11098 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11099 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11102 lt_cv_dlopen
="dyld"
11104 lt_cv_dlopen_self
=yes
11111 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11112 if test "x$ac_cv_func_shl_load" = xyes
; then :
11113 lt_cv_dlopen
="shl_load"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11116 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11117 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11135 return shl_load ();
11140 if ac_fn_c_try_link
"$LINENO"; then :
11141 ac_cv_lib_dld_shl_load
=yes
11143 ac_cv_lib_dld_shl_load
=no
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LIBS
=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11150 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11151 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11152 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11154 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11155 if test "x$ac_cv_func_dlopen" = xyes
; then :
11156 lt_cv_dlopen
="dlopen"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11159 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11160 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11161 $as_echo_n "(cached) " >&6
11163 ac_check_lib_save_LIBS
=$LIBS
11165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11183 if ac_fn_c_try_link
"$LINENO"; then :
11184 ac_cv_lib_dl_dlopen
=yes
11186 ac_cv_lib_dl_dlopen
=no
11188 rm -f core conftest.err conftest.
$ac_objext \
11189 conftest
$ac_exeext conftest.
$ac_ext
11190 LIBS
=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11193 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11194 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11195 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11198 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11199 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_lib_save_LIBS
=$LIBS
11203 LIBS
="-lsvld $LIBS"
11204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11222 if ac_fn_c_try_link
"$LINENO"; then :
11223 ac_cv_lib_svld_dlopen
=yes
11225 ac_cv_lib_svld_dlopen
=no
11227 rm -f core conftest.err conftest.
$ac_objext \
11228 conftest
$ac_exeext conftest.
$ac_ext
11229 LIBS
=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11232 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11233 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11234 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11237 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11238 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11239 $as_echo_n "(cached) " >&6
11241 ac_check_lib_save_LIBS
=$LIBS
11243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11256 return dld_link ();
11261 if ac_fn_c_try_link
"$LINENO"; then :
11262 ac_cv_lib_dld_dld_link
=yes
11264 ac_cv_lib_dld_dld_link
=no
11266 rm -f core conftest.err conftest.
$ac_objext \
11267 conftest
$ac_exeext conftest.
$ac_ext
11268 LIBS
=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11271 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11272 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11273 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11294 if test "x$lt_cv_dlopen" != xno
; then
11300 case $lt_cv_dlopen in
11302 save_CPPFLAGS
="$CPPFLAGS"
11303 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11305 save_LDFLAGS
="$LDFLAGS"
11306 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11309 LIBS
="$lt_cv_dlopen_libs $LIBS"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11312 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11313 if ${lt_cv_dlopen_self+:} false
; then :
11314 $as_echo_n "(cached) " >&6
11316 if test "$cross_compiling" = yes; then :
11317 lt_cv_dlopen_self
=cross
11319 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11320 lt_status
=$lt_dlunknown
11321 cat > conftest.
$ac_ext <<_LT_EOF
11322 #line $LINENO "configure"
11323 #include "confdefs.h"
11332 # define LT_DLGLOBAL RTLD_GLOBAL
11335 # define LT_DLGLOBAL DL_GLOBAL
11337 # define LT_DLGLOBAL 0
11341 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11342 find out it does not work in some platform. */
11343 #ifndef LT_DLLAZY_OR_NOW
11345 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11348 # define LT_DLLAZY_OR_NOW DL_LAZY
11351 # define LT_DLLAZY_OR_NOW RTLD_NOW
11354 # define LT_DLLAZY_OR_NOW DL_NOW
11356 # define LT_DLLAZY_OR_NOW 0
11363 /* When -fvisbility=hidden is used, assume the code has been annotated
11364 correspondingly for the symbols needed. */
11365 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11366 int fnord () __attribute__((visibility("default")));
11369 int fnord () { return 42; }
11372 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11373 int status = $lt_dlunknown;
11377 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11380 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11381 else puts (dlerror ());
11383 /* dlclose (self); */
11391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11392 (eval $ac_link) 2>&5
11394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11395 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11396 (.
/conftest
; exit; ) >&5 2>/dev
/null
11398 case x
$lt_status in
11399 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11400 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11401 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11404 # compilation failed
11405 lt_cv_dlopen_self
=no
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11413 $as_echo "$lt_cv_dlopen_self" >&6; }
11415 if test "x$lt_cv_dlopen_self" = xyes
; then
11416 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11418 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11419 if ${lt_cv_dlopen_self_static+:} false
; then :
11420 $as_echo_n "(cached) " >&6
11422 if test "$cross_compiling" = yes; then :
11423 lt_cv_dlopen_self_static
=cross
11425 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11426 lt_status
=$lt_dlunknown
11427 cat > conftest.
$ac_ext <<_LT_EOF
11428 #line $LINENO "configure"
11429 #include "confdefs.h"
11438 # define LT_DLGLOBAL RTLD_GLOBAL
11441 # define LT_DLGLOBAL DL_GLOBAL
11443 # define LT_DLGLOBAL 0
11447 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11448 find out it does not work in some platform. */
11449 #ifndef LT_DLLAZY_OR_NOW
11451 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11454 # define LT_DLLAZY_OR_NOW DL_LAZY
11457 # define LT_DLLAZY_OR_NOW RTLD_NOW
11460 # define LT_DLLAZY_OR_NOW DL_NOW
11462 # define LT_DLLAZY_OR_NOW 0
11469 /* When -fvisbility=hidden is used, assume the code has been annotated
11470 correspondingly for the symbols needed. */
11471 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11472 int fnord () __attribute__((visibility("default")));
11475 int fnord () { return 42; }
11478 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11479 int status = $lt_dlunknown;
11483 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11486 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11487 else puts (dlerror ());
11489 /* dlclose (self); */
11497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11498 (eval $ac_link) 2>&5
11500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11501 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11502 (.
/conftest
; exit; ) >&5 2>/dev
/null
11504 case x
$lt_status in
11505 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11506 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11507 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11510 # compilation failed
11511 lt_cv_dlopen_self_static
=no
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11519 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11522 CPPFLAGS
="$save_CPPFLAGS"
11523 LDFLAGS
="$save_LDFLAGS"
11528 case $lt_cv_dlopen_self in
11529 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11530 *) enable_dlopen_self
=unknown
;;
11533 case $lt_cv_dlopen_self_static in
11534 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11535 *) enable_dlopen_self_static
=unknown
;;
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11558 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11559 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11560 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11561 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11563 $as_echo "yes" >&6; }
11565 # FIXME - insert some real tests, host_os isn't really good enough
11568 if test -n "$STRIP" ; then
11569 striplib
="$STRIP -x"
11570 old_striplib
="$STRIP -S"
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11572 $as_echo "yes" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11575 $as_echo "no" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11580 $as_echo "no" >&6; }
11596 # Report which library types will actually be built
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11598 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11600 $as_echo "$can_build_shared" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11603 $as_echo_n "checking whether to build shared libraries... " >&6; }
11604 test "$can_build_shared" = "no" && enable_shared
=no
11606 # On AIX, shared libraries and static libraries use the same namespace, and
11607 # are all built from PIC.
11610 test "$enable_shared" = yes && enable_static
=no
11611 if test -n "$RANLIB"; then
11612 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11613 postinstall_cmds
='$RANLIB $lib'
11618 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11619 test "$enable_shared" = yes && enable_static
=no
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11624 $as_echo "$enable_shared" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11627 $as_echo_n "checking whether to build static libraries... " >&6; }
11628 # Make sure either enable_shared or enable_static is yes.
11629 test "$enable_shared" = yes || enable_static
=yes
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11631 $as_echo "$enable_static" >&6; }
11638 ac_cpp
='$CPP $CPPFLAGS'
11639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11657 ac_config_commands
="$ac_config_commands libtool"
11662 # Only expand once:
11670 *-*-mingw32* |
*-*-cygwin*)
11672 $as_echo "#define HOST_W32 1" >>confdefs.h
11675 if test x
"$enable_shared" != "xno" ; then
11676 NO_UNDEFINED
="-no-undefined"
11680 EXTRA_LIBQUVI_LDFLAGS
="$NO_UNDEFINED"
11683 # Checks for programs.
11684 for ac_prog
in gawk mawk nawk
awk
11686 # Extract the first word of "$ac_prog", so it can be a program name with args.
11687 set dummy
$ac_prog; ac_word
=$2
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11689 $as_echo_n "checking for $ac_word... " >&6; }
11690 if ${ac_cv_prog_AWK+:} false
; then :
11691 $as_echo_n "(cached) " >&6
11693 if test -n "$AWK"; then
11694 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11697 for as_dir
in $PATH
11700 test -z "$as_dir" && as_dir
=.
11701 for ac_exec_ext
in '' $ac_executable_extensions; do
11702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11703 ac_cv_prog_AWK
="$ac_prog"
11704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11713 AWK
=$ac_cv_prog_AWK
11714 if test -n "$AWK"; then
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11716 $as_echo "$AWK" >&6; }
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11719 $as_echo "no" >&6; }
11723 test -n "$AWK" && break
11727 ac_cpp
='$CPP $CPPFLAGS'
11728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11731 if test -n "$ac_tool_prefix"; then
11732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11733 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if ${ac_cv_prog_CC+:} false
; then :
11737 $as_echo_n "(cached) " >&6
11739 if test -n "$CC"; then
11740 ac_cv_prog_CC
="$CC" # Let the user override the test.
11742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11743 for as_dir
in $PATH
11746 test -z "$as_dir" && as_dir
=.
11747 for ac_exec_ext
in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11760 if test -n "$CC"; then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11762 $as_echo "$CC" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11770 if test -z "$ac_cv_prog_CC"; then
11772 # Extract the first word of "gcc", so it can be a program name with args.
11773 set dummy gcc
; ac_word
=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11777 $as_echo_n "(cached) " >&6
11779 if test -n "$ac_ct_CC"; then
11780 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11783 for as_dir
in $PATH
11786 test -z "$as_dir" && as_dir
=.
11787 for ac_exec_ext
in '' $ac_executable_extensions; do
11788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789 ac_cv_prog_ac_ct_CC
="gcc"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11799 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11800 if test -n "$ac_ct_CC"; then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11802 $as_echo "$ac_ct_CC" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11808 if test "x$ac_ct_CC" = x
; then
11811 case $cross_compiling:$ac_tool_warned in
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11815 ac_tool_warned
=yes ;;
11820 CC
="$ac_cv_prog_CC"
11823 if test -z "$CC"; then
11824 if test -n "$ac_tool_prefix"; then
11825 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11826 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11828 $as_echo_n "checking for $ac_word... " >&6; }
11829 if ${ac_cv_prog_CC+:} false
; then :
11830 $as_echo_n "(cached) " >&6
11832 if test -n "$CC"; then
11833 ac_cv_prog_CC
="$CC" # Let the user override the test.
11835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11836 for as_dir
in $PATH
11839 test -z "$as_dir" && as_dir
=.
11840 for ac_exec_ext
in '' $ac_executable_extensions; do
11841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11842 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11853 if test -n "$CC"; then
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11855 $as_echo "$CC" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11864 if test -z "$CC"; then
11865 # Extract the first word of "cc", so it can be a program name with args.
11866 set dummy cc
; ac_word
=$2
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11868 $as_echo_n "checking for $ac_word... " >&6; }
11869 if ${ac_cv_prog_CC+:} false
; then :
11870 $as_echo_n "(cached) " >&6
11872 if test -n "$CC"; then
11873 ac_cv_prog_CC
="$CC" # Let the user override the test.
11875 ac_prog_rejected
=no
11876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11877 for as_dir
in $PATH
11880 test -z "$as_dir" && as_dir
=.
11881 for ac_exec_ext
in '' $ac_executable_extensions; do
11882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11884 ac_prog_rejected
=yes
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11895 if test $ac_prog_rejected = yes; then
11896 # We found a bogon in the path, so make sure we never use it.
11897 set dummy
$ac_cv_prog_CC
11899 if test $# != 0; then
11900 # We chose a different compiler from the bogus one.
11901 # However, it has the same basename, so the bogon will be chosen
11902 # first if we set CC to just the basename; use the full file name.
11904 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11910 if test -n "$CC"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11912 $as_echo "$CC" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11920 if test -z "$CC"; then
11921 if test -n "$ac_tool_prefix"; then
11922 for ac_prog
in cl.exe
11924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11925 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_prog_CC+:} false
; then :
11929 $as_echo_n "(cached) " >&6
11931 if test -n "$CC"; then
11932 ac_cv_prog_CC
="$CC" # Let the user override the test.
11934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11935 for as_dir
in $PATH
11938 test -z "$as_dir" && as_dir
=.
11939 for ac_exec_ext
in '' $ac_executable_extensions; do
11940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11941 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11952 if test -n "$CC"; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11954 $as_echo "$CC" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11961 test -n "$CC" && break
11964 if test -z "$CC"; then
11966 for ac_prog
in cl.exe
11968 # Extract the first word of "$ac_prog", so it can be a program name with args.
11969 set dummy
$ac_prog; ac_word
=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11973 $as_echo_n "(cached) " >&6
11975 if test -n "$ac_ct_CC"; then
11976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11979 for as_dir
in $PATH
11982 test -z "$as_dir" && as_dir
=.
11983 for ac_exec_ext
in '' $ac_executable_extensions; do
11984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11985 ac_cv_prog_ac_ct_CC
="$ac_prog"
11986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11995 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11996 if test -n "$ac_ct_CC"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11998 $as_echo "$ac_ct_CC" >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 $as_echo "no" >&6; }
12005 test -n "$ac_ct_CC" && break
12008 if test "x$ac_ct_CC" = x
; then
12011 case $cross_compiling:$ac_tool_warned in
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12015 ac_tool_warned
=yes ;;
12024 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12026 as_fn_error $?
"no acceptable C compiler found in \$PATH
12027 See \`config.log' for more details" "$LINENO" 5; }
12029 # Provide some information about the compiler.
12030 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12033 for ac_option
in --version -v -V -qversion; do
12034 { { ac_try
="$ac_compiler $ac_option >&5"
12035 case "(($ac_try" in
12036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12037 *) ac_try_echo=$ac_try;;
12039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12040 $as_echo "$ac_try_echo"; } >&5
12041 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12043 if test -s conftest.err; then
12045 ... rest of stderr output deleted ...
12046 10q' conftest.err >conftest.er1
12047 cat conftest.er1 >&5
12049 rm -f conftest.er1 conftest.err
12050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12051 test $ac_status = 0; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12055 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12056 if ${ac_cv_c_compiler_gnu+:} false; then :
12057 $as_echo_n "(cached) " >&6
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12073 if ac_fn_c_try_compile "$LINENO"; then :
12074 ac_compiler_gnu=yes
12078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12079 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12083 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12084 if test $ac_compiler_gnu = yes; then
12089 ac_test_CFLAGS=${CFLAGS+set}
12090 ac_save_CFLAGS=$CFLAGS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12092 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12093 if ${ac_cv_prog_cc_g+:} false; then :
12094 $as_echo_n "(cached) " >&6
12096 ac_save_c_werror_flag=$ac_c_werror_flag
12097 ac_c_werror_flag=yes
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12111 if ac_fn_c_try_compile "$LINENO"; then :
12112 ac_cv_prog_cc_g=yes
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12126 if ac_fn_c_try_compile "$LINENO"; then :
12129 ac_c_werror_flag=$ac_save_c_werror_flag
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12142 if ac_fn_c_try_compile "$LINENO"; then :
12143 ac_cv_prog_cc_g=yes
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 ac_c_werror_flag=$ac_save_c_werror_flag
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12153 $as_echo "$ac_cv_prog_cc_g" >&6; }
12154 if test "$ac_test_CFLAGS" = set; then
12155 CFLAGS=$ac_save_CFLAGS
12156 elif test $ac_cv_prog_cc_g = yes; then
12157 if test "$GCC" = yes; then
12163 if test "$GCC" = yes; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12170 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12171 if ${ac_cv_prog_cc_c89+:} false; then :
12172 $as_echo_n "(cached) " >&6
12174 ac_cv_prog_cc_c89=no
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12178 #include <stdarg.h>
12180 #include <sys/types.h>
12181 #include <sys/stat.h>
12182 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12183 struct buf { int x; };
12184 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12185 static char *e (p, i)
12191 static char *f (char * (*g) (char **, int), char **p, ...)
12196 s = g (p, va_arg (v,int));
12201 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12202 function prototypes and stuff, but not '\xHH' hex character constants.
12203 These don't provoke an error unfortunately, instead are silently treated
12204 as 'x'. The following induces an error, until -std is added to get
12205 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12206 array size at least. It's necessary to write '\x00'==0 to get something
12207 that's true only with -std. */
12208 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12210 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12211 inside strings and character constants. */
12213 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12215 int test (int i, double x);
12216 struct s1 {int (*f) (int a);};
12217 struct s2 {int (*f) (double a);};
12218 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12224 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12229 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12230 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12232 CC="$ac_save_CC $ac_arg"
12233 if ac_fn_c_try_compile "$LINENO"; then :
12234 ac_cv_prog_cc_c89=$ac_arg
12236 rm -f core conftest.err conftest.$ac_objext
12237 test "x$ac_cv_prog_cc_c89" != "xno" && break
12239 rm -f conftest.$ac_ext
12244 case "x$ac_cv_prog_cc_c89" in
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12247 $as_echo "none needed" >&6; } ;;
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12250 $as_echo "unsupported" >&6; } ;;
12252 CC="$CC $ac_cv_prog_cc_c89"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12254 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12256 if test "x$ac_cv_prog_cc_c89" != xno; then :
12261 ac_cpp='$CPP $CPPFLAGS'
12262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12267 ac_cpp='$CXXCPP $CPPFLAGS'
12268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12271 if test -z "$CXX"; then
12272 if test -n "$CCC"; then
12275 if test -n "$ac_tool_prefix"; then
12276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if ${ac_cv_prog_CXX+:} false; then :
12283 $as_echo_n "(cached) " >&6
12285 if test -n "$CXX"; then
12286 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12295 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12305 CXX=$ac_cv_prog_CXX
12306 if test -n "$CXX"; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12308 $as_echo "$CXX" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311 $as_echo "no" >&6; }
12315 test -n "$CXX" && break
12318 if test -z "$CXX"; then
12320 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12322 # Extract the first word of "$ac_prog", so it can be a program name with args.
12323 set dummy $ac_prog; ac_word=$2
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12325 $as_echo_n "checking for $ac_word... " >&6; }
12326 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12327 $as_echo_n "(cached) " >&6
12329 if test -n "$ac_ct_CXX"; then
12330 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12333 for as_dir in $PATH
12336 test -z "$as_dir" && as_dir=.
12337 for ac_exec_ext in '' $ac_executable_extensions; do
12338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12339 ac_cv_prog_ac_ct_CXX="$ac_prog"
12340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12350 if test -n "$ac_ct_CXX"; then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12352 $as_echo "$ac_ct_CXX" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12359 test -n "$ac_ct_CXX" && break
12362 if test "x$ac_ct_CXX" = x; then
12365 case $cross_compiling:$ac_tool_warned in
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12369 ac_tool_warned=yes ;;
12377 # Provide some information about the compiler.
12378 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12381 for ac_option in --version -v -V -qversion; do
12382 { { ac_try="$ac_compiler $ac_option >&5"
12383 case "(($ac_try" in
12384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12385 *) ac_try_echo
=$ac_try;;
12387 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12388 $as_echo "$ac_try_echo"; } >&5
12389 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12391 if test -s conftest.err
; then
12393 ... rest of stderr output deleted ...
12394 10q' conftest.err
>conftest.er1
12395 cat conftest.er1
>&5
12397 rm -f conftest.er1 conftest.err
12398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12399 test $ac_status = 0; }
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12403 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12404 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
12405 $as_echo_n "(cached) " >&6
12407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12421 if ac_fn_cxx_try_compile
"$LINENO"; then :
12422 ac_compiler_gnu
=yes
12426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12427 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12431 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12432 if test $ac_compiler_gnu = yes; then
12437 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12438 ac_save_CXXFLAGS
=$CXXFLAGS
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12440 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12441 if ${ac_cv_prog_cxx_g+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
12445 ac_cxx_werror_flag
=yes
12446 ac_cv_prog_cxx_g
=no
12448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12459 if ac_fn_cxx_try_compile
"$LINENO"; then :
12460 ac_cv_prog_cxx_g
=yes
12463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12474 if ac_fn_cxx_try_compile
"$LINENO"; then :
12477 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12490 if ac_fn_cxx_try_compile
"$LINENO"; then :
12491 ac_cv_prog_cxx_g
=yes
12493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12498 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12501 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12502 if test "$ac_test_CXXFLAGS" = set; then
12503 CXXFLAGS
=$ac_save_CXXFLAGS
12504 elif test $ac_cv_prog_cxx_g = yes; then
12505 if test "$GXX" = yes; then
12511 if test "$GXX" = yes; then
12518 ac_cpp
='$CPP $CPPFLAGS'
12519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12523 depcc
="$CXX" am_compiler_list
=
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12526 $as_echo_n "checking dependency style of $depcc... " >&6; }
12527 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
12528 $as_echo_n "(cached) " >&6
12530 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12531 # We make a subdir and do the tests there. Otherwise we can end up
12532 # making bogus files that we don't know about and never remove. For
12533 # instance it was reported that on HP-UX the gcc test will end up
12534 # making a dummy file named `D' -- because `-MD' means `put the output
12537 # Copy depcomp to subdir because otherwise we won't find it if we're
12538 # using a relative directory.
12539 cp "$am_depcomp" conftest.dir
12541 # We will build objects and dependencies in a subdirectory because
12542 # it helps to detect inapplicable dependency modes. For instance
12543 # both Tru64's cc and ICC support -MD to output dependencies as a
12544 # side effect of compilation, but ICC will put the dependencies in
12545 # the current directory while Tru64 will put them in the object
12549 am_cv_CXX_dependencies_compiler_type
=none
12550 if test "$am_compiler_list" = ""; then
12551 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12553 am__universal
=false
12554 case " $depcc " in #(
12555 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12558 for depmode
in $am_compiler_list; do
12559 # Setup a source with many dependencies, because some compilers
12560 # like to wrap large dependency lists on column 80 (with \), and
12561 # we should not choose a depcomp mode which is confused by this.
12563 # We need to recreate these files for each test, as the compiler may
12564 # overwrite some of them when testing with obscure command lines.
12565 # This happens at least with the AIX C compiler.
12567 for i
in 1 2 3 4 5 6; do
12568 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12569 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12570 # Solaris 8's {/usr,}/bin/sh.
12571 touch sub
/conftst
$i.h
12573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12575 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12576 # mode. It turns out that the SunPro C++ compiler does not properly
12577 # handle `-M -o', and we need to detect this. Also, some Intel
12578 # versions had trouble with output in subdirs
12579 am__obj
=sub
/conftest.
${OBJEXT-o}
12580 am__minus_obj
="-o $am__obj"
12583 # This depmode causes a compiler race in universal mode.
12584 test "$am__universal" = false ||
continue
12587 # after this tag, mechanisms are not by side-effect, so they'll
12588 # only be used when explicitly requested
12589 if test "x$enable_dependency_tracking" = xyes
; then
12595 msvisualcpp | msvcmsys
)
12596 # This compiler won't grok `-c -o', but also, the minuso test has
12597 # not run yet. These depmodes are late enough in the game, and
12598 # so weak that their functioning should not be impacted.
12599 am__obj
=conftest.
${OBJEXT-o}
12604 if depmode
=$depmode \
12605 source=sub
/conftest.c object
=$am__obj \
12606 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12607 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12608 >/dev
/null
2>conftest.err
&&
12609 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12610 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12611 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12612 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12613 # icc doesn't choke on unknown options, it will just issue warnings
12614 # or remarks (even with -Werror). So we grep stderr for any message
12615 # that says an option was ignored or not supported.
12616 # When given -MP, icc 7.0 and 7.1 complain thusly:
12617 # icc: Command line warning: ignoring option '-M'; no argument required
12618 # The diagnosis changed in icc 8.0:
12619 # icc: Command line remark: option '-MP' not supported
12620 if (grep 'ignoring option' conftest.err ||
12621 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12622 am_cv_CXX_dependencies_compiler_type
=$depmode
12629 rm -rf conftest.dir
12631 am_cv_CXX_dependencies_compiler_type
=none
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12636 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12637 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12640 test "x$enable_dependency_tracking" != xno \
12641 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12642 am__fastdepCXX_TRUE
=
12643 am__fastdepCXX_FALSE
='#'
12645 am__fastdepCXX_TRUE
='#'
12646 am__fastdepCXX_FALSE
=
12652 func_stripname_cnf
()
12655 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12656 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12658 } # func_stripname_cnf
12660 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12661 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12662 (test "X$CXX" != "Xg++"))) ; then
12664 ac_cpp
='$CXXCPP $CPPFLAGS'
12665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12669 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12670 if test -z "$CXXCPP"; then
12671 if ${ac_cv_prog_CXXCPP+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 # Double quotes because CXXCPP needs to be expanded
12675 for CXXCPP
in "$CXX -E" "/lib/cpp"
12677 ac_preproc_ok
=false
12678 for ac_cxx_preproc_warn_flag
in '' yes
12680 # Use a header file that comes with gcc, so configuring glibc
12681 # with a fresh cross-compiler works.
12682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12683 # <limits.h> exists even on freestanding compilers.
12684 # On the NeXT, cc -E runs the code through the compiler's parser,
12685 # not just through cpp. "Syntax error" is here to catch this case.
12686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 # include <limits.h>
12691 # include <assert.h>
12695 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12698 # Broken: fails on valid input.
12701 rm -f conftest.err conftest.i conftest.
$ac_ext
12703 # OK, works on sane cases. Now check whether nonexistent headers
12704 # can be detected and how.
12705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12707 #include <ac_nonexistent.h>
12709 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12710 # Broken: success on invalid input.
12713 # Passes both tests.
12717 rm -f conftest.err conftest.i conftest.
$ac_ext
12720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12721 rm -f conftest.i conftest.err conftest.
$ac_ext
12722 if $ac_preproc_ok; then :
12727 ac_cv_prog_CXXCPP
=$CXXCPP
12730 CXXCPP
=$ac_cv_prog_CXXCPP
12732 ac_cv_prog_CXXCPP
=$CXXCPP
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12735 $as_echo "$CXXCPP" >&6; }
12736 ac_preproc_ok
=false
12737 for ac_cxx_preproc_warn_flag
in '' yes
12739 # Use a header file that comes with gcc, so configuring glibc
12740 # with a fresh cross-compiler works.
12741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12742 # <limits.h> exists even on freestanding compilers.
12743 # On the NeXT, cc -E runs the code through the compiler's parser,
12744 # not just through cpp. "Syntax error" is here to catch this case.
12745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12748 # include <limits.h>
12750 # include <assert.h>
12754 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12757 # Broken: fails on valid input.
12760 rm -f conftest.err conftest.i conftest.
$ac_ext
12762 # OK, works on sane cases. Now check whether nonexistent headers
12763 # can be detected and how.
12764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12766 #include <ac_nonexistent.h>
12768 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12769 # Broken: success on invalid input.
12772 # Passes both tests.
12776 rm -f conftest.err conftest.i conftest.
$ac_ext
12779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12780 rm -f conftest.i conftest.err conftest.
$ac_ext
12781 if $ac_preproc_ok; then :
12784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12786 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12787 See \`config.log' for more details" "$LINENO" 5; }
12791 ac_cpp
='$CPP $CPPFLAGS'
12792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12797 _lt_caught_CXX_error
=yes
12801 ac_cpp
='$CXXCPP $CPPFLAGS'
12802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12806 archive_cmds_need_lc_CXX
=no
12807 allow_undefined_flag_CXX
=
12808 always_export_symbols_CXX
=no
12809 archive_expsym_cmds_CXX
=
12810 compiler_needs_object_CXX
=no
12811 export_dynamic_flag_spec_CXX
=
12812 hardcode_direct_CXX
=no
12813 hardcode_direct_absolute_CXX
=no
12814 hardcode_libdir_flag_spec_CXX
=
12815 hardcode_libdir_flag_spec_ld_CXX
=
12816 hardcode_libdir_separator_CXX
=
12817 hardcode_minus_L_CXX
=no
12818 hardcode_shlibpath_var_CXX
=unsupported
12819 hardcode_automatic_CXX
=no
12820 inherit_rpath_CXX
=no
12822 module_expsym_cmds_CXX
=
12823 link_all_deplibs_CXX
=unknown
12824 old_archive_cmds_CXX
=$old_archive_cmds
12825 reload_flag_CXX
=$reload_flag
12826 reload_cmds_CXX
=$reload_cmds
12827 no_undefined_flag_CXX
=
12828 whole_archive_flag_spec_CXX
=
12829 enable_shared_with_static_runtimes_CXX
=no
12831 # Source file extension for C++ test sources.
12834 # Object file extension for compiled C++ test sources.
12838 # No sense in running all these tests if we already determined that
12839 # the CXX compiler isn't working. Some variables (like enable_shared)
12840 # are currently assumed to apply to all compilers on this platform,
12841 # and will be corrupted by setting them based on a non-working compiler.
12842 if test "$_lt_caught_CXX_error" != yes; then
12843 # Code to be used in simple compile tests
12844 lt_simple_compile_test_code
="int some_variable = 0;"
12846 # Code to be used in simple link tests
12847 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12849 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12856 # If no C compiler was specified, use CC.
12859 # If no C compiler flags were specified, use CFLAGS.
12860 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12862 # Allow CC to be a program name with arguments.
12866 # save warnings/boilerplate of simple test code
12867 ac_outfile
=conftest.
$ac_objext
12868 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12869 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12870 _lt_compiler_boilerplate
=`cat conftest.err`
12873 ac_outfile
=conftest.
$ac_objext
12874 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12875 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12876 _lt_linker_boilerplate
=`cat conftest.err`
12880 # Allow CC to be a program name with arguments.
12882 lt_save_CFLAGS
=$CFLAGS
12886 lt_save_with_gnu_ld
=$with_gnu_ld
12887 lt_save_path_LD
=$lt_cv_path_LD
12888 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12889 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12891 $as_unset lt_cv_prog_gnu_ld
12893 if test -n "${lt_cv_path_LDCXX+set}"; then
12894 lt_cv_path_LD
=$lt_cv_path_LDCXX
12896 $as_unset lt_cv_path_LD
12898 test -z "${LDCXX+set}" || LD
=$LDCXX
12903 for cc_temp
in $compiler""; do
12905 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12906 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12911 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12914 if test -n "$compiler"; then
12915 # We don't want -fno-exception when compiling C++ code, so set the
12916 # no_builtin_flag separately
12917 if test "$GXX" = yes; then
12918 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12920 lt_prog_compiler_no_builtin_flag_CXX
=
12923 if test "$GXX" = yes; then
12924 # Set up default GNU C++ configuration
12928 # Check whether --with-gnu-ld was given.
12929 if test "${with_gnu_ld+set}" = set; then :
12930 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12936 if test "$GCC" = yes; then
12937 # Check if gcc -print-prog-name=ld gives a path.
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12939 $as_echo_n "checking for ld used by $CC... " >&6; }
12942 # gcc leaves a trailing carriage return which upsets mingw
12943 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12945 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12948 # Accept absolute paths.
12950 re_direlt
='/[^/][^/]*/\.\./'
12951 # Canonicalize the pathname of ld
12952 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12953 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12954 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12956 test -z "$LD" && LD
="$ac_prog"
12959 # If it fails, then pretend we aren't using GCC.
12963 # If it is relative, then search for the first ld in PATH.
12964 with_gnu_ld
=unknown
12967 elif test "$with_gnu_ld" = yes; then
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12969 $as_echo_n "checking for GNU ld... " >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12972 $as_echo_n "checking for non-GNU ld... " >&6; }
12974 if ${lt_cv_path_LD+:} false
; then :
12975 $as_echo_n "(cached) " >&6
12977 if test -z "$LD"; then
12978 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12979 for ac_dir
in $PATH; do
12981 test -z "$ac_dir" && ac_dir
=.
12982 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12983 lt_cv_path_LD
="$ac_dir/$ac_prog"
12984 # Check to see if the program is GNU ld. I'd rather use --version,
12985 # but apparently some variants of GNU ld only accept -v.
12986 # Break only if it was the GNU/non-GNU ld that we prefer.
12987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12988 *GNU
* |
*'with BFD'*)
12989 test "$with_gnu_ld" != no
&& break
12992 test "$with_gnu_ld" != yes && break
12999 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13003 LD
="$lt_cv_path_LD"
13004 if test -n "$LD"; then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13006 $as_echo "$LD" >&6; }
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009 $as_echo "no" >&6; }
13011 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13013 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13014 if ${lt_cv_prog_gnu_ld+:} false
; then :
13015 $as_echo_n "(cached) " >&6
13017 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13018 case `$LD -v 2>&1 </dev/null` in
13019 *GNU
* |
*'with BFD'*)
13020 lt_cv_prog_gnu_ld
=yes
13023 lt_cv_prog_gnu_ld
=no
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13028 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13029 with_gnu_ld
=$lt_cv_prog_gnu_ld
13037 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13038 # archiving commands below assume that GNU ld is being used.
13039 if test "$with_gnu_ld" = yes; then
13040 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13041 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13043 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13044 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13046 # If archive_cmds runs LD, not CC, wlarc should be empty
13047 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13048 # investigate it a little bit more. (MM)
13051 # ancient GNU ld didn't support --whole-archive et. al.
13052 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13053 $GREP 'no-whole-archive' > /dev
/null
; then
13054 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13056 whole_archive_flag_spec_CXX
=
13062 # A generic and very simple default shared library creation
13063 # command for GNU C++ for the case where it uses the native
13064 # linker, instead of GNU ld. If possible, this setting should
13065 # overridden to take advantage of the native linker features on
13066 # the platform it is being used on.
13067 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13070 # Commands to make compiler produce verbose output that lists
13071 # what "hidden" libraries, object files and flags are used when
13072 # linking a shared library.
13073 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13081 # PORTME: fill in a description of your system's C++ link characteristics
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13083 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13087 # FIXME: insert proper C++ library support
13091 if test "$host_cpu" = ia64
; then
13092 # On IA64, the linker does run time linking by default, so we don't
13093 # have to do anything special.
13094 aix_use_runtimelinking
=no
13095 exp_sym_flag
='-Bexport'
13098 aix_use_runtimelinking
=no
13100 # Test if we are trying to use run time linking or normal
13101 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13102 # need to do runtime linking.
13103 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13104 for ld_flag
in $LDFLAGS; do
13107 aix_use_runtimelinking
=yes
13115 exp_sym_flag
='-bexport'
13116 no_entry_flag
='-bnoentry'
13119 # When large executables or shared objects are built, AIX ld can
13120 # have problems creating the table of contents. If linking a library
13121 # or program results in "error TOC overflow" add -mminimal-toc to
13122 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13123 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13125 archive_cmds_CXX
=''
13126 hardcode_direct_CXX
=yes
13127 hardcode_direct_absolute_CXX
=yes
13128 hardcode_libdir_separator_CXX
=':'
13129 link_all_deplibs_CXX
=yes
13130 file_list_spec_CXX
='${wl}-f,'
13132 if test "$GXX" = yes; then
13133 case $host_os in aix4.
[012]|aix4.
[012].
*)
13134 # We only want to do this on AIX 4.2 and lower, the check
13135 # below for broken collect2 doesn't work under 4.3+
13136 collect2name
=`${CC} -print-prog-name=collect2`
13137 if test -f "$collect2name" &&
13138 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13140 # We have reworked collect2
13143 # We have old collect2
13144 hardcode_direct_CXX
=unsupported
13145 # It fails to find uninstalled libraries when the uninstalled
13146 # path is not listed in the libpath. Setting hardcode_minus_L
13147 # to unsupported forces relinking
13148 hardcode_minus_L_CXX
=yes
13149 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13150 hardcode_libdir_separator_CXX
=
13153 shared_flag
='-shared'
13154 if test "$aix_use_runtimelinking" = yes; then
13155 shared_flag
="$shared_flag "'${wl}-G'
13159 if test "$host_cpu" = ia64
; then
13160 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13161 # chokes on -Wl,-G. The following line is correct:
13164 if test "$aix_use_runtimelinking" = yes; then
13165 shared_flag
='${wl}-G'
13167 shared_flag
='${wl}-bM:SRE'
13172 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13173 # It seems that -bexpall does not export symbols beginning with
13174 # underscore (_), so it is better to generate a list of symbols to
13176 always_export_symbols_CXX
=yes
13177 if test "$aix_use_runtimelinking" = yes; then
13178 # Warning - without using the other runtime loading flags (-brtl),
13179 # -berok will link without error, but may produce a broken library.
13180 allow_undefined_flag_CXX
='-berok'
13181 # Determine the default libpath from the value encoded in an empty
13183 if test "${lt_cv_aix_libpath+set}" = set; then
13184 aix_libpath
=$lt_cv_aix_libpath
13186 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13187 $as_echo_n "(cached) " >&6
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13200 if ac_fn_cxx_try_link
"$LINENO"; then :
13202 lt_aix_libpath_sed
='
13203 /Import File Strings/,/^$/ {
13205 s/^0 *\([^ ]*\) *$/\1/
13209 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13210 # Check for a 64-bit object if we didn't find anything.
13211 if test -z "$lt_cv_aix_libpath__CXX"; then
13212 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13215 rm -f core conftest.err conftest.
$ac_objext \
13216 conftest
$ac_exeext conftest.
$ac_ext
13217 if test -z "$lt_cv_aix_libpath__CXX"; then
13218 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13223 aix_libpath
=$lt_cv_aix_libpath__CXX
13226 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13228 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13230 if test "$host_cpu" = ia64
; then
13231 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13232 allow_undefined_flag_CXX
="-z nodefs"
13233 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13235 # Determine the default libpath from the value encoded in an
13236 # empty executable.
13237 if test "${lt_cv_aix_libpath+set}" = set; then
13238 aix_libpath
=$lt_cv_aix_libpath
13240 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13254 if ac_fn_cxx_try_link
"$LINENO"; then :
13256 lt_aix_libpath_sed
='
13257 /Import File Strings/,/^$/ {
13259 s/^0 *\([^ ]*\) *$/\1/
13263 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13264 # Check for a 64-bit object if we didn't find anything.
13265 if test -z "$lt_cv_aix_libpath__CXX"; then
13266 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13269 rm -f core conftest.err conftest.
$ac_objext \
13270 conftest
$ac_exeext conftest.
$ac_ext
13271 if test -z "$lt_cv_aix_libpath__CXX"; then
13272 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13277 aix_libpath
=$lt_cv_aix_libpath__CXX
13280 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13281 # Warning - without using the other run time loading flags,
13282 # -berok will link without error, but may produce a broken library.
13283 no_undefined_flag_CXX
=' ${wl}-bernotok'
13284 allow_undefined_flag_CXX
=' ${wl}-berok'
13285 if test "$with_gnu_ld" = yes; then
13286 # We only use this code for GNU lds that support --whole-archive.
13287 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13289 # Exported symbols can be pulled into shared objects from archives
13290 whole_archive_flag_spec_CXX
='$convenience'
13292 archive_cmds_need_lc_CXX
=yes
13293 # This is similar to how AIX traditionally builds its shared
13295 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13301 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13302 allow_undefined_flag_CXX
=unsupported
13303 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13304 # support --undefined. This deserves some investigation. FIXME
13305 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13312 case $cc_basename in
13314 # FIXME: insert proper C++ library support
13320 cygwin
* | mingw
* | pw32
* | cegcc
*)
13321 case $GXX,$cc_basename in
13324 # hardcode_libdir_flag_spec is actually meaningless, as there is
13325 # no search path for DLLs.
13326 hardcode_libdir_flag_spec_CXX
=' '
13327 allow_undefined_flag_CXX
=unsupported
13328 always_export_symbols_CXX
=yes
13329 file_list_spec_CXX
='@'
13330 # Tell ltmain to make .lib files, not .a files.
13332 # Tell ltmain to make .dll files, not .so files.
13334 # FIXME: Setting linknames here is a bad hack.
13335 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13336 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13337 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13339 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13341 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13343 # The linker will not automatically build a static lib if we build a DLL.
13344 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13345 enable_shared_with_static_runtimes_CXX
=yes
13347 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13348 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13349 lt_tool_outputfile="@TOOL_OUTPUT@"~
13350 case $lt_outputfile in
13353 lt_outputfile="$lt_outputfile.exe"
13354 lt_tool_outputfile="$lt_tool_outputfile.exe"
13357 func_to_tool_file "$lt_outputfile"~
13358 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13359 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13360 $RM "$lt_outputfile.manifest";
13365 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13366 # as there is no search path for DLLs.
13367 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13368 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13369 allow_undefined_flag_CXX
=unsupported
13370 always_export_symbols_CXX
=no
13371 enable_shared_with_static_runtimes_CXX
=yes
13373 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13374 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13375 # If the export-symbols file already is a .def file (1st line
13376 # is EXPORTS), use it as is; otherwise, prepend...
13377 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13378 cp $export_symbols $output_objdir/$soname.def;
13380 echo EXPORTS > $output_objdir/$soname.def;
13381 cat $export_symbols >> $output_objdir/$soname.def;
13383 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13390 darwin
* | rhapsody
*)
13393 archive_cmds_need_lc_CXX
=no
13394 hardcode_direct_CXX
=no
13395 hardcode_automatic_CXX
=yes
13396 hardcode_shlibpath_var_CXX
=unsupported
13397 if test "$lt_cv_ld_force_load" = "yes"; then
13398 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13400 whole_archive_flag_spec_CXX
=''
13402 link_all_deplibs_CXX
=yes
13403 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13404 case $cc_basename in
13405 ifort
*) _lt_dar_can_shared
=yes ;;
13406 *) _lt_dar_can_shared
=$GCC ;;
13408 if test "$_lt_dar_can_shared" = "yes"; then
13409 output_verbose_link_cmd
=func_echo_all
13410 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13411 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13412 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13413 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13414 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13415 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13416 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13426 case $cc_basename in
13428 # FIXME: insert proper C++ library support
13432 # Green Hills C++ Compiler
13433 # FIXME: insert proper C++ library support
13437 # FIXME: insert proper C++ library support
13444 # C++ shared libraries reported to be fairly broken before
13450 archive_cmds_need_lc_CXX
=no
13453 freebsd
* | dragonfly
*)
13454 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13463 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13464 link_all_deplibs_CXX
=yes
13468 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13469 hardcode_libdir_separator_CXX
=:
13470 export_dynamic_flag_spec_CXX
='${wl}-E'
13471 hardcode_direct_CXX
=yes
13472 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13473 # but as the default
13474 # location of the library.
13476 case $cc_basename in
13478 # FIXME: insert proper C++ library support
13482 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13483 # Commands to make compiler produce verbose output that lists
13484 # what "hidden" libraries, object files and flags are used when
13485 # linking a shared library.
13487 # There doesn't appear to be a way to prevent this compiler from
13488 # explicitly linking system object files so we need to strip them
13489 # from the output so that they don't get included in the library
13491 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13494 if test "$GXX" = yes; then
13495 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13497 # FIXME: insert proper C++ library support
13505 if test $with_gnu_ld = no
; then
13506 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13507 hardcode_libdir_separator_CXX
=:
13513 export_dynamic_flag_spec_CXX
='${wl}-E'
13519 hardcode_direct_CXX
=no
13520 hardcode_shlibpath_var_CXX
=no
13523 hardcode_direct_CXX
=yes
13524 hardcode_direct_absolute_CXX
=yes
13525 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13526 # but as the default
13527 # location of the library.
13531 case $cc_basename in
13533 # FIXME: insert proper C++ library support
13539 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13542 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13545 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13548 # Commands to make compiler produce verbose output that lists
13549 # what "hidden" libraries, object files and flags are used when
13550 # linking a shared library.
13552 # There doesn't appear to be a way to prevent this compiler from
13553 # explicitly linking system object files so we need to strip them
13554 # from the output so that they don't get included in the library
13556 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13559 if test "$GXX" = yes; then
13560 if test $with_gnu_ld = no
; then
13563 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13566 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13569 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13574 # FIXME: insert proper C++ library support
13582 hardcode_direct_CXX
=no
13583 hardcode_shlibpath_var_CXX
=no
13584 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13585 export_dynamic_flag_spec_CXX
='${wl}-E'
13586 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13587 # Instead, shared libraries are loaded at an image base (0x10000000 by
13588 # default) and relocated if they conflict, which is a slow very memory
13589 # consuming and fragmenting process. To avoid this, we pick a random,
13590 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13591 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13592 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13593 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13596 case $cc_basename in
13599 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13601 # Archives containing C++ object files must be created using
13602 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13603 # necessary to make sure instantiated templates are included
13605 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13608 if test "$GXX" = yes; then
13609 if test "$with_gnu_ld" = no
; then
13610 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13612 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13615 link_all_deplibs_CXX
=yes
13618 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13619 hardcode_libdir_separator_CXX
=:
13620 inherit_rpath_CXX
=yes
13623 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13624 case $cc_basename in
13626 # Kuck and Associates, Inc. (KAI) C++ Compiler
13628 # KCC will only create a shared library if the output file
13629 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13630 # to its proper name (with version) after linking.
13631 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13632 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13633 # Commands to make compiler produce verbose output that lists
13634 # what "hidden" libraries, object files and flags are used when
13635 # linking a shared library.
13637 # There doesn't appear to be a way to prevent this compiler from
13638 # explicitly linking system object files so we need to strip them
13639 # from the output so that they don't get included in the library
13641 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13643 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13644 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13646 # Archives containing C++ object files must be created using
13647 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13648 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13653 # version 8.0 and above of icpc choke on multiply defined symbols
13654 # if we add $predep_objects and $postdep_objects, however 7.1 and
13655 # earlier do not add the objects themselves.
13656 case `$CC -V 2>&1` in
13658 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13659 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13661 *) # Version 8.0 or newer
13664 ia64
*) tmp_idyn
=' -i_dynamic';;
13666 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13667 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13670 archive_cmds_need_lc_CXX
=no
13671 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13672 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13673 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13676 # Portland Group C++ compiler
13678 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13679 prelink_cmds_CXX
='tpldir=Template.dir~
13681 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13682 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13683 old_archive_cmds_CXX
='tpldir=Template.dir~
13685 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13686 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13688 archive_cmds_CXX
='tpldir=Template.dir~
13690 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13691 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13692 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13694 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13695 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13697 *) # Version 6 and above use weak symbols
13698 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13699 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13703 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13704 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13705 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13709 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13710 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13712 runpath_var
=LD_RUN_PATH
13713 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13714 hardcode_libdir_separator_CXX
=:
13716 # Commands to make compiler produce verbose output that lists
13717 # what "hidden" libraries, object files and flags are used when
13718 # linking a shared library.
13720 # There doesn't appear to be a way to prevent this compiler from
13721 # explicitly linking system object files so we need to strip them
13722 # from the output so that they don't get included in the library
13724 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13726 xl
* | mpixl
* | bgxl
*)
13727 # IBM XL 8.0 on PPC, with GNU ld
13728 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13729 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13730 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13731 if test "x$supports_anon_versioning" = xyes
; then
13732 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13733 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13734 echo "local: *; };" >> $output_objdir/$libname.ver~
13735 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13739 case `$CC -V 2>&1 | sed 5q` in
13742 no_undefined_flag_CXX
=' -zdefs'
13743 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13744 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13745 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13746 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13747 compiler_needs_object_CXX
=yes
13749 # Not sure whether something based on
13750 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13752 output_verbose_link_cmd
='func_echo_all'
13754 # Archives containing C++ object files must be created using
13755 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13756 # necessary to make sure instantiated templates are included
13758 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13766 # FIXME: insert proper C++ library support
13771 # FIXME: insert proper C++ library support
13776 case $cc_basename in
13778 # FIXME: insert proper C++ library support
13782 # FIXME: insert proper C++ library support
13789 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13790 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13792 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13793 hardcode_direct_CXX
=yes
13794 hardcode_shlibpath_var_CXX
=no
13796 # Workaround some broken pre-1.5 toolchains
13797 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13805 # C++ shared libraries are fairly broken
13810 if test -f /usr
/libexec
/ld.so
; then
13811 hardcode_direct_CXX
=yes
13812 hardcode_shlibpath_var_CXX
=no
13813 hardcode_direct_absolute_CXX
=yes
13814 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13815 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13816 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13817 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13818 export_dynamic_flag_spec_CXX
='${wl}-E'
13819 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13821 output_verbose_link_cmd
=func_echo_all
13827 osf3
* | osf4
* | osf5
*)
13828 case $cc_basename in
13830 # Kuck and Associates, Inc. (KAI) C++ Compiler
13832 # KCC will only create a shared library if the output file
13833 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13834 # to its proper name (with version) after linking.
13835 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13837 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13838 hardcode_libdir_separator_CXX
=:
13840 # Archives containing C++ object files must be created using
13841 # the KAI C++ compiler.
13843 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13844 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13848 # Rational C++ 2.4.1
13849 # FIXME: insert proper C++ library support
13855 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13856 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13857 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13860 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13861 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13862 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13863 echo "-hidden">> $lib.exp~
13864 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13866 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13870 hardcode_libdir_separator_CXX
=:
13872 # Commands to make compiler produce verbose output that lists
13873 # what "hidden" libraries, object files and flags are used when
13874 # linking a shared library.
13876 # There doesn't appear to be a way to prevent this compiler from
13877 # explicitly linking system object files so we need to strip them
13878 # from the output so that they don't get included in the library
13880 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13883 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13884 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13887 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13890 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13894 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13895 hardcode_libdir_separator_CXX
=:
13897 # Commands to make compiler produce verbose output that lists
13898 # what "hidden" libraries, object files and flags are used when
13899 # linking a shared library.
13900 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13903 # FIXME: insert proper C++ library support
13911 # FIXME: insert proper C++ library support
13916 case $cc_basename in
13919 # FIXME: insert proper C++ library support
13924 # FIXME: insert proper C++ library support
13928 # FIXME: insert proper C++ library support
13935 case $cc_basename in
13937 # Sun C++ 4.2, 5.x and Centerline C++
13938 archive_cmds_need_lc_CXX
=yes
13939 no_undefined_flag_CXX
=' -zdefs'
13940 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13941 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13942 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13944 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13945 hardcode_shlibpath_var_CXX
=no
13947 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13949 # The compiler driver will combine and reorder linker options,
13950 # but understands `-z linker_flag'.
13951 # Supported since Solaris 2.6 (maybe 2.5.1?)
13952 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13955 link_all_deplibs_CXX
=yes
13957 output_verbose_link_cmd
='func_echo_all'
13959 # Archives containing C++ object files must be created using
13960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13961 # necessary to make sure instantiated templates are included
13963 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13966 # Green Hills C++ Compiler
13967 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13969 # The C++ compiler must be used to create the archive.
13970 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13973 # GNU C++ compiler with Solaris linker
13974 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13975 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13976 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13977 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13978 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13979 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13981 # Commands to make compiler produce verbose output that lists
13982 # what "hidden" libraries, object files and flags are used when
13983 # linking a shared library.
13984 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13986 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13988 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13989 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13990 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13992 # Commands to make compiler produce verbose output that lists
13993 # what "hidden" libraries, object files and flags are used when
13994 # linking a shared library.
13995 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13998 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14000 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14002 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14010 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14011 no_undefined_flag_CXX
='${wl}-z,text'
14012 archive_cmds_need_lc_CXX
=no
14013 hardcode_shlibpath_var_CXX
=no
14014 runpath_var
='LD_RUN_PATH'
14016 case $cc_basename in
14018 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14019 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14022 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14023 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14028 sysv5
* | sco3.2v5
* | sco5v6
*)
14029 # Note: We can NOT use -z defs as we might desire, because we do not
14030 # link with -lc, and that would cause any symbols used from libc to
14031 # always be unresolved, which means just about no library would
14032 # ever link correctly. If we're not using GNU ld we use -z text
14033 # though, which does catch some bad symbols but isn't as heavy-handed
14035 no_undefined_flag_CXX
='${wl}-z,text'
14036 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14037 archive_cmds_need_lc_CXX
=no
14038 hardcode_shlibpath_var_CXX
=no
14039 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14040 hardcode_libdir_separator_CXX
=':'
14041 link_all_deplibs_CXX
=yes
14042 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14043 runpath_var
='LD_RUN_PATH'
14045 case $cc_basename in
14047 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14048 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14049 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14050 '"$old_archive_cmds_CXX"
14051 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14052 '"$reload_cmds_CXX"
14055 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14056 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14062 case $cc_basename in
14064 # NonStop-UX NCC 3.20
14065 # FIXME: insert proper C++ library support
14069 # FIXME: insert proper C++ library support
14076 # FIXME: insert proper C++ library support
14081 # FIXME: insert proper C++ library support
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14087 $as_echo "$ld_shlibs_CXX" >&6; }
14088 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14094 ## There is no encapsulation within the following macros, do not change
14095 ## the running order or otherwise move them around unless you know exactly
14096 ## what you are doing...
14097 # Dependencies to place before and after the object being linked:
14098 predep_objects_CXX
=
14099 postdep_objects_CXX
=
14102 compiler_lib_search_path_CXX
=
14104 cat > conftest.
$ac_ext <<_LT_EOF
14108 Foo (void) { a = 0; }
14115 _lt_libdeps_save_CFLAGS
=$CFLAGS
14116 case "$CC $CFLAGS " in #(
14117 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14118 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14122 (eval $ac_compile) 2>&5
14124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14125 test $ac_status = 0; }; then
14126 # Parse the compiler output and extract the necessary
14127 # objects, libraries and library flags.
14129 # Sentinel used to keep track of whether or not we are before
14130 # the conftest object file.
14131 pre_test_object_deps_done
=no
14133 for p
in `eval "$output_verbose_link_cmd"`; do
14134 case ${prev}${p} in
14137 # Some compilers place space between "-{L,R}" and the path.
14138 # Remove the space.
14139 if test $p = "-L" ||
14140 test $p = "-R"; then
14145 # Expand the sysroot to ease extracting the directories later.
14146 if test -z "$prev"; then
14148 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14149 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14150 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14154 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14156 if test "$pre_test_object_deps_done" = no
; then
14159 # Internal compiler library paths should come after those
14160 # provided the user. The postdeps already come after the
14161 # user supplied libs so there is no need to process them.
14162 if test -z "$compiler_lib_search_path_CXX"; then
14163 compiler_lib_search_path_CXX
="${prev}${p}"
14165 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14168 # The "-l" case would never come before the object being
14169 # linked, so don't bother handling this case.
14172 if test -z "$postdeps_CXX"; then
14173 postdeps_CXX
="${prev}${p}"
14175 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14181 *.lto.
$objext) ;; # Ignore GCC LTO objects
14183 # This assumes that the test object file only shows up
14184 # once in the compiler output.
14185 if test "$p" = "conftest.$objext"; then
14186 pre_test_object_deps_done
=yes
14190 if test "$pre_test_object_deps_done" = no
; then
14191 if test -z "$predep_objects_CXX"; then
14192 predep_objects_CXX
="$p"
14194 predep_objects_CXX
="$predep_objects_CXX $p"
14197 if test -z "$postdep_objects_CXX"; then
14198 postdep_objects_CXX
="$p"
14200 postdep_objects_CXX
="$postdep_objects_CXX $p"
14205 *) ;; # Ignore the rest.
14213 echo "libtool.m4: error: problem compiling CXX test program"
14216 $RM -f confest.
$objext
14217 CFLAGS
=$_lt_libdeps_save_CFLAGS
14219 # PORTME: override above test on systems where it is broken
14222 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14223 # hack all around it, let's just trust "g++" to DTRT.
14224 predep_objects_CXX
=
14225 postdep_objects_CXX
=
14230 case `$CC -V 2>&1 | sed 5q` in
14234 # The more standards-conforming stlport4 library is
14235 # incompatible with the Cstd library. Avoid specifying
14236 # it if it's in CXXFLAGS. Ignore libCrun as
14237 # -library=stlport4 depends on it.
14238 case " $CXX $CXXFLAGS " in
14239 *" -library=stlport4 "*)
14240 solaris_use_stlport4
=yes
14244 if test "$solaris_use_stlport4" != yes; then
14245 postdeps_CXX
='-library=Cstd -library=Crun'
14252 case $cc_basename in
14254 # The more standards-conforming stlport4 library is
14255 # incompatible with the Cstd library. Avoid specifying
14256 # it if it's in CXXFLAGS. Ignore libCrun as
14257 # -library=stlport4 depends on it.
14258 case " $CXX $CXXFLAGS " in
14259 *" -library=stlport4 "*)
14260 solaris_use_stlport4
=yes
14264 # Adding this requires a known-good setup of shared libraries for
14265 # Sun compiler versions before 5.6, else PIC objects from an old
14266 # archive will be linked into the output, leading to subtle bugs.
14267 if test "$solaris_use_stlport4" != yes; then
14268 postdeps_CXX
='-library=Cstd -library=Crun'
14276 case " $postdeps_CXX " in
14277 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14279 compiler_lib_search_dirs_CXX
=
14280 if test -n "${compiler_lib_search_path_CXX}"; then
14281 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14314 lt_prog_compiler_wl_CXX
=
14315 lt_prog_compiler_pic_CXX
=
14316 lt_prog_compiler_static_CXX
=
14319 # C++ specific cases for pic, static, wl, etc.
14320 if test "$GXX" = yes; then
14321 lt_prog_compiler_wl_CXX
='-Wl,'
14322 lt_prog_compiler_static_CXX
='-static'
14326 # All AIX code is PIC.
14327 if test "$host_cpu" = ia64
; then
14328 # AIX 5 now supports IA64 processor
14329 lt_prog_compiler_static_CXX
='-Bstatic'
14336 # see comment about AmigaOS4 .so support
14337 lt_prog_compiler_pic_CXX
='-fPIC'
14340 # FIXME: we need at least 68020 code to build shared libraries, but
14341 # adding the `-m68020' flag to GCC prevents building anything better,
14343 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14348 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14349 # PIC is the default for these OSes.
14351 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14352 # This hack is so that the source file can tell whether it is being
14353 # built for inclusion in a dll (and should export symbols for example).
14354 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14355 # (--disable-auto-import) libraries
14356 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14358 darwin
* | rhapsody
*)
14359 # PIC is the default on this platform
14360 # Common symbols not allowed in MH_DYLIB files
14361 lt_prog_compiler_pic_CXX
='-fno-common'
14364 # DJGPP does not support shared libraries at all
14365 lt_prog_compiler_pic_CXX
=
14368 # PIC is the default for Haiku.
14369 # The "-static" flag exists, but is broken.
14370 lt_prog_compiler_static_CXX
=
14373 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14374 # Instead, we relocate shared libraries at runtime.
14377 if test -d /usr
/nec
; then
14378 lt_prog_compiler_pic_CXX
=-Kconform_pic
14382 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14383 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14384 # sets the default TLS model and affects inlining.
14389 lt_prog_compiler_pic_CXX
='-fPIC'
14394 # QNX uses GNU C++, but need to define -shared option too, otherwise
14395 # it will coredump.
14396 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14399 lt_prog_compiler_pic_CXX
='-fPIC'
14405 # All AIX code is PIC.
14406 if test "$host_cpu" = ia64
; then
14407 # AIX 5 now supports IA64 processor
14408 lt_prog_compiler_static_CXX
='-Bstatic'
14410 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14414 case $cc_basename in
14416 # Green Hills C++ Compiler
14417 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14421 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14422 # This hack is so that the source file can tell whether it is being
14423 # built for inclusion in a dll (and should export symbols for example).
14424 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14427 case $cc_basename in
14429 lt_prog_compiler_pic_CXX
='-KPIC'
14432 # Green Hills C++ Compiler
14433 lt_prog_compiler_pic_CXX
='-pic'
14439 freebsd
* | dragonfly
*)
14440 # FreeBSD uses GNU C++
14442 hpux9
* | hpux10
* | hpux11
*)
14443 case $cc_basename in
14445 lt_prog_compiler_wl_CXX
='-Wl,'
14446 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14447 if test "$host_cpu" != ia64
; then
14448 lt_prog_compiler_pic_CXX
='+Z'
14452 lt_prog_compiler_wl_CXX
='-Wl,'
14453 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14459 lt_prog_compiler_pic_CXX
='+Z'
14468 # This is c89, which is MS Visual C++ (no shared libs)
14469 # Anyone wants to do a port?
14471 irix5
* | irix6
* | nonstopux
*)
14472 case $cc_basename in
14474 lt_prog_compiler_wl_CXX
='-Wl,'
14475 lt_prog_compiler_static_CXX
='-non_shared'
14476 # CC pic flag -KPIC is the default.
14482 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14483 case $cc_basename in
14486 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14487 lt_prog_compiler_pic_CXX
='-fPIC'
14490 # old Intel C++ for x86_64 which still supported -KPIC.
14491 lt_prog_compiler_wl_CXX
='-Wl,'
14492 lt_prog_compiler_pic_CXX
='-KPIC'
14493 lt_prog_compiler_static_CXX
='-static'
14496 # Intel C++, used to be incompatible with GCC.
14497 # ICC 10 doesn't accept -KPIC any more.
14498 lt_prog_compiler_wl_CXX
='-Wl,'
14499 lt_prog_compiler_pic_CXX
='-fPIC'
14500 lt_prog_compiler_static_CXX
='-static'
14503 # Portland Group C++ compiler
14504 lt_prog_compiler_wl_CXX
='-Wl,'
14505 lt_prog_compiler_pic_CXX
='-fpic'
14506 lt_prog_compiler_static_CXX
='-Bstatic'
14510 # Make sure the PIC flag is empty. It appears that all Alpha
14511 # Linux and Compaq Tru64 Unix objects are PIC.
14512 lt_prog_compiler_pic_CXX
=
14513 lt_prog_compiler_static_CXX
='-non_shared'
14515 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14516 # IBM XL 8.0, 9.0 on PPC and BlueGene
14517 lt_prog_compiler_wl_CXX
='-Wl,'
14518 lt_prog_compiler_pic_CXX
='-qpic'
14519 lt_prog_compiler_static_CXX
='-qstaticlink'
14522 case `$CC -V 2>&1 | sed 5q` in
14525 lt_prog_compiler_pic_CXX
='-KPIC'
14526 lt_prog_compiler_static_CXX
='-Bstatic'
14527 lt_prog_compiler_wl_CXX
='-Qoption ld '
14538 case $cc_basename in
14540 lt_prog_compiler_pic_CXX
='-W c,exportall'
14549 # QNX uses GNU C++, but need to define -shared option too, otherwise
14550 # it will coredump.
14551 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14553 osf3
* | osf4
* | osf5
*)
14554 case $cc_basename in
14556 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14559 # Rational C++ 2.4.1
14560 lt_prog_compiler_pic_CXX
='-pic'
14563 # Digital/Compaq C++
14564 lt_prog_compiler_wl_CXX
='-Wl,'
14565 # Make sure the PIC flag is empty. It appears that all Alpha
14566 # Linux and Compaq Tru64 Unix objects are PIC.
14567 lt_prog_compiler_pic_CXX
=
14568 lt_prog_compiler_static_CXX
='-non_shared'
14577 case $cc_basename in
14579 # Sun C++ 4.2, 5.x and Centerline C++
14580 lt_prog_compiler_pic_CXX
='-KPIC'
14581 lt_prog_compiler_static_CXX
='-Bstatic'
14582 lt_prog_compiler_wl_CXX
='-Qoption ld '
14585 # Green Hills C++ Compiler
14586 lt_prog_compiler_pic_CXX
='-PIC'
14593 case $cc_basename in
14596 lt_prog_compiler_pic_CXX
='-pic'
14597 lt_prog_compiler_static_CXX
='-Bstatic'
14601 lt_prog_compiler_pic_CXX
='-pic'
14607 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14608 case $cc_basename in
14610 lt_prog_compiler_wl_CXX
='-Wl,'
14611 lt_prog_compiler_pic_CXX
='-KPIC'
14612 lt_prog_compiler_static_CXX
='-Bstatic'
14617 case $cc_basename in
14619 # NonStop-UX NCC 3.20
14620 lt_prog_compiler_pic_CXX
='-KPIC'
14629 lt_prog_compiler_can_build_shared_CXX
=no
14635 # For platforms which do not support PIC, -DPIC is meaningless:
14637 lt_prog_compiler_pic_CXX
=
14640 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14645 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14646 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14647 $as_echo_n "(cached) " >&6
14649 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14652 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14653 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14656 # Check to make sure the PIC flag actually works.
14658 if test -n "$lt_prog_compiler_pic_CXX"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14660 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14661 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14662 $as_echo_n "(cached) " >&6
14664 lt_cv_prog_compiler_pic_works_CXX
=no
14665 ac_outfile
=conftest.
$ac_objext
14666 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14667 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14668 # Insert the option either (1) after the last *FLAGS variable, or
14669 # (2) before a word containing "conftest.", or (3) at the end.
14670 # Note that $ac_compile itself does not contain backslashes and begins
14671 # with a dollar sign (not a hyphen), so the echo should work correctly.
14672 # The option is referenced via a variable to avoid confusing sed.
14673 lt_compile
=`echo "$ac_compile" | $SED \
14674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14676 -e 's:$: $lt_compiler_flag:'`
14677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14678 (eval "$lt_compile" 2>conftest.err
)
14680 cat conftest.err
>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 if (exit $ac_status) && test -s "$ac_outfile"; then
14683 # The compiler can only warn and ignore the option if not recognized
14684 # So say no if there are warnings other than the usual output.
14685 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14686 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14687 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14688 lt_cv_prog_compiler_pic_works_CXX
=yes
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14695 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14697 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14698 case $lt_prog_compiler_pic_CXX in
14700 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14703 lt_prog_compiler_pic_CXX
=
14704 lt_prog_compiler_can_build_shared_CXX
=no
14714 # Check to make sure the static flag actually works.
14716 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14718 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14719 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14720 $as_echo_n "(cached) " >&6
14722 lt_cv_prog_compiler_static_works_CXX
=no
14723 save_LDFLAGS
="$LDFLAGS"
14724 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14725 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14726 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14727 # The linker can only warn and ignore the option if not recognized
14728 # So say no if there are warnings
14729 if test -s conftest.err
; then
14730 # Append any errors to the config.log.
14731 cat conftest.err
1>&5
14732 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14733 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14734 if diff conftest.exp conftest.er2
>/dev
/null
; then
14735 lt_cv_prog_compiler_static_works_CXX
=yes
14738 lt_cv_prog_compiler_static_works_CXX
=yes
14742 LDFLAGS
="$save_LDFLAGS"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14746 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14748 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14751 lt_prog_compiler_static_CXX
=
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14759 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14760 $as_echo_n "(cached) " >&6
14762 lt_cv_prog_compiler_c_o_CXX
=no
14763 $RM -r conftest
2>/dev
/null
14767 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14769 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14770 # Insert the option either (1) after the last *FLAGS variable, or
14771 # (2) before a word containing "conftest.", or (3) at the end.
14772 # Note that $ac_compile itself does not contain backslashes and begins
14773 # with a dollar sign (not a hyphen), so the echo should work correctly.
14774 lt_compile
=`echo "$ac_compile" | $SED \
14775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14777 -e 's:$: $lt_compiler_flag:'`
14778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14779 (eval "$lt_compile" 2>out
/conftest.err
)
14781 cat out
/conftest.err
>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14785 # The compiler can only warn and ignore the option if not recognized
14786 # So say no if there are warnings
14787 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14788 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14789 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14790 lt_cv_prog_compiler_c_o_CXX
=yes
14795 # SGI C++ compiler will create directory out/ii_files/ for
14796 # template instantiation
14797 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14798 $RM out
/* && rmdir out
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14805 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14811 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14812 $as_echo_n "(cached) " >&6
14814 lt_cv_prog_compiler_c_o_CXX
=no
14815 $RM -r conftest
2>/dev
/null
14819 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14821 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14822 # Insert the option either (1) after the last *FLAGS variable, or
14823 # (2) before a word containing "conftest.", or (3) at the end.
14824 # Note that $ac_compile itself does not contain backslashes and begins
14825 # with a dollar sign (not a hyphen), so the echo should work correctly.
14826 lt_compile
=`echo "$ac_compile" | $SED \
14827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14829 -e 's:$: $lt_compiler_flag:'`
14830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14831 (eval "$lt_compile" 2>out
/conftest.err
)
14833 cat out
/conftest.err
>&5
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14837 # The compiler can only warn and ignore the option if not recognized
14838 # So say no if there are warnings
14839 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14840 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14841 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14842 lt_cv_prog_compiler_c_o_CXX
=yes
14847 # SGI C++ compiler will create directory out/ii_files/ for
14848 # template instantiation
14849 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14850 $RM out
/* && rmdir out
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14857 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14862 hard_links
="nottested"
14863 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14864 # do not overwrite the value of need_locks provided by the user
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14866 $as_echo_n "checking if we can lock with hard links... " >&6; }
14869 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14871 ln conftest.a conftest.b
2>&5 || hard_links
=no
14872 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14874 $as_echo "$hard_links" >&6; }
14875 if test "$hard_links" = no
; then
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14887 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14889 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14890 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14893 # If we're using GNU nm, then we don't want the "-C" option.
14894 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14895 # Also, AIX nm treats weak defined symbols like other global defined
14896 # symbols, whereas GNU nm marks them as "W".
14897 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14898 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14900 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14904 export_symbols_cmds_CXX
="$ltdll_cmds"
14906 cygwin
* | mingw
* | cegcc
*)
14907 case $cc_basename in
14910 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14911 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14916 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14921 $as_echo "$ld_shlibs_CXX" >&6; }
14922 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14924 with_gnu_ld_CXX
=$with_gnu_ld
14932 # Do we need to explicitly link libc?
14934 case "x$archive_cmds_need_lc_CXX" in
14936 # Assume -lc should be added
14937 archive_cmds_need_lc_CXX
=yes
14939 if test "$enable_shared" = yes && test "$GCC" = yes; then
14940 case $archive_cmds_CXX in
14942 # FIXME: we may have to deal with multi-command sequences.
14945 # Test whether the compiler implicitly links with -lc since on some
14946 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14947 # to ld, don't add -lc before -lgcc.
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14949 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14950 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14951 $as_echo_n "(cached) " >&6
14954 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14957 (eval $ac_compile) 2>&5
14959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14960 test $ac_status = 0; } 2>conftest.err
; then
14963 libobjs
=conftest.
$ac_objext
14965 wl
=$lt_prog_compiler_wl_CXX
14966 pic_flag
=$lt_prog_compiler_pic_CXX
14972 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14973 allow_undefined_flag_CXX
=
14974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14975 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 test $ac_status = 0; }
14980 lt_cv_archive_cmds_need_lc_CXX
=no
14982 lt_cv_archive_cmds_need_lc_CXX
=yes
14984 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14986 cat conftest.err
1>&5
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14992 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14993 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15064 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15066 library_names_spec
=
15067 libname_spec
='lib$name'
15071 postuninstall_cmds
=
15075 shlibpath_overrides_runpath
=unknown
15077 dynamic_linker
="$host_os ld.so"
15078 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15079 need_lib_prefix
=unknown
15080 hardcode_into_libs
=no
15082 # when you set need_version to no, make sure it does not cause -set_version
15083 # flags to be left without arguments
15084 need_version
=unknown
15089 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15090 shlibpath_var
=LIBPATH
15092 # AIX 3 has no versioning support, so we append a major version to the name.
15093 soname_spec
='${libname}${release}${shared_ext}$major'
15100 hardcode_into_libs
=yes
15101 if test "$host_cpu" = ia64
; then
15102 # AIX 5 supports IA64
15103 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15104 shlibpath_var
=LD_LIBRARY_PATH
15106 # With GCC up to 2.95.x, collect2 would create an import file
15107 # for dependence libraries. The import file would start with
15108 # the line `#! .'. This would cause the generated library to
15109 # depend on `.', always an invalid library. This was fixed in
15110 # development snapshots of GCC prior to 3.0.
15112 aix4 | aix4.
[01] | aix4.
[01].
*)
15113 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15115 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15118 can_build_shared
=no
15122 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15123 # soname into executable. Probably we can add versioning support to
15124 # collect2, so additional links can be useful in future.
15125 if test "$aix_use_runtimelinking" = yes; then
15126 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15127 # instead of lib<name>.a to let people know that these are not
15128 # typical AIX shared libraries.
15129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15131 # We preserve .a as extension for shared libraries through AIX4.2
15132 # and later when we are not doing run time linking.
15133 library_names_spec
='${libname}${release}.a $libname.a'
15134 soname_spec
='${libname}${release}${shared_ext}$major'
15136 shlibpath_var
=LIBPATH
15143 # Since July 2007 AmigaOS4 officially supports .so libraries.
15144 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15148 library_names_spec
='$libname.ixlibrary $libname.a'
15149 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15150 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15156 library_names_spec
='${libname}${shared_ext}'
15157 dynamic_linker
="$host_os ld.so"
15158 shlibpath_var
=LIBRARY_PATH
15164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15165 soname_spec
='${libname}${release}${shared_ext}$major'
15166 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15167 shlibpath_var
=LD_LIBRARY_PATH
15168 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15169 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15170 # the default ld.so.conf also contains /usr/contrib/lib and
15171 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15172 # libtool to hard-code these into programs
15175 cygwin
* | mingw
* | pw32
* | cegcc
*)
15176 version_type
=windows
15181 case $GCC,$cc_basename in
15184 library_names_spec
='$libname.dll.a'
15185 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15186 postinstall_cmds
='base_file=`basename \${file}`~
15187 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15188 dldir=$destdir/`dirname \$dlpath`~
15189 test -d \$dldir || mkdir -p \$dldir~
15190 $install_prog $dir/$dlname \$dldir/$dlname~
15191 chmod a+x \$dldir/$dlname~
15192 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15193 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15195 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15196 dlpath=$dir/\$dldll~
15198 shlibpath_overrides_runpath
=yes
15202 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15203 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15207 # MinGW DLLs use traditional 'lib' prefix
15208 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15211 # pw32 DLLs use 'pw' prefix rather than 'lib'
15212 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15215 dynamic_linker
='Win32 ld.exe'
15220 libname_spec
='$name'
15221 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15222 library_names_spec
='${libname}.dll.lib'
15226 sys_lib_search_path_spec
=
15229 for lt_path
in $LIB
15232 # Let DOS variable expansion print the short 8.3 style file name.
15233 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15234 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15237 # Convert to MSYS style.
15238 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15241 # Convert to unix form, then to dos form, then back to unix form
15242 # but this time dos style (no spaces!) so that the unix form looks
15243 # like /cygdrive/c/PROGRA~1:/cygdr...
15244 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15245 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15246 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15249 sys_lib_search_path_spec
="$LIB"
15250 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15251 # It is most probably a Windows format PATH.
15252 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15254 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15256 # FIXME: find the short name or the path components, as spaces are
15257 # common. (e.g. "Program Files" -> "PROGRA~1")
15261 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15262 postinstall_cmds
='base_file=`basename \${file}`~
15263 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15264 dldir=$destdir/`dirname \$dlpath`~
15265 test -d \$dldir || mkdir -p \$dldir~
15266 $install_prog $dir/$dlname \$dldir/$dlname'
15267 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15268 dlpath=$dir/\$dldll~
15270 shlibpath_overrides_runpath
=yes
15271 dynamic_linker
='Win32 link.exe'
15275 # Assume MSVC wrapper
15276 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15277 dynamic_linker
='Win32 ld.exe'
15280 # FIXME: first we should search . and the directory the executable is in
15284 darwin
* | rhapsody
*)
15285 dynamic_linker
="$host_os dyld"
15286 version_type
=darwin
15289 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15290 soname_spec
='${libname}${release}${major}$shared_ext'
15291 shlibpath_overrides_runpath
=yes
15292 shlibpath_var
=DYLD_LIBRARY_PATH
15293 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15295 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15303 soname_spec
='${libname}${release}${shared_ext}$major'
15304 shlibpath_var
=LD_LIBRARY_PATH
15311 freebsd
* | dragonfly
*)
15312 # DragonFly does not have aout. When/if they implement a new
15313 # versioning mechanism, adjust this.
15314 if test -x /usr
/bin
/objformat
; then
15315 objformat
=`/usr/bin/objformat`
15318 freebsd
[123]*) objformat
=aout
;;
15319 *) objformat
=elf
;;
15322 version_type
=freebsd-
$objformat
15323 case $version_type in
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15334 shlibpath_var
=LD_LIBRARY_PATH
15337 shlibpath_overrides_runpath
=yes
15339 freebsd3.
[01]* | freebsdelf3.
[01]*)
15340 shlibpath_overrides_runpath
=yes
15341 hardcode_into_libs
=yes
15343 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15344 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15345 shlibpath_overrides_runpath
=no
15346 hardcode_into_libs
=yes
15348 *) # from 4.6 on, and DragonFly
15349 shlibpath_overrides_runpath
=yes
15350 hardcode_into_libs
=yes
15359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15360 soname_spec
='${libname}${release}${shared_ext}$major'
15361 shlibpath_var
=LD_LIBRARY_PATH
15362 hardcode_into_libs
=yes
15369 dynamic_linker
="$host_os runtime_loader"
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15371 soname_spec
='${libname}${release}${shared_ext}$major'
15372 shlibpath_var
=LIBRARY_PATH
15373 shlibpath_overrides_runpath
=yes
15374 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15375 hardcode_into_libs
=yes
15378 hpux9
* | hpux10
* | hpux11
*)
15379 # Give a soname corresponding to the major version so that dld.sl refuses to
15380 # link against other versions.
15387 hardcode_into_libs
=yes
15388 dynamic_linker
="$host_os dld.so"
15389 shlibpath_var
=LD_LIBRARY_PATH
15390 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 soname_spec
='${libname}${release}${shared_ext}$major'
15393 if test "X$HPUX_IA64_MODE" = X32
; then
15394 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15396 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15398 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15402 hardcode_into_libs
=yes
15403 dynamic_linker
="$host_os dld.sl"
15404 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15405 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15407 soname_spec
='${libname}${release}${shared_ext}$major'
15408 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15409 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15413 dynamic_linker
="$host_os dld.sl"
15414 shlibpath_var
=SHLIB_PATH
15415 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15420 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15421 postinstall_cmds
='chmod 555 $lib'
15422 # or fails outright, so override atomically:
15423 install_override_mode
=555
15430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15431 soname_spec
='${libname}${release}${shared_ext}$major'
15432 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15433 shlibpath_var
=LD_LIBRARY_PATH
15434 shlibpath_overrides_runpath
=no
15435 hardcode_into_libs
=yes
15438 irix5
* | irix6
* | nonstopux
*)
15440 nonstopux
*) version_type
=nonstopux
;;
15442 if test "$lt_cv_prog_gnu_ld" = yes; then
15450 soname_spec
='${libname}${release}${shared_ext}$major'
15451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15453 irix5
* | nonstopux
*)
15454 libsuff
= shlibsuff
=
15457 case $LD in # libtool.m4 will add one of these switches to LD
15458 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15459 libsuff
= shlibsuff
= libmagic
=32-bit;;
15460 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15461 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15462 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15463 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15464 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15468 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15469 shlibpath_overrides_runpath
=no
15470 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15471 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15472 hardcode_into_libs
=yes
15475 # No shared lib support for Linux oldld, aout, or coff.
15476 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15480 # This must be Linux ELF.
15481 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15486 soname_spec
='${libname}${release}${shared_ext}$major'
15487 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15488 shlibpath_var
=LD_LIBRARY_PATH
15489 shlibpath_overrides_runpath
=no
15491 # Some binutils ld are patched to set DT_RUNPATH
15492 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15493 $as_echo_n "(cached) " >&6
15495 lt_cv_shlibpath_overrides_runpath
=no
15496 save_LDFLAGS
=$LDFLAGS
15497 save_libdir
=$libdir
15498 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15499 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15511 if ac_fn_cxx_try_link
"$LINENO"; then :
15512 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15513 lt_cv_shlibpath_overrides_runpath
=yes
15516 rm -f core conftest.err conftest.
$ac_objext \
15517 conftest
$ac_exeext conftest.
$ac_ext
15518 LDFLAGS
=$save_LDFLAGS
15519 libdir
=$save_libdir
15523 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15525 # This implies no fast_install, which is unacceptable.
15526 # Some rework will be needed to allow for fast_install
15527 # before this can be enabled.
15528 hardcode_into_libs
=yes
15530 # Append ld.so.conf contents to the search path
15531 if test -f /etc
/ld.so.conf
; then
15532 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15533 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15536 # We used to test for /lib/ld.so.1 and disable shared libraries on
15537 # powerpc, because MkLinux only supported shared libraries with the
15538 # GNU dynamic linker. Since this was broken with cross compilers,
15539 # most powerpc-linux boxes support dynamic linking these days and
15540 # people can always --disable-shared, the test was removed, and we
15541 # assume the GNU/Linux dynamic linker is in use.
15542 dynamic_linker
='GNU/Linux ld.so'
15549 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15551 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15552 dynamic_linker
='NetBSD (a.out) ld.so'
15554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15555 soname_spec
='${libname}${release}${shared_ext}$major'
15556 dynamic_linker
='NetBSD ld.elf_so'
15558 shlibpath_var
=LD_LIBRARY_PATH
15559 shlibpath_overrides_runpath
=yes
15560 hardcode_into_libs
=yes
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 shlibpath_var
=LD_LIBRARY_PATH
15567 shlibpath_overrides_runpath
=yes
15574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15575 soname_spec
='${libname}${release}${shared_ext}$major'
15576 shlibpath_var
=LD_LIBRARY_PATH
15577 shlibpath_overrides_runpath
=no
15578 hardcode_into_libs
=yes
15579 dynamic_linker
='ldqnx.so'
15584 sys_lib_dlsearch_path_spec
="/usr/lib"
15586 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15588 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15589 *) need_version
=no
;;
15591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15592 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15593 shlibpath_var
=LD_LIBRARY_PATH
15594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15596 openbsd2.
[89] | openbsd2.
[89].
*)
15597 shlibpath_overrides_runpath
=no
15600 shlibpath_overrides_runpath
=yes
15604 shlibpath_overrides_runpath
=yes
15609 libname_spec
='$name'
15612 library_names_spec
='$libname${shared_ext} $libname.a'
15613 dynamic_linker
='OS/2 ld.exe'
15614 shlibpath_var
=LIBPATH
15617 osf3
* | osf4
* | osf5
*)
15621 soname_spec
='${libname}${release}${shared_ext}$major'
15622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15623 shlibpath_var
=LD_LIBRARY_PATH
15624 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15625 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15637 soname_spec
='${libname}${release}${shared_ext}$major'
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 shlibpath_overrides_runpath
=yes
15640 hardcode_into_libs
=yes
15641 # ldd complains unless libraries are executable
15642 postinstall_cmds
='chmod +x $lib'
15647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15648 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15649 shlibpath_var
=LD_LIBRARY_PATH
15650 shlibpath_overrides_runpath
=yes
15651 if test "$with_gnu_ld" = yes; then
15659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15660 soname_spec
='${libname}${release}${shared_ext}$major'
15661 shlibpath_var
=LD_LIBRARY_PATH
15662 case $host_vendor in
15664 shlibpath_overrides_runpath
=no
15666 runpath_var
=LD_RUN_PATH
15674 shlibpath_overrides_runpath
=no
15675 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15681 if test -d /usr
/nec
;then
15683 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15684 soname_spec
='$libname${shared_ext}.$major'
15685 shlibpath_var
=LD_LIBRARY_PATH
15689 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15690 version_type
=freebsd-elf
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15694 soname_spec
='${libname}${release}${shared_ext}$major'
15695 shlibpath_var
=LD_LIBRARY_PATH
15696 shlibpath_overrides_runpath
=yes
15697 hardcode_into_libs
=yes
15698 if test "$with_gnu_ld" = yes; then
15699 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15701 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15704 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15708 sys_lib_dlsearch_path_spec
='/usr/lib'
15712 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15717 shlibpath_var
=LD_LIBRARY_PATH
15718 shlibpath_overrides_runpath
=no
15719 hardcode_into_libs
=yes
15724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725 soname_spec
='${libname}${release}${shared_ext}$major'
15726 shlibpath_var
=LD_LIBRARY_PATH
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15734 $as_echo "$dynamic_linker" >&6; }
15735 test "$dynamic_linker" = no
&& can_build_shared
=no
15737 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15738 if test "$GCC" = yes; then
15739 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15742 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15743 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15745 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15746 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15787 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15788 hardcode_action_CXX
=
15789 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15790 test -n "$runpath_var_CXX" ||
15791 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15793 # We can hardcode non-existent directories.
15794 if test "$hardcode_direct_CXX" != no
&&
15795 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15796 # have to relink, otherwise we might link with an installed library
15797 # when we should be linking with a yet-to-be-installed one
15798 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15799 test "$hardcode_minus_L_CXX" != no
; then
15800 # Linking always hardcodes the temporary library directory.
15801 hardcode_action_CXX
=relink
15803 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15804 hardcode_action_CXX
=immediate
15807 # We cannot hardcode anything, or else we can only hardcode existing
15809 hardcode_action_CXX
=unsupported
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15812 $as_echo "$hardcode_action_CXX" >&6; }
15814 if test "$hardcode_action_CXX" = relink ||
15815 test "$inherit_rpath_CXX" = yes; then
15816 # Fast installation is not supported
15817 enable_fast_install
=no
15818 elif test "$shlibpath_overrides_runpath" = yes ||
15819 test "$enable_shared" = no
; then
15820 # Fast installation is not necessary
15821 enable_fast_install
=needless
15830 fi # test -n "$compiler"
15833 CFLAGS
=$lt_save_CFLAGS
15837 with_gnu_ld
=$lt_save_with_gnu_ld
15838 lt_cv_path_LDCXX
=$lt_cv_path_LD
15839 lt_cv_path_LD
=$lt_save_path_LD
15840 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15841 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15842 fi # test "$_lt_caught_CXX_error" != yes
15845 ac_cpp
='$CPP $CPPFLAGS'
15846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15852 $as_echo_n "checking whether ln -s works... " >&6; }
15854 if test "$LN_S" = "ln -s"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15856 $as_echo "yes" >&6; }
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15859 $as_echo "no, using $LN_S" >&6; }
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15864 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15866 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15867 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
15868 $as_echo_n "(cached) " >&6
15870 cat >conftest.
make <<\_ACEOF
15873 @
echo '@@@%%%=$(MAKE)=@@@%%%'
15875 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15876 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15877 *@@@
%%%=?
*=@@@
%%%*)
15878 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
15880 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
15882 rm -f conftest.
make
15884 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15886 $as_echo "yes" >&6; }
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15890 $as_echo "no" >&6; }
15891 SET_MAKE
="MAKE=${MAKE-make}"
15896 # Extract the first word of "gengetopt", so it can be a program name with args.
15897 set dummy gengetopt
; ac_word
=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15899 $as_echo_n "checking for $ac_word... " >&6; }
15900 if ${ac_cv_path_GENGETOPT+:} false
; then :
15901 $as_echo_n "(cached) " >&6
15905 ac_cv_path_GENGETOPT
="$GENGETOPT" # Let the user override the test with a path.
15908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15909 for as_dir
in $PATH
15912 test -z "$as_dir" && as_dir
=.
15913 for ac_exec_ext
in '' $ac_executable_extensions; do
15914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15915 ac_cv_path_GENGETOPT
="$as_dir/$ac_word$ac_exec_ext"
15916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15923 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT
="no"
15927 GENGETOPT
=$ac_cv_path_GENGETOPT
15928 if test -n "$GENGETOPT"; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15930 $as_echo "$GENGETOPT" >&6; }
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15933 $as_echo "no" >&6; }
15937 if test x
"$GENGETOPT" != "xno"; then
15938 HAVE_GENGETOPT_TRUE
=
15939 HAVE_GENGETOPT_FALSE
='#'
15941 HAVE_GENGETOPT_TRUE
='#'
15942 HAVE_GENGETOPT_FALSE
=
15947 # Extract the first word of "doxygen", so it can be a program name with args.
15948 set dummy doxygen
; ac_word
=$2
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15950 $as_echo_n "checking for $ac_word... " >&6; }
15951 if ${ac_cv_path_DOXYGEN+:} false
; then :
15952 $as_echo_n "(cached) " >&6
15956 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
15959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15960 for as_dir
in $PATH
15963 test -z "$as_dir" && as_dir
=.
15964 for ac_exec_ext
in '' $ac_executable_extensions; do
15965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15966 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15974 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="no"
15978 DOXYGEN
=$ac_cv_path_DOXYGEN
15979 if test -n "$DOXYGEN"; then
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15981 $as_echo "$DOXYGEN" >&6; }
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15984 $as_echo "no" >&6; }
15988 if test x
"$DOXYGEN" != "xno"; then
15990 HAVE_DOXYGEN_FALSE
='#'
15992 HAVE_DOXYGEN_TRUE
='#'
15993 HAVE_DOXYGEN_FALSE
=
15998 # Extract the first word of "perl", so it can be a program name with args.
15999 set dummy perl
; ac_word
=$2
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16001 $as_echo_n "checking for $ac_word... " >&6; }
16002 if ${ac_cv_path_PERL+:} false
; then :
16003 $as_echo_n "(cached) " >&6
16007 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
16010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16011 for as_dir
in $PATH
16014 test -z "$as_dir" && as_dir
=.
16015 for ac_exec_ext
in '' $ac_executable_extensions; do
16016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16017 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
16018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16025 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
16029 PERL
=$ac_cv_path_PERL
16030 if test -n "$PERL"; then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16032 $as_echo "$PERL" >&6; }
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16035 $as_echo "no" >&6; }
16039 if test x
"$PERL" != "xno"; then
16041 HAVE_PERL_FALSE
='#'
16049 have_pod_checker
=no
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Pod::Checker" >&5
16051 $as_echo_n "checking for Pod::Checker... " >&6; }
16052 if $PERL -mPod::Checker
>/dev
/null
2>&1 ; then
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16054 $as_echo "yes" >&6; }
16055 have_pod_checker
=yes
16057 if test x
"$have_pod_checker" = "xyes"; then
16058 HAVE_PERL_POD_CHECKER_TRUE
=
16059 HAVE_PERL_POD_CHECKER_FALSE
='#'
16061 HAVE_PERL_POD_CHECKER_TRUE
='#'
16062 HAVE_PERL_POD_CHECKER_FALSE
=
16066 # Extract the first word of "pod2man", so it can be a program name with args.
16067 set dummy pod2man
; ac_word
=$2
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16069 $as_echo_n "checking for $ac_word... " >&6; }
16070 if ${ac_cv_path_POD2MAN+:} false
; then :
16071 $as_echo_n "(cached) " >&6
16075 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
16078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16079 for as_dir
in $PATH
16082 test -z "$as_dir" && as_dir
=.
16083 for ac_exec_ext
in '' $ac_executable_extensions; do
16084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16085 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
16086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16093 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="no"
16097 POD2MAN
=$ac_cv_path_POD2MAN
16098 if test -n "$POD2MAN"; then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16100 $as_echo "$POD2MAN" >&6; }
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16103 $as_echo "no" >&6; }
16107 if test x
"$POD2MAN" != "xno"; then
16109 HAVE_POD2MAN_FALSE
='#'
16111 HAVE_POD2MAN_TRUE
='#'
16112 HAVE_POD2MAN_FALSE
=
16117 # Extract the first word of "pod2html", so it can be a program name with args.
16118 set dummy pod2html
; ac_word
=$2
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16120 $as_echo_n "checking for $ac_word... " >&6; }
16121 if ${ac_cv_path_POD2HTML+:} false
; then :
16122 $as_echo_n "(cached) " >&6
16126 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
16129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16130 for as_dir
in $PATH
16133 test -z "$as_dir" && as_dir
=.
16134 for ac_exec_ext
in '' $ac_executable_extensions; do
16135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16136 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
16137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16144 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="no"
16148 POD2HTML
=$ac_cv_path_POD2HTML
16149 if test -n "$POD2HTML"; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16151 $as_echo "$POD2HTML" >&6; }
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16154 $as_echo "no" >&6; }
16158 if test x
"$POD2HTML" != "xno"; then
16159 HAVE_POD2HTML_TRUE
=
16160 HAVE_POD2HTML_FALSE
='#'
16162 HAVE_POD2HTML_TRUE
='#'
16163 HAVE_POD2HTML_FALSE
=
16168 # Extract the first word of "date", so it can be a program name with args.
16169 set dummy
date; ac_word
=$2
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16171 $as_echo_n "checking for $ac_word... " >&6; }
16172 if ${ac_cv_path_DATE+:} false
; then :
16173 $as_echo_n "(cached) " >&6
16177 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16181 for as_dir
in $PATH
16184 test -z "$as_dir" && as_dir
=.
16185 for ac_exec_ext
in '' $ac_executable_extensions; do
16186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16187 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16195 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="no"
16199 DATE
=$ac_cv_path_DATE
16200 if test -n "$DATE"; then
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16202 $as_echo "$DATE" >&6; }
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16205 $as_echo "no" >&6; }
16209 if test x
"$DATE" != "xno" ; then
16210 build_date
=`"$DATE" +%Y-%m-%d 2>/dev/null`
16211 if test x
"$build_date" != "x" ; then
16213 cat >>confdefs.h
<<_ACEOF
16214 #define BUILD_DATE "$build_date"
16220 # Extract the first word of "git", so it can be a program name with args.
16221 set dummy git
; ac_word
=$2
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16223 $as_echo_n "checking for $ac_word... " >&6; }
16224 if ${ac_cv_path_GIT+:} false
; then :
16225 $as_echo_n "(cached) " >&6
16229 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16233 for as_dir
in $PATH
16236 test -z "$as_dir" && as_dir
=.
16237 for ac_exec_ext
in '' $ac_executable_extensions; do
16238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16239 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16247 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT
="no"
16251 GIT
=$ac_cv_path_GIT
16252 if test -n "$GIT"; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16254 $as_echo "$GIT" >&6; }
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16257 $as_echo "no" >&6; }
16261 if test x
"$GIT" != "xno" ; then
16263 git_describe
=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16264 if test x
"$git_describe" != "x" ; then
16266 cat >>confdefs.h
<<_ACEOF
16267 #define GIT_DESCRIBE "$git_describe"
16273 # Checks for libraries.
16275 if test "X$prefix" = "XNONE"; then
16276 acl_final_prefix
="$ac_default_prefix"
16278 acl_final_prefix
="$prefix"
16280 if test "X$exec_prefix" = "XNONE"; then
16281 acl_final_exec_prefix
='${prefix}'
16283 acl_final_exec_prefix
="$exec_prefix"
16285 acl_save_prefix
="$prefix"
16286 prefix
="$acl_final_prefix"
16287 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16288 prefix
="$acl_save_prefix"
16291 # Check whether --with-gnu-ld was given.
16292 if test "${with_gnu_ld+set}" = set; then :
16293 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16298 # Prepare PATH_SEPARATOR.
16299 # The user is always right.
16300 if test "${PATH_SEPARATOR+set}" != set; then
16301 echo "#! /bin/sh" >conf$$.sh
16302 echo "exit 0" >>conf$$.sh
16304 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16312 if test "$GCC" = yes; then
16313 # Check if gcc -print-prog-name=ld gives a path.
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16315 $as_echo_n "checking for ld used by GCC... " >&6; }
16318 # gcc leaves a trailing carriage return which upsets mingw
16319 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16321 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16324 # Accept absolute paths.
16325 [\\/]* |
[A-Za-z
]:[\\/]*)
16326 re_direlt
='/[^/][^/]*/\.\./'
16327 # Canonicalize the path of ld
16328 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16329 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16330 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16332 test -z "$LD" && LD
="$ac_prog"
16335 # If it fails, then pretend we aren't using GCC.
16339 # If it is relative, then search for the first ld in PATH.
16340 with_gnu_ld
=unknown
16343 elif test "$with_gnu_ld" = yes; then
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16345 $as_echo_n "checking for GNU ld... " >&6; }
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16348 $as_echo_n "checking for non-GNU ld... " >&6; }
16350 if ${acl_cv_path_LD+:} false
; then :
16351 $as_echo_n "(cached) " >&6
16353 if test -z "$LD"; then
16354 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16355 for ac_dir
in $PATH; do
16356 test -z "$ac_dir" && ac_dir
=.
16357 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16358 acl_cv_path_LD
="$ac_dir/$ac_prog"
16359 # Check to see if the program is GNU ld. I'd rather use --version,
16360 # but apparently some GNU ld's only accept -v.
16361 # Break only if it was the GNU/non-GNU ld that we prefer.
16362 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16363 *GNU
* |
*'with BFD'*)
16364 test "$with_gnu_ld" != no
&& break ;;
16366 test "$with_gnu_ld" != yes && break ;;
16372 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16376 LD
="$acl_cv_path_LD"
16377 if test -n "$LD"; then
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16379 $as_echo "$LD" >&6; }
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16382 $as_echo "no" >&6; }
16384 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16386 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16387 if ${acl_cv_prog_gnu_ld+:} false
; then :
16388 $as_echo_n "(cached) " >&6
16390 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16391 case `$LD -v 2>&1 </dev/null` in
16392 *GNU
* |
*'with BFD'*)
16393 acl_cv_prog_gnu_ld
=yes ;;
16395 acl_cv_prog_gnu_ld
=no
;;
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16399 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16400 with_gnu_ld
=$acl_cv_prog_gnu_ld
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16406 $as_echo_n "checking for shared library run path origin... " >&6; }
16407 if ${acl_cv_rpath+:} false
; then :
16408 $as_echo_n "(cached) " >&6
16411 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16412 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16414 rm -f .
/conftest.sh
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16419 $as_echo "$acl_cv_rpath" >&6; }
16421 acl_libext
="$acl_cv_libext"
16422 acl_shlibext
="$acl_cv_shlibext"
16423 acl_libname_spec
="$acl_cv_libname_spec"
16424 acl_library_names_spec
="$acl_cv_library_names_spec"
16425 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16426 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16427 acl_hardcode_direct
="$acl_cv_hardcode_direct"
16428 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16429 # Check whether --enable-rpath was given.
16430 if test "${enable_rpath+set}" = set; then :
16431 enableval
=$enable_rpath; :
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16444 $as_echo_n "checking for 64-bit host... " >&6; }
16445 if ${gl_cv_solaris_64bit+:} false
; then :
16446 $as_echo_n "(cached) " >&6
16448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16457 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
16458 gl_cv_solaris_64bit
=yes
16460 gl_cv_solaris_64bit
=no
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16467 $as_echo "$gl_cv_solaris_64bit" >&6; }
16468 if test $gl_cv_solaris_64bit = yes; then
16469 acl_libdirstem
=lib
/64
16470 case "$host_cpu" in
16471 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
16472 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
16477 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16478 if test -n "$searchpath"; then
16479 acl_save_IFS
="${IFS= }"; IFS
=":"
16480 for searchdir
in $searchpath; do
16481 if test -d "$searchdir"; then
16482 case "$searchdir" in
16483 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
16485 # Better ignore directories of this form. They are misleading.
16487 *) searchdir
=`cd "$searchdir" && pwd`
16488 case "$searchdir" in
16489 */lib64
) acl_libdirstem
=lib64
;;
16494 IFS
="$acl_save_IFS"
16498 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
16513 acl_save_prefix
="$prefix"
16514 prefix
="$acl_final_prefix"
16515 acl_save_exec_prefix
="$exec_prefix"
16516 exec_prefix
="$acl_final_exec_prefix"
16518 eval additional_includedir
=\"$includedir\"
16519 eval additional_libdir
=\"$libdir\"
16521 exec_prefix
="$acl_save_exec_prefix"
16522 prefix
="$acl_save_prefix"
16525 # Check whether --with-libiconv-prefix was given.
16526 if test "${with_libiconv_prefix+set}" = set; then :
16527 withval
=$with_libiconv_prefix;
16528 if test "X$withval" = "Xno"; then
16531 if test "X$withval" = "X"; then
16533 acl_save_prefix
="$prefix"
16534 prefix
="$acl_final_prefix"
16535 acl_save_exec_prefix
="$exec_prefix"
16536 exec_prefix
="$acl_final_exec_prefix"
16538 eval additional_includedir
=\"$includedir\"
16539 eval additional_libdir
=\"$libdir\"
16541 exec_prefix
="$acl_save_exec_prefix"
16542 prefix
="$acl_save_prefix"
16545 additional_includedir
="$withval/include"
16546 additional_libdir
="$withval/$acl_libdirstem"
16547 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16548 && ! test -d "$withval/$acl_libdirstem"; then
16549 additional_libdir
="$withval/$acl_libdirstem2"
16563 names_already_handled
=
16564 names_next_round
='iconv '
16565 while test -n "$names_next_round"; do
16566 names_this_round
="$names_next_round"
16568 for name
in $names_this_round; do
16570 for n
in $names_already_handled; do
16571 if test "$n" = "$name"; then
16572 already_handled
=yes
16576 if test -z "$already_handled"; then
16577 names_already_handled
="$names_already_handled $name"
16578 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16579 eval value
=\"\
$HAVE_LIB$uppername\"
16580 if test -n "$value"; then
16581 if test "$value" = yes; then
16582 eval value
=\"\
$LIB$uppername\"
16583 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16584 eval value
=\"\
$LTLIB$uppername\"
16585 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16594 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
16595 if test -n "$acl_shlibext"; then
16596 shrext
=".$acl_shlibext" # typically: shrext=.so
16600 if test $use_additional = yes; then
16601 dir
="$additional_libdir"
16602 if test -n "$acl_shlibext"; then
16603 if test -f "$dir/$libname$shrext"; then
16605 found_so
="$dir/$libname$shrext"
16607 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16608 ver
=`(cd "$dir" && \
16609 for f in "$libname$shrext".*; do echo "$f"; done \
16610 | sed -e "s,^$libname$shrext\\\\.,," \
16611 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16612 | sed 1q ) 2>/dev/null`
16613 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16615 found_so
="$dir/$libname$shrext.$ver"
16618 eval library_names
=\"$acl_library_names_spec\"
16619 for f
in $library_names; do
16620 if test -f "$dir/$f"; then
16629 if test "X$found_dir" = "X"; then
16630 if test -f "$dir/$libname.$acl_libext"; then
16632 found_a
="$dir/$libname.$acl_libext"
16635 if test "X$found_dir" != "X"; then
16636 if test -f "$dir/$libname.la"; then
16637 found_la
="$dir/$libname.la"
16641 if test "X$found_dir" = "X"; then
16642 for x
in $LDFLAGS $LTLIBICONV; do
16644 acl_save_prefix
="$prefix"
16645 prefix
="$acl_final_prefix"
16646 acl_save_exec_prefix
="$exec_prefix"
16647 exec_prefix
="$acl_final_exec_prefix"
16649 exec_prefix
="$acl_save_exec_prefix"
16650 prefix
="$acl_save_prefix"
16654 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16655 if test -n "$acl_shlibext"; then
16656 if test -f "$dir/$libname$shrext"; then
16658 found_so
="$dir/$libname$shrext"
16660 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16661 ver
=`(cd "$dir" && \
16662 for f in "$libname$shrext".*; do echo "$f"; done \
16663 | sed -e "s,^$libname$shrext\\\\.,," \
16664 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16665 | sed 1q ) 2>/dev/null`
16666 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16668 found_so
="$dir/$libname$shrext.$ver"
16671 eval library_names
=\"$acl_library_names_spec\"
16672 for f
in $library_names; do
16673 if test -f "$dir/$f"; then
16682 if test "X$found_dir" = "X"; then
16683 if test -f "$dir/$libname.$acl_libext"; then
16685 found_a
="$dir/$libname.$acl_libext"
16688 if test "X$found_dir" != "X"; then
16689 if test -f "$dir/$libname.la"; then
16690 found_la
="$dir/$libname.la"
16695 if test "X$found_dir" != "X"; then
16700 if test "X$found_dir" != "X"; then
16701 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16702 if test "X$found_so" != "X"; then
16703 if test "$enable_rpath" = no \
16704 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
16705 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16706 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16709 for x
in $ltrpathdirs; do
16710 if test "X$x" = "X$found_dir"; then
16715 if test -z "$haveit"; then
16716 ltrpathdirs
="$ltrpathdirs $found_dir"
16718 if test "$acl_hardcode_direct" = yes; then
16719 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16721 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
16722 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16724 for x
in $rpathdirs; do
16725 if test "X$x" = "X$found_dir"; then
16730 if test -z "$haveit"; then
16731 rpathdirs
="$rpathdirs $found_dir"
16735 for x
in $LDFLAGS $LIBICONV; do
16737 acl_save_prefix
="$prefix"
16738 prefix
="$acl_final_prefix"
16739 acl_save_exec_prefix
="$exec_prefix"
16740 exec_prefix
="$acl_final_exec_prefix"
16742 exec_prefix
="$acl_save_exec_prefix"
16743 prefix
="$acl_save_prefix"
16745 if test "X$x" = "X-L$found_dir"; then
16750 if test -z "$haveit"; then
16751 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16753 if test "$acl_hardcode_minus_L" != no
; then
16754 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16756 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16762 if test "X$found_a" != "X"; then
16763 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16765 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16768 additional_includedir
=
16769 case "$found_dir" in
16770 */$acl_libdirstem |
*/$acl_libdirstem/)
16771 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16772 if test "$name" = 'iconv'; then
16773 LIBICONV_PREFIX
="$basedir"
16775 additional_includedir
="$basedir/include"
16777 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
16778 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16779 if test "$name" = 'iconv'; then
16780 LIBICONV_PREFIX
="$basedir"
16782 additional_includedir
="$basedir/include"
16785 if test "X$additional_includedir" != "X"; then
16786 if test "X$additional_includedir" != "X/usr/include"; then
16788 if test "X$additional_includedir" = "X/usr/local/include"; then
16789 if test -n "$GCC"; then
16791 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16795 if test -z "$haveit"; then
16796 for x
in $CPPFLAGS $INCICONV; do
16798 acl_save_prefix
="$prefix"
16799 prefix
="$acl_final_prefix"
16800 acl_save_exec_prefix
="$exec_prefix"
16801 exec_prefix
="$acl_final_exec_prefix"
16803 exec_prefix
="$acl_save_exec_prefix"
16804 prefix
="$acl_save_prefix"
16806 if test "X$x" = "X-I$additional_includedir"; then
16811 if test -z "$haveit"; then
16812 if test -d "$additional_includedir"; then
16813 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16819 if test -n "$found_la"; then
16820 save_libdir
="$libdir"
16821 case "$found_la" in
16822 */* |
*\\*) .
"$found_la" ;;
16823 *) .
"./$found_la" ;;
16825 libdir
="$save_libdir"
16826 for dep
in $dependency_libs; do
16829 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16830 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16831 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16833 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16834 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16835 if test -n "$GCC"; then
16837 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16841 if test -z "$haveit"; then
16843 for x
in $LDFLAGS $LIBICONV; do
16845 acl_save_prefix
="$prefix"
16846 prefix
="$acl_final_prefix"
16847 acl_save_exec_prefix
="$exec_prefix"
16848 exec_prefix
="$acl_final_exec_prefix"
16850 exec_prefix
="$acl_save_exec_prefix"
16851 prefix
="$acl_save_prefix"
16853 if test "X$x" = "X-L$additional_libdir"; then
16858 if test -z "$haveit"; then
16859 if test -d "$additional_libdir"; then
16860 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16864 for x
in $LDFLAGS $LTLIBICONV; do
16866 acl_save_prefix
="$prefix"
16867 prefix
="$acl_final_prefix"
16868 acl_save_exec_prefix
="$exec_prefix"
16869 exec_prefix
="$acl_final_exec_prefix"
16871 exec_prefix
="$acl_save_exec_prefix"
16872 prefix
="$acl_save_prefix"
16874 if test "X$x" = "X-L$additional_libdir"; then
16879 if test -z "$haveit"; then
16880 if test -d "$additional_libdir"; then
16881 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16888 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16889 if test "$enable_rpath" != no
; then
16891 for x
in $rpathdirs; do
16892 if test "X$x" = "X$dir"; then
16897 if test -z "$haveit"; then
16898 rpathdirs
="$rpathdirs $dir"
16901 for x
in $ltrpathdirs; do
16902 if test "X$x" = "X$dir"; then
16907 if test -z "$haveit"; then
16908 ltrpathdirs
="$ltrpathdirs $dir"
16913 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16916 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16919 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16920 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16926 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16927 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16933 if test "X$rpathdirs" != "X"; then
16934 if test -n "$acl_hardcode_libdir_separator"; then
16936 for found_dir
in $rpathdirs; do
16937 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16939 acl_save_libdir
="$libdir"
16941 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16942 libdir
="$acl_save_libdir"
16943 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16945 for found_dir
in $rpathdirs; do
16946 acl_save_libdir
="$libdir"
16947 libdir
="$found_dir"
16948 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16949 libdir
="$acl_save_libdir"
16950 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16954 if test "X$ltrpathdirs" != "X"; then
16955 for found_dir
in $ltrpathdirs; do
16956 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16971 am_save_CPPFLAGS
="$CPPFLAGS"
16973 for element
in $INCICONV; do
16975 for x
in $CPPFLAGS; do
16977 acl_save_prefix
="$prefix"
16978 prefix
="$acl_final_prefix"
16979 acl_save_exec_prefix
="$exec_prefix"
16980 exec_prefix
="$acl_final_exec_prefix"
16982 exec_prefix
="$acl_save_exec_prefix"
16983 prefix
="$acl_save_prefix"
16985 if test "X$x" = "X$element"; then
16990 if test -z "$haveit"; then
16991 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16997 $as_echo_n "checking for iconv... " >&6; }
16998 if ${am_cv_func_iconv+:} false
; then :
16999 $as_echo_n "(cached) " >&6
17002 am_cv_func_iconv
="no, consider installing GNU libiconv"
17004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #include <stdlib.h>
17011 iconv_t cd = iconv_open("","");
17012 iconv(cd,NULL,NULL,NULL,NULL);
17018 if ac_fn_c_try_link
"$LINENO"; then :
17019 am_cv_func_iconv
=yes
17021 rm -f core conftest.err conftest.
$ac_objext \
17022 conftest
$ac_exeext conftest.
$ac_ext
17023 if test "$am_cv_func_iconv" != yes; then
17024 am_save_LIBS
="$LIBS"
17025 LIBS
="$LIBS $LIBICONV"
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <stdlib.h>
17033 iconv_t cd = iconv_open("","");
17034 iconv(cd,NULL,NULL,NULL,NULL);
17040 if ac_fn_c_try_link
"$LINENO"; then :
17041 am_cv_lib_iconv
=yes
17042 am_cv_func_iconv
=yes
17044 rm -f core conftest.err conftest.
$ac_objext \
17045 conftest
$ac_exeext conftest.
$ac_ext
17046 LIBS
="$am_save_LIBS"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17051 $as_echo "$am_cv_func_iconv" >&6; }
17052 if test "$am_cv_func_iconv" = yes; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17054 $as_echo_n "checking for working iconv... " >&6; }
17055 if ${am_cv_func_iconv_works+:} false
; then :
17056 $as_echo_n "(cached) " >&6
17059 am_save_LIBS
="$LIBS"
17060 if test $am_cv_lib_iconv = yes; then
17061 LIBS
="$LIBS $LIBICONV"
17063 if test "$cross_compiling" = yes; then :
17065 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
17066 *) am_cv_func_iconv_works
="guessing yes" ;;
17069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17073 #include <string.h>
17076 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17079 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17080 if (cd_utf8_to_88591 != (iconv_t)(-1))
17082 static const char input[] = "\342\202\254"; /* EURO SIGN */
17084 const char *inptr = input;
17085 size_t inbytesleft = strlen (input);
17086 char *outptr = buf;
17087 size_t outbytesleft = sizeof (buf);
17088 size_t res = iconv (cd_utf8_to_88591,
17089 (char **) &inptr, &inbytesleft,
17090 &outptr, &outbytesleft);
17095 /* Test against Solaris 10 bug: Failures are not distinguishable from
17096 successful returns. */
17098 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17099 if (cd_ascii_to_88591 != (iconv_t)(-1))
17101 static const char input[] = "\263";
17103 const char *inptr = input;
17104 size_t inbytesleft = strlen (input);
17105 char *outptr = buf;
17106 size_t outbytesleft = sizeof (buf);
17107 size_t res = iconv (cd_ascii_to_88591,
17108 (char **) &inptr, &inbytesleft,
17109 &outptr, &outbytesleft);
17114 #if 0 /* This bug could be worked around by the caller. */
17115 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17117 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17118 if (cd_88591_to_utf8 != (iconv_t)(-1))
17120 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17122 const char *inptr = input;
17123 size_t inbytesleft = strlen (input);
17124 char *outptr = buf;
17125 size_t outbytesleft = sizeof (buf);
17126 size_t res = iconv (cd_88591_to_utf8,
17127 (char **) &inptr, &inbytesleft,
17128 &outptr, &outbytesleft);
17134 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17136 if (/* Try standardized names. */
17137 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17138 /* Try IRIX, OSF/1 names. */
17139 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17140 /* Try AIX names. */
17141 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17142 /* Try HP-UX names. */
17143 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17148 if ac_fn_c_try_run
"$LINENO"; then :
17149 am_cv_func_iconv_works
=yes
17151 am_cv_func_iconv_works
=no
17153 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17154 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17157 LIBS
="$am_save_LIBS"
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17161 $as_echo "$am_cv_func_iconv_works" >&6; }
17162 case "$am_cv_func_iconv_works" in
17163 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
17164 *) am_func_iconv
=yes ;;
17167 am_func_iconv
=no am_cv_lib_iconv
=no
17169 if test "$am_func_iconv" = yes; then
17171 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17174 if test "$am_cv_lib_iconv" = yes; then
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17176 $as_echo_n "checking how to link with libiconv... " >&6; }
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17178 $as_echo "$LIBICONV" >&6; }
17180 CPPFLAGS
="$am_save_CPPFLAGS"
17187 if test "$am_cv_func_iconv" = yes; then
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17189 $as_echo_n "checking for iconv declaration... " >&6; }
17190 if ${am_cv_proto_iconv+:} false
; then :
17191 $as_echo_n "(cached) " >&6
17194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17197 #include <stdlib.h>
17203 #if defined(__STDC__) || defined(__cplusplus)
17204 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17217 if ac_fn_c_try_compile
"$LINENO"; then :
17218 am_cv_proto_iconv_arg1
=""
17220 am_cv_proto_iconv_arg1
="const"
17222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17223 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
17226 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17228 $am_cv_proto_iconv" >&5
17230 $am_cv_proto_iconv" >&6; }
17232 cat >>confdefs.h
<<_ACEOF
17233 #define ICONV_CONST $am_cv_proto_iconv_arg1
17244 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17245 if test -n "$ac_tool_prefix"; then
17246 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17247 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17249 $as_echo_n "checking for $ac_word... " >&6; }
17250 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17251 $as_echo_n "(cached) " >&6
17253 case $PKG_CONFIG in
17255 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17259 for as_dir
in $PATH
17262 test -z "$as_dir" && as_dir
=.
17263 for ac_exec_ext
in '' $ac_executable_extensions; do
17264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17265 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17276 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17277 if test -n "$PKG_CONFIG"; then
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17279 $as_echo "$PKG_CONFIG" >&6; }
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17282 $as_echo "no" >&6; }
17287 if test -z "$ac_cv_path_PKG_CONFIG"; then
17288 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17289 # Extract the first word of "pkg-config", so it can be a program name with args.
17290 set dummy pkg-config
; ac_word
=$2
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17292 $as_echo_n "checking for $ac_word... " >&6; }
17293 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17294 $as_echo_n "(cached) " >&6
17296 case $ac_pt_PKG_CONFIG in
17298 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17302 for as_dir
in $PATH
17305 test -z "$as_dir" && as_dir
=.
17306 for ac_exec_ext
in '' $ac_executable_extensions; do
17307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17308 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17319 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17320 if test -n "$ac_pt_PKG_CONFIG"; then
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17322 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17325 $as_echo "no" >&6; }
17328 if test "x$ac_pt_PKG_CONFIG" = x
; then
17331 case $cross_compiling:$ac_tool_warned in
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17335 ac_tool_warned
=yes ;;
17337 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17340 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17344 if test -n "$PKG_CONFIG"; then
17345 _pkg_min_version
=0.9.0
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17347 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17348 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17350 $as_echo "yes" >&6; }
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17353 $as_echo "no" >&6; }
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17360 $as_echo_n "checking for libcurl... " >&6; }
17362 if test -n "$libcurl_CFLAGS"; then
17363 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
17364 elif test -n "$PKG_CONFIG"; then
17365 if test -n "$PKG_CONFIG" && \
17366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17367 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17370 test $ac_status = 0; }; then
17371 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17378 if test -n "$libcurl_LIBS"; then
17379 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
17380 elif test -n "$PKG_CONFIG"; then
17381 if test -n "$PKG_CONFIG" && \
17382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17383 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17386 test $ac_status = 0; }; then
17387 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17397 if test $pkg_failed = yes; then
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17399 $as_echo "no" >&6; }
17401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17402 _pkg_short_errors_supported
=yes
17404 _pkg_short_errors_supported
=no
17406 if test $_pkg_short_errors_supported = yes; then
17407 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17409 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17411 # Put the nasty error message in config.log where it belongs
17412 echo "$libcurl_PKG_ERRORS" >&5
17414 as_fn_error $?
"Package requirements (libcurl >= 7.18.0) were not met:
17416 $libcurl_PKG_ERRORS
17418 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17419 installed software in a non-standard prefix.
17421 Alternatively, you may set the environment variables libcurl_CFLAGS
17422 and libcurl_LIBS to avoid the need to call pkg-config.
17423 See the pkg-config man page for more details." "$LINENO" 5
17424 elif test $pkg_failed = untried
; then
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17429 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17430 is in your PATH or set the PKG_CONFIG environment variable to the full
17431 path to pkg-config.
17433 Alternatively, you may set the environment variables libcurl_CFLAGS
17434 and libcurl_LIBS to avoid the need to call pkg-config.
17435 See the pkg-config man page for more details.
17437 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17438 See \`config.log' for more details" "$LINENO" 5; }
17440 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
17441 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17443 $as_echo "yes" >&6; }
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17449 $as_echo_n "checking for liblua... " >&6; }
17451 if test -n "$liblua_CFLAGS"; then
17452 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17453 elif test -n "$PKG_CONFIG"; then
17454 if test -n "$PKG_CONFIG" && \
17455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17456 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17459 test $ac_status = 0; }; then
17460 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17467 if test -n "$liblua_LIBS"; then
17468 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17469 elif test -n "$PKG_CONFIG"; then
17470 if test -n "$PKG_CONFIG" && \
17471 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17472 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17475 test $ac_status = 0; }; then
17476 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17486 if test $pkg_failed = yes; then
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17488 $as_echo "no" >&6; }
17490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17491 _pkg_short_errors_supported
=yes
17493 _pkg_short_errors_supported
=no
17495 if test $_pkg_short_errors_supported = yes; then
17496 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17498 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17500 # Put the nasty error message in config.log where it belongs
17501 echo "$liblua_PKG_ERRORS" >&5
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17507 $as_echo_n "checking for liblua... " >&6; }
17509 if test -n "$liblua_CFLAGS"; then
17510 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17511 elif test -n "$PKG_CONFIG"; then
17512 if test -n "$PKG_CONFIG" && \
17513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17514 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17517 test $ac_status = 0; }; then
17518 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17525 if test -n "$liblua_LIBS"; then
17526 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17527 elif test -n "$PKG_CONFIG"; then
17528 if test -n "$PKG_CONFIG" && \
17529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17530 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17533 test $ac_status = 0; }; then
17534 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17544 if test $pkg_failed = yes; then
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17546 $as_echo "no" >&6; }
17548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17549 _pkg_short_errors_supported
=yes
17551 _pkg_short_errors_supported
=no
17553 if test $_pkg_short_errors_supported = yes; then
17554 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17556 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17558 # Put the nasty error message in config.log where it belongs
17559 echo "$liblua_PKG_ERRORS" >&5
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17565 $as_echo_n "checking for liblua... " >&6; }
17567 if test -n "$liblua_CFLAGS"; then
17568 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17569 elif test -n "$PKG_CONFIG"; then
17570 if test -n "$PKG_CONFIG" && \
17571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17572 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17575 test $ac_status = 0; }; then
17576 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17583 if test -n "$liblua_LIBS"; then
17584 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17585 elif test -n "$PKG_CONFIG"; then
17586 if test -n "$PKG_CONFIG" && \
17587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17588 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17591 test $ac_status = 0; }; then
17592 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17602 if test $pkg_failed = yes; then
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17604 $as_echo "no" >&6; }
17606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17607 _pkg_short_errors_supported
=yes
17609 _pkg_short_errors_supported
=no
17611 if test $_pkg_short_errors_supported = yes; then
17612 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17614 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17616 # Put the nasty error message in config.log where it belongs
17617 echo "$liblua_PKG_ERRORS" >&5
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17623 $as_echo_n "checking for liblua... " >&6; }
17625 if test -n "$liblua_CFLAGS"; then
17626 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17627 elif test -n "$PKG_CONFIG"; then
17628 if test -n "$PKG_CONFIG" && \
17629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17630 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17633 test $ac_status = 0; }; then
17634 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17641 if test -n "$liblua_LIBS"; then
17642 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17643 elif test -n "$PKG_CONFIG"; then
17644 if test -n "$PKG_CONFIG" && \
17645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17646 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17649 test $ac_status = 0; }; then
17650 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17660 if test $pkg_failed = yes; then
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17662 $as_echo "no" >&6; }
17664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17665 _pkg_short_errors_supported
=yes
17667 _pkg_short_errors_supported
=no
17669 if test $_pkg_short_errors_supported = yes; then
17670 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17672 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17674 # Put the nasty error message in config.log where it belongs
17675 echo "$liblua_PKG_ERRORS" >&5
17677 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17681 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17682 installed software in a non-standard prefix.
17684 Alternatively, you may set the environment variables liblua_CFLAGS
17685 and liblua_LIBS to avoid the need to call pkg-config.
17686 See the pkg-config man page for more details." "$LINENO" 5
17687 elif test $pkg_failed = untried
; then
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17689 $as_echo "no" >&6; }
17690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17692 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17693 is in your PATH or set the PKG_CONFIG environment variable to the full
17694 path to pkg-config.
17696 Alternatively, you may set the environment variables liblua_CFLAGS
17697 and liblua_LIBS to avoid the need to call pkg-config.
17698 See the pkg-config man page for more details.
17700 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17701 See \`config.log' for more details" "$LINENO" 5; }
17703 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17704 liblua_LIBS
=$pkg_cv_liblua_LIBS
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17706 $as_echo "yes" >&6; }
17710 elif test $pkg_failed = untried
; then
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17712 $as_echo "no" >&6; }
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17717 $as_echo_n "checking for liblua... " >&6; }
17719 if test -n "$liblua_CFLAGS"; then
17720 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17721 elif test -n "$PKG_CONFIG"; then
17722 if test -n "$PKG_CONFIG" && \
17723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17724 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17727 test $ac_status = 0; }; then
17728 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17735 if test -n "$liblua_LIBS"; then
17736 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17737 elif test -n "$PKG_CONFIG"; then
17738 if test -n "$PKG_CONFIG" && \
17739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17740 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17743 test $ac_status = 0; }; then
17744 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17754 if test $pkg_failed = yes; then
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17756 $as_echo "no" >&6; }
17758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17759 _pkg_short_errors_supported
=yes
17761 _pkg_short_errors_supported
=no
17763 if test $_pkg_short_errors_supported = yes; then
17764 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17766 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17768 # Put the nasty error message in config.log where it belongs
17769 echo "$liblua_PKG_ERRORS" >&5
17771 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17776 installed software in a non-standard prefix.
17778 Alternatively, you may set the environment variables liblua_CFLAGS
17779 and liblua_LIBS to avoid the need to call pkg-config.
17780 See the pkg-config man page for more details." "$LINENO" 5
17781 elif test $pkg_failed = untried
; then
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17783 $as_echo "no" >&6; }
17784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17786 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17787 is in your PATH or set the PKG_CONFIG environment variable to the full
17788 path to pkg-config.
17790 Alternatively, you may set the environment variables liblua_CFLAGS
17791 and liblua_LIBS to avoid the need to call pkg-config.
17792 See the pkg-config man page for more details.
17794 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17795 See \`config.log' for more details" "$LINENO" 5; }
17797 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17798 liblua_LIBS
=$pkg_cv_liblua_LIBS
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17800 $as_echo "yes" >&6; }
17805 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17806 liblua_LIBS
=$pkg_cv_liblua_LIBS
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17808 $as_echo "yes" >&6; }
17812 elif test $pkg_failed = untried
; then
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17814 $as_echo "no" >&6; }
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17819 $as_echo_n "checking for liblua... " >&6; }
17821 if test -n "$liblua_CFLAGS"; then
17822 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17823 elif test -n "$PKG_CONFIG"; then
17824 if test -n "$PKG_CONFIG" && \
17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17826 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17829 test $ac_status = 0; }; then
17830 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17837 if test -n "$liblua_LIBS"; then
17838 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17839 elif test -n "$PKG_CONFIG"; then
17840 if test -n "$PKG_CONFIG" && \
17841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17842 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17845 test $ac_status = 0; }; then
17846 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17856 if test $pkg_failed = yes; then
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17858 $as_echo "no" >&6; }
17860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17861 _pkg_short_errors_supported
=yes
17863 _pkg_short_errors_supported
=no
17865 if test $_pkg_short_errors_supported = yes; then
17866 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17868 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17870 # Put the nasty error message in config.log where it belongs
17871 echo "$liblua_PKG_ERRORS" >&5
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17877 $as_echo_n "checking for liblua... " >&6; }
17879 if test -n "$liblua_CFLAGS"; then
17880 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17881 elif test -n "$PKG_CONFIG"; then
17882 if test -n "$PKG_CONFIG" && \
17883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17884 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17887 test $ac_status = 0; }; then
17888 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17895 if test -n "$liblua_LIBS"; then
17896 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17897 elif test -n "$PKG_CONFIG"; then
17898 if test -n "$PKG_CONFIG" && \
17899 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17900 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17903 test $ac_status = 0; }; then
17904 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17914 if test $pkg_failed = yes; then
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17916 $as_echo "no" >&6; }
17918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17919 _pkg_short_errors_supported
=yes
17921 _pkg_short_errors_supported
=no
17923 if test $_pkg_short_errors_supported = yes; then
17924 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17926 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17928 # Put the nasty error message in config.log where it belongs
17929 echo "$liblua_PKG_ERRORS" >&5
17931 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17936 installed software in a non-standard prefix.
17938 Alternatively, you may set the environment variables liblua_CFLAGS
17939 and liblua_LIBS to avoid the need to call pkg-config.
17940 See the pkg-config man page for more details." "$LINENO" 5
17941 elif test $pkg_failed = untried
; then
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17943 $as_echo "no" >&6; }
17944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17946 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17947 is in your PATH or set the PKG_CONFIG environment variable to the full
17948 path to pkg-config.
17950 Alternatively, you may set the environment variables liblua_CFLAGS
17951 and liblua_LIBS to avoid the need to call pkg-config.
17952 See the pkg-config man page for more details.
17954 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17955 See \`config.log' for more details" "$LINENO" 5; }
17957 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17958 liblua_LIBS
=$pkg_cv_liblua_LIBS
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17960 $as_echo "yes" >&6; }
17964 elif test $pkg_failed = untried
; then
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17966 $as_echo "no" >&6; }
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17971 $as_echo_n "checking for liblua... " >&6; }
17973 if test -n "$liblua_CFLAGS"; then
17974 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17975 elif test -n "$PKG_CONFIG"; then
17976 if test -n "$PKG_CONFIG" && \
17977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17978 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17981 test $ac_status = 0; }; then
17982 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17989 if test -n "$liblua_LIBS"; then
17990 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17991 elif test -n "$PKG_CONFIG"; then
17992 if test -n "$PKG_CONFIG" && \
17993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17994 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17997 test $ac_status = 0; }; then
17998 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18008 if test $pkg_failed = yes; then
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18010 $as_echo "no" >&6; }
18012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18013 _pkg_short_errors_supported
=yes
18015 _pkg_short_errors_supported
=no
18017 if test $_pkg_short_errors_supported = yes; then
18018 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18020 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18022 # Put the nasty error message in config.log where it belongs
18023 echo "$liblua_PKG_ERRORS" >&5
18025 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18029 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18030 installed software in a non-standard prefix.
18032 Alternatively, you may set the environment variables liblua_CFLAGS
18033 and liblua_LIBS to avoid the need to call pkg-config.
18034 See the pkg-config man page for more details." "$LINENO" 5
18035 elif test $pkg_failed = untried
; then
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18037 $as_echo "no" >&6; }
18038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18040 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18041 is in your PATH or set the PKG_CONFIG environment variable to the full
18042 path to pkg-config.
18044 Alternatively, you may set the environment variables liblua_CFLAGS
18045 and liblua_LIBS to avoid the need to call pkg-config.
18046 See the pkg-config man page for more details.
18048 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18049 See \`config.log' for more details" "$LINENO" 5; }
18051 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18052 liblua_LIBS
=$pkg_cv_liblua_LIBS
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18054 $as_echo "yes" >&6; }
18059 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18060 liblua_LIBS
=$pkg_cv_liblua_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18062 $as_echo "yes" >&6; }
18067 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18068 liblua_LIBS
=$pkg_cv_liblua_LIBS
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18070 $as_echo "yes" >&6; }
18074 elif test $pkg_failed = untried
; then
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18076 $as_echo "no" >&6; }
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18081 $as_echo_n "checking for liblua... " >&6; }
18083 if test -n "$liblua_CFLAGS"; then
18084 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18085 elif test -n "$PKG_CONFIG"; then
18086 if test -n "$PKG_CONFIG" && \
18087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18088 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18091 test $ac_status = 0; }; then
18092 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18099 if test -n "$liblua_LIBS"; then
18100 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18101 elif test -n "$PKG_CONFIG"; then
18102 if test -n "$PKG_CONFIG" && \
18103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18104 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18107 test $ac_status = 0; }; then
18108 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18118 if test $pkg_failed = yes; then
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18120 $as_echo "no" >&6; }
18122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18123 _pkg_short_errors_supported
=yes
18125 _pkg_short_errors_supported
=no
18127 if test $_pkg_short_errors_supported = yes; then
18128 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18130 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18132 # Put the nasty error message in config.log where it belongs
18133 echo "$liblua_PKG_ERRORS" >&5
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18139 $as_echo_n "checking for liblua... " >&6; }
18141 if test -n "$liblua_CFLAGS"; then
18142 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18143 elif test -n "$PKG_CONFIG"; then
18144 if test -n "$PKG_CONFIG" && \
18145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18146 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18149 test $ac_status = 0; }; then
18150 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18157 if test -n "$liblua_LIBS"; then
18158 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18159 elif test -n "$PKG_CONFIG"; then
18160 if test -n "$PKG_CONFIG" && \
18161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18162 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18165 test $ac_status = 0; }; then
18166 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18176 if test $pkg_failed = yes; then
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18178 $as_echo "no" >&6; }
18180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18181 _pkg_short_errors_supported
=yes
18183 _pkg_short_errors_supported
=no
18185 if test $_pkg_short_errors_supported = yes; then
18186 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18188 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18190 # Put the nasty error message in config.log where it belongs
18191 echo "$liblua_PKG_ERRORS" >&5
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18197 $as_echo_n "checking for liblua... " >&6; }
18199 if test -n "$liblua_CFLAGS"; then
18200 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18201 elif test -n "$PKG_CONFIG"; then
18202 if test -n "$PKG_CONFIG" && \
18203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18204 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18207 test $ac_status = 0; }; then
18208 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18215 if test -n "$liblua_LIBS"; then
18216 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18217 elif test -n "$PKG_CONFIG"; then
18218 if test -n "$PKG_CONFIG" && \
18219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18220 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223 test $ac_status = 0; }; then
18224 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18234 if test $pkg_failed = yes; then
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18239 _pkg_short_errors_supported
=yes
18241 _pkg_short_errors_supported
=no
18243 if test $_pkg_short_errors_supported = yes; then
18244 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18246 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18248 # Put the nasty error message in config.log where it belongs
18249 echo "$liblua_PKG_ERRORS" >&5
18251 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18255 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18256 installed software in a non-standard prefix.
18258 Alternatively, you may set the environment variables liblua_CFLAGS
18259 and liblua_LIBS to avoid the need to call pkg-config.
18260 See the pkg-config man page for more details." "$LINENO" 5
18261 elif test $pkg_failed = untried
; then
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18263 $as_echo "no" >&6; }
18264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18266 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18267 is in your PATH or set the PKG_CONFIG environment variable to the full
18268 path to pkg-config.
18270 Alternatively, you may set the environment variables liblua_CFLAGS
18271 and liblua_LIBS to avoid the need to call pkg-config.
18272 See the pkg-config man page for more details.
18274 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18275 See \`config.log' for more details" "$LINENO" 5; }
18277 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18278 liblua_LIBS
=$pkg_cv_liblua_LIBS
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18280 $as_echo "yes" >&6; }
18284 elif test $pkg_failed = untried
; then
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18286 $as_echo "no" >&6; }
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18291 $as_echo_n "checking for liblua... " >&6; }
18293 if test -n "$liblua_CFLAGS"; then
18294 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18295 elif test -n "$PKG_CONFIG"; then
18296 if test -n "$PKG_CONFIG" && \
18297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18298 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18301 test $ac_status = 0; }; then
18302 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18309 if test -n "$liblua_LIBS"; then
18310 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18311 elif test -n "$PKG_CONFIG"; then
18312 if test -n "$PKG_CONFIG" && \
18313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18314 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18317 test $ac_status = 0; }; then
18318 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18328 if test $pkg_failed = yes; then
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18330 $as_echo "no" >&6; }
18332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18333 _pkg_short_errors_supported
=yes
18335 _pkg_short_errors_supported
=no
18337 if test $_pkg_short_errors_supported = yes; then
18338 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18340 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18342 # Put the nasty error message in config.log where it belongs
18343 echo "$liblua_PKG_ERRORS" >&5
18345 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18349 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18350 installed software in a non-standard prefix.
18352 Alternatively, you may set the environment variables liblua_CFLAGS
18353 and liblua_LIBS to avoid the need to call pkg-config.
18354 See the pkg-config man page for more details." "$LINENO" 5
18355 elif test $pkg_failed = untried
; then
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18357 $as_echo "no" >&6; }
18358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18360 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18361 is in your PATH or set the PKG_CONFIG environment variable to the full
18362 path to pkg-config.
18364 Alternatively, you may set the environment variables liblua_CFLAGS
18365 and liblua_LIBS to avoid the need to call pkg-config.
18366 See the pkg-config man page for more details.
18368 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18369 See \`config.log' for more details" "$LINENO" 5; }
18371 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18372 liblua_LIBS
=$pkg_cv_liblua_LIBS
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18374 $as_echo "yes" >&6; }
18379 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18380 liblua_LIBS
=$pkg_cv_liblua_LIBS
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18382 $as_echo "yes" >&6; }
18386 elif test $pkg_failed = untried
; then
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18388 $as_echo "no" >&6; }
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18393 $as_echo_n "checking for liblua... " >&6; }
18395 if test -n "$liblua_CFLAGS"; then
18396 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18397 elif test -n "$PKG_CONFIG"; then
18398 if test -n "$PKG_CONFIG" && \
18399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18400 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18403 test $ac_status = 0; }; then
18404 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18411 if test -n "$liblua_LIBS"; then
18412 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18413 elif test -n "$PKG_CONFIG"; then
18414 if test -n "$PKG_CONFIG" && \
18415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18416 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18419 test $ac_status = 0; }; then
18420 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18430 if test $pkg_failed = yes; then
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18432 $as_echo "no" >&6; }
18434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18435 _pkg_short_errors_supported
=yes
18437 _pkg_short_errors_supported
=no
18439 if test $_pkg_short_errors_supported = yes; then
18440 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18442 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18444 # Put the nasty error message in config.log where it belongs
18445 echo "$liblua_PKG_ERRORS" >&5
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18451 $as_echo_n "checking for liblua... " >&6; }
18453 if test -n "$liblua_CFLAGS"; then
18454 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18455 elif test -n "$PKG_CONFIG"; then
18456 if test -n "$PKG_CONFIG" && \
18457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18458 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18461 test $ac_status = 0; }; then
18462 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18469 if test -n "$liblua_LIBS"; then
18470 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18471 elif test -n "$PKG_CONFIG"; then
18472 if test -n "$PKG_CONFIG" && \
18473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18474 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18477 test $ac_status = 0; }; then
18478 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18488 if test $pkg_failed = yes; then
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18490 $as_echo "no" >&6; }
18492 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18493 _pkg_short_errors_supported
=yes
18495 _pkg_short_errors_supported
=no
18497 if test $_pkg_short_errors_supported = yes; then
18498 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18500 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18502 # Put the nasty error message in config.log where it belongs
18503 echo "$liblua_PKG_ERRORS" >&5
18505 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18509 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18510 installed software in a non-standard prefix.
18512 Alternatively, you may set the environment variables liblua_CFLAGS
18513 and liblua_LIBS to avoid the need to call pkg-config.
18514 See the pkg-config man page for more details." "$LINENO" 5
18515 elif test $pkg_failed = untried
; then
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18517 $as_echo "no" >&6; }
18518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18520 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18521 is in your PATH or set the PKG_CONFIG environment variable to the full
18522 path to pkg-config.
18524 Alternatively, you may set the environment variables liblua_CFLAGS
18525 and liblua_LIBS to avoid the need to call pkg-config.
18526 See the pkg-config man page for more details.
18528 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18529 See \`config.log' for more details" "$LINENO" 5; }
18531 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18532 liblua_LIBS
=$pkg_cv_liblua_LIBS
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18534 $as_echo "yes" >&6; }
18538 elif test $pkg_failed = untried
; then
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18540 $as_echo "no" >&6; }
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18545 $as_echo_n "checking for liblua... " >&6; }
18547 if test -n "$liblua_CFLAGS"; then
18548 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18549 elif test -n "$PKG_CONFIG"; then
18550 if test -n "$PKG_CONFIG" && \
18551 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18552 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18555 test $ac_status = 0; }; then
18556 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18563 if test -n "$liblua_LIBS"; then
18564 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18565 elif test -n "$PKG_CONFIG"; then
18566 if test -n "$PKG_CONFIG" && \
18567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18568 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18571 test $ac_status = 0; }; then
18572 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18582 if test $pkg_failed = yes; then
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18584 $as_echo "no" >&6; }
18586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18587 _pkg_short_errors_supported
=yes
18589 _pkg_short_errors_supported
=no
18591 if test $_pkg_short_errors_supported = yes; then
18592 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18594 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18596 # Put the nasty error message in config.log where it belongs
18597 echo "$liblua_PKG_ERRORS" >&5
18599 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18603 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18604 installed software in a non-standard prefix.
18606 Alternatively, you may set the environment variables liblua_CFLAGS
18607 and liblua_LIBS to avoid the need to call pkg-config.
18608 See the pkg-config man page for more details." "$LINENO" 5
18609 elif test $pkg_failed = untried
; then
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18611 $as_echo "no" >&6; }
18612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18614 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18615 is in your PATH or set the PKG_CONFIG environment variable to the full
18616 path to pkg-config.
18618 Alternatively, you may set the environment variables liblua_CFLAGS
18619 and liblua_LIBS to avoid the need to call pkg-config.
18620 See the pkg-config man page for more details.
18622 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18623 See \`config.log' for more details" "$LINENO" 5; }
18625 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18626 liblua_LIBS
=$pkg_cv_liblua_LIBS
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18628 $as_echo "yes" >&6; }
18633 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18634 liblua_LIBS
=$pkg_cv_liblua_LIBS
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18636 $as_echo "yes" >&6; }
18641 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18642 liblua_LIBS
=$pkg_cv_liblua_LIBS
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18644 $as_echo "yes" >&6; }
18649 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18650 liblua_LIBS
=$pkg_cv_liblua_LIBS
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18652 $as_echo "yes" >&6; }
18655 # Check whether --enable-silent-rules was given.
18656 if test "${enable_silent_rules+set}" = set; then :
18657 enableval
=$enable_silent_rules;
18660 case $enable_silent_rules in
18661 yes) AM_DEFAULT_VERBOSITY
=0;;
18662 no
) AM_DEFAULT_VERBOSITY
=1;;
18663 *) AM_DEFAULT_VERBOSITY
=0;;
18668 # Checks for header files.
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18670 $as_echo_n "checking for ANSI C header files... " >&6; }
18671 if ${ac_cv_header_stdc+:} false; then :
18672 $as_echo_n "(cached) " >&6
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #include <stdlib.h>
18677 #include <stdarg.h>
18678 #include <string.h>
18689 if ac_fn_c_try_compile "$LINENO"; then :
18690 ac_cv_header_stdc=yes
18692 ac_cv_header_stdc=no
18694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 if test $ac_cv_header_stdc = yes; then
18697 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 #include <string.h>
18703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18704 $EGREP "memchr" >/dev/null 2>&1; then :
18707 ac_cv_header_stdc=no
18713 if test $ac_cv_header_stdc = yes; then
18714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #include <stdlib.h>
18720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18721 $EGREP "free" >/dev/null 2>&1; then :
18724 ac_cv_header_stdc=no
18730 if test $ac_cv_header_stdc = yes; then
18731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18732 if test "$cross_compiling" = yes; then :
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18738 #include <stdlib.h>
18739 #if ((' ' & 0x0FF) == 0x020)
18740 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
18741 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
18743 # define ISLOWER(c) \
18744 (('a
' <= (c) && (c) <= 'i
') \
18745 || ('j
' <= (c) && (c) <= 'r
') \
18746 || ('s
' <= (c) && (c) <= 'z
'))
18747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18755 for (i = 0; i < 256; i++)
18756 if (XOR (islower (i), ISLOWER (i))
18757 || toupper (i) != TOUPPER (i))
18762 if ac_fn_c_try_run "$LINENO"; then :
18765 ac_cv_header_stdc=no
18767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18768 conftest.$ac_objext conftest.beam conftest.$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18774 $as_echo "$ac_cv_header_stdc" >&6; }
18775 if test $ac_cv_header_stdc = yes; then
18777 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18780 # `stdlib.h', `stdarg.h', `string.h
', ...
18781 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18784 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18795 # Checks for typedefs, structures, and compiler characteristics.
18796 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18797 if test "x$ac_cv_type_size_t" = xyes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define size_t unsigned int
18807 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18808 case $ac_cv_c_uint32_t in #(
18812 $as_echo "#define _UINT32_T 1" >>confdefs.h
18815 cat >>confdefs.h <<_ACEOF
18816 #define uint32_t $ac_cv_c_uint32_t
18821 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18822 case $ac_cv_c_uint64_t in #(
18826 $as_echo "#define _UINT64_T 1" >>confdefs.h
18829 cat >>confdefs.h <<_ACEOF
18830 #define uint64_t $ac_cv_c_uint64_t
18835 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18836 case $ac_cv_c_uint8_t in #(
18840 $as_echo "#define _UINT8_T 1" >>confdefs.h
18843 cat >>confdefs.h <<_ACEOF
18844 #define uint8_t $ac_cv_c_uint8_t
18849 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18850 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_PTRDIFF_T 1
18860 # Checks for library functions.
18861 if test x"$host_w32" = "xno" ; then
18862 for ac_header in stdlib.h
18864 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18865 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18866 cat >>confdefs.h <<_ACEOF
18867 #define HAVE_STDLIB_H 1
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18875 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18876 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18877 $as_echo_n "(cached) " >&6
18879 if test "$cross_compiling" = yes; then :
18880 ac_cv_func_malloc_0_nonnull=no
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18885 # include <stdlib.h>
18893 return ! malloc (0);
18898 if ac_fn_c_try_run "$LINENO"; then :
18899 ac_cv_func_malloc_0_nonnull=yes
18901 ac_cv_func_malloc_0_nonnull=no
18903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18904 conftest.$ac_objext conftest.beam conftest.$ac_ext
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18909 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18910 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18912 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18915 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18917 case " $LIBOBJS " in
18918 *" malloc.$ac_objext "* ) ;;
18919 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18924 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18929 for ac_header in stdlib.h
18931 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18932 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STDLIB_H 1
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
18942 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
18943 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
18944 $as_echo_n "(cached) " >&6
18946 if test "$cross_compiling" = yes; then :
18947 ac_cv_func_realloc_0_nonnull=no
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18952 # include <stdlib.h>
18960 return ! realloc (0, 0);
18965 if ac_fn_c_try_run "$LINENO"; then :
18966 ac_cv_func_realloc_0_nonnull=yes
18968 ac_cv_func_realloc_0_nonnull=no
18970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18971 conftest.$ac_objext conftest.beam conftest.$ac_ext
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
18976 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
18977 if test $ac_cv_func_realloc_0_nonnull = yes; then :
18979 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
18982 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
18984 case " $LIBOBJS " in
18985 *" realloc.$ac_objext "* ) ;;
18986 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
18991 $as_echo "#define realloc rpl_realloc" >>confdefs.h
18997 for ac_func in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
18999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19001 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19010 $as_echo_n "checking for working strtod... " >&6; }
19011 if ${ac_cv_func_strtod+:} false; then :
19012 $as_echo_n "(cached) " >&6
19014 if test "$cross_compiling" = yes; then :
19015 ac_cv_func_strtod=no
19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19020 $ac_includes_default
19028 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19029 char *string = " +69";
19032 value = strtod (string, &term);
19033 if (value != 69 || term != (string + 4))
19038 /* Under Solaris 2.4, strtod returns the wrong value for the
19039 terminating character under some conditions. */
19040 char *string = "NaN";
19042 strtod (string, &term);
19043 if (term != string && *(term - 1) == 0)
19050 if ac_fn_c_try_run "$LINENO"; then :
19051 ac_cv_func_strtod=yes
19053 ac_cv_func_strtod=no
19055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19056 conftest.$ac_objext conftest.beam conftest.$ac_ext
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19061 $as_echo "$ac_cv_func_strtod" >&6; }
19062 if test $ac_cv_func_strtod = no; then
19063 case " $LIBOBJS " in
19064 *" strtod.$ac_objext "* ) ;;
19065 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19069 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19070 if test "x$ac_cv_func_pow" = xyes; then :
19074 if test $ac_cv_func_pow = no; then
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19076 $as_echo_n "checking for pow in -lm... " >&6; }
19077 if ${ac_cv_lib_m_pow+:} false; then :
19078 $as_echo_n "(cached) " >&6
19080 ac_check_lib_save_LIBS=$LIBS
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19085 /* Override any GCC internal prototype to avoid an error.
19086 Use char because int might match the return type of a GCC
19087 builtin and then its argument prototype would still apply. */
19100 if ac_fn_c_try_link "$LINENO"; then :
19101 ac_cv_lib_m_pow=yes
19105 rm -f core conftest.err conftest.$ac_objext \
19106 conftest$ac_exeext conftest.$ac_ext
19107 LIBS=$ac_check_lib_save_LIBS
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19110 $as_echo "$ac_cv_lib_m_pow" >&6; }
19111 if test "x$ac_cv_lib_m_pow" = xyes; then :
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19115 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19124 for ac_func in vasprintf
19126 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19127 if test "x$ac_cv_func_vasprintf" = xyes; then :
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE_VASPRINTF 1
19132 for ac_func in asprintf
19134 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19135 if test "x$ac_cv_func_asprintf" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_ASPRINTF 1
19147 if test x"$have_asprintf" != "xyes"; then
19149 NO_ASPRINTF_FALSE='#'
19151 NO_ASPRINTF_TRUE
='#'
19157 for ac_func
in strupr
19159 ac_fn_c_check_func
"$LINENO" "strupr" "ac_cv_func_strupr"
19160 if test "x$ac_cv_func_strupr" = xyes
; then :
19161 cat >>confdefs.h
<<_ACEOF
19162 #define HAVE_STRUPR 1
19168 if test x
"$have_strupr" != "xyes"; then
19170 NO_STRUPR_FALSE
='#'
19178 # Check whether --enable-quvi was given.
19179 if test "${enable_quvi+set}" = set; then :
19180 enableval
=$enable_quvi;
19185 if test x
"$enable_quvi" != "xno"; then
19187 ENABLE_QUVI_FALSE
='#'
19189 ENABLE_QUVI_TRUE
='#'
19194 # --enable-examples
19195 # Check whether --enable-examples was given.
19196 if test "${enable_examples+set}" = set; then :
19197 enableval
=$enable_examples;
19202 if test x
"$enable_examples" != "xno"; then
19203 ENABLE_EXAMPLES_TRUE
=
19204 ENABLE_EXAMPLES_FALSE
='#'
19206 ENABLE_EXAMPLES_TRUE
='#'
19207 ENABLE_EXAMPLES_FALSE
=
19212 # Check whether --enable-nsfw was given.
19213 if test "${enable_nsfw+set}" = set; then :
19214 enableval
=$enable_nsfw;
19219 if test x
"$enable_nsfw" != "xno"; then
19221 ENABLE_NSFW_FALSE
='#'
19223 ENABLE_NSFW_TRUE
='#'
19228 if test x
"$enable_nsfw" != "xno" ; then
19230 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19235 # Check whether --enable-tests was given.
19236 if test "${enable_tests+set}" = set; then :
19237 enableval
=$enable_tests;
19242 if test x
"$enable_tests" != "xno"; then
19244 ENABLE_TESTS_FALSE
='#'
19246 ENABLE_TESTS_TRUE
='#'
19247 ENABLE_TESTS_FALSE
=
19252 # Check whether --enable-broken was given.
19253 if test "${enable_broken+set}" = set; then :
19254 enableval
=$enable_broken;
19259 if test x
"$enable_broken" != "xno"; then
19260 ENABLE_BROKEN_TRUE
=
19261 ENABLE_BROKEN_FALSE
='#'
19263 ENABLE_BROKEN_TRUE
='#'
19264 ENABLE_BROKEN_FALSE
=
19268 if test x
"$enable_broken" != "xno" ; then
19270 $as_echo "#define ENABLE_BROKEN 1" >>confdefs.h
19276 # Check whether --with-man was given.
19277 if test "${with_man+set}" = set; then :
19283 if test x
"$with_man" != "xno"; then
19294 # Check whether --with-doc was given.
19295 if test "${with_doc+set}" = set; then :
19301 if test x
"$with_doc" != "xno"; then
19311 if test x
"$with_gnu_ld" = "xyes"; then
19313 HAVE_GNU_LD_FALSE
='#'
19315 HAVE_GNU_LD_TRUE
='#'
19320 ac_config_files
="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile man1/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile tests/quviTest.pm libquvi.pc doxygen.conf"
19323 cat >confcache
<<\_ACEOF
19324 # This file is a shell script that caches the results of configure
19325 # tests run on this system so they can be shared between configure
19326 # scripts and configure runs, see configure's option --config-cache.
19327 # It is not useful on other systems. If it contains results you don't
19328 # want to keep, you may remove or edit it.
19330 # config.status only pays attention to the cache file if you give it
19331 # the --recheck option to rerun configure.
19333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19335 # following values.
19339 # The following way of writing the cache mishandles newlines in values,
19340 # but we know of no workaround that is simple, portable, and efficient.
19341 # So, we kill variables containing newlines.
19342 # Ultrix sh set writes to stderr and can't be redirected directly,
19343 # and sets the high bit in the cache file unless we assign to the vars.
19345 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19346 eval ac_val
=\$
$ac_var
19350 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19354 _ | IFS | as_nl
) ;; #(
19355 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19356 *) { eval $ac_var=; unset $ac_var;} ;;
19362 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19363 *${as_nl}ac_space
=\
*)
19364 # `set' does not quote correctly, so add quotes: double-quote
19365 # substitution turns \\\\ into \\, and sed turns \\ into \.
19368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19371 # `set' quotes correctly as required by POSIX, so do not add quotes.
19372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19381 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19383 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19385 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19386 if test -w "$cache_file"; then
19387 if test "x$cache_file" != "x/dev/null"; then
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19389 $as_echo "$as_me: updating cache $cache_file" >&6;}
19390 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19391 cat confcache
>"$cache_file"
19393 case $cache_file in #(
19395 mv -f confcache
"$cache_file"$$
&&
19396 mv -f "$cache_file"$$
"$cache_file" ;; #(
19398 mv -f confcache
"$cache_file" ;;
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19404 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19409 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19410 # Let make expand exec_prefix.
19411 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19413 DEFS
=-DHAVE_CONFIG_H
19418 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19419 # 1. Remove the extension, and $U if already installed.
19420 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19421 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19422 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19423 # will be set to the directory where LIBOBJS objects are built.
19424 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19425 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19427 LIBOBJS
=$ac_libobjs
19429 LTLIBOBJS
=$ac_ltlibobjs
19432 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19433 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19436 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19437 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19440 if test -n "$EXEEXT"; then
19442 am__EXEEXT_FALSE
='#'
19444 am__EXEEXT_TRUE
='#'
19448 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19449 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19452 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19453 as_fn_error $?
"conditional \"HAVE_GENGETOPT\" was never defined.
19454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19456 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19457 as_fn_error $?
"conditional \"HAVE_DOXYGEN\" was never defined.
19458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19460 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
19461 as_fn_error $?
"conditional \"HAVE_PERL\" was never defined.
19462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19464 if test -z "${HAVE_PERL_POD_CHECKER_TRUE}" && test -z "${HAVE_PERL_POD_CHECKER_FALSE}"; then
19465 as_fn_error $?
"conditional \"HAVE_PERL_POD_CHECKER\" was never defined.
19466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19468 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19469 as_fn_error $?
"conditional \"HAVE_POD2MAN\" was never defined.
19470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19472 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19473 as_fn_error $?
"conditional \"HAVE_POD2HTML\" was never defined.
19474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19476 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19477 as_fn_error $?
"conditional \"NO_ASPRINTF\" was never defined.
19478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19480 if test -z "${NO_STRUPR_TRUE}" && test -z "${NO_STRUPR_FALSE}"; then
19481 as_fn_error $?
"conditional \"NO_STRUPR\" was never defined.
19482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19484 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19485 as_fn_error $?
"conditional \"ENABLE_QUVI\" was never defined.
19486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19488 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19489 as_fn_error $?
"conditional \"ENABLE_EXAMPLES\" was never defined.
19490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19492 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19493 as_fn_error $?
"conditional \"ENABLE_NSFW\" was never defined.
19494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19496 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19497 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
19498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19500 if test -z "${ENABLE_BROKEN_TRUE}" && test -z "${ENABLE_BROKEN_FALSE}"; then
19501 as_fn_error $?
"conditional \"ENABLE_BROKEN\" was never defined.
19502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19504 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19505 as_fn_error $?
"conditional \"WITH_MAN\" was never defined.
19506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19508 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19509 as_fn_error $?
"conditional \"WITH_DOC\" was never defined.
19510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19512 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19513 as_fn_error $?
"conditional \"HAVE_GNU_LD\" was never defined.
19514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19517 : "${CONFIG_STATUS=./config.status}"
19519 ac_clean_files_save
=$ac_clean_files
19520 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19522 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19524 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19526 # Generated by $as_me.
19527 # Run this file to recreate the current configuration.
19528 # Compiler output produced by configure, useful for debugging
19529 # configure, is in config.log if it exists.
19532 ac_cs_recheck=false
19535 SHELL=\${CONFIG_SHELL-$SHELL}
19538 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19539 ## -------------------- ##
19540 ## M4sh Initialization. ##
19541 ## -------------------- ##
19543 # Be more Bourne compatible
19544 DUALCASE
=1; export DUALCASE
# for MKS sh
19545 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19548 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19549 # is contrary to our usage. Disable this feature.
19550 alias -g '${1+"$@"}'='"$@"'
19551 setopt NO_GLOB_SUBST
19553 case `(set -o) 2>/dev/null` in #(
19565 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19566 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19568 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19569 # Prefer a ksh shell builtin over an external printf program on Solaris,
19570 # but without wasting forks for bash or zsh.
19571 if test -z "$BASH_VERSION$ZSH_VERSION" \
19572 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19573 as_echo='print
-r --'
19574 as_echo_n='print
-rn --'
19575 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19576 as_echo='printf %s
\n'
19577 as_echo_n='printf %s
'
19579 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19580 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19581 as_echo_n='/usr
/ucb
/echo -n'
19583 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19584 as_echo_n_body='eval
19588 expr "X$arg" : "X\\(.*\\)$as_nl";
19589 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19591 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19593 export as_echo_n_body
19594 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19596 export as_echo_body
19597 as_echo='sh
-c $as_echo_body as_echo
'
19600 # The user is always right.
19601 if test "${PATH_SEPARATOR+set}" != set; then
19603 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19604 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19611 # We need space, tab and new line, in precisely that order. Quoting is
19612 # there to prevent editors from complaining about space-tab.
19613 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19614 # splitting by setting IFS to empty value.)
19617 # Find who we are. Look in the path if we contain no directory separator.
19620 *[\\/]* ) as_myself=$0 ;;
19621 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19622 for as_dir in $PATH
19625 test -z "$as_dir" && as_dir=.
19626 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19632 # We did not find ourselves, most probably we were run as `sh COMMAND'
19633 # in which case we are not to be found in the path.
19634 if test "x$as_myself" = x
; then
19637 if test ! -f "$as_myself"; then
19638 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19642 # Unset variables that we do not need and which cause bugs (e.g. in
19643 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19644 # suppresses any "Segmentation fault" message there. '((' could
19645 # trigger a bug in pdksh 5.2.14.
19646 for as_var
in BASH_ENV ENV MAIL MAILPATH
19647 do eval test x\
${$as_var+set} = xset \
19648 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19661 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19664 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19665 # ----------------------------------------
19666 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19667 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19668 # script with STATUS, using 1 if that was 0.
19671 as_status
=$1; test $as_status -eq 0 && as_status
=1
19673 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19674 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19676 $as_echo "$as_me: error: $2" >&2
19677 as_fn_exit
$as_status
19681 # as_fn_set_status STATUS
19682 # -----------------------
19683 # Set $? to STATUS, without forking.
19684 as_fn_set_status
()
19687 } # as_fn_set_status
19689 # as_fn_exit STATUS
19690 # -----------------
19691 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19695 as_fn_set_status
$1
19701 # Portably unset VAR.
19704 { eval $1=; unset $1;}
19706 as_unset
=as_fn_unset
19707 # as_fn_append VAR VALUE
19708 # ----------------------
19709 # Append the text in VALUE to the end of the definition contained in VAR. Take
19710 # advantage of any shell optimizations that allow amortized linear growth over
19711 # repeated appends, instead of the typical quadratic growth present in naive
19713 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19714 eval 'as_fn_append ()
19725 # as_fn_arith ARG...
19726 # ------------------
19727 # Perform arithmetic evaluation on the ARGs, and store the result in the
19728 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19729 # must be portable across $(()) and expr.
19730 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19731 eval 'as_fn_arith ()
19738 as_val
=`expr "$@" || test $? -eq 1`
19743 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19744 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19750 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19751 as_basename
=basename
19756 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19762 as_me
=`$as_basename -- "$0" ||
19763 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19764 X"$0" : 'X\(//\)$' \| \
19765 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19767 sed '/^.*\/\([^/][^/]*\)\/*$/{
19781 # Avoid depending upon Character Ranges.
19782 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19783 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19784 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19785 as_cr_digits
='0123456789'
19786 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19788 ECHO_C
= ECHO_N
= ECHO_T
=
19789 case `echo -n x` in #(((((
19791 case `echo 'xy\c'` in
19792 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19794 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19801 rm -f conf$$ conf$$.exe conf$$.
file
19802 if test -d conf$$.dir
; then
19803 rm -f conf$$.dir
/conf$$.
file
19806 mkdir conf$$.dir
2>/dev
/null
19808 if (echo >conf$$.
file) 2>/dev
/null
; then
19809 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19811 # ... but there are two gotchas:
19812 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19813 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19814 # In both cases, we have to default to `cp -p'.
19815 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19817 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19825 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19826 rmdir conf$$.dir
2>/dev
/null
19831 # Create "$as_dir" as a directory, including parents if necessary.
19836 -*) as_dir
=.
/$as_dir;;
19838 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19842 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19843 *) as_qdir
=$as_dir;;
19845 as_dirs
="'$as_qdir' $as_dirs"
19846 as_dir
=`$as_dirname -- "$as_dir" ||
19847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19848 X"$as_dir" : 'X\(//\)[^/]' \| \
19849 X"$as_dir" : 'X\(//\)$' \| \
19850 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19851 $as_echo X"$as_dir" |
19852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19856 /^X\(\/\/\)[^/].*/{
19869 test -d "$as_dir" && break
19871 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19872 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19876 if mkdir
-p .
2>/dev
/null
; then
19877 as_mkdir_p
='mkdir -p "$as_dir"'
19879 test -d .
/-p && rmdir .
/-p
19883 if test -x / >/dev
/null
2>&1; then
19884 as_test_x
='test -x'
19886 if ls -dL / >/dev
/null
2>&1; then
19893 if test -d "$1"; then
19899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19900 ???[sx]*):;;*)false;;esac;fi
19904 as_executable_p
=$as_test_x
19906 # Sed expression to map a string onto a valid CPP name.
19907 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19909 # Sed expression to map a string onto a valid variable name.
19910 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19914 ## ----------------------------------- ##
19915 ## Main body of $CONFIG_STATUS script. ##
19916 ## ----------------------------------- ##
19918 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19921 # Save the log message, to keep $0 and so on meaningful, and to
19922 # report actual input values of CONFIG_FILES etc. instead of their
19923 # values after options handling.
19925 This file was extended by quvi $as_me 0.2.10, which was
19926 generated by GNU Autoconf 2.68. Invocation command line was
19928 CONFIG_FILES = $CONFIG_FILES
19929 CONFIG_HEADERS = $CONFIG_HEADERS
19930 CONFIG_LINKS = $CONFIG_LINKS
19931 CONFIG_COMMANDS = $CONFIG_COMMANDS
19934 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19939 case $ac_config_files in *"
19940 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19943 case $ac_config_headers in *"
19944 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19949 # Files that config.status was made for.
19950 config_files="$ac_config_files"
19951 config_headers="$ac_config_headers"
19952 config_commands="$ac_config_commands"
19956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19958 \`$as_me' instantiates files and other configuration actions
19959 from templates according to the current configuration. Unless the files
19960 and actions are specified as TAGs, all are instantiated by default.
19962 Usage: $0 [OPTION]... [TAG]...
19964 -h, --help print this help, then exit
19965 -V, --version print version number and configuration settings, then exit
19966 --config print configuration, then exit
19967 -q, --quiet, --silent
19968 do not print progress messages
19969 -d, --debug don't remove temporary files
19970 --recheck update $as_me by reconfiguring in the same conditions
19971 --file=FILE[:TEMPLATE]
19972 instantiate the configuration file FILE
19973 --header=FILE[:TEMPLATE]
19974 instantiate the configuration header FILE
19976 Configuration files:
19979 Configuration headers:
19982 Configuration commands:
19985 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
19986 quvi home page: <http://quvi.sourceforge.net/>."
19989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19990 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19992 quvi config.status 0.2.10
19993 configured by $0, generated by GNU Autoconf 2.68,
19994 with options \\"\$ac_cs_config\\"
19996 Copyright (C) 2010 Free Software Foundation, Inc.
19997 This config.status script is free software; the Free Software Foundation
19998 gives unlimited permission to copy, distribute and modify it."
20005 test -n "\$AWK" || AWK=awk
20008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20009 # The default lists apply if the user does not specify any file.
20015 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20016 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20020 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20032 # Handling of the options.
20033 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20035 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20036 $as_echo "$ac_cs_version"; exit ;;
20037 --config |
--confi |
--conf |
--con |
--co |
--c )
20038 $as_echo "$ac_cs_config"; exit ;;
20039 --debug |
--debu |
--deb |
--de |
--d |
-d )
20041 --file |
--fil |
--fi |
--f )
20044 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20045 '') as_fn_error $?
"missing file argument" ;;
20047 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20048 ac_need_defaults
=false
;;
20049 --header |
--heade |
--head |
--hea )
20052 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20054 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20055 ac_need_defaults
=false
;;
20057 # Conflict between --help and --header
20058 as_fn_error $?
"ambiguous option: \`$1'
20059 Try \`$0 --help' for more information.";;
20060 --help |
--hel |
-h )
20061 $as_echo "$ac_cs_usage"; exit ;;
20062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20063 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20066 # This is an error.
20067 -*) as_fn_error $?
"unrecognized option: \`$1'
20068 Try \`$0 --help' for more information." ;;
20070 *) as_fn_append ac_config_targets
" $1"
20071 ac_need_defaults
=false
;;
20077 ac_configure_extra_args
=
20079 if $ac_cs_silent; then
20081 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20086 if \$ac_cs_recheck; then
20087 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20090 CONFIG_SHELL='$SHELL'
20091 export CONFIG_SHELL
20096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20101 ## Running $as_me. ##
20107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20111 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20114 # The HP-UX ksh and POSIX shell print the target directory to stdout
20115 # if CDPATH is set.
20116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20118 sed_quote_subst='$sed_quote_subst'
20119 double_quote_subst='$double_quote_subst'
20120 delay_variable_subst='$delay_variable_subst'
20121 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20122 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20123 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20124 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20125 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20126 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20127 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20128 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20129 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20130 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20131 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20132 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20133 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20134 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20135 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20136 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20137 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20138 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20139 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20140 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20141 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20142 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20143 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20144 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20145 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20146 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20147 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20148 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20149 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20150 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20151 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20152 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20153 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20154 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20155 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20156 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20157 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20158 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20159 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20160 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20161 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20162 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20163 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20164 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20165 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20166 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20167 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20168 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20169 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20170 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20171 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20172 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20173 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20174 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20175 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20177 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20178 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20179 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20180 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20181 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20182 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20183 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20184 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20185 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20186 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20187 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20188 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20189 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20190 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20191 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20192 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20193 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20194 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20195 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20196 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20197 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20198 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20199 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20200 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20201 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20202 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20203 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20204 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20205 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20206 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20207 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20208 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20209 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20210 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20211 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20212 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20213 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20214 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20215 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20216 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20217 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20218 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20219 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20220 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20221 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20222 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20223 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20224 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20225 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20226 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20227 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20228 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20229 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20230 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20231 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20232 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20233 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20234 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20235 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20236 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20237 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20238 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20239 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20240 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20241 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20242 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20243 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20244 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20245 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20246 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20247 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20248 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20249 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20250 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20251 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20252 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20253 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20254 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20255 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20256 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20257 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20258 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20259 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20260 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20261 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20262 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20263 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20264 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20265 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20266 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20267 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20268 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20269 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20270 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20271 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20272 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20273 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20274 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20275 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20276 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20277 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20278 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20279 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20280 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20281 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20282 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20283 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20284 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20285 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20286 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20287 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20288 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20289 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20290 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20291 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20292 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20293 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20294 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20295 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20296 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20297 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20298 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20299 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20300 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20301 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20302 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20303 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20304 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20305 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20308 LTCFLAGS='$LTCFLAGS'
20309 compiler='$compiler_DEFAULT'
20311 # A function that is used when there is no print builtin or printf.
20312 func_fallback_echo ()
20314 eval 'cat <<_LTECHO_EOF
20319 # Quote evaled strings.
20333 deplibs_check_method \
20338 sharedlib_from_linklib_cmd \
20341 archiver_list_spec \
20347 lt_cv_sys_global_symbol_pipe \
20348 lt_cv_sys_global_symbol_to_cdecl \
20349 lt_cv_sys_global_symbol_to_c_name_address \
20350 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20351 nm_file_list_spec \
20352 lt_prog_compiler_no_builtin_flag \
20353 lt_prog_compiler_pic \
20354 lt_prog_compiler_wl \
20355 lt_prog_compiler_static \
20356 lt_cv_prog_compiler_c_o \
20365 export_dynamic_flag_spec \
20366 whole_archive_flag_spec \
20367 compiler_needs_object \
20369 allow_undefined_flag \
20370 no_undefined_flag \
20371 hardcode_libdir_flag_spec \
20372 hardcode_libdir_flag_spec_ld \
20373 hardcode_libdir_separator \
20377 variables_saved_for_relink \
20379 library_names_spec \
20381 install_override_mode \
20385 compiler_lib_search_dirs \
20390 compiler_lib_search_path \
20394 lt_prog_compiler_no_builtin_flag_CXX \
20395 lt_prog_compiler_pic_CXX \
20396 lt_prog_compiler_wl_CXX \
20397 lt_prog_compiler_static_CXX \
20398 lt_cv_prog_compiler_c_o_CXX \
20399 export_dynamic_flag_spec_CXX \
20400 whole_archive_flag_spec_CXX \
20401 compiler_needs_object_CXX \
20403 allow_undefined_flag_CXX \
20404 no_undefined_flag_CXX \
20405 hardcode_libdir_flag_spec_CXX \
20406 hardcode_libdir_flag_spec_ld_CXX \
20407 hardcode_libdir_separator_CXX \
20408 exclude_expsyms_CXX \
20409 include_expsyms_CXX \
20410 file_list_spec_CXX \
20411 compiler_lib_search_dirs_CXX \
20412 predep_objects_CXX \
20413 postdep_objects_CXX \
20416 compiler_lib_search_path_CXX; do
20417 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20418 *[\\\\\\\`\\"\\\$]*)
20419 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20422 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20427 # Double-quote double-evaled strings.
20428 for var in reload_cmds \
20429 old_postinstall_cmds \
20430 old_postuninstall_cmds \
20432 extract_expsyms_cmds \
20433 old_archive_from_new_cmds \
20434 old_archive_from_expsyms_cmds \
20436 archive_expsym_cmds \
20438 module_expsym_cmds \
20439 export_symbols_cmds \
20443 postuninstall_cmds \
20445 sys_lib_search_path_spec \
20446 sys_lib_dlsearch_path_spec \
20448 old_archive_cmds_CXX \
20449 old_archive_from_new_cmds_CXX \
20450 old_archive_from_expsyms_cmds_CXX \
20452 archive_expsym_cmds_CXX \
20454 module_expsym_cmds_CXX \
20455 export_symbols_cmds_CXX \
20457 postlink_cmds_CXX; do
20458 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20459 *[\\\\\\\`\\"\\\$]*)
20460 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20463 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20468 ac_aux_dir='$ac_aux_dir'
20469 xsi_shell='$xsi_shell'
20470 lt_shell_append='$lt_shell_append'
20472 # See if we are running on zsh, and set the options which allow our
20473 # commands through without removal of \ escapes INIT.
20474 if test -n "\${ZSH_VERSION+set}" ; then
20475 setopt NO_GLOB_SUBST
20481 TIMESTAMP='$TIMESTAMP'
20492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20494 # Handling of arguments.
20495 for ac_config_target
in $ac_config_targets
20497 case $ac_config_target in
20498 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20499 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20500 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20501 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20502 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20503 "include/quvi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/quvi/Makefile" ;;
20504 "include/quvi/quvi.h") CONFIG_FILES
="$CONFIG_FILES include/quvi/quvi.h" ;;
20505 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20506 "man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man1/Makefile" ;;
20507 "share/Makefile") CONFIG_FILES
="$CONFIG_FILES share/Makefile" ;;
20508 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20509 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20510 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20511 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20512 "tests/quviTest.pm") CONFIG_FILES
="$CONFIG_FILES tests/quviTest.pm" ;;
20513 "libquvi.pc") CONFIG_FILES
="$CONFIG_FILES libquvi.pc" ;;
20514 "doxygen.conf") CONFIG_FILES
="$CONFIG_FILES doxygen.conf" ;;
20516 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20521 # If the user did not use the arguments to specify the items to instantiate,
20522 # then the envvar interface is used. Set only those that are not.
20523 # We use the long form for the default assignment because of an extremely
20524 # bizarre bug on SunOS 4.1.3.
20525 if $ac_need_defaults; then
20526 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20527 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20528 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20531 # Have a temporary directory for convenience. Make it in the build tree
20532 # simply because there is no reason against having it here, and in addition,
20533 # creating and moving files from /tmp can sometimes cause problems.
20534 # Hook for its removal unless debugging.
20535 # Note that there is a small window in which the directory will not be cleaned:
20536 # after its creation but before its name has been assigned to `$tmp'.
20540 trap 'exit_status=$?
20541 : "${ac_tmp:=$tmp}"
20542 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20544 trap 'as_fn_exit 1' 1 2 13 15
20546 # Create a (secure) tmp directory for tmp files.
20549 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20553 tmp
=.
/conf$$
-$RANDOM
20554 (umask 077 && mkdir
"$tmp")
20555 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20558 # Set up the scripts for CONFIG_FILES section.
20559 # No need to generate them if there are no CONFIG_FILES.
20560 # This happens for instance with `./config.status config.h'.
20561 if test -n "$CONFIG_FILES"; then
20564 ac_cr
=`echo X | tr X '\015'`
20565 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20566 # But we know of no other shell where ac_cr would be empty at this
20567 # point, so we can use a bashism as a fallback.
20568 if test "x$ac_cr" = x
; then
20569 eval ac_cr
=\$
\'\\r
\'
20571 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20572 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20575 ac_cs_awk_cr
=$ac_cr
20578 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20583 echo "cat >conf$$subs.awk <<_ACEOF" &&
20584 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20586 } >conf$$subs.sh ||
20587 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20588 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20590 for ac_last_try in false false false false false :; do
20591 . ./conf$$subs.sh ||
20592 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20594 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20595 if test $ac_delim_n = $ac_delim_num; then
20597 elif $ac_last_try; then
20598 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20600 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20603 rm -f conf$$subs.sh
20605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20606 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20610 s/^/S["/; s
/!.
*/"]=/
20620 s/\(.\{148\}\)..*/\1/
20622 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20627 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20634 s/\(.\{148\}\)..*/\1/
20636 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20640 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20645 ' <conf$$subs.awk | sed '
20650 ' >>$CONFIG_STATUS || ac_write_fail=1
20651 rm -f conf$$subs.awk
20652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20654 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20655 for (key in S) S_is_set[key] = 1
20661 nfields = split(line, field, "@
")
20663 len = length(field[1])
20664 for (i = 2; i < nfields; i++) {
20666 keylen = length(key)
20667 if (S_is_set[key]) {
20669 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20670 len += length(value) + length(field[++i])
20681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20682 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20683 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20686 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20687 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20690 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20691 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20692 # trailing colons and then remove the whole line if VPATH becomes empty
20693 # (actually we leave an empty line to preserve line numbers).
20694 if test "x
$srcdir" = x.; then
20695 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20714 fi # test -n "$CONFIG_FILES"
20716 # Set up the scripts for CONFIG_HEADERS section.
20717 # No need to generate them if there are no CONFIG_HEADERS.
20718 # This happens for instance with `./config.status Makefile'.
20719 if test -n "$CONFIG_HEADERS"; then
20720 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20724 # Transform confdefs.h into an awk script `defines.awk', embedded as
20725 # here-document in config.status, that substitutes the proper values into
20726 # config.h.in to produce config.h.
20728 # Create a delimiter string that does not exist in confdefs.h, to ease
20729 # handling of long lines.
20731 for ac_last_try in false false :; do
20732 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20733 if test -z "$ac_tt"; then
20735 elif $ac_last_try; then
20736 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20738 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20742 # For the awk script, D is an array of macro values keyed by name,
20743 # likewise P contains macro parameters if any. Preserve backslash
20744 # newline sequences.
20746 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20748 s/.\{148\}/&'"$ac_delim"'/g
20751 s/^[ ]*#[ ]*define[ ][ ]*/ /
20758 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20760 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20764 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20765 D["\
1"]=" \
3\\\\\\n
"\\/p
20767 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20772 s/.\{148\}/&'"$ac_delim"'/g
20777 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20780 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20782 ' <confdefs.h | sed '
20783 s/'"$ac_delim"'/"\\\
20784 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20787 for (key in D) D_is_set[key] = 1
20790 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20792 split(line, arg, " ")
20793 if (arg[1] == "#") {
20797 defundef
= substr
(arg
[1], 2)
20800 split(mac1
, mac2
, "(") #)
20802 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20803 if (D_is_set
[macro
]) {
20804 # Preserve the white space surrounding the "#".
20805 print prefix
"define", macro P
[macro
] D
[macro
]
20808 # Replace #undef with comments. This is necessary, for example,
20809 # in the case of _POSIX_SOURCE, which is predefined and required
20810 # on some systems where configure will not decide to define it.
20811 if (defundef
== "undef") {
20812 print
"/*", prefix defundef
, macro
, "*/"
20820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20821 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20822 fi # test -n "$CONFIG_HEADERS"
20825 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20830 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20832 case $ac_mode$ac_tag in
20834 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20835 :[FH
]-) ac_tag
=-:-;;
20836 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20853 -) ac_f
="$ac_tmp/stdin";;
20854 *) # Look for the file first in the build tree, then in the source tree
20855 # (if the path is not absolute). The absolute path cannot be DOS-style,
20856 # because $ac_f cannot contain `:'.
20860 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20862 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20864 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20865 as_fn_append ac_file_inputs
" '$ac_f'"
20868 # Let's still pretend it is `configure' which instantiates (i.e., don't
20869 # use $as_me), people would be surprised to read:
20870 # /* config.h. Generated by config.status. */
20871 configure_input
='Generated from '`
20872 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20874 if test x
"$ac_file" != x-
; then
20875 configure_input
="$ac_file. $configure_input"
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20877 $as_echo "$as_me: creating $ac_file" >&6;}
20879 # Neutralize special characters interpreted by sed in replacement strings.
20880 case $configure_input in #(
20881 *\
&* |
*\|
* |
*\\* )
20882 ac_sed_conf_input
=`$as_echo "$configure_input" |
20883 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20884 *) ac_sed_conf_input
=$configure_input;;
20888 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20889 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20894 ac_dir
=`$as_dirname -- "$ac_file" ||
20895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20896 X"$ac_file" : 'X\(//\)[^/]' \| \
20897 X"$ac_file" : 'X\(//\)$' \| \
20898 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20899 $as_echo X"$ac_file" |
20900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20904 /^X\(\/\/\)[^/].*/{
20917 as_dir
="$ac_dir"; as_fn_mkdir_p
20921 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20923 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20924 # A ".." for each directory in $ac_dir_suffix.
20925 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20926 case $ac_top_builddir_sub in
20927 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20928 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20931 ac_abs_top_builddir
=$ac_pwd
20932 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20933 # for backward compatibility:
20934 ac_top_builddir
=$ac_top_build_prefix
20937 .
) # We are building in place.
20939 ac_top_srcdir
=$ac_top_builddir_sub
20940 ac_abs_top_srcdir
=$ac_pwd ;;
20941 [\\/]* | ?
:[\\/]* ) # Absolute name.
20942 ac_srcdir
=$srcdir$ac_dir_suffix;
20943 ac_top_srcdir
=$srcdir
20944 ac_abs_top_srcdir
=$srcdir ;;
20945 *) # Relative name.
20946 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20947 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20948 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20950 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20960 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20961 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20963 ac_MKDIR_P
=$MKDIR_P
20965 [\\/$
]* | ?
:[\\/]* ) ;;
20966 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20971 # If the template does not know about datarootdir, expand it.
20972 # FIXME: This hack should be removed a few years after 2.60.
20973 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20984 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20985 *datarootdir
*) ac_datarootdir_seen
=yes;;
20986 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20988 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20991 ac_datarootdir_hack='
20992 s&@datadir@&$datadir&g
20993 s&@docdir@&$docdir&g
20994 s&@infodir@&$infodir&g
20995 s&@localedir@&$localedir&g
20996 s&@mandir@&$mandir&g
20997 s&\\\${datarootdir}&$datarootdir&g' ;;
21001 # Neutralize VPATH when `$srcdir' = `.'.
21002 # Shell code in configure.ac might set extrasub.
21003 # FIXME: do we really want to maintain this feature?
21004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21005 ac_sed_extra="$ac_vpsub
21008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21010 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21011 s|@configure_input@|
$ac_sed_conf_input|
;t t
21012 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21013 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21014 s
&@srcdir@
&$ac_srcdir&;t t
21015 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21016 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21017 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21018 s
&@builddir@
&$ac_builddir&;t t
21019 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21020 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21021 s
&@INSTALL@
&$ac_INSTALL&;t t
21022 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21023 $ac_datarootdir_hack
21025 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21026 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21028 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21029 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21030 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21031 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21033 which seems to be undefined. Please make sure it is defined" >&5
21034 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21035 which seems to be undefined. Please make sure it is defined" >&2;}
21037 rm -f "$ac_tmp/stdin"
21039 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21040 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21042 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21048 if test x"$ac_file" != x-; then
21050 $as_echo "/* $configure_input */" \
21051 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21052 } >"$ac_tmp/config.h" \
21053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21054 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21056 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21059 mv "$ac_tmp/config.h" "$ac_file" \
21060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21063 $as_echo "/* $configure_input */" \
21064 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21065 || as_fn_error $? "could not create -" "$LINENO" 5
21067 # Compute "$ac_file"'s index
in $config_headers.
21070 for _am_header
in $config_headers :; do
21071 case $_am_header in
21072 $_am_arg |
$_am_arg:* )
21075 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21078 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21079 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21080 X"$_am_arg" : 'X\(//\)[^/]' \| \
21081 X"$_am_arg" : 'X\(//\)$' \| \
21082 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21083 $as_echo X"$_am_arg" |
21084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21088 /^X\(\/\/\)[^/].*/{
21100 s/.*/./; q'`/stamp-h
$_am_stamp_count
21103 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21104 $as_echo "$as_me: executing $ac_file commands" >&6;}
21109 case $ac_file$ac_mode in
21110 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21111 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21112 # are listed without --file. Let's play safe and only enable the eval
21113 # if we detect the quoting.
21114 case $CONFIG_FILES in
21115 *\'*) eval set x
"$CONFIG_FILES" ;;
21116 *) set x
$CONFIG_FILES ;;
21121 # Strip MF so we end up with the name of the file.
21122 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21123 # Check whether this is an Automake generated Makefile or not.
21124 # We used to match only the files named `Makefile.in', but
21125 # some people rename them; so instead we look at the file content.
21126 # Grep'ing the first line is not enough: some people post-process
21127 # each Makefile.in and add a new line on top of each file to say so.
21128 # Grep'ing the whole file is not good either: AIX grep has a line
21129 # limit of 2048, but all sed's we know have understand at least 4000.
21130 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21131 dirpart
=`$as_dirname -- "$mf" ||
21132 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21133 X"$mf" : 'X\(//\)[^/]' \| \
21134 X"$mf" : 'X\(//\)$' \| \
21135 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21141 /^X\(\/\/\)[^/].*/{
21157 # Extract the definition of DEPDIR, am__include, and am__quote
21158 # from the Makefile without running `make'.
21159 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21160 test -z "$DEPDIR" && continue
21161 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21162 test -z "am__include" && continue
21163 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21164 # When using ansi2knr, U may be empty or an underscore; expand it
21165 U
=`sed -n 's/^U = //p' < "$mf"`
21166 # Find all dependency output files, they are included files with
21167 # $(DEPDIR) in their names. We invoke sed twice because it is the
21168 # simplest approach to changing $(DEPDIR) to its actual value in the
21170 for file in `sed -n "
21171 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21172 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21173 # Make sure the directory exists.
21174 test -f "$dirpart/$file" && continue
21175 fdir
=`$as_dirname -- "$file" ||
21176 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21177 X"$file" : 'X\(//\)[^/]' \| \
21178 X"$file" : 'X\(//\)$' \| \
21179 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21180 $as_echo X"$file" |
21181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21185 /^X\(\/\/\)[^/].*/{
21198 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21199 # echo "creating $dirpart/$file"
21200 echo '# dummy' > "$dirpart/$file"
21207 # See if we are running on zsh, and set the options which allow our
21208 # commands through without removal of \ escapes.
21209 if test -n "${ZSH_VERSION+set}" ; then
21210 setopt NO_GLOB_SUBST
21213 cfgfile
="${ofile}T"
21214 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21217 cat <<_LT_EOF >> "$cfgfile"
21220 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21221 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21222 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21223 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21225 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21226 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21228 # Written by Gordon Matzigkeit, 1996
21230 # This file is part of GNU Libtool.
21232 # GNU Libtool is free software; you can redistribute it and/or
21233 # modify it under the terms of the GNU General Public License as
21234 # published by the Free Software Foundation; either version 2 of
21235 # the License, or (at your option) any later version.
21237 # As a special exception to the GNU General Public License,
21238 # if you distribute this file as part of a program or library that
21239 # is built using GNU Libtool, you may include this file under the
21240 # same distribution terms that you use for the rest of that program.
21242 # GNU Libtool is distributed in the hope that it will be useful,
21243 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21244 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21245 # GNU General Public License for more details.
21247 # You should have received a copy of the GNU General Public License
21248 # along with GNU Libtool; see the file COPYING. If not, a copy
21249 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21250 # obtained by writing to the Free Software Foundation, Inc.,
21251 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21254 # The names of the tagged configurations supported by this script.
21255 available_tags="CXX "
21257 # ### BEGIN LIBTOOL CONFIG
21259 # Which release of libtool.m4 was used?
21260 macro_version=$macro_version
21261 macro_revision=$macro_revision
21263 # Whether or not to build shared libraries.
21264 build_libtool_libs=$enable_shared
21266 # Whether or not to build static libraries.
21267 build_old_libs=$enable_static
21269 # What type of objects to build.
21272 # Whether or not to optimize for fast installation.
21273 fast_install=$enable_fast_install
21275 # Shell to use when invoking shell scripts.
21278 # An echo program that protects backslashes.
21282 host_alias=$host_alias
21286 # The build system.
21287 build_alias=$build_alias
21291 # A sed program that does not truncate output.
21294 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21295 Xsed="\$SED -e 1s/^X//"
21297 # A grep program that handles long lines.
21303 # A literal string matcher.
21306 # A BSD- or MS-compatible name lister.
21309 # Whether we need soft or hard links.
21312 # What is the maximum length of a command?
21313 max_cmd_len=$max_cmd_len
21315 # Object file suffix (normally "o").
21318 # Executable file suffix (normally "").
21321 # whether the shell understands "unset".
21324 # turn spaces into newlines.
21327 # turn newlines into spaces.
21330 # convert \$build file names to \$host format.
21331 to_host_file_cmd=$lt_cv_to_host_file_cmd
21333 # convert \$build files to toolchain format.
21334 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21336 # An object symbol dumper.
21337 OBJDUMP=$lt_OBJDUMP
21339 # Method to check whether dependent libraries are shared objects.
21340 deplibs_check_method=$lt_deplibs_check_method
21342 # Command to use when deplibs_check_method = "file_magic".
21343 file_magic_cmd=$lt_file_magic_cmd
21345 # How to find potential files when deplibs_check_method = "file_magic".
21346 file_magic_glob=$lt_file_magic_glob
21348 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21349 want_nocaseglob=$lt_want_nocaseglob
21351 # DLL creation program.
21352 DLLTOOL=$lt_DLLTOOL
21354 # Command to associate shared and link libraries.
21355 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21360 # Flags to create an archive.
21361 AR_FLAGS=$lt_AR_FLAGS
21363 # How to feed a file listing to the archiver.
21364 archiver_list_spec=$lt_archiver_list_spec
21366 # A symbol stripping program.
21369 # Commands used to install an old-style archive.
21371 old_postinstall_cmds=$lt_old_postinstall_cmds
21372 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21374 # Whether to use a lock for old archive extraction.
21375 lock_old_archive_extraction=$lock_old_archive_extraction
21380 # LTCC compiler flags.
21381 LTCFLAGS=$lt_CFLAGS
21383 # Take the output of nm and produce a listing of raw symbols and C names.
21384 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21386 # Transform the output of nm in a proper C declaration.
21387 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21389 # Transform the output of nm in a C name address pair.
21390 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21392 # Transform the output of nm in a C name address pair when lib prefix is needed.
21393 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21395 # Specify filename containing input files for \$NM.
21396 nm_file_list_spec=$lt_nm_file_list_spec
21398 # The root where to search for dependent libraries,and in which our libraries should be installed.
21399 lt_sysroot=$lt_sysroot
21401 # The name of the directory that contains temporary libtool files.
21404 # Used to examine libraries when file_magic_cmd begins with "file".
21405 MAGIC_CMD=$MAGIC_CMD
21407 # Must we lock files when doing compilation?
21408 need_locks=$lt_need_locks
21411 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21413 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21414 DSYMUTIL=$lt_DSYMUTIL
21416 # Tool to change global to local symbols on Mac OS X.
21419 # Tool to manipulate fat objects and archives on Mac OS X.
21422 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21425 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21426 OTOOL64=$lt_OTOOL64
21428 # Old archive suffix (normally "a").
21431 # Shared library suffix (normally ".so").
21432 shrext_cmds=$lt_shrext_cmds
21434 # The commands to extract the exported symbol list from a shared archive.
21435 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21437 # Variables whose values should be saved in libtool wrapper scripts and
21438 # restored at link time.
21439 variables_saved_for_relink=$lt_variables_saved_for_relink
21441 # Do we need the "lib" prefix for modules?
21442 need_lib_prefix=$need_lib_prefix
21444 # Do we need a version for libraries?
21445 need_version=$need_version
21447 # Library versioning type.
21448 version_type=$version_type
21450 # Shared library runtime path variable.
21451 runpath_var=$runpath_var
21453 # Shared library path variable.
21454 shlibpath_var=$shlibpath_var
21456 # Is shlibpath searched before the hard-coded library search path?
21457 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21459 # Format of library name prefix.
21460 libname_spec=$lt_libname_spec
21462 # List of archive names. First name is the real one, the rest are links.
21463 # The last name is the one that the linker finds with -lNAME
21464 library_names_spec=$lt_library_names_spec
21466 # The coded name of the library, if different from the real name.
21467 soname_spec=$lt_soname_spec
21469 # Permission mode override for installation of shared libraries.
21470 install_override_mode=$lt_install_override_mode
21472 # Command to use after installation of a shared archive.
21473 postinstall_cmds=$lt_postinstall_cmds
21475 # Command to use after uninstallation of a shared archive.
21476 postuninstall_cmds=$lt_postuninstall_cmds
21478 # Commands used to finish a libtool library installation in a directory.
21479 finish_cmds=$lt_finish_cmds
21481 # As "finish_cmds", except a single script fragment to be evaled but
21483 finish_eval=$lt_finish_eval
21485 # Whether we should hardcode library paths into libraries.
21486 hardcode_into_libs=$hardcode_into_libs
21488 # Compile-time system search path for libraries.
21489 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21491 # Run-time system search path for libraries.
21492 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21494 # Whether dlopen is supported.
21495 dlopen_support=$enable_dlopen
21497 # Whether dlopen of programs is supported.
21498 dlopen_self=$enable_dlopen_self
21500 # Whether dlopen of statically linked programs is supported.
21501 dlopen_self_static=$enable_dlopen_self_static
21503 # Commands to strip libraries.
21504 old_striplib=$lt_old_striplib
21505 striplib=$lt_striplib
21508 # The linker used to build libraries.
21511 # How to create reloadable object files.
21512 reload_flag=$lt_reload_flag
21513 reload_cmds=$lt_reload_cmds
21515 # Commands used to build an old-style archive.
21516 old_archive_cmds=$lt_old_archive_cmds
21518 # A language specific compiler.
21521 # Is the compiler the GNU compiler?
21524 # Compiler flag to turn off builtin functions.
21525 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21527 # Additional compiler flags for building library objects.
21528 pic_flag=$lt_lt_prog_compiler_pic
21530 # How to pass a linker flag through the compiler.
21531 wl=$lt_lt_prog_compiler_wl
21533 # Compiler flag to prevent dynamic linking.
21534 link_static_flag=$lt_lt_prog_compiler_static
21536 # Does compiler simultaneously support -c and -o options?
21537 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21539 # Whether or not to add -lc for building shared libraries.
21540 build_libtool_need_lc=$archive_cmds_need_lc
21542 # Whether or not to disallow shared libs when runtime libs are static.
21543 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21545 # Compiler flag to allow reflexive dlopens.
21546 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21548 # Compiler flag to generate shared objects directly from archives.
21549 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21551 # Whether the compiler copes with passing no objects directly.
21552 compiler_needs_object=$lt_compiler_needs_object
21554 # Create an old-style archive from a shared archive.
21555 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21557 # Create a temporary old-style archive to link instead of a shared archive.
21558 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21560 # Commands used to build a shared archive.
21561 archive_cmds=$lt_archive_cmds
21562 archive_expsym_cmds=$lt_archive_expsym_cmds
21564 # Commands used to build a loadable module if different from building
21565 # a shared archive.
21566 module_cmds=$lt_module_cmds
21567 module_expsym_cmds=$lt_module_expsym_cmds
21569 # Whether we are building with GNU ld or not.
21570 with_gnu_ld=$lt_with_gnu_ld
21572 # Flag that allows shared libraries with undefined symbols to be built.
21573 allow_undefined_flag=$lt_allow_undefined_flag
21575 # Flag that enforces no undefined symbols.
21576 no_undefined_flag=$lt_no_undefined_flag
21578 # Flag to hardcode \$libdir into a binary during linking.
21579 # This must work even if \$libdir does not exist
21580 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21582 # If ld is used when linking, flag to hardcode \$libdir into a binary
21583 # during linking. This must work even if \$libdir does not exist.
21584 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21586 # Whether we need a single "-rpath" flag with a separated argument.
21587 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21589 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21590 # DIR into the resulting binary.
21591 hardcode_direct=$hardcode_direct
21593 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21594 # DIR into the resulting binary and the resulting library dependency is
21595 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21596 # library is relocated.
21597 hardcode_direct_absolute=$hardcode_direct_absolute
21599 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21600 # into the resulting binary.
21601 hardcode_minus_L=$hardcode_minus_L
21603 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21604 # into the resulting binary.
21605 hardcode_shlibpath_var=$hardcode_shlibpath_var
21607 # Set to "yes" if building a shared library automatically hardcodes DIR
21608 # into the library and all subsequent libraries and executables linked
21610 hardcode_automatic=$hardcode_automatic
21612 # Set to yes if linker adds runtime paths of dependent libraries
21613 # to runtime path list.
21614 inherit_rpath=$inherit_rpath
21616 # Whether libtool must link a program against all its dependency libraries.
21617 link_all_deplibs=$link_all_deplibs
21619 # Set to "yes" if exported symbols are required.
21620 always_export_symbols=$always_export_symbols
21622 # The commands to list exported symbols.
21623 export_symbols_cmds=$lt_export_symbols_cmds
21625 # Symbols that should not be listed in the preloaded symbols.
21626 exclude_expsyms=$lt_exclude_expsyms
21628 # Symbols that must always be exported.
21629 include_expsyms=$lt_include_expsyms
21631 # Commands necessary for linking programs (against libraries) with templates.
21632 prelink_cmds=$lt_prelink_cmds
21634 # Commands necessary for finishing linking programs.
21635 postlink_cmds=$lt_postlink_cmds
21637 # Specify filename containing input files.
21638 file_list_spec=$lt_file_list_spec
21640 # How to hardcode a shared library path into an executable.
21641 hardcode_action=$hardcode_action
21643 # The directories searched by this compiler when creating a shared library.
21644 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21646 # Dependencies to place before and after the objects being linked to
21647 # create a shared library.
21648 predep_objects=$lt_predep_objects
21649 postdep_objects=$lt_postdep_objects
21650 predeps=$lt_predeps
21651 postdeps=$lt_postdeps
21653 # The library search path used internally by the compiler when linking
21654 # a shared library.
21655 compiler_lib_search_path=$lt_compiler_lib_search_path
21657 # ### END LIBTOOL CONFIG
21663 cat <<\_LT_EOF
>> "$cfgfile"
21664 # AIX sometimes has problems with the GCC collect2 program. For some
21665 # reason, if we set the COLLECT_NAMES environment variable, the problems
21666 # vanish in a puff of smoke.
21667 if test "X${COLLECT_NAMES+set}" != Xset
; then
21669 export COLLECT_NAMES
21676 ltmain
="$ac_aux_dir/ltmain.sh"
21679 # We use sed instead of cat because bash on DJGPP gets confused if
21680 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21681 # text mode, it properly converts lines to CR/LF. This bash problem
21682 # is reportedly fixed, but why not run on old versions too?
21683 sed '$q' "$ltmain" >> "$cfgfile" \
21684 ||
(rm -f "$cfgfile"; exit 1)
21686 if test x
"$xsi_shell" = xyes
; then
21687 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21691 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21692 \ * ) func_dirname_result="${3}" ;;\
21694 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21695 && mv -f "$cfgfile.tmp" "$cfgfile" \
21696 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21697 test 0 -eq $? || _lt_function_replace_fail
=:
21700 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21703 \ func_basename_result="${1##*/}"\
21704 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21705 && mv -f "$cfgfile.tmp" "$cfgfile" \
21706 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21707 test 0 -eq $? || _lt_function_replace_fail
=:
21710 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21711 func_dirname_and_basename ()\
21714 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21715 \ * ) func_dirname_result="${3}" ;;\
21717 \ func_basename_result="${1##*/}"\
21718 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21719 && mv -f "$cfgfile.tmp" "$cfgfile" \
21720 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21721 test 0 -eq $? || _lt_function_replace_fail
=:
21724 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21727 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21728 \ # positional parameters, so assign one to ordinary parameter first.\
21729 \ func_stripname_result=${3}\
21730 \ func_stripname_result=${func_stripname_result#"${1}"}\
21731 \ func_stripname_result=${func_stripname_result%"${2}"}\
21732 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21733 && mv -f "$cfgfile.tmp" "$cfgfile" \
21734 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21735 test 0 -eq $? || _lt_function_replace_fail
=:
21738 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21739 func_split_long_opt ()\
21741 \ func_split_long_opt_name=${1%%=*}\
21742 \ func_split_long_opt_arg=${1#*=}\
21743 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21744 && mv -f "$cfgfile.tmp" "$cfgfile" \
21745 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21746 test 0 -eq $? || _lt_function_replace_fail
=:
21749 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21750 func_split_short_opt ()\
21752 \ func_split_short_opt_arg=${1#??}\
21753 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21754 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21755 && mv -f "$cfgfile.tmp" "$cfgfile" \
21756 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21757 test 0 -eq $? || _lt_function_replace_fail
=:
21760 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21764 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21765 \ *) func_lo2o_result=${1} ;;\
21767 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21768 && mv -f "$cfgfile.tmp" "$cfgfile" \
21769 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21770 test 0 -eq $? || _lt_function_replace_fail
=:
21773 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21776 func_xform_result=${1%.*}.lo\
21777 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21778 && mv -f "$cfgfile.tmp" "$cfgfile" \
21779 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21780 test 0 -eq $? || _lt_function_replace_fail
=:
21783 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21786 func_arith_result=$(( $* ))\
21787 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21788 && mv -f "$cfgfile.tmp" "$cfgfile" \
21789 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21790 test 0 -eq $? || _lt_function_replace_fail
=:
21793 sed -e '/^func_len ()$/,/^} # func_len /c\
21796 func_len_result=${#1}\
21797 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21798 && mv -f "$cfgfile.tmp" "$cfgfile" \
21799 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21800 test 0 -eq $? || _lt_function_replace_fail
=:
21804 if test x
"$lt_shell_append" = xyes
; then
21805 sed -e '/^func_append ()$/,/^} # func_append /c\
21808 eval "${1}+=\\${2}"\
21809 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21810 && mv -f "$cfgfile.tmp" "$cfgfile" \
21811 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21812 test 0 -eq $? || _lt_function_replace_fail
=:
21815 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21816 func_append_quoted ()\
21818 \ func_quote_for_eval "${2}"\
21819 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21820 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21821 && mv -f "$cfgfile.tmp" "$cfgfile" \
21822 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21823 test 0 -eq $? || _lt_function_replace_fail
=:
21826 # Save a `func_append' function call where possible by direct use of '+='
21827 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21828 && mv -f "$cfgfile.tmp" "$cfgfile" \
21829 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21830 test 0 -eq $? || _lt_function_replace_fail
=:
21832 # Save a `func_append' function call even when '+=' is not available
21833 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21834 && mv -f "$cfgfile.tmp" "$cfgfile" \
21835 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21836 test 0 -eq $? || _lt_function_replace_fail
=:
21839 if test x
"$_lt_function_replace_fail" = x
":"; then
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21841 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21845 mv -f "$cfgfile" "$ofile" ||
21846 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21850 cat <<_LT_EOF >> "$ofile"
21852 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21854 # The linker used to build libraries.
21857 # How to create reloadable object files.
21858 reload_flag=$lt_reload_flag_CXX
21859 reload_cmds=$lt_reload_cmds_CXX
21861 # Commands used to build an old-style archive.
21862 old_archive_cmds=$lt_old_archive_cmds_CXX
21864 # A language specific compiler.
21865 CC=$lt_compiler_CXX
21867 # Is the compiler the GNU compiler?
21870 # Compiler flag to turn off builtin functions.
21871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21873 # Additional compiler flags for building library objects.
21874 pic_flag=$lt_lt_prog_compiler_pic_CXX
21876 # How to pass a linker flag through the compiler.
21877 wl=$lt_lt_prog_compiler_wl_CXX
21879 # Compiler flag to prevent dynamic linking.
21880 link_static_flag=$lt_lt_prog_compiler_static_CXX
21882 # Does compiler simultaneously support -c and -o options?
21883 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21885 # Whether or not to add -lc for building shared libraries.
21886 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21888 # Whether or not to disallow shared libs when runtime libs are static.
21889 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21891 # Compiler flag to allow reflexive dlopens.
21892 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21894 # Compiler flag to generate shared objects directly from archives.
21895 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21897 # Whether the compiler copes with passing no objects directly.
21898 compiler_needs_object=$lt_compiler_needs_object_CXX
21900 # Create an old-style archive from a shared archive.
21901 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21903 # Create a temporary old-style archive to link instead of a shared archive.
21904 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21906 # Commands used to build a shared archive.
21907 archive_cmds=$lt_archive_cmds_CXX
21908 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21910 # Commands used to build a loadable module if different from building
21911 # a shared archive.
21912 module_cmds=$lt_module_cmds_CXX
21913 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21915 # Whether we are building with GNU ld or not.
21916 with_gnu_ld=$lt_with_gnu_ld_CXX
21918 # Flag that allows shared libraries with undefined symbols to be built.
21919 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21921 # Flag that enforces no undefined symbols.
21922 no_undefined_flag=$lt_no_undefined_flag_CXX
21924 # Flag to hardcode \$libdir into a binary during linking.
21925 # This must work even if \$libdir does not exist
21926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21928 # If ld is used when linking, flag to hardcode \$libdir into a binary
21929 # during linking. This must work even if \$libdir does not exist.
21930 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21932 # Whether we need a single "-rpath" flag with a separated argument.
21933 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21936 # DIR into the resulting binary.
21937 hardcode_direct=$hardcode_direct_CXX
21939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21940 # DIR into the resulting binary and the resulting library dependency is
21941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21942 # library is relocated.
21943 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21946 # into the resulting binary.
21947 hardcode_minus_L=$hardcode_minus_L_CXX
21949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21950 # into the resulting binary.
21951 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21953 # Set to "yes" if building a shared library automatically hardcodes DIR
21954 # into the library and all subsequent libraries and executables linked
21956 hardcode_automatic=$hardcode_automatic_CXX
21958 # Set to yes if linker adds runtime paths of dependent libraries
21959 # to runtime path list.
21960 inherit_rpath=$inherit_rpath_CXX
21962 # Whether libtool must link a program against all its dependency libraries.
21963 link_all_deplibs=$link_all_deplibs_CXX
21965 # Set to "yes" if exported symbols are required.
21966 always_export_symbols=$always_export_symbols_CXX
21968 # The commands to list exported symbols.
21969 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21971 # Symbols that should not be listed in the preloaded symbols.
21972 exclude_expsyms=$lt_exclude_expsyms_CXX
21974 # Symbols that must always be exported.
21975 include_expsyms=$lt_include_expsyms_CXX
21977 # Commands necessary for linking programs (against libraries) with templates.
21978 prelink_cmds=$lt_prelink_cmds_CXX
21980 # Commands necessary for finishing linking programs.
21981 postlink_cmds=$lt_postlink_cmds_CXX
21983 # Specify filename containing input files.
21984 file_list_spec=$lt_file_list_spec_CXX
21986 # How to hardcode a shared library path into an executable.
21987 hardcode_action=$hardcode_action_CXX
21989 # The directories searched by this compiler when creating a shared library.
21990 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21992 # Dependencies to place before and after the objects being linked to
21993 # create a shared library.
21994 predep_objects=$lt_predep_objects_CXX
21995 postdep_objects=$lt_postdep_objects_CXX
21996 predeps=$lt_predeps_CXX
21997 postdeps=$lt_postdeps_CXX
21999 # The library search path used internally by the compiler when linking
22000 # a shared library.
22001 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22003 # ### END LIBTOOL TAG CONFIG: CXX
22014 ac_clean_files
=$ac_clean_files_save
22016 test $ac_write_fail = 0 ||
22017 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22020 # configure is writing to config.log, and then calls config.status.
22021 # config.status does its own redirection, appending to config.log.
22022 # Unfortunately, on DOS this fails, as config.log is still kept open
22023 # by configure, so config.status won't be able to write to it; its
22024 # output is simply discarded. So we exec the FD to /dev/null,
22025 # effectively closing config.log, so it can be properly (re)opened and
22026 # appended to by config.status. When coming back to configure, we
22027 # need to make the FD available again.
22028 if test "$no_create" != yes; then
22030 ac_config_status_args
=
22031 test "$silent" = yes &&
22032 ac_config_status_args
="$ac_config_status_args --quiet"
22034 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22037 # would make configure fail if this is the last instruction.
22038 $ac_cs_success || as_fn_exit
1
22040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22042 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build quvi/libquvi:
22048 quvi version: ${VERSION} g:$git_describe b:$build_date
22049 host setup: ${host}
22050 install prefix: ${prefix}
22055 build libquvi: shared=${enable_shared} static=${enable_static}
22056 build quvi: ${enable_quvi}
22057 build examples: ${enable_examples}
22058 enable nsfw: ${enable_nsfw}
22059 enable broken: ${enable_broken}
22060 enable tests: ${enable_tests}
22061 install manual: ${with_man}
22062 install docs: ${with_doc}
22064 $as_echo "$as_me: Configured to build quvi/libquvi:
22066 quvi version: ${VERSION} g:$git_describe b:$build_date
22067 host setup: ${host}
22068 install prefix: ${prefix}
22073 build libquvi: shared=${enable_shared} static=${enable_static}
22074 build quvi: ${enable_quvi}
22075 build examples: ${enable_examples}
22076 enable nsfw: ${enable_nsfw}
22077 enable broken: ${enable_broken}
22078 enable tests: ${enable_tests}
22079 install manual: ${with_man}
22080 install docs: ${with_doc}
22084 # gengetopt: ${GENGETOPT}
22085 # doxygen: ${DOXYGEN}
22087 # Pod::Checker: ${have_pod_checker}
22088 # pod2man: ${POD2MAN}
22089 # pod2html: ${POD2HTML}