2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libsalac 0.1.
5 # Report bugs to <pulseaudio@niafc.de>.
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
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || 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: pulseaudio@niafc.de about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: 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.
571 PACKAGE_NAME
='libsalac'
572 PACKAGE_TARNAME
='libsalac'
573 PACKAGE_VERSION
='0.1'
574 PACKAGE_STRING
='libsalac 0.1'
575 PACKAGE_BUGREPORT
='pulseaudio@niafc.de'
576 PACKAGE_URL
='https://bugs.freedesktop.org/show_bug.cgi?id=42804'
578 # Factoring default headers for most tests.
579 ac_includes_default
="\
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
591 # ifdef HAVE_STDLIB_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
614 ac_subst_vars
='am__EXEEXT_FALSE
687 INSTALL_STRIP_PROGRAM
729 program_transform_name
742 enable_option_checking
743 enable_dependency_tracking
752 ac_precious_vars
='build_alias
772 # Initialize some variables set by options.
774 ac_init_version
=false
775 ac_unrecognized_opts
=
777 # The variables have the same names as the options, with
778 # dashes changed to underlines.
786 program_transform_name
=s
,x
,x
,
794 # Installation directory options.
795 # These are left unexpanded so users can "make install exec_prefix=/foo"
796 # and all the variables that are supposed to be based on exec_prefix
797 # by default will actually change.
798 # Use braces instead of parens because sh, perl, etc. also accept them.
799 # (The list follows the same order as the GNU Coding Standards.)
800 bindir
='${exec_prefix}/bin'
801 sbindir
='${exec_prefix}/sbin'
802 libexecdir
='${exec_prefix}/libexec'
803 datarootdir
='${prefix}/share'
804 datadir
='${datarootdir}'
805 sysconfdir
='${prefix}/etc'
806 sharedstatedir
='${prefix}/com'
807 localstatedir
='${prefix}/var'
808 includedir
='${prefix}/include'
809 oldincludedir
='/usr/include'
810 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
811 infodir
='${datarootdir}/info'
816 libdir
='${exec_prefix}/lib'
817 localedir
='${datarootdir}/locale'
818 mandir
='${datarootdir}/man'
824 # If the previous option needs an argument, assign it.
825 if test -n "$ac_prev"; then
826 eval $ac_prev=\
$ac_option
832 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837 # Accept the important Cygnus configure options, so we can diagnose typos.
839 case $ac_dashdash$ac_option in
843 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
845 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
848 -build |
--build |
--buil |
--bui |
--bu)
849 ac_prev
=build_alias
;;
850 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
851 build_alias
=$ac_optarg ;;
853 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
854 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
855 ac_prev
=cache_file
;;
856 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
857 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
858 cache_file
=$ac_optarg ;;
861 cache_file
=config.cache
;;
863 -datadir |
--datadir |
--datadi |
--datad)
865 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
866 datadir
=$ac_optarg ;;
868 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
869 |
--dataroo |
--dataro |
--datar)
870 ac_prev
=datarootdir
;;
871 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
872 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
873 datarootdir
=$ac_optarg ;;
875 -disable-* |
--disable-*)
876 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
879 as_fn_error $?
"invalid feature name: $ac_useropt"
880 ac_useropt_orig
=$ac_useropt
881 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
886 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
887 ac_unrecognized_sep
=', ';;
889 eval enable_
$ac_useropt=no
;;
891 -docdir |
--docdir |
--docdi |
--doc |
--do)
893 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
896 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
898 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
901 -enable-* |
--enable-*)
902 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
905 as_fn_error $?
"invalid feature name: $ac_useropt"
906 ac_useropt_orig
=$ac_useropt
907 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
912 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913 ac_unrecognized_sep
=', ';;
915 eval enable_
$ac_useropt=\
$ac_optarg ;;
917 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
918 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
919 |
--exec |
--exe |
--ex)
920 ac_prev
=exec_prefix
;;
921 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
922 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
923 |
--exec=* |
--exe=* |
--ex=*)
924 exec_prefix
=$ac_optarg ;;
926 -gas |
--gas |
--ga |
--g)
927 # Obsolete; use --with-gas.
930 -help |
--help |
--hel |
--he |
-h)
932 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
933 ac_init_help
=recursive
;;
934 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
935 ac_init_help
=short
;;
937 -host |
--host |
--hos |
--ho)
938 ac_prev
=host_alias
;;
939 -host=* |
--host=* |
--hos=* |
--ho=*)
940 host_alias
=$ac_optarg ;;
942 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
944 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
946 htmldir
=$ac_optarg ;;
948 -includedir |
--includedir |
--includedi |
--included |
--include \
949 |
--includ |
--inclu |
--incl |
--inc)
950 ac_prev
=includedir
;;
951 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
952 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
953 includedir
=$ac_optarg ;;
955 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
957 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
958 infodir
=$ac_optarg ;;
960 -libdir |
--libdir |
--libdi |
--libd)
962 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
965 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
966 |
--libexe |
--libex |
--libe)
967 ac_prev
=libexecdir
;;
968 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
969 |
--libexe=* |
--libex=* |
--libe=*)
970 libexecdir
=$ac_optarg ;;
972 -localedir |
--localedir |
--localedi |
--localed |
--locale)
974 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
975 localedir
=$ac_optarg ;;
977 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
978 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
979 ac_prev
=localstatedir
;;
980 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
981 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
982 localstatedir
=$ac_optarg ;;
984 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
986 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
990 # Obsolete; use --without-fp.
993 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
994 |
--no-cr |
--no-c |
-n)
997 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
998 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1001 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1002 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1003 |
--oldin |
--oldi |
--old |
--ol |
--o)
1004 ac_prev
=oldincludedir
;;
1005 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1006 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1007 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1008 oldincludedir
=$ac_optarg ;;
1010 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1012 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1013 prefix
=$ac_optarg ;;
1015 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1016 |
--program-pre |
--program-pr |
--program-p)
1017 ac_prev
=program_prefix
;;
1018 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1019 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1020 program_prefix
=$ac_optarg ;;
1022 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1023 |
--program-suf |
--program-su |
--program-s)
1024 ac_prev
=program_suffix
;;
1025 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1026 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1027 program_suffix
=$ac_optarg ;;
1029 -program-transform-name |
--program-transform-name \
1030 |
--program-transform-nam |
--program-transform-na \
1031 |
--program-transform-n |
--program-transform- \
1032 |
--program-transform |
--program-transfor \
1033 |
--program-transfo |
--program-transf \
1034 |
--program-trans |
--program-tran \
1035 |
--progr-tra |
--program-tr |
--program-t)
1036 ac_prev
=program_transform_name
;;
1037 -program-transform-name=* |
--program-transform-name=* \
1038 |
--program-transform-nam=* |
--program-transform-na=* \
1039 |
--program-transform-n=* |
--program-transform-=* \
1040 |
--program-transform=* |
--program-transfor=* \
1041 |
--program-transfo=* |
--program-transf=* \
1042 |
--program-trans=* |
--program-tran=* \
1043 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1044 program_transform_name
=$ac_optarg ;;
1046 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1048 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1049 pdfdir
=$ac_optarg ;;
1051 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1053 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1056 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1057 |
-silent |
--silent |
--silen |
--sile |
--sil)
1060 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1062 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1064 sbindir
=$ac_optarg ;;
1066 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1067 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1068 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1070 ac_prev
=sharedstatedir
;;
1071 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1072 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1073 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1075 sharedstatedir
=$ac_optarg ;;
1077 -site |
--site |
--sit)
1079 -site=* |
--site=* |
--sit=*)
1082 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1084 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1085 srcdir
=$ac_optarg ;;
1087 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1088 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1089 ac_prev
=sysconfdir
;;
1090 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1091 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1092 sysconfdir
=$ac_optarg ;;
1094 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1095 ac_prev
=target_alias
;;
1096 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1097 target_alias
=$ac_optarg ;;
1099 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1102 -version |
--version |
--versio |
--versi |
--vers |
-V)
1103 ac_init_version
=: ;;
1106 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1109 as_fn_error $?
"invalid package name: $ac_useropt"
1110 ac_useropt_orig
=$ac_useropt
1111 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1117 ac_unrecognized_sep
=', ';;
1119 eval with_
$ac_useropt=\
$ac_optarg ;;
1121 -without-* |
--without-*)
1122 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error $?
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=no
;;
1138 # Obsolete; use --with-x.
1141 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1142 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1143 ac_prev
=x_includes
;;
1144 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1145 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1146 x_includes
=$ac_optarg ;;
1148 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1149 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1150 ac_prev
=x_libraries
;;
1151 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1152 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1153 x_libraries
=$ac_optarg ;;
1155 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1156 Try \`$0 --help' for more information"
1160 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1161 # Reject names that are not valid shell variable names.
1162 case $ac_envvar in #(
1163 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1164 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1166 eval $ac_envvar=\
$ac_optarg
1167 export $ac_envvar ;;
1170 # FIXME: should be removed in autoconf 3.0.
1171 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1173 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1180 if test -n "$ac_prev"; then
1181 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1182 as_fn_error $?
"missing argument to $ac_option"
1185 if test -n "$ac_unrecognized_opts"; then
1186 case $enable_option_checking in
1188 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1189 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193 # Check all directory arguments for consistency.
1194 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1195 datadir sysconfdir sharedstatedir localstatedir includedir \
1196 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1197 libdir localedir mandir
1199 eval ac_val
=\$
$ac_var
1200 # Remove trailing slashes.
1203 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1204 eval $ac_var=\
$ac_val;;
1206 # Be sure to have absolute directory names.
1208 [\\/$
]* | ?
:[\\/]* ) continue;;
1209 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1211 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1219 target
=$target_alias
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x
; then
1223 if test "x$build_alias" = x
; then
1224 cross_compiling
=maybe
1225 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1226 If a cross compiler is detected then cross compile mode will be used" >&2
1227 elif test "x$build_alias" != "x$host_alias"; then
1233 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1235 test "$silent" = yes && exec 6>/dev
/null
1238 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di
=`ls -di .` &&
1240 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1241 as_fn_error $?
"working directory cannot be determined"
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243 as_fn_error $?
"pwd does not report name of working directory"
1246 # Find the source files, if location was not specified.
1247 if test -z "$srcdir"; then
1248 ac_srcdir_defaulted
=yes
1249 # Try the directory containing this script, then the parent directory.
1250 ac_confdir
=`$as_dirname -- "$as_myself" ||
1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252 X"$as_myself" : 'X\(//\)[^/]' \| \
1253 X"$as_myself" : 'X\(//\)$' \| \
1254 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255 $as_echo X"$as_myself" |
1256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1278 ac_srcdir_defaulted
=no
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1281 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1282 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1284 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1286 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1288 # When building in place, set srcdir=.
1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
1292 # Remove unnecessary trailing slashes from srcdir.
1293 # Double slashes in file names in object file debugging info
1294 # mess up M-x gdb in Emacs.
1296 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1298 for ac_var
in $ac_precious_vars; do
1299 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1300 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1301 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1302 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1306 # Report the --help message.
1308 if test "$ac_init_help" = "long"; then
1309 # Omit some internal or obsolete options to make the list less imposing.
1310 # This message is too long to be a string in the A/UX 3.1 sh.
1312 \`configure' configures libsalac 0.1 to adapt to many kinds of systems.
1314 Usage: $0 [OPTION]... [VAR=VALUE]...
1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1317 VAR=VALUE. See below for descriptions of some of the useful variables.
1319 Defaults for the options are specified in brackets.
1322 -h, --help display this help and exit
1323 --help=short display options specific to this package
1324 --help=recursive display the short help of all the included packages
1325 -V, --version display version information and exit
1326 -q, --quiet, --silent do not print \`checking ...' messages
1327 --cache-file=FILE cache test results in FILE [disabled]
1328 -C, --config-cache alias for \`--cache-file=config.cache'
1329 -n, --no-create do not create output files
1330 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1332 Installation directories:
1333 --prefix=PREFIX install architecture-independent files in PREFIX
1334 [$ac_default_prefix]
1335 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1338 By default, \`make install' will install all the files in
1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1341 for instance \`--prefix=\$HOME'.
1343 For better control, use the options below.
1345 Fine tuning of the installation directories:
1346 --bindir=DIR user executables [EPREFIX/bin]
1347 --sbindir=DIR system admin executables [EPREFIX/sbin]
1348 --libexecdir=DIR program executables [EPREFIX/libexec]
1349 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1350 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1351 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1352 --libdir=DIR object code libraries [EPREFIX/lib]
1353 --includedir=DIR C header files [PREFIX/include]
1354 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1355 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1356 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1357 --infodir=DIR info documentation [DATAROOTDIR/info]
1358 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1359 --mandir=DIR man documentation [DATAROOTDIR/man]
1360 --docdir=DIR documentation root [DATAROOTDIR/doc/libsalac]
1361 --htmldir=DIR html documentation [DOCDIR]
1362 --dvidir=DIR dvi documentation [DOCDIR]
1363 --pdfdir=DIR pdf documentation [DOCDIR]
1364 --psdir=DIR ps documentation [DOCDIR]
1370 --program-prefix=PREFIX prepend PREFIX to installed program names
1371 --program-suffix=SUFFIX append SUFFIX to installed program names
1372 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1375 --build=BUILD configure
for building on BUILD
[guessed
]
1376 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive
) echo "Configuration of libsalac 0.1:";;
1387 --disable-option-checking ignore unrecognized
--enable/--with options
1388 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1389 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-static[=PKGS
] build static libraries
[default
=no
]
1393 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1394 --enable-fast-install[=PKGS
]
1395 optimize
for fast installation
[default
=yes]
1396 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1399 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1400 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1401 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1403 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1404 --with-sysroot=DIR Search
for dependent libraries within DIR
1405 (or the compiler
's sysroot if not specified).
1407 Some influential environment variables:
1408 CXX C++ compiler command
1409 CXXFLAGS C++ compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411 nonstandard directory <lib dir>
1412 LIBS libraries to pass to the linker, e.g. -l<library>
1413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1414 you have headers in a nonstandard directory <include dir>
1415 PKG_CONFIG path to pkg-config utility
1417 directories to add to pkg-config's search path
1419 path overriding pkg-config
's built-in search path
1420 ALAC_CFLAGS C compiler flags for ALAC, overriding pkg-config
1421 ALAC_LIBS linker flags for ALAC, overriding pkg-config
1422 CC C compiler command
1423 CFLAGS C compiler flags
1425 CXXCPP C++ preprocessor
1427 Use these variables to override the choices made by `configure' or to
help
1428 it to
find libraries and programs with nonstandard names
/locations.
1430 Report bugs to
<pulseaudio@niafc.de
>.
1431 libsalac home page
: <https
://bugs.freedesktop.org
/show_bug.cgi?id
=42804>.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1439 test -d "$ac_dir" ||
1440 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir
=$ac_pwd
1456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir
=$ac_top_build_prefix
1461 .
) # We are building in place.
1463 ac_top_srcdir
=$ac_top_builddir_sub
1464 ac_abs_top_srcdir
=$ac_pwd ;;
1465 [\\/]* | ?
:[\\/]* ) # Absolute name.
1466 ac_srcdir
=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir
=$srcdir
1468 ac_abs_top_srcdir
=$srcdir ;;
1470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1494 libsalac configure
0.1
1495 generated by GNU Autoconf
2.68
1497 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1498 This configure
script is free software
; the Free Software Foundation
1499 gives unlimited permission to copy
, distribute and modify it.
1504 ## ------------------------ ##
1505 ## Autoconf initialization. ##
1506 ## ------------------------ ##
1508 # ac_fn_cxx_try_compile LINENO
1509 # ----------------------------
1510 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1511 ac_fn_cxx_try_compile
()
1513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1514 rm -f conftest.
$ac_objext
1515 if { { ac_try
="$ac_compile"
1517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1518 *) ac_try_echo=$ac_try;;
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_compile") 2>conftest.err
1524 if test -s conftest.err; then
1525 grep -v '^ *+' conftest.err >conftest.er1
1526 cat conftest.er1 >&5
1527 mv -f conftest.er1 conftest.err
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530 test $ac_status = 0; } && {
1531 test -z "$ac_cxx_werror_flag" ||
1532 test ! -s conftest.err
1533 } && test -s conftest.$ac_objext; then :
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.$ac_ext >&5
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1542 as_fn_set_status $ac_retval
1544 } # ac_fn_cxx_try_compile
1546 # ac_fn_c_try_compile LINENO
1547 # --------------------------
1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1549 ac_fn_c_try_compile ()
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 rm -f conftest.$ac_objext
1553 if { { ac_try="$ac_compile"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_compile") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && {
1569 test -z "$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 } && test -s conftest.
$ac_objext; then :
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.
$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status
$ac_retval
1582 } # ac_fn_c_try_compile
1584 # ac_fn_c_try_link LINENO
1585 # -----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded.
1589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1590 rm -f conftest.
$ac_objext conftest
$ac_exeext
1591 if { { ac_try
="$ac_link"
1593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_link") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest$ac_exeext && {
1610 test "$cross_compiling" = yes ||
1611 $as_test_x conftest$ac_exeext
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1622 # interfere with the next link command; also delete a directory that is
1623 # left behind by Apple's compiler. We do this before executing the actions.
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1628 } # ac_fn_c_try_link
1630 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1631 # -------------------------------------------------------
1632 # Tests whether HEADER exists and can be compiled using the include files in
1633 # INCLUDES, setting the cache variable VAR accordingly.
1634 ac_fn_c_check_header_compile ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638 $as_echo_n "checking for $2... " >&6; }
1639 if eval \${$3+:} false; then :
1640 $as_echo_n "(cached) " >&6
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1647 if ac_fn_c_try_compile "$LINENO"; then :
1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1656 $as_echo "$ac_res" >&6; }
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 } # ac_fn_c_check_header_compile
1661 # ac_fn_c_try_cpp LINENO
1662 # ----------------------
1663 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if { { ac_try="$ac_cpp conftest.$ac_ext"
1669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1676 if test -s conftest.err
; then
1677 grep -v '^ *+' conftest.err
>conftest.er1
1678 cat conftest.er1
>&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } > conftest.i
&& {
1683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.
$ac_ext >&5
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status
$ac_retval
1698 # ac_fn_c_try_run LINENO
1699 # ----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1701 # that executables *can* be run.
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 if { { ac_try
="$ac_link"
1707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1716 { { case "(($ac_try" in
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_try") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; }; }; then :
1728 $as_echo "$as_me: program exited with status $ac_status" >&5
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.
$ac_ext >&5
1732 ac_retval
=$ac_status
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status
$ac_retval
1740 # ac_fn_c_check_func LINENO FUNC VAR
1741 # ----------------------------------
1742 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1743 ac_fn_c_check_func
()
1745 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \
${$3+:} false
; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1755 #define $2 innocuous_$2
1757 /* System header to define __stub macros and hopefully few prototypes,
1758 which can conflict with char $2 (); below.
1759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1760 <limits.h> exists even on freestanding compilers. */
1763 # include <limits.h>
1765 # include <assert.h>
1770 /* Override any GCC internal prototype to avoid an error.
1771 Use char because int might match the return type of a GCC
1772 builtin and then its argument prototype would still apply. */
1777 /* The GNU C library defines this for functions which it implements
1778 to always fail with ENOSYS. Some functions are actually named
1779 something starting with __ and the normal name is an alias. */
1780 #if defined __stub_$2 || defined __stub___$2
1792 if ac_fn_c_try_link
"$LINENO"; then :
1797 rm -f core conftest.err conftest.
$ac_objext \
1798 conftest
$ac_exeext conftest.
$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_func
1807 # ac_fn_cxx_try_cpp LINENO
1808 # ------------------------
1809 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_cpp
()
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } > conftest.i && {
1829 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1830 test ! -s conftest.err
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_cxx_try_cpp
1844 # ac_fn_cxx_try_link LINENO
1845 # -------------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_cxx_try_link ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 rm -f conftest.$ac_objext conftest$ac_exeext
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>conftest.err
1860 if test -s conftest.err
; then
1861 grep -v '^ *+' conftest.err
>conftest.er1
1862 cat conftest.er1
>&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && {
1867 test -z "$ac_cxx_werror_flag" ||
1868 test ! -s conftest.err
1869 } && test -s conftest
$ac_exeext && {
1870 test "$cross_compiling" = yes ||
1871 $as_test_x conftest
$ac_exeext
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.
$ac_ext >&5
1880 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1881 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1882 # interfere with the next link command; also delete a directory that is
1883 # left behind by Apple's compiler. We do this before executing the actions.
1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_status
$ac_retval
1888 } # ac_fn_cxx_try_link
1889 cat >config.log
<<_ACEOF
1890 This file contains any messages produced by compilers while
1891 running configure, to aid debugging if configure makes a mistake.
1893 It was created by libsalac $as_me 0.1, which was
1894 generated by GNU Autoconf 2.68. Invocation command line was
1906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1910 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1912 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1913 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1915 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1916 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1917 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1918 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1919 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1920 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1921 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir
=.
1930 $as_echo "PATH: $as_dir"
1946 # Keep a trace of the command line.
1947 # Strip out --no-create and --no-recursion so they do not pile up.
1948 # Strip out --silent because we don't want to record it for future runs.
1949 # Also quote any args containing shell meta-characters.
1950 # Make two passes to allow for proper duplicate-argument suppression.
1954 ac_must_keep_next
=false
1960 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1961 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1962 |
-silent |
--silent |
--silen |
--sile |
--sil)
1965 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1968 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1970 as_fn_append ac_configure_args1
" '$ac_arg'"
1971 if test $ac_must_keep_next = true
; then
1972 ac_must_keep_next
=false
# Got value, back to normal.
1975 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1976 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1977 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1978 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1979 case "$ac_configure_args0 " in
1980 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1983 -* ) ac_must_keep_next
=true
;;
1986 as_fn_append ac_configure_args
" '$ac_arg'"
1991 { ac_configure_args0
=; unset ac_configure_args0
;}
1992 { ac_configure_args1
=; unset ac_configure_args1
;}
1994 # When interrupted or exit'd, cleanup temporary files, and complete
1995 # config.log. We remove comments because anyway the quotes in there
1996 # would cause problems or look ugly.
1997 # WARNING: Use '\'' to represent an apostrophe within the trap.
1998 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1999 trap 'exit_status=$?
2000 # Save into config.log some information that might help in debugging.
2004 $as_echo "## ---------------- ##
2005 ## Cache variables. ##
2006 ## ---------------- ##"
2008 # The following way of writing the cache mishandles newlines in values,
2010 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2011 eval ac_val=\$$ac_var
2015 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2019 _ | IFS | as_nl) ;; #(
2020 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2021 *) { eval $ac_var=; unset $ac_var;} ;;
2026 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2027 *${as_nl}ac_space=\ *)
2029 "s/'\''/'\''\\\\'\'''\''/g;
2030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2040 $as_echo "## ----------------- ##
2041 ## Output variables. ##
2042 ## ----------------- ##"
2044 for ac_var in $ac_subst_vars
2046 eval ac_val=\$$ac_var
2048 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2050 $as_echo "$ac_var='\''$ac_val'\''"
2054 if test -n "$ac_subst_files"; then
2055 $as_echo "## ------------------- ##
2056 ## File substitutions. ##
2057 ## ------------------- ##"
2059 for ac_var
in $ac_subst_files
2061 eval ac_val
=\$
$ac_var
2063 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2065 $as_echo "$ac_var='\''$ac_val'\''"
2070 if test -s confdefs.h; then
2071 $as_echo "## ----------- ##
2078 test "$ac_signal" != 0 &&
2079 $as_echo "$as_me: caught signal $ac_signal"
2080 $as_echo "$as_me: exit $exit_status"
2082 rm -f core *.core core.conftest.* &&
2083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086 for ac_signal
in 1 2 13 15; do
2087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2092 rm -f -r conftest
* confdefs.h
2094 $as_echo "/* confdefs.h */" > confdefs.h
2096 # Predefined preprocessor variables.
2098 cat >>confdefs.h
<<_ACEOF
2099 #define PACKAGE_NAME "$PACKAGE_NAME"
2102 cat >>confdefs.h
<<_ACEOF
2103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE_STRING "$PACKAGE_STRING"
2114 cat >>confdefs.h
<<_ACEOF
2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118 cat >>confdefs.h
<<_ACEOF
2119 #define PACKAGE_URL "$PACKAGE_URL"
2123 # Let the site file select an alternate cache file if it wants to.
2124 # Prefer an explicitly selected file to automatically selected ones.
2127 if test -n "$CONFIG_SITE"; then
2128 # We do not want a PATH search for config.site.
2129 case $CONFIG_SITE in #((
2130 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2131 */*) ac_site_file1
=$CONFIG_SITE;;
2132 *) ac_site_file1
=.
/$CONFIG_SITE;;
2134 elif test "x$prefix" != xNONE
; then
2135 ac_site_file1
=$prefix/share
/config.site
2136 ac_site_file2
=$prefix/etc
/config.site
2138 ac_site_file1
=$ac_default_prefix/share
/config.site
2139 ac_site_file2
=$ac_default_prefix/etc
/config.site
2141 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2143 test "x$ac_site_file" = xNONE
&& continue
2144 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2146 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2147 sed 's/^/| /' "$ac_site_file" >&5
2149 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2151 as_fn_error $?
"failed to load site script $ac_site_file
2152 See \`config.log' for more details" "$LINENO" 5; }
2156 if test -r "$cache_file"; then
2157 # Some versions of bash will fail to source /dev/null (special files
2158 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2159 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2161 $as_echo "$as_me: loading cache $cache_file" >&6;}
2163 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2164 *) .
"./$cache_file";;
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2169 $as_echo "$as_me: creating cache $cache_file" >&6;}
2173 # Check that the precious variables saved in the cache have kept the same
2175 ac_cache_corrupted
=false
2176 for ac_var
in $ac_precious_vars; do
2177 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2178 eval ac_new_set
=\
$ac_env_${ac_var}_set
2179 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2180 eval ac_new_val
=\
$ac_env_${ac_var}_value
2181 case $ac_old_set,$ac_new_set in
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2185 ac_cache_corrupted
=: ;;
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2189 ac_cache_corrupted
=: ;;
2192 if test "x$ac_old_val" != "x$ac_new_val"; then
2193 # differences in whitespace do not lead to failure.
2194 ac_old_val_w
=`echo x $ac_old_val`
2195 ac_new_val_w
=`echo x $ac_new_val`
2196 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2199 ac_cache_corrupted
=:
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2203 eval $ac_var=\
$ac_old_val
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2206 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2211 # Pass precious variables to config.status.
2212 if test "$ac_new_set" = set; then
2214 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2215 *) ac_arg
=$ac_var=$ac_new_val ;;
2217 case " $ac_configure_args " in
2218 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2219 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2223 if $ac_cache_corrupted; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2228 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2230 ## -------------------- ##
2231 ## Main body of script. ##
2232 ## -------------------- ##
2235 ac_cpp
='$CPP $CPPFLAGS'
2236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2242 am__api_version
='1.11'
2245 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2246 if test -f "$ac_dir/install-sh"; then
2248 ac_install_sh
="$ac_aux_dir/install-sh -c"
2250 elif test -f "$ac_dir/install.sh"; then
2252 ac_install_sh
="$ac_aux_dir/install.sh -c"
2254 elif test -f "$ac_dir/shtool"; then
2256 ac_install_sh
="$ac_aux_dir/shtool install -c"
2260 if test -z "$ac_aux_dir"; then
2261 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2264 # These three variables are undocumented and unsupported,
2265 # and are intended to be withdrawn in a future Autoconf release.
2266 # They can cause serious problems if a builder's source tree is in a directory
2267 # whose full name contains unusual characters.
2268 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2269 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2270 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2273 # Find a good install program. We prefer a C program (faster),
2274 # so one script is as good as another. But avoid the broken or
2275 # incompatible versions:
2276 # SysV /etc/install, /usr/sbin/install
2277 # SunOS /usr/etc/install
2278 # IRIX /sbin/install
2280 # AmigaOS /C/install, which installs bootblocks on floppy discs
2281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2284 # OS/2's system install, which has a completely different semantic
2285 # ./install, which can be erroneously created by make from ./install.sh.
2286 # Reject install programs that cannot install multiple files.
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2288 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2289 if test -z "$INSTALL"; then
2290 if ${ac_cv_path_install+:} false
; then :
2291 $as_echo_n "(cached) " >&6
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 # Account for people who put trailing slashes in PATH elements.
2299 case $as_dir/ in #((
2300 .
/ | .
// |
/[cC
]/* | \
2301 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2302 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2305 # OSF1 and SCO ODT 3.0 have their own names for install.
2306 # Don't use installbsd from OSF since it installs stuff as root
2308 for ac_prog
in ginstall scoinst
install; do
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2311 if test $ac_prog = install &&
2312 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2313 # AIX install. It has an incompatible calling convention.
2315 elif test $ac_prog = install &&
2316 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2317 # program-specific install script used by HP pwplus--don't use.
2320 rm -rf conftest.one conftest.two conftest.dir
2321 echo one
> conftest.one
2322 echo two
> conftest.two
2324 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2325 test -s conftest.one
&& test -s conftest.two
&&
2326 test -s conftest.dir
/conftest.one
&&
2327 test -s conftest.dir
/conftest.two
2329 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2342 rm -rf conftest.one conftest.two conftest.dir
2345 if test "${ac_cv_path_install+set}" = set; then
2346 INSTALL
=$ac_cv_path_install
2348 # As a last resort, use the slow shell script. Don't cache a
2349 # value for INSTALL within a source directory, because that will
2350 # break other packages using the cache if that directory is
2351 # removed, or if the value is a relative name.
2352 INSTALL
=$ac_install_sh
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2356 $as_echo "$INSTALL" >&6; }
2358 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2359 # It thinks the first close brace ends the variable substitution.
2360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2362 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2364 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2367 $as_echo_n "checking whether build environment is sane... " >&6; }
2370 echo timestamp
> conftest.
file
2371 # Reject unsafe characters in $srcdir or the absolute working directory
2372 # name. Accept space and tab only in the latter.
2376 *[\\\"\
#\$\&\'\`$am_lf]*)
2377 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2380 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2381 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2384 # Do `set' in a subshell so we don't clobber the current shell's
2385 # arguments. Must try -L first in case configure is actually a
2386 # symlink; some systems play weird games with the mod time of symlinks
2387 # (eg FreeBSD returns the mod time of the symlink's containing
2390 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2391 if test "$*" = "X"; then
2393 set X
`ls -t "$srcdir/configure" conftest.file`
2396 if test "$*" != "X $srcdir/configure conftest.file" \
2397 && test "$*" != "X conftest.file $srcdir/configure"; then
2399 # If neither matched, then we have a broken ls. This can happen
2400 # if, for instance, CONFIG_SHELL is bash and it inherits a
2401 # broken ls alias from the environment. This has actually
2402 # happened. Such a system could not be considered "sane".
2403 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2404 alias in your environment" "$LINENO" 5
2407 test "$2" = conftest.
file
2413 as_fn_error $?
"newly created file is older than distributed files!
2414 Check your system clock" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418 test "$program_prefix" != NONE
&&
2419 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2420 # Use a double $ so make ignores it.
2421 test "$program_suffix" != NONE
&&
2422 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2423 # Double any \ or $.
2424 # By default was `s,x,x', remove it if useless.
2425 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2426 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2428 # expand $ac_aux_dir to an absolute path
2429 am_aux_dir
=`cd $ac_aux_dir && pwd`
2431 if test x
"${MISSING+set}" != xset
; then
2434 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2436 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2439 # Use eval to expand $SHELL
2440 if eval "$MISSING --run true"; then
2441 am_missing_run
="$MISSING --run "
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2445 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2448 if test x
"${install_sh}" != xset
; then
2451 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2453 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2457 # Installed binaries are usually stripped using `strip' when the user
2458 # run `make install-strip'. However `strip' might not be the right
2459 # tool to use in cross-compilation environments, therefore Automake
2460 # will honor the `STRIP' environment variable to overrule this program.
2461 if test "$cross_compiling" != no
; then
2462 if test -n "$ac_tool_prefix"; then
2463 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2464 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_STRIP+:} false
; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$STRIP"; then
2471 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 STRIP
=$ac_cv_prog_STRIP
2491 if test -n "$STRIP"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2493 $as_echo "$STRIP" >&6; }
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2501 if test -z "$ac_cv_prog_STRIP"; then
2503 # Extract the first word of "strip", so it can be a program name with args.
2504 set dummy strip
; ac_word
=$2
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506 $as_echo_n "checking for $ac_word... " >&6; }
2507 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2508 $as_echo_n "(cached) " >&6
2510 if test -n "$ac_ct_STRIP"; then
2511 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520 ac_cv_prog_ac_ct_STRIP
="strip"
2521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2531 if test -n "$ac_ct_STRIP"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2533 $as_echo "$ac_ct_STRIP" >&6; }
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 $as_echo "no" >&6; }
2539 if test "x$ac_ct_STRIP" = x
; then
2542 case $cross_compiling:$ac_tool_warned in
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2546 ac_tool_warned
=yes ;;
2551 STRIP
="$ac_cv_prog_STRIP"
2555 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2558 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2559 if test -z "$MKDIR_P"; then
2560 if ${ac_cv_path_mkdir+:} false
; then :
2561 $as_echo_n "(cached) " >&6
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_prog
in mkdir gmkdir
; do
2569 for ac_exec_ext
in '' $ac_executable_extensions; do
2570 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2571 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2572 'mkdir (GNU coreutils) '* | \
2573 'mkdir (coreutils) '* | \
2574 'mkdir (fileutils) '4.1*)
2575 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2585 test -d .
/--version && rmdir .
/--version
2586 if test "${ac_cv_path_mkdir+set}" = set; then
2587 MKDIR_P
="$ac_cv_path_mkdir -p"
2589 # As a last resort, use the slow shell script. Don't cache a
2590 # value for MKDIR_P within a source directory, because that will
2591 # break other packages using the cache if that directory is
2592 # removed, or if the value is a relative name.
2593 MKDIR_P
="$ac_install_sh -d"
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2597 $as_echo "$MKDIR_P" >&6; }
2601 [\\/$
]* | ?
:[\\/]*) ;;
2602 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2605 for ac_prog
in gawk mawk nawk
awk
2607 # Extract the first word of "$ac_prog", so it can be a program name with args.
2608 set dummy
$ac_prog; ac_word
=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_AWK+:} false
; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$AWK"; then
2615 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_AWK
="$ac_prog"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$AWK"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2637 $as_echo "$AWK" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2644 test -n "$AWK" && break
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2648 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2650 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2651 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2652 $as_echo_n "(cached) " >&6
2654 cat >conftest.
make <<\_ACEOF
2657 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2659 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2660 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2662 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2664 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2668 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670 $as_echo "yes" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2675 SET_MAKE
="MAKE=${MAKE-make}"
2678 rm -rf .tst
2>/dev
/null
2679 mkdir .tst
2>/dev
/null
2680 if test -d .tst
; then
2685 rmdir .tst
2>/dev
/null
2687 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2688 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2689 # is not polluted with repeated "-I."
2690 am__isrc
=' -I$(srcdir)'
2691 # test to see if srcdir already configured
2692 if test -f $srcdir/config.status
; then
2693 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2697 # test whether we have cygpath
2698 if test -z "$CYGPATH_W"; then
2699 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2700 CYGPATH_W
='cygpath -w'
2707 # Define the identity of the package.
2712 # Some tools Automake needs.
2714 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2717 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2720 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2723 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2726 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2728 # We need awk for the "check" target. The system "awk" is bad on
2730 # Always define AMTAR for backward compatibility. Yes, it's still used
2731 # in the wild :-( We should find a proper way to deprecate it ...
2734 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2742 ac_config_headers
="$ac_config_headers config.h libsalacconfig.h"
2745 ac_cpp
='$CXXCPP $CPPFLAGS'
2746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2749 if test -z "$CXX"; then
2750 if test -n "$CCC"; then
2753 if test -n "$ac_tool_prefix"; then
2754 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2757 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 $as_echo_n "checking for $ac_word... " >&6; }
2760 if ${ac_cv_prog_CXX+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 if test -n "$CXX"; then
2764 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir
=.
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 if test -n "$CXX"; then
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2786 $as_echo "$CXX" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 $as_echo "no" >&6; }
2793 test -n "$CXX" && break
2796 if test -z "$CXX"; then
2798 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2800 # Extract the first word of "$ac_prog", so it can be a program name with args.
2801 set dummy
$ac_prog; ac_word
=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
2805 $as_echo_n "(cached) " >&6
2807 if test -n "$ac_ct_CXX"; then
2808 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir
=.
2815 for ac_exec_ext
in '' $ac_executable_extensions; do
2816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2828 if test -n "$ac_ct_CXX"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2830 $as_echo "$ac_ct_CXX" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2837 test -n "$ac_ct_CXX" && break
2840 if test "x$ac_ct_CXX" = x
; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned
=yes ;;
2855 # Provide some information about the compiler.
2856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2859 for ac_option
in --version -v -V -qversion; do
2860 { { ac_try
="$ac_compiler $ac_option >&5"
2862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2869 if test -s conftest.err; then
2871 ... rest of stderr output deleted ...
2872 10q' conftest.err >conftest.er1
2873 cat conftest.er1 >&5
2875 rm -f conftest.er1 conftest.err
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; }
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2891 ac_clean_files_save=$ac_clean_files
2892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2893 # Try to create an executable without -o first, disregard a.out.
2894 # It will help us diagnose broken compilers, and finding out an intuition
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2897 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2898 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2900 # The possible output files:
2901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2904 for ac_file in $ac_files
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2913 if { { ac_try="$ac_link_default"
2915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2916 *) ac_try_echo
=$ac_try;;
2918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_link_default") 2>&5
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; }; then :
2924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2927 # so that the user can short-circuit this test for compilers unknown to
2929 for ac_file
in $ac_files ''
2931 test -f "$ac_file" ||
continue
2933 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2936 # We found the default executable, but exeext='' is most
2940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2942 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2944 # We set ac_cv_exeext here because the later test for it is not
2945 # safe: cross compilers may not add the suffix if given an `-o'
2946 # argument, so we may need to know it at that point already.
2947 # Even if this section looks crufty: it has the advantage of
2954 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2959 if test -z "$ac_file"; then :
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2962 $as_echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.
$ac_ext >&5
2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error
77 "C++ compiler cannot create executables
2968 See \`config.log' for more details" "$LINENO" 5; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2974 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2976 $as_echo "$ac_file" >&6; }
2977 ac_exeext
=$ac_cv_exeext
2979 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2980 ac_clean_files
=$ac_clean_files_save
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2982 $as_echo_n "checking for suffix of executables... " >&6; }
2983 if { { ac_try
="$ac_link"
2985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 $as_echo "$ac_try_echo"; } >&5
2990 (eval "$ac_link") 2>&5
2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; }; then :
2994 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2995 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe'), while it won't with
2998 for ac_file
in conftest.exe conftest conftest.
*; do
2999 test -f "$ac_file" ||
continue
3001 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3002 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3010 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details" "$LINENO" 5; }
3013 rm -f conftest conftest
$ac_cv_exeext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3015 $as_echo "$ac_cv_exeext" >&6; }
3017 rm -f conftest.
$ac_ext
3018 EXEEXT
=$ac_cv_exeext
3020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3026 FILE *f = fopen ("conftest.out", "w");
3027 return ferror (f) || fclose (f) != 0;
3033 ac_clean_files
="$ac_clean_files conftest.out"
3034 # Check that the compiler produces executables we can run. If not, either
3035 # the compiler is broken, or we cross compile.
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3037 $as_echo_n "checking whether we are cross compiling... " >&6; }
3038 if test "$cross_compiling" != yes; then
3039 { { ac_try
="$ac_link"
3041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_link") 2>&5
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; }
3050 if { ac_try='./conftest$ac_cv_exeext'
3051 { { case "(($ac_try" in
3052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3053 *) ac_try_echo
=$ac_try;;
3055 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_try") 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; }; then
3063 if test "$cross_compiling" = maybe
; then
3066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $?
"cannot run C++ compiled programs.
3069 If you meant to cross compile, use \`--host'.
3070 See \`config.log' for more details" "$LINENO" 5; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3075 $as_echo "$cross_compiling" >&6; }
3077 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3078 ac_clean_files
=$ac_clean_files_save
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3080 $as_echo_n "checking for suffix of object files... " >&6; }
3081 if ${ac_cv_objext+:} false
; then :
3082 $as_echo_n "(cached) " >&6
3084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3095 rm -f conftest.o conftest.obj
3096 if { { ac_try
="$ac_compile"
3098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_compile") 2>&5
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }; then :
3107 for ac_file in conftest.o conftest.obj conftest.*; do
3108 test -f "$ac_file" || continue;
3110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3116 $as_echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3122 See \
`config.log' for more details" "$LINENO" 5; }
3124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3127 $as_echo "$ac_cv_objext" >&6; }
3128 OBJEXT=$ac_cv_objext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3131 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3132 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3149 if ac_fn_cxx_try_compile "$LINENO"; then :
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3159 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3160 if test $ac_compiler_gnu = yes; then
3165 ac_test_CXXFLAGS=${CXXFLAGS+set}
3166 ac_save_CXXFLAGS=$CXXFLAGS
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3168 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3169 if ${ac_cv_prog_cxx_g+:} false; then :
3170 $as_echo_n "(cached) " >&6
3172 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3173 ac_cxx_werror_flag=yes
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_cxx_try_compile "$LINENO"; then :
3188 ac_cv_prog_cxx_g=yes
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3202 if ac_fn_cxx_try_compile "$LINENO"; then :
3205 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3218 if ac_fn_cxx_try_compile "$LINENO"; then :
3219 ac_cv_prog_cxx_g=yes
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3229 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3230 if test "$ac_test_CXXFLAGS" = set; then
3231 CXXFLAGS=$ac_save_CXXFLAGS
3232 elif test $ac_cv_prog_cxx_g = yes; then
3233 if test "$GXX" = yes; then
3239 if test "$GXX" = yes; then
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 DEPDIR="${am__leading_dot}deps"
3252 ac_config_commands="$ac_config_commands depfiles"
3255 am_make=${MAKE-make}
3256 cat > confinc << 'END'
3258 @echo this is the am__doit target
3261 # If we don't find an include directive, just comment out the code.
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3263 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3267 # First try GNU make style include.
3268 echo "include confinc" > confmf
3269 # Ignore all kinds of additional output from `make'.
3270 case `$am_make -s -f confmf 2> /dev/null` in #(
3271 *the\ am__doit\ target*)
3277 # Now try BSD make style include.
3278 if test "$am__include" = "#"; then
3279 echo '.include
"confinc"' > confmf
3280 case `$am_make -s -f confmf 2> /dev/null` in #(
3281 *the\ am__doit\ target*)
3282 am__include=.include
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3291 $as_echo "$_am_result" >&6; }
3292 rm -f confinc confmf
3294 # Check whether --enable-dependency-tracking was given.
3295 if test "${enable_dependency_tracking+set}" = set; then :
3296 enableval=$enable_dependency_tracking;
3299 if test "x$enable_dependency_tracking" != xno; then
3300 am_depcomp="$ac_aux_dir/depcomp"
3304 if test "x$enable_dependency_tracking" != xno
; then
3314 depcc
="$CXX" am_compiler_list
=
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3317 $as_echo_n "checking dependency style of $depcc... " >&6; }
3318 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
3319 $as_echo_n "(cached) " >&6
3321 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3322 # We make a subdir and do the tests there. Otherwise we can end up
3323 # making bogus files that we don't know about and never remove. For
3324 # instance it was reported that on HP-UX the gcc test will end up
3325 # making a dummy file named `D' -- because `-MD' means `put the output
3329 # Copy depcomp to subdir because otherwise we won't find it if we're
3330 # using a relative directory.
3331 cp "$am_depcomp" conftest.dir
3333 # We will build objects and dependencies in a subdirectory because
3334 # it helps to detect inapplicable dependency modes. For instance
3335 # both Tru64's cc and ICC support -MD to output dependencies as a
3336 # side effect of compilation, but ICC will put the dependencies in
3337 # the current directory while Tru64 will put them in the object
3341 am_cv_CXX_dependencies_compiler_type
=none
3342 if test "$am_compiler_list" = ""; then
3343 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3346 case " $depcc " in #(
3347 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3350 for depmode
in $am_compiler_list; do
3351 # Setup a source with many dependencies, because some compilers
3352 # like to wrap large dependency lists on column 80 (with \), and
3353 # we should not choose a depcomp mode which is confused by this.
3355 # We need to recreate these files for each test, as the compiler may
3356 # overwrite some of them when testing with obscure command lines.
3357 # This happens at least with the AIX C compiler.
3359 for i
in 1 2 3 4 5 6; do
3360 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3361 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3362 # Solaris 8's {/usr,}/bin/sh.
3363 touch sub
/conftst
$i.h
3365 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3367 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3368 # mode. It turns out that the SunPro C++ compiler does not properly
3369 # handle `-M -o', and we need to detect this. Also, some Intel
3370 # versions had trouble with output in subdirs
3371 am__obj
=sub
/conftest.
${OBJEXT-o}
3372 am__minus_obj
="-o $am__obj"
3375 # This depmode causes a compiler race in universal mode.
3376 test "$am__universal" = false ||
continue
3379 # after this tag, mechanisms are not by side-effect, so they'll
3380 # only be used when explicitly requested
3381 if test "x$enable_dependency_tracking" = xyes
; then
3387 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3388 # This compiler won't grok `-c -o', but also, the minuso test has
3389 # not run yet. These depmodes are late enough in the game, and
3390 # so weak that their functioning should not be impacted.
3391 am__obj
=conftest.
${OBJEXT-o}
3396 if depmode
=$depmode \
3397 source=sub
/conftest.c object
=$am__obj \
3398 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3399 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3400 >/dev
/null
2>conftest.err
&&
3401 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3402 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3403 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3404 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3405 # icc doesn't choke on unknown options, it will just issue warnings
3406 # or remarks (even with -Werror). So we grep stderr for any message
3407 # that says an option was ignored or not supported.
3408 # When given -MP, icc 7.0 and 7.1 complain thusly:
3409 # icc: Command line warning: ignoring option '-M'; no argument required
3410 # The diagnosis changed in icc 8.0:
3411 # icc: Command line remark: option '-MP' not supported
3412 if (grep 'ignoring option' conftest.err ||
3413 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3414 am_cv_CXX_dependencies_compiler_type
=$depmode
3423 am_cv_CXX_dependencies_compiler_type
=none
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3428 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3429 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3432 test "x$enable_dependency_tracking" != xno \
3433 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3434 am__fastdepCXX_TRUE
=
3435 am__fastdepCXX_FALSE
='#'
3437 am__fastdepCXX_TRUE
='#'
3438 am__fastdepCXX_FALSE
=
3450 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3451 if test -n "$ac_tool_prefix"; then
3452 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3453 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 $as_echo_n "checking for $ac_word... " >&6; }
3456 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
3457 $as_echo_n "(cached) " >&6
3461 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir
=.
3469 for ac_exec_ext
in '' $ac_executable_extensions; do
3470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3471 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3483 if test -n "$PKG_CONFIG"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3485 $as_echo "$PKG_CONFIG" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3493 if test -z "$ac_cv_path_PKG_CONFIG"; then
3494 ac_pt_PKG_CONFIG
=$PKG_CONFIG
3495 # Extract the first word of "pkg-config", so it can be a program name with args.
3496 set dummy pkg-config
; ac_word
=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 case $ac_pt_PKG_CONFIG in
3504 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3511 test -z "$as_dir" && as_dir
=.
3512 for ac_exec_ext
in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
3526 if test -n "$ac_pt_PKG_CONFIG"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3528 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3534 if test "x$ac_pt_PKG_CONFIG" = x
; then
3537 case $cross_compiling:$ac_tool_warned in
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3541 ac_tool_warned
=yes ;;
3543 PKG_CONFIG
=$ac_pt_PKG_CONFIG
3546 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
3550 if test -n "$PKG_CONFIG"; then
3551 _pkg_min_version
=0.9.0
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3553 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3554 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3556 $as_echo "yes" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALAC" >&5
3566 $as_echo_n "checking for ALAC... " >&6; }
3568 if test -n "$ALAC_CFLAGS"; then
3569 pkg_cv_ALAC_CFLAGS
="$ALAC_CFLAGS"
3570 elif test -n "$PKG_CONFIG"; then
3571 if test -n "$PKG_CONFIG" && \
3572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alac >= 0.0\""; } >&5
3573 ($PKG_CONFIG --exists --print-errors "alac >= 0.0") 2>&5
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then
3577 pkg_cv_ALAC_CFLAGS
=`$PKG_CONFIG --cflags "alac >= 0.0" 2>/dev/null`
3578 test "x$?" != "x0" && pkg_failed
=yes
3585 if test -n "$ALAC_LIBS"; then
3586 pkg_cv_ALAC_LIBS
="$ALAC_LIBS"
3587 elif test -n "$PKG_CONFIG"; then
3588 if test -n "$PKG_CONFIG" && \
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alac >= 0.0\""; } >&5
3590 ($PKG_CONFIG --exists --print-errors "alac >= 0.0") 2>&5
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; }; then
3594 pkg_cv_ALAC_LIBS
=`$PKG_CONFIG --libs "alac >= 0.0" 2>/dev/null`
3595 test "x$?" != "x0" && pkg_failed
=yes
3605 if test $pkg_failed = yes; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3610 _pkg_short_errors_supported
=yes
3612 _pkg_short_errors_supported
=no
3614 if test $_pkg_short_errors_supported = yes; then
3615 ALAC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alac >= 0.0" 2>&1`
3617 ALAC_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "alac >= 0.0" 2>&1`
3619 # Put the nasty error message in config.log where it belongs
3620 echo "$ALAC_PKG_ERRORS" >&5
3622 as_fn_error $?
"Package requirements (alac >= 0.0) were not met:
3626 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3627 installed software in a non-standard prefix.
3629 Alternatively, you may set the environment variables ALAC_CFLAGS
3630 and ALAC_LIBS to avoid the need to call pkg-config.
3631 See the pkg-config man page for more details." "$LINENO" 5
3632 elif test $pkg_failed = untried
; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
3638 is in your PATH or set the PKG_CONFIG environment variable to the full
3641 Alternatively, you may set the environment variables ALAC_CFLAGS
3642 and ALAC_LIBS to avoid the need to call pkg-config.
3643 See the pkg-config man page for more details.
3645 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3646 See \`config.log' for more details" "$LINENO" 5; }
3648 ALAC_CFLAGS
=$pkg_cv_ALAC_CFLAGS
3649 ALAC_LIBS
=$pkg_cv_ALAC_LIBS
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3651 $as_echo "yes" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3657 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3662 macro_version
='2.4.2'
3663 macro_revision
='1.3337'
3677 ltmain
="$ac_aux_dir/ltmain.sh"
3679 # Make sure we can run config.sub.
3680 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3681 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3684 $as_echo_n "checking build system type... " >&6; }
3685 if ${ac_cv_build+:} false
; then :
3686 $as_echo_n "(cached) " >&6
3688 ac_build_alias
=$build_alias
3689 test "x$ac_build_alias" = x
&&
3690 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3691 test "x$ac_build_alias" = x
&&
3692 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3693 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3694 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3698 $as_echo "$ac_cv_build" >&6; }
3699 case $ac_cv_build in
3701 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3704 ac_save_IFS
=$IFS; IFS
='-'
3710 # Remember, the first character of IFS is used to create $*,
3711 # except with old shells:
3714 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3718 $as_echo_n "checking host system type... " >&6; }
3719 if ${ac_cv_host+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 if test "x$host_alias" = x
; then
3723 ac_cv_host
=$ac_cv_build
3725 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3726 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3731 $as_echo "$ac_cv_host" >&6; }
3734 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3737 ac_save_IFS
=$IFS; IFS
='-'
3743 # Remember, the first character of IFS is used to create $*,
3744 # except with old shells:
3747 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3750 # Backslashify metacharacters that are still active within
3751 # double-quoted strings.
3752 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3754 # Same as above, but do not quote variable references.
3755 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3757 # Sed substitution to delay expansion of an escaped shell variable in a
3758 # double_quote_subst'ed string.
3759 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3761 # Sed substitution to delay expansion of an escaped single quote.
3762 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3764 # Sed substitution to avoid accidental globbing in evaled expressions
3765 no_glob_subst
='s/\*/\\\*/g'
3767 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3768 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3769 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3772 $as_echo_n "checking how to print strings... " >&6; }
3773 # Test print first, because it will be a builtin if present.
3774 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3775 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3777 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3780 # Use this function as a fallback that always works.
3781 func_fallback_echo ()
3783 eval 'cat <<_LTECHO_EOF
3787 ECHO='func_fallback_echo
'
3790 # func_echo_all arg...
3791 # Invoke $ECHO with all args, space-separated.
3798 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3799 $as_echo "printf" >&6; } ;;
3800 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3801 $as_echo "print -r" >&6; } ;;
3802 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3803 $as_echo "cat" >&6; } ;;
3820 ac_cpp='$CPP $CPPFLAGS'
3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3822 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3824 if test -n "$ac_tool_prefix"; then
3825 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3826 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_CC+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -n "$CC"; then
3833 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3842 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3863 if test -z "$ac_cv_prog_CC"; then
3865 # Extract the first word of "gcc", so it can be a program name with args.
3866 set dummy gcc; ac_word=$2
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3868 $as_echo_n "checking for $ac_word... " >&6; }
3869 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 if test -n "$ac_ct_CC"; then
3873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 test -z "$as_dir" && as_dir=.
3880 for ac_exec_ext in '' $ac_executable_extensions; do
3881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3882 ac_cv_prog_ac_ct_CC="gcc"
3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3893 if test -n "$ac_ct_CC"; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3895 $as_echo "$ac_ct_CC" >&6; }
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3901 if test "x$ac_ct_CC" = x; then
3904 case $cross_compiling:$ac_tool_warned in
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3908 ac_tool_warned=yes ;;
3916 if test -z "$CC"; then
3917 if test -n "$ac_tool_prefix"; then
3918 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3919 set dummy ${ac_tool_prefix}cc; ac_word=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_CC+:} false; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$CC"; then
3926 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir=.
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3935 ac_cv_prog_CC="${ac_tool_prefix}cc"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 if test -n "$CC"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3948 $as_echo "$CC" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3957 if test -z "$CC"; then
3958 # Extract the first word of "cc", so it can be a program name with args.
3959 set dummy cc; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_prog_CC+:} false; then :
3963 $as_echo_n "(cached) " >&6
3965 if test -n "$CC"; then
3966 ac_cv_prog_CC="$CC" # Let the user override the test.
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3976 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3977 ac_prog_rejected=yes
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 if test $ac_prog_rejected = yes; then
3989 # We found a bogon in the path, so make sure we never use it.
3990 set dummy $ac_cv_prog_CC
3992 if test $# != 0; then
3993 # We chose a different compiler from the bogus one.
3994 # However, it has the same basename, so the bogon will be chosen
3995 # first if we set CC to just the basename; use the full file name.
3997 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4003 if test -n "$CC"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4005 $as_echo "$CC" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4013 if test -z "$CC"; then
4014 if test -n "$ac_tool_prefix"; then
4015 for ac_prog in cl.exe
4017 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_CC+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 if test -n "$CC"; then
4025 ac_cv_prog_CC="$CC" # Let the user override the test.
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 if test -n "$CC"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047 $as_echo "$CC" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4054 test -n "$CC" && break
4057 if test -z "$CC"; then
4059 for ac_prog in cl.exe
4061 # Extract the first word of "$ac_prog", so it can be a program name with args.
4062 set dummy $ac_prog; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -n "$ac_ct_CC"; then
4069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4078 ac_cv_prog_ac_ct_CC="$ac_prog"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4089 if test -n "$ac_ct_CC"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4091 $as_echo "$ac_ct_CC" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4098 test -n "$ac_ct_CC" && break
4101 if test "x$ac_ct_CC" = x; then
4104 case $cross_compiling:$ac_tool_warned in
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4108 ac_tool_warned=yes ;;
4117 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4119 as_fn_error $? "no acceptable C compiler found in \$PATH
4120 See \`config.log
' for more details" "$LINENO" 5; }
4122 # Provide some information about the compiler.
4123 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4126 for ac_option in --version -v -V -qversion; do
4127 { { ac_try="$ac_compiler $ac_option >&5"
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4133 $as_echo "$ac_try_echo"; } >&5
4134 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4136 if test -s conftest.err; then
4138 ... rest of stderr output deleted ...
4139 10q
' conftest.err >conftest.er1
4140 cat conftest.er1 >&5
4142 rm -f conftest.er1 conftest.err
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4149 if ${ac_cv_c_compiler_gnu+:} false; then :
4150 $as_echo_n "(cached) " >&6
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4166 if ac_fn_c_try_compile "$LINENO"; then :
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4177 if test $ac_compiler_gnu = yes; then
4182 ac_test_CFLAGS=${CFLAGS+set}
4183 ac_save_CFLAGS=$CFLAGS
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4186 if ${ac_cv_prog_cc_g+:} false; then :
4187 $as_echo_n "(cached) " >&6
4189 ac_save_c_werror_flag=$ac_c_werror_flag
4190 ac_c_werror_flag=yes
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 if ac_fn_c_try_compile "$LINENO"; then :
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4219 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile "$LINENO"; then :
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 ac_c_werror_flag=$ac_save_c_werror_flag
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4246 $as_echo "$ac_cv_prog_cc_g" >&6; }
4247 if test "$ac_test_CFLAGS" = set; then
4248 CFLAGS=$ac_save_CFLAGS
4249 elif test $ac_cv_prog_cc_g = yes; then
4250 if test "$GCC" = yes; then
4256 if test "$GCC" = yes; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4264 if ${ac_cv_prog_cc_c89+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 ac_cv_prog_cc_c89=no
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 #include <sys/types.h>
4274 #include <sys/stat.h>
4275 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4276 struct buf
{ int x
; };
4277 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4278 static char
*e
(p
, i
)
4284 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4289 s
= g
(p
, va_arg
(v
,int
));
4294 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4295 function prototypes and stuff
, but not
'\xHH' hex character constants.
4296 These don
't provoke an error unfortunately, instead are silently treated
4297 as 'x
'. The following induces an error, until -std is added to get
4298 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4299 array size at least. It's necessary to
write '\x00'==0 to get something
4300 that
's true only with -std. */
4301 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4303 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4304 inside strings and character constants. */
4306 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4308 int test (int i, double x);
4309 struct s1 {int (*f) (int a);};
4310 struct s2 {int (*f) (double a);};
4311 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4317 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4322 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4323 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4325 CC="$ac_save_CC $ac_arg"
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 ac_cv_prog_cc_c89=$ac_arg
4329 rm -f core conftest.err conftest.$ac_objext
4330 test "x$ac_cv_prog_cc_c89" != "xno" && break
4332 rm -f conftest.$ac_ext
4337 case "x$ac_cv_prog_cc_c89" in
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4340 $as_echo "none needed" >&6; } ;;
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4343 $as_echo "unsupported" >&6; } ;;
4345 CC="$CC $ac_cv_prog_cc_c89"
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4347 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4349 if test "x$ac_cv_prog_cc_c89" != xno; then :
4354 ac_cpp='$CPP $CPPFLAGS'
4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4356 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4359 depcc="$CC" am_compiler_list=
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4362 $as_echo_n "checking dependency style of $depcc... " >&6; }
4363 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4364 $as_echo_n "(cached) " >&6
4366 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4367 # We make a subdir and do the tests there. Otherwise we can end up
4368 # making bogus files that we don't know about and never remove. For
4369 # instance it was reported that on HP-UX the gcc test will end up
4370 # making a dummy file named `D' -- because `-MD' means `put the output
4374 # Copy depcomp to subdir because otherwise we won't find it if we're
4375 # using a relative directory.
4376 cp "$am_depcomp" conftest.dir
4378 # We will build objects and dependencies in a subdirectory because
4379 # it helps to detect inapplicable dependency modes. For instance
4380 # both Tru64's cc and ICC support -MD to output dependencies as a
4381 # side effect of compilation, but ICC will put the dependencies in
4382 # the current directory while Tru64 will put them in the object
4386 am_cv_CC_dependencies_compiler_type
=none
4387 if test "$am_compiler_list" = ""; then
4388 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4391 case " $depcc " in #(
4392 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4395 for depmode
in $am_compiler_list; do
4396 # Setup a source with many dependencies, because some compilers
4397 # like to wrap large dependency lists on column 80 (with \), and
4398 # we should not choose a depcomp mode which is confused by this.
4400 # We need to recreate these files for each test, as the compiler may
4401 # overwrite some of them when testing with obscure command lines.
4402 # This happens at least with the AIX C compiler.
4404 for i
in 1 2 3 4 5 6; do
4405 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4406 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4407 # Solaris 8's {/usr,}/bin/sh.
4408 touch sub
/conftst
$i.h
4410 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4412 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4413 # mode. It turns out that the SunPro C++ compiler does not properly
4414 # handle `-M -o', and we need to detect this. Also, some Intel
4415 # versions had trouble with output in subdirs
4416 am__obj
=sub
/conftest.
${OBJEXT-o}
4417 am__minus_obj
="-o $am__obj"
4420 # This depmode causes a compiler race in universal mode.
4421 test "$am__universal" = false ||
continue
4424 # after this tag, mechanisms are not by side-effect, so they'll
4425 # only be used when explicitly requested
4426 if test "x$enable_dependency_tracking" = xyes
; then
4432 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4433 # This compiler won't grok `-c -o', but also, the minuso test has
4434 # not run yet. These depmodes are late enough in the game, and
4435 # so weak that their functioning should not be impacted.
4436 am__obj
=conftest.
${OBJEXT-o}
4441 if depmode
=$depmode \
4442 source=sub
/conftest.c object
=$am__obj \
4443 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4444 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4445 >/dev
/null
2>conftest.err
&&
4446 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4447 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4448 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4449 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4450 # icc doesn't choke on unknown options, it will just issue warnings
4451 # or remarks (even with -Werror). So we grep stderr for any message
4452 # that says an option was ignored or not supported.
4453 # When given -MP, icc 7.0 and 7.1 complain thusly:
4454 # icc: Command line warning: ignoring option '-M'; no argument required
4455 # The diagnosis changed in icc 8.0:
4456 # icc: Command line remark: option '-MP' not supported
4457 if (grep 'ignoring option' conftest.err ||
4458 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4459 am_cv_CC_dependencies_compiler_type
=$depmode
4468 am_cv_CC_dependencies_compiler_type
=none
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4473 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4474 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4477 test "x$enable_dependency_tracking" != xno \
4478 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4480 am__fastdepCC_FALSE
='#'
4482 am__fastdepCC_TRUE
='#'
4483 am__fastdepCC_FALSE
=
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4488 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4489 if ${ac_cv_path_SED+:} false
; then :
4490 $as_echo_n "(cached) " >&6
4492 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4493 for ac_i
in 1 2 3 4 5 6 7; do
4494 ac_script
="$ac_script$as_nl$ac_script"
4496 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4497 { ac_script
=; unset ac_script
;}
4498 if test -z "$SED"; then
4499 ac_path_SED_found
=false
4500 # Loop through the user's path and test for each of PROGNAME-LIST
4501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir
=.
4506 for ac_prog
in sed gsed
; do
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4509 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4510 # Check for GNU ac_path_SED and select it if it is found.
4511 # Check for GNU $ac_path_SED
4512 case `"$ac_path_SED" --version 2>&1` in
4514 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4517 $as_echo_n 0123456789 >"conftest.in"
4520 cat "conftest.in" "conftest.in" >"conftest.tmp"
4521 mv "conftest.tmp" "conftest.in"
4522 cp "conftest.in" "conftest.nl"
4523 $as_echo '' >> "conftest.nl"
4524 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4525 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4526 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4527 if test $ac_count -gt ${ac_path_SED_max-0}; then
4528 # Best one so far, save it but keep looking for a better one
4529 ac_cv_path_SED
="$ac_path_SED"
4530 ac_path_SED_max
=$ac_count
4532 # 10*(2^10) chars as input seems more than enough
4533 test $ac_count -gt 10 && break
4535 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4538 $ac_path_SED_found && break 3
4543 if test -z "$ac_cv_path_SED"; then
4544 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4552 $as_echo "$ac_cv_path_SED" >&6; }
4553 SED
="$ac_cv_path_SED"
4556 test -z "$SED" && SED
=sed
4557 Xsed
="$SED -e 1s/^X//"
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4571 if ${ac_cv_path_GREP+:} false
; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -z "$GREP"; then
4575 ac_path_GREP_found
=false
4576 # Loop through the user's path and test for each of PROGNAME-LIST
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_prog
in grep ggrep
; do
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4585 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4586 # Check for GNU ac_path_GREP and select it if it is found.
4587 # Check for GNU $ac_path_GREP
4588 case `"$ac_path_GREP" --version 2>&1` in
4590 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4593 $as_echo_n 0123456789 >"conftest.in"
4596 cat "conftest.in" "conftest.in" >"conftest.tmp"
4597 mv "conftest.tmp" "conftest.in"
4598 cp "conftest.in" "conftest.nl"
4599 $as_echo 'GREP' >> "conftest.nl"
4600 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4601 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4602 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4603 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4604 # Best one so far, save it but keep looking for a better one
4605 ac_cv_path_GREP
="$ac_path_GREP"
4606 ac_path_GREP_max
=$ac_count
4608 # 10*(2^10) chars as input seems more than enough
4609 test $ac_count -gt 10 && break
4611 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4614 $ac_path_GREP_found && break 3
4619 if test -z "$ac_cv_path_GREP"; then
4620 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4623 ac_cv_path_GREP
=$GREP
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4628 $as_echo "$ac_cv_path_GREP" >&6; }
4629 GREP
="$ac_cv_path_GREP"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4633 $as_echo_n "checking for egrep... " >&6; }
4634 if ${ac_cv_path_EGREP+:} false
; then :
4635 $as_echo_n "(cached) " >&6
4637 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4638 then ac_cv_path_EGREP
="$GREP -E"
4640 if test -z "$EGREP"; then
4641 ac_path_EGREP_found
=false
4642 # Loop through the user's path and test for each of PROGNAME-LIST
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_prog
in egrep; do
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4651 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4652 # Check for GNU ac_path_EGREP and select it if it is found.
4653 # Check for GNU $ac_path_EGREP
4654 case `"$ac_path_EGREP" --version 2>&1` in
4656 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4659 $as_echo_n 0123456789 >"conftest.in"
4662 cat "conftest.in" "conftest.in" >"conftest.tmp"
4663 mv "conftest.tmp" "conftest.in"
4664 cp "conftest.in" "conftest.nl"
4665 $as_echo 'EGREP' >> "conftest.nl"
4666 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4667 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4668 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4669 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4670 # Best one so far, save it but keep looking for a better one
4671 ac_cv_path_EGREP
="$ac_path_EGREP"
4672 ac_path_EGREP_max
=$ac_count
4674 # 10*(2^10) chars as input seems more than enough
4675 test $ac_count -gt 10 && break
4677 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4680 $ac_path_EGREP_found && break 3
4685 if test -z "$ac_cv_path_EGREP"; then
4686 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4689 ac_cv_path_EGREP
=$EGREP
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4695 $as_echo "$ac_cv_path_EGREP" >&6; }
4696 EGREP
="$ac_cv_path_EGREP"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4700 $as_echo_n "checking for fgrep... " >&6; }
4701 if ${ac_cv_path_FGREP+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4705 then ac_cv_path_FGREP
="$GREP -F"
4707 if test -z "$FGREP"; then
4708 ac_path_FGREP_found
=false
4709 # Loop through the user's path and test for each of PROGNAME-LIST
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_prog
in fgrep
; do
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4718 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4719 # Check for GNU ac_path_FGREP and select it if it is found.
4720 # Check for GNU $ac_path_FGREP
4721 case `"$ac_path_FGREP" --version 2>&1` in
4723 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4726 $as_echo_n 0123456789 >"conftest.in"
4729 cat "conftest.in" "conftest.in" >"conftest.tmp"
4730 mv "conftest.tmp" "conftest.in"
4731 cp "conftest.in" "conftest.nl"
4732 $as_echo 'FGREP' >> "conftest.nl"
4733 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4734 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4735 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4736 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4737 # Best one so far, save it but keep looking for a better one
4738 ac_cv_path_FGREP
="$ac_path_FGREP"
4739 ac_path_FGREP_max
=$ac_count
4741 # 10*(2^10) chars as input seems more than enough
4742 test $ac_count -gt 10 && break
4744 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4747 $ac_path_FGREP_found && break 3
4752 if test -z "$ac_cv_path_FGREP"; then
4753 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4756 ac_cv_path_FGREP
=$FGREP
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4762 $as_echo "$ac_cv_path_FGREP" >&6; }
4763 FGREP
="$ac_cv_path_FGREP"
4766 test -z "$GREP" && GREP
=grep
4786 # Check whether --with-gnu-ld was given.
4787 if test "${with_gnu_ld+set}" = set; then :
4788 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4794 if test "$GCC" = yes; then
4795 # Check if gcc -print-prog-name=ld gives a path.
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4797 $as_echo_n "checking for ld used by $CC... " >&6; }
4800 # gcc leaves a trailing carriage return which upsets mingw
4801 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4803 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4806 # Accept absolute paths.
4808 re_direlt
='/[^/][^/]*/\.\./'
4809 # Canonicalize the pathname of ld
4810 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4811 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4812 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4814 test -z "$LD" && LD
="$ac_prog"
4817 # If it fails, then pretend we aren't using GCC.
4821 # If it is relative, then search for the first ld in PATH.
4825 elif test "$with_gnu_ld" = yes; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4827 $as_echo_n "checking for GNU ld... " >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4830 $as_echo_n "checking for non-GNU ld... " >&6; }
4832 if ${lt_cv_path_LD+:} false
; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -z "$LD"; then
4836 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4837 for ac_dir
in $PATH; do
4839 test -z "$ac_dir" && ac_dir
=.
4840 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4841 lt_cv_path_LD
="$ac_dir/$ac_prog"
4842 # Check to see if the program is GNU ld. I'd rather use --version,
4843 # but apparently some variants of GNU ld only accept -v.
4844 # Break only if it was the GNU/non-GNU ld that we prefer.
4845 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4846 *GNU
* |
*'with BFD'*)
4847 test "$with_gnu_ld" != no
&& break
4850 test "$with_gnu_ld" != yes && break
4857 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4862 if test -n "$LD"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4864 $as_echo "$LD" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4869 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4871 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4872 if ${lt_cv_prog_gnu_ld+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4876 case `$LD -v 2>&1 </dev/null` in
4877 *GNU
* |
*'with BFD'*)
4878 lt_cv_prog_gnu_ld
=yes
4881 lt_cv_prog_gnu_ld
=no
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4886 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4887 with_gnu_ld
=$lt_cv_prog_gnu_ld
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4898 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4899 if ${lt_cv_path_NM+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$NM"; then
4903 # Let the user override the test.
4906 lt_nm_to_check
="${ac_tool_prefix}nm"
4907 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4908 lt_nm_to_check
="$lt_nm_to_check nm"
4910 for lt_tmp_nm
in $lt_nm_to_check; do
4911 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4912 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4914 test -z "$ac_dir" && ac_dir
=.
4915 tmp_nm
="$ac_dir/$lt_tmp_nm"
4916 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4917 # Check to see if the nm accepts a BSD-compat flag.
4918 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4919 # nm: unknown option "B" ignored
4920 # Tru64's nm complains that /dev/null is an invalid object file
4921 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4922 */dev
/null
* |
*'Invalid file or object type'*)
4923 lt_cv_path_NM
="$tmp_nm -B"
4927 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4929 lt_cv_path_NM
="$tmp_nm -p"
4933 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4934 continue # so that we can try to find one that supports BSD flags
4943 : ${lt_cv_path_NM=no}
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4947 $as_echo "$lt_cv_path_NM" >&6; }
4948 if test "$lt_cv_path_NM" != "no"; then
4951 # Didn't find any BSD compatible name lister, look for dumpbin.
4952 if test -n "$DUMPBIN"; then :
4953 # Let the user override the test.
4955 if test -n "$ac_tool_prefix"; then
4956 for ac_prog
in dumpbin
"link -dump"
4958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4959 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$DUMPBIN"; then
4966 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 DUMPBIN
=$ac_cv_prog_DUMPBIN
4986 if test -n "$DUMPBIN"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4988 $as_echo "$DUMPBIN" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$DUMPBIN" && break
4998 if test -z "$DUMPBIN"; then
4999 ac_ct_DUMPBIN
=$DUMPBIN
5000 for ac_prog
in dumpbin
"link -dump"
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy
$ac_prog; ac_word
=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$ac_ct_DUMPBIN"; then
5010 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5030 if test -n "$ac_ct_DUMPBIN"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5032 $as_echo "$ac_ct_DUMPBIN" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$ac_ct_DUMPBIN" && break
5042 if test "x$ac_ct_DUMPBIN" = x
; then
5045 case $cross_compiling:$ac_tool_warned in
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned
=yes ;;
5051 DUMPBIN
=$ac_ct_DUMPBIN
5055 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5057 DUMPBIN
="$DUMPBIN -symbols"
5065 if test "$DUMPBIN" != ":"; then
5069 test -z "$NM" && NM
=nm
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5077 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5078 if ${lt_cv_nm_interface+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5081 lt_cv_nm_interface
="BSD nm"
5082 echo "int some_variable = 0;" > conftest.
$ac_ext
5083 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5084 (eval "$ac_compile" 2>conftest.err
)
5085 cat conftest.err
>&5
5086 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5087 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5088 cat conftest.err
>&5
5089 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5090 cat conftest.out
>&5
5091 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5092 lt_cv_nm_interface
="MS dumpbin"
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5097 $as_echo "$lt_cv_nm_interface" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5100 $as_echo_n "checking whether ln -s works... " >&6; }
5102 if test "$LN_S" = "ln -s"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5107 $as_echo "no, using $LN_S" >&6; }
5110 # find the maximum length of command line arguments
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5112 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5113 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5114 $as_echo_n "(cached) " >&6
5121 # On DJGPP, this test can blow up pretty badly due to problems in libc
5122 # (any single argument exceeding 2000 bytes causes a buffer overrun
5123 # during glob expansion). Even if it were fixed, the result of this
5124 # check would be larger than it should be.
5125 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5129 # Under GNU Hurd, this test is not required because there is
5130 # no limit to the length of command line arguments.
5131 # Libtool will interpret -1 as no limit whatsoever
5132 lt_cv_sys_max_cmd_len
=-1;
5135 cygwin
* | mingw
* | cegcc
*)
5136 # On Win9x/ME, this test blows up -- it succeeds, but takes
5137 # about 5 minutes as the teststring grows exponentially.
5138 # Worse, since 9x/ME are not pre-emptively multitasking,
5139 # you end up with a "frozen" computer, even though with patience
5140 # the test eventually succeeds (with a max line length of 256k).
5141 # Instead, let's just punt: use the minimum linelength reported by
5142 # all of the supported platforms: 8192 (on NT/2K/XP).
5143 lt_cv_sys_max_cmd_len
=8192;
5147 # On MiNT this can take a long time and run out of memory.
5148 lt_cv_sys_max_cmd_len
=8192;
5152 # On AmigaOS with pdksh, this test takes hours, literally.
5153 # So we just punt and use a minimum line length of 8192.
5154 lt_cv_sys_max_cmd_len
=8192;
5157 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5158 # This has been around since 386BSD, at least. Likely further.
5159 if test -x /sbin
/sysctl
; then
5160 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5161 elif test -x /usr
/sbin
/sysctl
; then
5162 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5164 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5166 # And add a safety zone
5167 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5168 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5172 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5173 lt_cv_sys_max_cmd_len
=196608
5177 # The test takes a long time on OS/2.
5178 lt_cv_sys_max_cmd_len
=8192
5182 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5183 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5184 # nice to cause kernel panics so lets avoid the loop below.
5185 # First set a reasonable default.
5186 lt_cv_sys_max_cmd_len
=16384
5188 if test -x /sbin
/sysconfig
; then
5189 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5190 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5195 lt_cv_sys_max_cmd_len
=102400
5197 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5198 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5199 if test -n "$kargmax"; then
5200 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5202 lt_cv_sys_max_cmd_len
=32768
5206 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5207 if test -n "$lt_cv_sys_max_cmd_len"; then
5208 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5209 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5211 # Make teststring a little bigger before we do anything with it.
5212 # a 1K string should be a reasonable start.
5213 for i
in 1 2 3 4 5 6 7 8 ; do
5214 teststring
=$teststring$teststring
5216 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5217 # If test is not a shell built-in, we'll probably end up computing a
5218 # maximum length that is only half of the actual maximum length, but
5220 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5221 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5222 test $i != 17 # 1/2 MB should be enough
5225 teststring
=$teststring$teststring
5227 # Only check the string length outside the loop.
5228 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5230 # Add a significant safety factor because C++ compilers can tack on
5231 # massive amounts of additional arguments before passing them to the
5232 # linker. It appears as though 1/2 is a usable value.
5233 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5240 if test -n $lt_cv_sys_max_cmd_len ; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5242 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5245 $as_echo "none" >&6; }
5247 max_cmd_len
=$lt_cv_sys_max_cmd_len
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5259 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5260 # Try some XSI features
5263 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5265 && eval 'test $(( 1 + 1 )) -eq 2 \
5266 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5269 $as_echo "$xsi_shell" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5273 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5275 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5277 && lt_shell_append=yes
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5279 $as_echo "$lt_shell_append" >&6; }
5282 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5292 # test EBCDIC or ASCII
5293 case `echo X|tr X '\101'` in
5294 A) # ASCII based system
5295 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5296 lt_SP2NL='tr \040 \012'
5297 lt_NL2SP='tr \015\012 \040\040'
5299 *) # EBCDIC based system
5300 lt_SP2NL='tr \100 \n'
5301 lt_NL2SP='tr \r\n \100\100'
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5314 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5315 if ${lt_cv_to_host_file_cmd+:} false; then :
5316 $as_echo_n "(cached
) " >&6
5321 *-*-mingw* ) # actually msys
5322 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5325 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5327 * ) # otherwise, assume *nix
5328 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5334 *-*-mingw* ) # actually msys
5335 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5338 lt_cv_to_host_file_cmd=func_convert_file_noop
5340 * ) # otherwise, assume *nix
5341 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5345 * ) # unhandled hosts (and "normal
" native builds)
5346 lt_cv_to_host_file_cmd=func_convert_file_noop
5352 to_host_file_cmd=$lt_cv_to_host_file_cmd
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5354 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5361 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5362 if ${lt_cv_to_tool_file_cmd+:} false; then :
5363 $as_echo_n "(cached
) " >&6
5365 #assume ordinary cross tools, or native build.
5366 lt_cv_to_tool_file_cmd=func_convert_file_noop
5370 *-*-mingw* ) # actually msys
5371 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5379 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5381 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5388 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5389 if ${lt_cv_ld_reload_flag+:} false; then :
5390 $as_echo_n "(cached
) " >&6
5392 lt_cv_ld_reload_flag='-r'
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5395 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5396 reload_flag=$lt_cv_ld_reload_flag
5397 case $reload_flag in
5399 *) reload_flag=" $reload_flag" ;;
5401 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5403 cygwin* | mingw* | pw32* | cegcc*)
5404 if test "$GCC" != yes; then
5409 if test "$GCC" = yes; then
5410 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5429 $as_echo_n "checking
for $ac_word...
" >&6; }
5430 if ${ac_cv_prog_OBJDUMP+:} false; then :
5431 $as_echo_n "(cached
) " >&6
5433 if test -n "$OBJDUMP"; then
5434 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5453 OBJDUMP=$ac_cv_prog_OBJDUMP
5454 if test -n "$OBJDUMP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5456 $as_echo "$OBJDUMP" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5459 $as_echo "no
" >&6; }
5464 if test -z "$ac_cv_prog_OBJDUMP"; then
5465 ac_ct_OBJDUMP=$OBJDUMP
5466 # Extract the first word of "objdump
", so it can be a program name with args.
5467 set dummy objdump; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5469 $as_echo_n "checking
for $ac_word...
" >&6; }
5470 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5471 $as_echo_n "(cached
) " >&6
5473 if test -n "$ac_ct_OBJDUMP"; then
5474 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5494 if test -n "$ac_ct_OBJDUMP"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5496 $as_echo "$ac_ct_OBJDUMP" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5499 $as_echo "no
" >&6; }
5502 if test "x
$ac_ct_OBJDUMP" = x; then
5505 case $cross_compiling:$ac_tool_warned in
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5508 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5509 ac_tool_warned=yes ;;
5511 OBJDUMP=$ac_ct_OBJDUMP
5514 OBJDUMP="$ac_cv_prog_OBJDUMP"
5517 test -z "$OBJDUMP" && OBJDUMP=objdump
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5528 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5529 if ${lt_cv_deplibs_check_method+:} false; then :
5530 $as_echo_n "(cached
) " >&6
5532 lt_cv_file_magic_cmd='$MAGIC_CMD'
5533 lt_cv_file_magic_test_file=
5534 lt_cv_deplibs_check_method='unknown'
5535 # Need to set the preceding variable on all platforms that support
5536 # interlibrary dependencies.
5537 # 'none' -- dependencies not supported.
5538 # `unknown' -- same as none, but documents that we really don't know.
5539 # 'pass_all' -- all dependencies passed with no checks.
5540 # 'test_compile' -- check by making test program.
5541 # 'file_magic [[regex]]' -- check by looking for files in library path
5542 # which responds to the $file_magic_cmd with a given extended regex.
5543 # If you have `file' or equivalent on your system and you're not sure
5544 # whether `pass_all' will *always* work, you probably want this one.
5548 lt_cv_deplibs_check_method=pass_all
5552 lt_cv_deplibs_check_method=pass_all
5556 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5557 lt_cv_file_magic_cmd='/usr/bin/file -L'
5558 lt_cv_file_magic_test_file=/shlib/libc.so
5562 # func_win32_libid is a shell function defined in ltmain.sh
5563 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5564 lt_cv_file_magic_cmd='func_win32_libid'
5568 # Base MSYS/MinGW do not provide the 'file' command needed by
5569 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5570 # unless we find 'file', for example because we are cross-compiling.
5571 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5572 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5573 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5574 lt_cv_file_magic_cmd='func_win32_libid'
5576 # Keep this pattern in sync with the one in func_win32_libid.
5577 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5578 lt_cv_file_magic_cmd='$OBJDUMP -f'
5583 # use the weaker test based on 'objdump'. See mingw*.
5584 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5585 lt_cv_file_magic_cmd='$OBJDUMP -f'
5588 darwin* | rhapsody*)
5589 lt_cv_deplibs_check_method=pass_all
5592 freebsd* | dragonfly*)
5593 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5596 # Not sure whether the presence of OpenBSD here was a mistake.
5597 # Let's accept both of them until this is cleared up.
5598 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5599 lt_cv_file_magic_cmd=/usr/bin/file
5600 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5604 lt_cv_deplibs_check_method=pass_all
5609 lt_cv_deplibs_check_method=pass_all
5613 lt_cv_deplibs_check_method=pass_all
5616 hpux10.20* | hpux11*)
5617 lt_cv_file_magic_cmd=/usr/bin/file
5620 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5621 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5624 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]'
5625 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5628 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5629 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5635 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5636 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5639 irix5* | irix6* | nonstopux*)
5641 *-32|*"-32 ") libmagic=32-bit;;
5642 *-n32|*"-n32 ") libmagic=N32;;
5643 *-64|*"-64 ") libmagic=64-bit;;
5644 *) libmagic=never-match;;
5646 lt_cv_deplibs_check_method=pass_all
5649 # This must be glibc/ELF.
5650 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5651 lt_cv_deplibs_check_method=pass_all
5654 netbsd* | netbsdelf*-gnu)
5655 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5656 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5658 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5663 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5664 lt_cv_file_magic_cmd=/usr/bin/file
5665 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5669 lt_cv_deplibs_check_method=pass_all
5673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5674 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5676 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5680 osf3* | osf4* | osf5*)
5681 lt_cv_deplibs_check_method=pass_all
5685 lt_cv_deplibs_check_method=pass_all
5689 lt_cv_deplibs_check_method=pass_all
5692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5693 lt_cv_deplibs_check_method=pass_all
5697 case $host_vendor in
5699 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]'
5700 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5703 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_file_magic_cmd='/bin/file'
5707 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5710 lt_cv_file_magic_cmd='/bin/file'
5711 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5712 lt_cv_file_magic_test_file=/lib/libc.so
5715 lt_cv_deplibs_check_method=pass_all
5718 lt_cv_deplibs_check_method=pass_all
5724 lt_cv_deplibs_check_method=pass_all
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5730 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5734 if test "$build" = "$host"; then
5737 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5740 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5746 file_magic_cmd=$lt_cv_file_magic_cmd
5747 deplibs_check_method=$lt_cv_deplibs_check_method
5748 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5771 if test -n "$ac_tool_prefix"; then
5772 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5775 $as_echo_n "checking
for $ac_word...
" >&6; }
5776 if ${ac_cv_prog_DLLTOOL+:} false; then :
5777 $as_echo_n "(cached
) " >&6
5779 if test -n "$DLLTOOL"; then
5780 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5789 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5799 DLLTOOL=$ac_cv_prog_DLLTOOL
5800 if test -n "$DLLTOOL"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5802 $as_echo "$DLLTOOL" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5805 $as_echo "no
" >&6; }
5810 if test -z "$ac_cv_prog_DLLTOOL"; then
5811 ac_ct_DLLTOOL=$DLLTOOL
5812 # Extract the first word of "dlltool
", so it can be a program name with args.
5813 set dummy dlltool; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5815 $as_echo_n "checking
for $ac_word...
" >&6; }
5816 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5817 $as_echo_n "(cached
) " >&6
5819 if test -n "$ac_ct_DLLTOOL"; then
5820 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5839 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5840 if test -n "$ac_ct_DLLTOOL"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5842 $as_echo "$ac_ct_DLLTOOL" >&6; }
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5845 $as_echo "no
" >&6; }
5848 if test "x
$ac_ct_DLLTOOL" = x; then
5851 case $cross_compiling:$ac_tool_warned in
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5854 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5855 ac_tool_warned=yes ;;
5857 DLLTOOL=$ac_ct_DLLTOOL
5860 DLLTOOL="$ac_cv_prog_DLLTOOL"
5863 test -z "$DLLTOOL" && DLLTOOL=dlltool
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5875 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5876 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5877 $as_echo_n "(cached
) " >&6
5879 lt_cv_sharedlib_from_linklib_cmd='unknown'
5882 cygwin* | mingw* | pw32* | cegcc*)
5883 # two different shell functions defined in ltmain.sh
5884 # decide which to use based on capabilities of $DLLTOOL
5885 case `$DLLTOOL --help 2>&1` in
5886 *--identify-strict*)
5887 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5890 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5895 # fallback: assume linklib IS sharedlib
5896 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5902 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5903 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5904 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5913 if test -n "$ac_tool_prefix"; then
5916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5919 $as_echo_n "checking
for $ac_word...
" >&6; }
5920 if ${ac_cv_prog_AR+:} false; then :
5921 $as_echo_n "(cached
) " >&6
5923 if test -n "$AR"; then
5924 ac_cv_prog_AR="$AR" # Let the user override the test.
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5944 if test -n "$AR"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5946 $as_echo "$AR" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5949 $as_echo "no
" >&6; }
5953 test -n "$AR" && break
5956 if test -z "$AR"; then
5960 # Extract the first word of "$ac_prog", so it can be a program name with args.
5961 set dummy $ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5963 $as_echo_n "checking
for $ac_word...
" >&6; }
5964 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5965 $as_echo_n "(cached
) " >&6
5967 if test -n "$ac_ct_AR"; then
5968 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977 ac_cv_prog_ac_ct_AR="$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5987 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5988 if test -n "$ac_ct_AR"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5990 $as_echo "$ac_ct_AR" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5993 $as_echo "no
" >&6; }
5997 test -n "$ac_ct_AR" && break
6000 if test "x
$ac_ct_AR" = x; then
6003 case $cross_compiling:$ac_tool_warned in
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6006 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6007 ac_tool_warned=yes ;;
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6027 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6028 if ${lt_cv_ar_at_file+:} false; then :
6029 $as_echo_n "(cached
) " >&6
6032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6043 if ac_fn_c_try_compile "$LINENO"; then :
6044 echo conftest.$ac_objext > conftest.lst
6045 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6046 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6047 (eval $lt_ar_try) 2>&5
6049 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6050 test $ac_status = 0; }
6051 if test "$ac_status" -eq 0; then
6052 # Ensure the archiver fails upon bogus file names.
6053 rm -f conftest.$ac_objext libconftest.a
6054 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6055 (eval $lt_ar_try) 2>&5
6057 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6058 test $ac_status = 0; }
6059 if test "$ac_status" -ne 0; then
6063 rm -f conftest.* libconftest.a
6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6070 $as_echo "$lt_cv_ar_at_file" >&6; }
6072 if test "x
$lt_cv_ar_at_file" = xno; then
6075 archiver_list_spec=$lt_cv_ar_at_file
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}strip; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6088 $as_echo_n "checking
for $ac_word...
" >&6; }
6089 if ${ac_cv_prog_STRIP+:} false; then :
6090 $as_echo_n "(cached
) " >&6
6092 if test -n "$STRIP"; then
6093 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6112 STRIP=$ac_cv_prog_STRIP
6113 if test -n "$STRIP"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6115 $as_echo "$STRIP" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6118 $as_echo "no
" >&6; }
6123 if test -z "$ac_cv_prog_STRIP"; then
6125 # Extract the first word of "strip
", so it can be a program name with args.
6126 set dummy strip; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6128 $as_echo_n "checking
for $ac_word...
" >&6; }
6129 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6130 $as_echo_n "(cached
) " >&6
6132 if test -n "$ac_ct_STRIP"; then
6133 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_ac_ct_STRIP="strip
"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6152 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6153 if test -n "$ac_ct_STRIP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6155 $as_echo "$ac_ct_STRIP" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6158 $as_echo "no
" >&6; }
6161 if test "x
$ac_ct_STRIP" = x; then
6164 case $cross_compiling:$ac_tool_warned in
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6167 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6168 ac_tool_warned=yes ;;
6173 STRIP="$ac_cv_prog_STRIP"
6176 test -z "$STRIP" && STRIP=:
6183 if test -n "$ac_tool_prefix"; then
6184 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6187 $as_echo_n "checking
for $ac_word...
" >&6; }
6188 if ${ac_cv_prog_RANLIB+:} false; then :
6189 $as_echo_n "(cached
) " >&6
6191 if test -n "$RANLIB"; then
6192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6211 RANLIB=$ac_cv_prog_RANLIB
6212 if test -n "$RANLIB"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6214 $as_echo "$RANLIB" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6217 $as_echo "no
" >&6; }
6222 if test -z "$ac_cv_prog_RANLIB"; then
6223 ac_ct_RANLIB=$RANLIB
6224 # Extract the first word of "ranlib
", so it can be a program name with args.
6225 set dummy ranlib; ac_word=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6227 $as_echo_n "checking
for $ac_word...
" >&6; }
6228 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6229 $as_echo_n "(cached
) " >&6
6231 if test -n "$ac_ct_RANLIB"; then
6232 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6251 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6252 if test -n "$ac_ct_RANLIB"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6254 $as_echo "$ac_ct_RANLIB" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6257 $as_echo "no
" >&6; }
6260 if test "x
$ac_ct_RANLIB" = x; then
6263 case $cross_compiling:$ac_tool_warned in
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6266 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6267 ac_tool_warned=yes ;;
6269 RANLIB=$ac_ct_RANLIB
6272 RANLIB="$ac_cv_prog_RANLIB"
6275 test -z "$RANLIB" && RANLIB=:
6282 # Determine commands to create old-style static archives.
6283 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6284 old_postinstall_cmds='chmod 644 $oldlib'
6285 old_postuninstall_cmds=
6287 if test -n "$RANLIB"; then
6290 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6293 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6296 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6301 lock_old_archive_extraction=yes ;;
6303 lock_old_archive_extraction=no ;;
6344 # If no C compiler was specified, use CC.
6347 # If no C compiler flags were specified, use CFLAGS.
6348 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6350 # Allow CC to be a program name with arguments.
6354 # Check for command to grab the raw symbol name followed by C symbol from nm.
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6356 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6357 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6358 $as_echo_n "(cached
) " >&6
6361 # These are sane defaults that work on at least a few old systems.
6362 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6364 # Character class describing NM global symbol codes.
6365 symcode='[BCDEGRST]'
6367 # Regexp to match symbols that can be accessed directly from C.
6368 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6370 # Define system-specific variables.
6375 cygwin* | mingw* | pw32* | cegcc*)
6376 symcode='[ABCDGISTW]'
6379 if test "$host_cpu" = ia64; then
6380 symcode='[ABCDEGRST]'
6384 symcode='[BCDEGRST]'
6387 symcode='[BCDEGQRST]'
6398 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6406 # If we're using GNU nm, then use its standard symbol codes.
6407 case `$NM -V 2>&1` in
6408 *GNU* | *'with BFD'*)
6409 symcode='[ABCDGIRSTW]' ;;
6412 # Transform an extracted symbol line into a proper C declaration.
6413 # Some systems (esp. on ia64) link data and code symbols differently,
6414 # so use this general approach.
6415 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6417 # Transform an extracted symbol line into symbol name and symbol address
6418 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6419 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'"
6421 # Handle CRLF in mingw tool chain
6425 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6429 # Try without a prefix underscore, then with it.
6430 for ac_symprfx in "" "_
"; do
6432 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6433 symxfrm="\\1 $ac_symprfx\\2 \\2"
6435 # Write the raw and C identifiers.
6436 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6437 # Fake it for dumpbin and say T for any non-static function
6438 # and D for any global variable.
6439 # Also find C++ and __fastcall symbols from MSVC++,
6440 # which start with @ or ?.
6441 lt_cv_sys_global_symbol_pipe="$AWK '"\
6442 " {last_section=section; section=\$ 3};"\
6443 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6444 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6445 " \$ 0!~/External *\|/{next};"\
6446 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6447 " {if(hide[section]) next};"\
6448 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6449 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6450 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6451 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6452 " ' prfx
=^
$ac_symprfx"
6454 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6456 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6458 # Check to see that the pipe works correctly.
6462 cat > conftest.$ac_ext <<_LT_EOF
6467 void nm_test_func(void);
6468 void nm_test_func(void){}
6472 int main(){nm_test_var='a';nm_test_func();return(0);}
6475 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6476 (eval $ac_compile) 2>&5
6478 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6479 test $ac_status = 0; }; then
6480 # Now try to grab the symbols.
6482 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6483 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6485 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6486 test $ac_status = 0; } && test -s "$nlist"; then
6487 # Try sorting and uniquifying the output.
6488 if sort "$nlist" | uniq > "$nlist"T; then
6489 mv -f "$nlist"T "$nlist"
6494 # Make sure that we snagged all the symbols we need.
6495 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6496 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6497 cat <<_LT_EOF > conftest.$ac_ext
6498 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6499 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6500 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6501 relocations are performed -- see ld's documentation on pseudo-relocs. */
6502 # define LT_DLSYM_CONST
6503 #elif defined(__osf__)
6504 /* This system does not cope well with relocations in const data. */
6505 # define LT_DLSYM_CONST
6507 # define LT_DLSYM_CONST const
6515 # Now generate the symbol file.
6516 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6518 cat <<_LT_EOF >> conftest.$ac_ext
6520 /* The mapping between symbol names and symbols. */
6521 LT_DLSYM_CONST struct {
6525 lt__PROGRAM__LTX_preloaded_symbols[] =
6527 { "@PROGRAM@
", (void *) 0 },
6529 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6530 cat <<\_LT_EOF >> conftest.$ac_ext
6534 /* This works around a problem in FreeBSD linker */
6535 #ifdef FREEBSD_WORKAROUND
6536 static const void *lt_preloaded_setup() {
6537 return lt__PROGRAM__LTX_preloaded_symbols;
6545 # Now try linking the two files.
6546 mv conftest.$ac_objext conftstm.$ac_objext
6547 lt_globsym_save_LIBS=$LIBS
6548 lt_globsym_save_CFLAGS=$CFLAGS
6549 LIBS="conftstm.
$ac_objext"
6550 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6551 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6552 (eval $ac_link) 2>&5
6554 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6555 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6558 LIBS=$lt_globsym_save_LIBS
6559 CFLAGS=$lt_globsym_save_CFLAGS
6561 echo "cannot
find nm_test_func
in $nlist" >&5
6564 echo "cannot
find nm_test_var
in $nlist" >&5
6567 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6570 echo "$progname: failed program was
:" >&5
6571 cat conftest.$ac_ext >&5
6573 rm -rf conftest* conftst*
6575 # Do not use the global_symbol_pipe unless it works.
6576 if test "$pipe_works" = yes; then
6579 lt_cv_sys_global_symbol_pipe=
6585 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6586 lt_cv_sys_global_symbol_to_cdecl=
6588 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6590 $as_echo "failed
" >&6; }
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6593 $as_echo "ok
" >&6; }
6596 # Response file support.
6597 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6598 nm_file_list_spec='@'
6599 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6600 nm_file_list_spec='@'
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6630 $as_echo_n "checking
for sysroot...
" >&6; }
6632 # Check whether --with-sysroot was given.
6633 if test "${with_sysroot+set}" = set; then :
6634 withval=$with_sysroot;
6641 case ${with_sysroot} in #(
6643 if test "$GCC" = yes; then
6644 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6648 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6654 $as_echo "${with_sysroot}" >&6; }
6655 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6660 $as_echo "${lt_sysroot:-no}" >&6; }
6666 # Check whether --enable-libtool-lock was given.
6667 if test "${enable_libtool_lock+set}" = set; then :
6668 enableval=$enable_libtool_lock;
6671 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6673 # Some flags need to be propagated to the compiler or linker for good
6677 # Find out which ABI we are using.
6678 echo 'int i;' > conftest.$ac_ext
6679 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6680 (eval $ac_compile) 2>&5
6682 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6683 test $ac_status = 0; }; then
6684 case `/usr/bin/file conftest.$ac_objext` in
6696 # Find out which ABI we are using.
6697 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6698 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6699 (eval $ac_compile) 2>&5
6701 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6702 test $ac_status = 0; }; then
6703 if test "$lt_cv_prog_gnu_ld" = yes; then
6704 case `/usr/bin/file conftest.$ac_objext` in
6706 LD="${LD-ld} -melf32bsmip"
6709 LD="${LD-ld} -melf32bmipn32"
6712 LD="${LD-ld} -melf64bmip"
6716 case `/usr/bin/file conftest.$ac_objext` in
6732 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6733 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6734 # Find out which ABI we are using.
6735 echo 'int i;' > conftest.$ac_ext
6736 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737 (eval $ac_compile) 2>&5
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6740 test $ac_status = 0; }; then
6741 case `/usr/bin/file conftest.o` in
6744 x86_64-*kfreebsd*-gnu)
6745 LD="${LD-ld} -m elf_i386_fbsd
"
6748 LD="${LD-ld} -m elf_i386
"
6750 ppc64-*linux*|powerpc64-*linux*)
6751 LD="${LD-ld} -m elf32ppclinux
"
6754 LD="${LD-ld} -m elf_s390
"
6757 LD="${LD-ld} -m elf32_sparc
"
6763 x86_64-*kfreebsd*-gnu)
6764 LD="${LD-ld} -m elf_x86_64_fbsd
"
6767 LD="${LD-ld} -m elf_x86_64
"
6769 ppc*-*linux*|powerpc*-*linux*)
6770 LD="${LD-ld} -m elf64ppc
"
6772 s390*-*linux*|s390*-*tpf*)
6773 LD="${LD-ld} -m elf64_s390
"
6776 LD="${LD-ld} -m elf64_sparc
"
6786 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6787 SAVE_CFLAGS="$CFLAGS"
6788 CFLAGS="$CFLAGS -belf"
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6790 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6791 if ${lt_cv_cc_needs_belf+:} false; then :
6792 $as_echo_n "(cached
) " >&6
6795 ac_cpp='$CPP $CPPFLAGS'
6796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6811 if ac_fn_c_try_link "$LINENO"; then :
6812 lt_cv_cc_needs_belf=yes
6814 lt_cv_cc_needs_belf=no
6816 rm -f core conftest.err conftest.$ac_objext \
6817 conftest$ac_exeext conftest.$ac_ext
6819 ac_cpp='$CPP $CPPFLAGS'
6820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6826 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6827 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6828 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6829 CFLAGS="$SAVE_CFLAGS"
6833 # Find out which ABI we are using.
6834 echo 'int i;' > conftest.$ac_ext
6835 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6836 (eval $ac_compile) 2>&5
6838 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6839 test $ac_status = 0; }; then
6840 case `/usr/bin/file conftest.o` in
6842 case $lt_cv_prog_gnu_ld in
6846 LD="${LD-ld} -m elf_x86_64
"
6849 LD="${LD-ld} -m elf64_sparc
"
6852 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6853 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6858 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6870 need_locks="$enable_libtool_lock"
6872 if test -n "$ac_tool_prefix"; then
6873 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6874 set dummy ${ac_tool_prefix}mt; ac_word=$2
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6876 $as_echo_n "checking
for $ac_word...
" >&6; }
6877 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6878 $as_echo_n "(cached
) " >&6
6880 if test -n "$MANIFEST_TOOL"; then
6881 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6887 test -z "$as_dir" && as_dir=.
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6890 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6900 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6901 if test -n "$MANIFEST_TOOL"; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6903 $as_echo "$MANIFEST_TOOL" >&6; }
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6906 $as_echo "no
" >&6; }
6911 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6912 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6913 # Extract the first word of "mt
", so it can be a program name with args.
6914 set dummy mt; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6916 $as_echo_n "checking
for $ac_word...
" >&6; }
6917 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6918 $as_echo_n "(cached
) " >&6
6920 if test -n "$ac_ct_MANIFEST_TOOL"; then
6921 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir=.
6928 for ac_exec_ext in '' $ac_executable_extensions; do
6929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6930 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6940 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6941 if test -n "$ac_ct_MANIFEST_TOOL"; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6943 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6946 $as_echo "no
" >&6; }
6949 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6952 case $cross_compiling:$ac_tool_warned in
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6955 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6956 ac_tool_warned=yes ;;
6958 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6961 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6964 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6966 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6967 if ${lt_cv_path_mainfest_tool+:} false; then :
6968 $as_echo_n "(cached
) " >&6
6970 lt_cv_path_mainfest_tool=no
6971 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6972 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6973 cat conftest.err >&5
6974 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6975 lt_cv_path_mainfest_tool=yes
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6980 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6981 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6991 rhapsody* | darwin*)
6992 if test -n "$ac_tool_prefix"; then
6993 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6994 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6996 $as_echo_n "checking
for $ac_word...
" >&6; }
6997 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6998 $as_echo_n "(cached
) " >&6
7000 if test -n "$DSYMUTIL"; then
7001 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7020 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7021 if test -n "$DSYMUTIL"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7023 $as_echo "$DSYMUTIL" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7026 $as_echo "no
" >&6; }
7031 if test -z "$ac_cv_prog_DSYMUTIL"; then
7032 ac_ct_DSYMUTIL=$DSYMUTIL
7033 # Extract the first word of "dsymutil
", so it can be a program name with args.
7034 set dummy dsymutil; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7036 $as_echo_n "checking
for $ac_word...
" >&6; }
7037 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7038 $as_echo_n "(cached
) " >&6
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7060 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7061 if test -n "$ac_ct_DSYMUTIL"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7063 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7066 $as_echo "no
" >&6; }
7069 if test "x
$ac_ct_DSYMUTIL" = x; then
7072 case $cross_compiling:$ac_tool_warned in
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7075 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7076 ac_tool_warned=yes ;;
7078 DSYMUTIL=$ac_ct_DSYMUTIL
7081 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7084 if test -n "$ac_tool_prefix"; then
7085 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7086 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7088 $as_echo_n "checking
for $ac_word...
" >&6; }
7089 if ${ac_cv_prog_NMEDIT+:} false; then :
7090 $as_echo_n "(cached
) " >&6
7092 if test -n "$NMEDIT"; then
7093 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7112 NMEDIT=$ac_cv_prog_NMEDIT
7113 if test -n "$NMEDIT"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7115 $as_echo "$NMEDIT" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7118 $as_echo "no
" >&6; }
7123 if test -z "$ac_cv_prog_NMEDIT"; then
7124 ac_ct_NMEDIT=$NMEDIT
7125 # Extract the first word of "nmedit
", so it can be a program name with args.
7126 set dummy nmedit; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7128 $as_echo_n "checking
for $ac_word...
" >&6; }
7129 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7130 $as_echo_n "(cached
) " >&6
7132 if test -n "$ac_ct_NMEDIT"; then
7133 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7152 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7153 if test -n "$ac_ct_NMEDIT"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7155 $as_echo "$ac_ct_NMEDIT" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7158 $as_echo "no
" >&6; }
7161 if test "x
$ac_ct_NMEDIT" = x; then
7164 case $cross_compiling:$ac_tool_warned in
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7167 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7168 ac_tool_warned=yes ;;
7170 NMEDIT=$ac_ct_NMEDIT
7173 NMEDIT="$ac_cv_prog_NMEDIT"
7176 if test -n "$ac_tool_prefix"; then
7177 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7180 $as_echo_n "checking
for $ac_word...
" >&6; }
7181 if ${ac_cv_prog_LIPO+:} false; then :
7182 $as_echo_n "(cached
) " >&6
7184 if test -n "$LIPO"; then
7185 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7204 LIPO=$ac_cv_prog_LIPO
7205 if test -n "$LIPO"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7207 $as_echo "$LIPO" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7210 $as_echo "no
" >&6; }
7215 if test -z "$ac_cv_prog_LIPO"; then
7217 # Extract the first word of "lipo
", so it can be a program name with args.
7218 set dummy lipo; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7220 $as_echo_n "checking
for $ac_word...
" >&6; }
7221 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7222 $as_echo_n "(cached
) " >&6
7224 if test -n "$ac_ct_LIPO"; then
7225 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_ac_ct_LIPO="lipo
"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7244 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7245 if test -n "$ac_ct_LIPO"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7247 $as_echo "$ac_ct_LIPO" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7250 $as_echo "no
" >&6; }
7253 if test "x
$ac_ct_LIPO" = x; then
7256 case $cross_compiling:$ac_tool_warned in
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7259 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7260 ac_tool_warned=yes ;;
7265 LIPO="$ac_cv_prog_LIPO"
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}otool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7272 $as_echo_n "checking
for $ac_word...
" >&6; }
7273 if ${ac_cv_prog_OTOOL+:} false; then :
7274 $as_echo_n "(cached
) " >&6
7276 if test -n "$OTOOL"; then
7277 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7296 OTOOL=$ac_cv_prog_OTOOL
7297 if test -n "$OTOOL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7299 $as_echo "$OTOOL" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7302 $as_echo "no
" >&6; }
7307 if test -z "$ac_cv_prog_OTOOL"; then
7309 # Extract the first word of "otool
", so it can be a program name with args.
7310 set dummy otool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7312 $as_echo_n "checking
for $ac_word...
" >&6; }
7313 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7314 $as_echo_n "(cached
) " >&6
7316 if test -n "$ac_ct_OTOOL"; then
7317 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_ac_ct_OTOOL="otool
"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7337 if test -n "$ac_ct_OTOOL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7339 $as_echo "$ac_ct_OTOOL" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7342 $as_echo "no
" >&6; }
7345 if test "x
$ac_ct_OTOOL" = x; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7351 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7352 ac_tool_warned=yes ;;
7357 OTOOL="$ac_cv_prog_OTOOL"
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7364 $as_echo_n "checking
for $ac_word...
" >&6; }
7365 if ${ac_cv_prog_OTOOL64+:} false; then :
7366 $as_echo_n "(cached
) " >&6
7368 if test -n "$OTOOL64"; then
7369 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7388 OTOOL64=$ac_cv_prog_OTOOL64
7389 if test -n "$OTOOL64"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7391 $as_echo "$OTOOL64" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7394 $as_echo "no
" >&6; }
7399 if test -z "$ac_cv_prog_OTOOL64"; then
7400 ac_ct_OTOOL64=$OTOOL64
7401 # Extract the first word of "otool64
", so it can be a program name with args.
7402 set dummy otool64; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7404 $as_echo_n "checking
for $ac_word...
" >&6; }
7405 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7406 $as_echo_n "(cached
) " >&6
7408 if test -n "$ac_ct_OTOOL64"; then
7409 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7428 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7429 if test -n "$ac_ct_OTOOL64"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7431 $as_echo "$ac_ct_OTOOL64" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7434 $as_echo "no
" >&6; }
7437 if test "x
$ac_ct_OTOOL64" = x; then
7440 case $cross_compiling:$ac_tool_warned in
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7443 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7444 ac_tool_warned=yes ;;
7446 OTOOL64=$ac_ct_OTOOL64
7449 OTOOL64="$ac_cv_prog_OTOOL64"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7479 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7480 if ${lt_cv_apple_cc_single_mod+:} false; then :
7481 $as_echo_n "(cached
) " >&6
7483 lt_cv_apple_cc_single_mod=no
7484 if test -z "${LT_MULTI_MODULE}"; then
7485 # By default we will add the -single_module flag. You can override
7486 # by either setting the environment variable LT_MULTI_MODULE
7487 # non-empty at configure time, or by adding -multi_module to the
7489 rm -rf libconftest.dylib*
7490 echo "int foo
(void
){return 1;}" > conftest.c
7491 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7492 -dynamiclib -Wl,-single_module conftest.c
" >&5
7493 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7494 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7496 # If there is a non-empty error log, and "single_module
"
7497 # appears in it, assume the flag caused a linker warning
7498 if test -s conftest.err && $GREP single_module conftest.err; then
7499 cat conftest.err >&5
7500 # Otherwise, if the output was created with a 0 exit code from
7501 # the compiler, it worked.
7502 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7503 lt_cv_apple_cc_single_mod=yes
7505 cat conftest.err >&5
7507 rm -rf libconftest.dylib*
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7512 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7515 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7516 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7517 $as_echo_n "(cached
) " >&6
7519 lt_cv_ld_exported_symbols_list=no
7520 save_LDFLAGS=$LDFLAGS
7521 echo "_main
" > conftest.sym
7522 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7534 if ac_fn_c_try_link "$LINENO"; then :
7535 lt_cv_ld_exported_symbols_list=yes
7537 lt_cv_ld_exported_symbols_list=no
7539 rm -f core conftest.err conftest.$ac_objext \
7540 conftest$ac_exeext conftest.$ac_ext
7541 LDFLAGS="$save_LDFLAGS"
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7545 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7548 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7549 if ${lt_cv_ld_force_load+:} false; then :
7550 $as_echo_n "(cached
) " >&6
7552 lt_cv_ld_force_load=no
7553 cat > conftest.c << _LT_EOF
7554 int forced_loaded() { return 2;}
7556 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7557 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7558 echo "$AR cru libconftest.a conftest.o
" >&5
7559 $AR cru libconftest.a conftest.o 2>&5
7560 echo "$RANLIB libconftest.a
" >&5
7561 $RANLIB libconftest.a 2>&5
7562 cat > conftest.c << _LT_EOF
7563 int main() { return 0;}
7565 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7566 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7568 if test -s conftest.err && $GREP force_load conftest.err; then
7569 cat conftest.err >&5
7570 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7571 lt_cv_ld_force_load=yes
7573 cat conftest.err >&5
7575 rm -f conftest.err libconftest.a conftest conftest.c
7576 rm -rf conftest.dSYM
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7580 $as_echo "$lt_cv_ld_force_load" >&6; }
7582 rhapsody* | darwin1.[012])
7583 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7585 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7586 darwin*) # darwin 5.x on
7587 # if running on 10.5 or later, the deployment target defaults
7588 # to the OS version, if on x86, and 10.4, the deployment
7589 # target defaults to 10.4. Don't you love it?
7590 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7591 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7592 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7594 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7596 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7600 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7601 _lt_dar_single_mod='$single_module'
7603 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7604 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7606 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7608 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7609 _lt_dsymutil='~$DSYMUTIL $lib || :'
7617 ac_cpp='$CPP $CPPFLAGS'
7618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7622 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7623 # On Suns, sometimes $CPP names a directory.
7624 if test -n "$CPP" && test -d "$CPP"; then
7627 if test -z "$CPP"; then
7628 if ${ac_cv_prog_CPP+:} false; then :
7629 $as_echo_n "(cached
) " >&6
7631 # Double quotes because CPP needs to be expanded
7632 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7635 for ac_c_preproc_warn_flag in '' yes
7637 # Use a header file that comes with gcc, so configuring glibc
7638 # with a fresh cross-compiler works.
7639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7640 # <limits.h> exists even on freestanding compilers.
7641 # On the NeXT, cc -E runs the code through the compiler's parser,
7642 # not just through cpp. "Syntax error
" is here to catch this case.
7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7646 # include <limits.h>
7648 # include <assert.h>
7652 if ac_fn_c_try_cpp "$LINENO"; then :
7655 # Broken: fails on valid input.
7658 rm -f conftest.err conftest.i conftest.$ac_ext
7660 # OK, works on sane cases. Now check whether nonexistent headers
7661 # can be detected and how.
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7664 #include <ac_nonexistent.h>
7666 if ac_fn_c_try_cpp "$LINENO"; then :
7667 # Broken: success on invalid input.
7670 # Passes both tests.
7674 rm -f conftest.err conftest.i conftest.$ac_ext
7677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7678 rm -f conftest.i conftest.err conftest.$ac_ext
7679 if $ac_preproc_ok; then :
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7692 $as_echo "$CPP" >&6; }
7694 for ac_c_preproc_warn_flag in '' yes
7696 # Use a header file that comes with gcc, so configuring glibc
7697 # with a fresh cross-compiler works.
7698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7699 # <limits.h> exists even on freestanding compilers.
7700 # On the NeXT, cc -E runs the code through the compiler's parser,
7701 # not just through cpp. "Syntax error
" is here to catch this case.
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7705 # include <limits.h>
7707 # include <assert.h>
7711 if ac_fn_c_try_cpp "$LINENO"; then :
7714 # Broken: fails on valid input.
7717 rm -f conftest.err conftest.i conftest.$ac_ext
7719 # OK, works on sane cases. Now check whether nonexistent headers
7720 # can be detected and how.
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 #include <ac_nonexistent.h>
7725 if ac_fn_c_try_cpp "$LINENO"; then :
7726 # Broken: success on invalid input.
7729 # Passes both tests.
7733 rm -f conftest.err conftest.i conftest.$ac_ext
7736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7737 rm -f conftest.i conftest.err conftest.$ac_ext
7738 if $ac_preproc_ok; then :
7741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7743 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7744 See \`config.log' for more details
" "$LINENO" 5; }
7748 ac_cpp='$CPP $CPPFLAGS'
7749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7755 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7756 if ${ac_cv_header_stdc+:} false; then :
7757 $as_echo_n "(cached
) " >&6
7759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h. */
7774 if ac_fn_c_try_compile "$LINENO"; then :
7775 ac_cv_header_stdc=yes
7777 ac_cv_header_stdc=no
7779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7781 if test $ac_cv_header_stdc = yes; then
7782 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7788 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7789 $EGREP "memchr
" >/dev/null 2>&1; then :
7792 ac_cv_header_stdc=no
7798 if test $ac_cv_header_stdc = yes; then
7799 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h. */
7805 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7806 $EGREP "free
" >/dev/null 2>&1; then :
7809 ac_cv_header_stdc=no
7815 if test $ac_cv_header_stdc = yes; then
7816 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7817 if test "$cross_compiling" = yes; then :
7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7824 #if ((' ' & 0x0FF) == 0x020)
7825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7828 # define ISLOWER(c) \
7829 (('a' <= (c) && (c) <= 'i') \
7830 || ('j' <= (c) && (c) <= 'r') \
7831 || ('s' <= (c) && (c) <= 'z'))
7832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7840 for (i = 0; i < 256; i++)
7841 if (XOR (islower (i), ISLOWER (i))
7842 || toupper (i) != TOUPPER (i))
7847 if ac_fn_c_try_run "$LINENO"; then :
7850 ac_cv_header_stdc=no
7852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7853 conftest.$ac_objext conftest.beam conftest.$ac_ext
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7859 $as_echo "$ac_cv_header_stdc" >&6; }
7860 if test $ac_cv_header_stdc = yes; then
7862 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7866 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7867 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7868 inttypes.h stdint.h unistd.h
7870 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7871 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7874 cat >>confdefs.h
<<_ACEOF
7875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7883 for ac_header
in dlfcn.h
7885 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7887 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7888 cat >>confdefs.h
<<_ACEOF
7889 #define HAVE_DLFCN_H 1
7899 func_stripname_cnf
()
7902 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7903 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7905 } # func_stripname_cnf
7912 # Check whether --enable-static was given.
7913 if test "${enable_static+set}" = set; then :
7914 enableval
=$enable_static; p
=${PACKAGE-default}
7916 yes) enable_static
=yes ;;
7917 no
) enable_static
=no
;;
7920 # Look at the argument we got. We use all the common list separators.
7921 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7922 for pkg
in $enableval; do
7924 if test "X$pkg" = "X$p"; then
7950 # Check whether --enable-shared was given.
7951 if test "${enable_shared+set}" = set; then :
7952 enableval
=$enable_shared; p
=${PACKAGE-default}
7954 yes) enable_shared
=yes ;;
7955 no
) enable_shared
=no
;;
7958 # Look at the argument we got. We use all the common list separators.
7959 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7960 for pkg
in $enableval; do
7962 if test "X$pkg" = "X$p"; then
7983 # Check whether --with-pic was given.
7984 if test "${with_pic+set}" = set; then :
7985 withval
=$with_pic; lt_p
=${PACKAGE-default}
7987 yes|no
) pic_mode
=$withval ;;
7990 # Look at the argument we got. We use all the common list separators.
7991 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7992 for lt_pkg
in $withval; do
7994 if test "X$lt_pkg" = "X$lt_p"; then
8006 test -z "$pic_mode" && pic_mode
=default
8014 # Check whether --enable-fast-install was given.
8015 if test "${enable_fast_install+set}" = set; then :
8016 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8018 yes) enable_fast_install
=yes ;;
8019 no
) enable_fast_install
=no
;;
8021 enable_fast_install
=no
8022 # Look at the argument we got. We use all the common list separators.
8023 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8024 for pkg
in $enableval; do
8026 if test "X$pkg" = "X$p"; then
8027 enable_fast_install
=yes
8034 enable_fast_install
=yes
8047 # This can be used to rebuild libtool when needed
8048 LIBTOOL_DEPS
="$ltmain"
8050 # Always use our own libtool.
8051 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8082 test -z "$LN_S" && LN_S
="ln -s"
8097 if test -n "${ZSH_VERSION+set}" ; then
8098 setopt NO_GLOB_SUBST
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8102 $as_echo_n "checking for objdir... " >&6; }
8103 if ${lt_cv_objdir+:} false
; then :
8104 $as_echo_n "(cached) " >&6
8106 rm -f .libs
2>/dev
/null
8107 mkdir .libs
2>/dev
/null
8108 if test -d .libs
; then
8111 # MS-DOS does not allow filenames that begin with a dot.
8114 rmdir .libs
2>/dev
/null
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8117 $as_echo "$lt_cv_objdir" >&6; }
8118 objdir
=$lt_cv_objdir
8124 cat >>confdefs.h
<<_ACEOF
8125 #define LT_OBJDIR "$lt_cv_objdir/"
8133 # AIX sometimes has problems with the GCC collect2 program. For some
8134 # reason, if we set the COLLECT_NAMES environment variable, the problems
8135 # vanish in a puff of smoke.
8136 if test "X${COLLECT_NAMES+set}" != Xset
; then
8138 export COLLECT_NAMES
8145 can_build_shared
=yes
8147 # All known linkers require a `.a' archive for static linking (except MSVC,
8148 # which needs '.lib').
8151 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8154 old_CFLAGS
="$CFLAGS"
8156 # Set sane defaults for various variables
8157 test -z "$CC" && CC
=cc
8158 test -z "$LTCC" && LTCC
=$CC
8159 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8160 test -z "$LD" && LD
=ld
8161 test -z "$ac_objext" && ac_objext
=o
8163 for cc_temp
in $compiler""; do
8165 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8166 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8171 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8174 # Only perform the check for file, if the check method requires it
8175 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8176 case $deplibs_check_method in
8178 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8180 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8181 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8182 $as_echo_n "(cached) " >&6
8186 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8189 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8190 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8191 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8192 for ac_dir
in $ac_dummy; do
8194 test -z "$ac_dir" && ac_dir
=.
8195 if test -f $ac_dir/${ac_tool_prefix}file; then
8196 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8197 if test -n "$file_magic_test_file"; then
8198 case $deplibs_check_method in
8200 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8201 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8202 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8203 $EGREP "$file_magic_regex" > /dev
/null
; then
8208 *** Warning: the command libtool uses to detect shared libraries,
8209 *** $file_magic_cmd, produces output that libtool cannot recognize.
8210 *** The result is that libtool may fail to recognize shared libraries
8211 *** as such. This will affect the creation of libtool libraries that
8212 *** depend on shared libraries, but programs linked with such libtool
8213 *** libraries will work regardless of this problem. Nevertheless, you
8214 *** may want to report the problem to your system manager and/or to
8215 *** bug-libtool@gnu.org
8225 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8230 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8231 if test -n "$MAGIC_CMD"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8233 $as_echo "$MAGIC_CMD" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8243 if test -z "$lt_cv_path_MAGIC_CMD"; then
8244 if test -n "$ac_tool_prefix"; then
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8246 $as_echo_n "checking for file... " >&6; }
8247 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8248 $as_echo_n "(cached) " >&6
8252 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8255 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8256 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8257 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8258 for ac_dir
in $ac_dummy; do
8260 test -z "$ac_dir" && ac_dir
=.
8261 if test -f $ac_dir/file; then
8262 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8263 if test -n "$file_magic_test_file"; then
8264 case $deplibs_check_method in
8266 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8267 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8268 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8269 $EGREP "$file_magic_regex" > /dev
/null
; then
8274 *** Warning: the command libtool uses to detect shared libraries,
8275 *** $file_magic_cmd, produces output that libtool cannot recognize.
8276 *** The result is that libtool may fail to recognize shared libraries
8277 *** as such. This will affect the creation of libtool libraries that
8278 *** depend on shared libraries, but programs linked with such libtool
8279 *** libraries will work regardless of this problem. Nevertheless, you
8280 *** may want to report the problem to your system manager and/or to
8281 *** bug-libtool@gnu.org
8291 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8296 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8297 if test -n "$MAGIC_CMD"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8299 $as_echo "$MAGIC_CMD" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8315 # Use C for the default configuration in the libtool script
8319 ac_cpp
='$CPP $CPPFLAGS'
8320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8325 # Source file extension for C test sources.
8328 # Object file extension for compiled C test sources.
8332 # Code to be used in simple compile tests
8333 lt_simple_compile_test_code
="int some_variable = 0;"
8335 # Code to be used in simple link tests
8336 lt_simple_link_test_code
='int main(){return(0);}'
8344 # If no C compiler was specified, use CC.
8347 # If no C compiler flags were specified, use CFLAGS.
8348 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8350 # Allow CC to be a program name with arguments.
8353 # Save the default compiler, since it gets overwritten when the other
8354 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8355 compiler_DEFAULT
=$CC
8357 # save warnings/boilerplate of simple test code
8358 ac_outfile
=conftest.
$ac_objext
8359 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8360 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8361 _lt_compiler_boilerplate
=`cat conftest.err`
8364 ac_outfile
=conftest.
$ac_objext
8365 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8366 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8367 _lt_linker_boilerplate
=`cat conftest.err`
8372 ## There is no encapsulation within the following macros, do not change
8373 ## the running order or otherwise move them around unless you know exactly
8374 ## what you are doing...
8375 if test -n "$compiler"; then
8377 lt_prog_compiler_no_builtin_flag
=
8379 if test "$GCC" = yes; then
8380 case $cc_basename in
8382 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8384 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8388 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8389 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8390 $as_echo_n "(cached) " >&6
8392 lt_cv_prog_compiler_rtti_exceptions
=no
8393 ac_outfile
=conftest.
$ac_objext
8394 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8395 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8396 # Insert the option either (1) after the last *FLAGS variable, or
8397 # (2) before a word containing "conftest.", or (3) at the end.
8398 # Note that $ac_compile itself does not contain backslashes and begins
8399 # with a dollar sign (not a hyphen), so the echo should work correctly.
8400 # The option is referenced via a variable to avoid confusing sed.
8401 lt_compile
=`echo "$ac_compile" | $SED \
8402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8404 -e 's:$: $lt_compiler_flag:'`
8405 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8406 (eval "$lt_compile" 2>conftest.err
)
8408 cat conftest.err
>&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 if (exit $ac_status) && test -s "$ac_outfile"; then
8411 # The compiler can only warn and ignore the option if not recognized
8412 # So say no if there are warnings other than the usual output.
8413 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8414 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8415 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8416 lt_cv_prog_compiler_rtti_exceptions
=yes
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8423 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8425 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8426 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8438 lt_prog_compiler_wl
=
8439 lt_prog_compiler_pic
=
8440 lt_prog_compiler_static
=
8443 if test "$GCC" = yes; then
8444 lt_prog_compiler_wl
='-Wl,'
8445 lt_prog_compiler_static
='-static'
8449 # All AIX code is PIC.
8450 if test "$host_cpu" = ia64
; then
8451 # AIX 5 now supports IA64 processor
8452 lt_prog_compiler_static
='-Bstatic'
8459 # see comment about AmigaOS4 .so support
8460 lt_prog_compiler_pic
='-fPIC'
8463 # FIXME: we need at least 68020 code to build shared libraries, but
8464 # adding the `-m68020' flag to GCC prevents building anything better,
8466 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8471 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8472 # PIC is the default for these OSes.
8475 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8476 # This hack is so that the source file can tell whether it is being
8477 # built for inclusion in a dll (and should export symbols for example).
8478 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8479 # (--disable-auto-import) libraries
8480 lt_prog_compiler_pic
='-DDLL_EXPORT'
8483 darwin
* | rhapsody
*)
8484 # PIC is the default on this platform
8485 # Common symbols not allowed in MH_DYLIB files
8486 lt_prog_compiler_pic
='-fno-common'
8490 # PIC is the default for Haiku.
8491 # The "-static" flag exists, but is broken.
8492 lt_prog_compiler_static
=
8496 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8497 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8498 # sets the default TLS model and affects inlining.
8504 lt_prog_compiler_pic
='-fPIC'
8510 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8511 # Instead, we relocate shared libraries at runtime.
8515 # Just because we use GCC doesn't mean we suddenly get shared libraries
8516 # on systems that don't support them.
8517 lt_prog_compiler_can_build_shared
=no
8522 # QNX uses GNU C++, but need to define -shared option too, otherwise
8524 lt_prog_compiler_pic
='-fPIC -shared'
8528 if test -d /usr
/nec
; then
8529 lt_prog_compiler_pic
=-Kconform_pic
8534 lt_prog_compiler_pic
='-fPIC'
8538 case $cc_basename in
8539 nvcc
*) # Cuda Compiler Driver 2.2
8540 lt_prog_compiler_wl
='-Xlinker '
8541 if test -n "$lt_prog_compiler_pic"; then
8542 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8547 # PORTME Check for flag to pass linker flags through the system compiler.
8550 lt_prog_compiler_wl
='-Wl,'
8551 if test "$host_cpu" = ia64
; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static
='-Bstatic'
8555 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8559 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8560 # This hack is so that the source file can tell whether it is being
8561 # built for inclusion in a dll (and should export symbols for example).
8562 lt_prog_compiler_pic
='-DDLL_EXPORT'
8565 hpux9
* | hpux10
* | hpux11
*)
8566 lt_prog_compiler_wl
='-Wl,'
8567 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8574 lt_prog_compiler_pic
='+Z'
8577 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8578 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8581 irix5
* | irix6
* | nonstopux
*)
8582 lt_prog_compiler_wl
='-Wl,'
8583 # PIC (with -KPIC) is the default.
8584 lt_prog_compiler_static
='-non_shared'
8587 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8588 case $cc_basename in
8589 # old Intel for x86_64 which still supported -KPIC.
8591 lt_prog_compiler_wl
='-Wl,'
8592 lt_prog_compiler_pic
='-KPIC'
8593 lt_prog_compiler_static
='-static'
8595 # icc used to be incompatible with GCC.
8596 # ICC 10 doesn't accept -KPIC any more.
8598 lt_prog_compiler_wl
='-Wl,'
8599 lt_prog_compiler_pic
='-fPIC'
8600 lt_prog_compiler_static
='-static'
8602 # Lahey Fortran 8.1.
8604 lt_prog_compiler_wl
='-Wl,'
8605 lt_prog_compiler_pic
='--shared'
8606 lt_prog_compiler_static
='--static'
8609 # NAG Fortran compiler
8610 lt_prog_compiler_wl
='-Wl,-Wl,,'
8611 lt_prog_compiler_pic
='-PIC'
8612 lt_prog_compiler_static
='-Bstatic'
8614 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8615 # Portland Group compilers (*not* the Pentium gcc compiler,
8616 # which looks to be a dead project)
8617 lt_prog_compiler_wl
='-Wl,'
8618 lt_prog_compiler_pic
='-fpic'
8619 lt_prog_compiler_static
='-Bstatic'
8622 lt_prog_compiler_wl
='-Wl,'
8623 # All Alpha code is PIC.
8624 lt_prog_compiler_static
='-non_shared'
8626 xl
* | bgxl
* | bgf
* | mpixl
*)
8627 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8628 lt_prog_compiler_wl
='-Wl,'
8629 lt_prog_compiler_pic
='-qpic'
8630 lt_prog_compiler_static
='-qstaticlink'
8633 case `$CC -V 2>&1 | sed 5q` in
8634 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8635 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8636 lt_prog_compiler_pic
='-KPIC'
8637 lt_prog_compiler_static
='-Bstatic'
8638 lt_prog_compiler_wl
=''
8640 *Sun\ F
* |
*Sun
*Fortran
*)
8641 lt_prog_compiler_pic
='-KPIC'
8642 lt_prog_compiler_static
='-Bstatic'
8643 lt_prog_compiler_wl
='-Qoption ld '
8647 lt_prog_compiler_pic
='-KPIC'
8648 lt_prog_compiler_static
='-Bstatic'
8649 lt_prog_compiler_wl
='-Wl,'
8651 *Intel
*\
[CF
]*Compiler
*)
8652 lt_prog_compiler_wl
='-Wl,'
8653 lt_prog_compiler_pic
='-fPIC'
8654 lt_prog_compiler_static
='-static'
8657 lt_prog_compiler_wl
='-Wl,'
8658 lt_prog_compiler_pic
='-fpic'
8659 lt_prog_compiler_static
='-Bstatic'
8667 lt_prog_compiler_pic
='-KPIC'
8668 lt_prog_compiler_static
='-Bstatic'
8672 # QNX uses GNU C++, but need to define -shared option too, otherwise
8674 lt_prog_compiler_pic
='-fPIC -shared'
8677 osf3
* | osf4
* | osf5
*)
8678 lt_prog_compiler_wl
='-Wl,'
8679 # All OSF/1 code is PIC.
8680 lt_prog_compiler_static
='-non_shared'
8684 lt_prog_compiler_static
='-non_shared'
8688 lt_prog_compiler_pic
='-KPIC'
8689 lt_prog_compiler_static
='-Bstatic'
8690 case $cc_basename in
8691 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8692 lt_prog_compiler_wl
='-Qoption ld ';;
8694 lt_prog_compiler_wl
='-Wl,';;
8699 lt_prog_compiler_wl
='-Qoption ld '
8700 lt_prog_compiler_pic
='-PIC'
8701 lt_prog_compiler_static
='-Bstatic'
8704 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8705 lt_prog_compiler_wl
='-Wl,'
8706 lt_prog_compiler_pic
='-KPIC'
8707 lt_prog_compiler_static
='-Bstatic'
8711 if test -d /usr
/nec
;then
8712 lt_prog_compiler_pic
='-Kconform_pic'
8713 lt_prog_compiler_static
='-Bstatic'
8717 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8718 lt_prog_compiler_wl
='-Wl,'
8719 lt_prog_compiler_pic
='-KPIC'
8720 lt_prog_compiler_static
='-Bstatic'
8724 lt_prog_compiler_wl
='-Wl,'
8725 lt_prog_compiler_can_build_shared
=no
8729 lt_prog_compiler_pic
='-pic'
8730 lt_prog_compiler_static
='-Bstatic'
8734 lt_prog_compiler_can_build_shared
=no
8740 # For platforms which do not support PIC, -DPIC is meaningless:
8742 lt_prog_compiler_pic
=
8745 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8750 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8751 if ${lt_cv_prog_compiler_pic+:} false
; then :
8752 $as_echo_n "(cached) " >&6
8754 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8757 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8758 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8761 # Check to make sure the PIC flag actually works.
8763 if test -n "$lt_prog_compiler_pic"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8765 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8766 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8767 $as_echo_n "(cached) " >&6
8769 lt_cv_prog_compiler_pic_works
=no
8770 ac_outfile
=conftest.
$ac_objext
8771 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8772 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8773 # Insert the option either (1) after the last *FLAGS variable, or
8774 # (2) before a word containing "conftest.", or (3) at the end.
8775 # Note that $ac_compile itself does not contain backslashes and begins
8776 # with a dollar sign (not a hyphen), so the echo should work correctly.
8777 # The option is referenced via a variable to avoid confusing sed.
8778 lt_compile
=`echo "$ac_compile" | $SED \
8779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781 -e 's:$: $lt_compiler_flag:'`
8782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8783 (eval "$lt_compile" 2>conftest.err
)
8785 cat conftest.err
>&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 if (exit $ac_status) && test -s "$ac_outfile"; then
8788 # The compiler can only warn and ignore the option if not recognized
8789 # So say no if there are warnings other than the usual output.
8790 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8791 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8792 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8793 lt_cv_prog_compiler_pic_works
=yes
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8800 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8802 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8803 case $lt_prog_compiler_pic in
8805 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8808 lt_prog_compiler_pic
=
8809 lt_prog_compiler_can_build_shared
=no
8825 # Check to make sure the static flag actually works.
8827 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8829 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8830 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8831 $as_echo_n "(cached) " >&6
8833 lt_cv_prog_compiler_static_works
=no
8834 save_LDFLAGS
="$LDFLAGS"
8835 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8836 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8837 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8838 # The linker can only warn and ignore the option if not recognized
8839 # So say no if there are warnings
8840 if test -s conftest.err
; then
8841 # Append any errors to the config.log.
8842 cat conftest.err
1>&5
8843 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8844 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8845 if diff conftest.exp conftest.er2
>/dev
/null
; then
8846 lt_cv_prog_compiler_static_works
=yes
8849 lt_cv_prog_compiler_static_works
=yes
8853 LDFLAGS
="$save_LDFLAGS"
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8857 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8859 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8862 lt_prog_compiler_static
=
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8872 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8873 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8874 $as_echo_n "(cached) " >&6
8876 lt_cv_prog_compiler_c_o
=no
8877 $RM -r conftest
2>/dev
/null
8881 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8883 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8884 # Insert the option either (1) after the last *FLAGS variable, or
8885 # (2) before a word containing "conftest.", or (3) at the end.
8886 # Note that $ac_compile itself does not contain backslashes and begins
8887 # with a dollar sign (not a hyphen), so the echo should work correctly.
8888 lt_compile
=`echo "$ac_compile" | $SED \
8889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8891 -e 's:$: $lt_compiler_flag:'`
8892 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8893 (eval "$lt_compile" 2>out
/conftest.err
)
8895 cat out
/conftest.err
>&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8899 # The compiler can only warn and ignore the option if not recognized
8900 # So say no if there are warnings
8901 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8902 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8903 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8904 lt_cv_prog_compiler_c_o
=yes
8909 # SGI C++ compiler will create directory out/ii_files/ for
8910 # template instantiation
8911 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8912 $RM out
/* && rmdir out
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8919 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8928 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 lt_cv_prog_compiler_c_o
=no
8932 $RM -r conftest
2>/dev
/null
8936 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8938 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8939 # Insert the option either (1) after the last *FLAGS variable, or
8940 # (2) before a word containing "conftest.", or (3) at the end.
8941 # Note that $ac_compile itself does not contain backslashes and begins
8942 # with a dollar sign (not a hyphen), so the echo should work correctly.
8943 lt_compile
=`echo "$ac_compile" | $SED \
8944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8946 -e 's:$: $lt_compiler_flag:'`
8947 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8948 (eval "$lt_compile" 2>out
/conftest.err
)
8950 cat out
/conftest.err
>&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8954 # The compiler can only warn and ignore the option if not recognized
8955 # So say no if there are warnings
8956 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8957 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8958 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8959 lt_cv_prog_compiler_c_o
=yes
8964 # SGI C++ compiler will create directory out/ii_files/ for
8965 # template instantiation
8966 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8967 $RM out
/* && rmdir out
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8974 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8979 hard_links
="nottested"
8980 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8981 # do not overwrite the value of need_locks provided by the user
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8983 $as_echo_n "checking if we can lock with hard links... " >&6; }
8986 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8988 ln conftest.a conftest.b
2>&5 || hard_links
=no
8989 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8991 $as_echo "$hard_links" >&6; }
8992 if test "$hard_links" = no
; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8994 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9010 allow_undefined_flag
=
9011 always_export_symbols
=no
9013 archive_expsym_cmds
=
9014 compiler_needs_object
=no
9015 enable_shared_with_static_runtimes
=no
9016 export_dynamic_flag_spec
=
9017 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9018 hardcode_automatic
=no
9020 hardcode_direct_absolute
=no
9021 hardcode_libdir_flag_spec
=
9022 hardcode_libdir_separator
=
9024 hardcode_shlibpath_var
=unsupported
9026 link_all_deplibs
=unknown
9029 old_archive_from_new_cmds
=
9030 old_archive_from_expsyms_cmds
=
9031 thread_safe_flag_spec
=
9032 whole_archive_flag_spec
=
9033 # include_expsyms should be a list of space-separated symbols to be *always*
9034 # included in the symbol list
9036 # exclude_expsyms can be an extended regexp of symbols to exclude
9037 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9038 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9039 # as well as any symbol that contains `d'.
9040 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9041 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9042 # platforms (ab)use it in PIC code, but their linkers get confused if
9043 # the symbol is explicitly referenced. Since portable code cannot
9044 # rely on this symbol name, it's probably fine to never include it in
9045 # preloaded symbol tables.
9046 # Exclude shared library initialization/finalization symbols.
9047 extract_expsyms_cmds
=
9050 cygwin
* | mingw
* | pw32
* | cegcc
*)
9051 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9052 # When not using gcc, we currently assume that we are using
9053 # Microsoft Visual C++.
9054 if test "$GCC" != yes; then
9059 # we just hope/assume this is gcc and not c89 (= MSVC++)
9065 linux
* | k
*bsd
*-gnu | gnu
*)
9072 # On some targets, GNU ld is compatible enough with the native linker
9073 # that we're better off using the native interface for both.
9074 lt_use_gnu_ld_interface
=no
9075 if test "$with_gnu_ld" = yes; then
9078 # The AIX port of GNU ld has always aspired to compatibility
9079 # with the native linker. However, as the warning in the GNU ld
9080 # block says, versions before 2.19.5* couldn't really create working
9081 # shared libraries, regardless of the interface used.
9082 case `$LD -v 2>&1` in
9083 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9084 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9085 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9087 lt_use_gnu_ld_interface
=yes
9092 lt_use_gnu_ld_interface
=yes
9097 if test "$lt_use_gnu_ld_interface" = yes; then
9098 # If archive_cmds runs LD, not CC, wlarc should be empty
9101 # Set some defaults for GNU ld with shared library support. These
9102 # are reset later if shared libraries are not supported. Putting them
9103 # here allows them to be overridden if necessary.
9104 runpath_var
=LD_RUN_PATH
9105 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9106 export_dynamic_flag_spec
='${wl}--export-dynamic'
9107 # ancient GNU ld didn't support --whole-archive et. al.
9108 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9109 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9111 whole_archive_flag_spec
=
9113 supports_anon_versioning
=no
9114 case `$LD -v 2>&1` in
9115 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9116 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9117 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9118 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9119 *\
2.11.
*) ;; # other 2.11 versions
9120 *) supports_anon_versioning
=yes ;;
9123 # See if GNU ld supports shared libraries.
9126 # On AIX/PPC, the GNU linker is very broken
9127 if test "$host_cpu" != ia64
; then
9131 *** Warning: the GNU linker, at least up to release 2.19, is reported
9132 *** to be unable to reliably create shared libraries on AIX.
9133 *** Therefore, libtool is disabling shared libraries support. If you
9134 *** really care for shared libraries, you may want to install binutils
9135 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9136 *** You will then need to restart the configuration process.
9145 # see comment about AmigaOS4 .so support
9146 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9147 archive_expsym_cmds
=''
9150 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)'
9151 hardcode_libdir_flag_spec
='-L$libdir'
9152 hardcode_minus_L
=yes
9158 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9159 allow_undefined_flag
=unsupported
9160 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9161 # support --undefined. This deserves some investigation. FIXME
9162 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9168 cygwin
* | mingw
* | pw32
* | cegcc
*)
9169 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9170 # as there is no search path for DLLs.
9171 hardcode_libdir_flag_spec
='-L$libdir'
9172 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9173 allow_undefined_flag
=unsupported
9174 always_export_symbols
=no
9175 enable_shared_with_static_runtimes
=yes
9176 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'
9177 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9179 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9180 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9181 # If the export-symbols file already is a .def file (1st line
9182 # is EXPORTS), use it as is; otherwise, prepend...
9183 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9184 cp $export_symbols $output_objdir/$soname.def;
9186 echo EXPORTS > $output_objdir/$soname.def;
9187 cat $export_symbols >> $output_objdir/$soname.def;
9189 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9196 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197 link_all_deplibs
=yes
9202 hardcode_shlibpath_var
=no
9203 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9204 export_dynamic_flag_spec
='${wl}-E'
9205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9206 # Instead, shared libraries are loaded at an image base (0x10000000 by
9207 # default) and relocated if they conflict, which is a slow very memory
9208 # consuming and fragmenting process. To avoid this, we pick a random,
9209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9210 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9211 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9212 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'
9215 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9217 if test "$host_os" = linux-dietlibc
; then
9218 case $cc_basename in
9219 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9222 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9223 && test "$tmp_diet" = no
9225 tmp_addflag
=' $pic_flag'
9226 tmp_sharedflag
='-shared'
9227 case $cc_basename,$host_cpu in
9228 pgcc
*) # Portland Group C compiler
9229 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'
9230 tmp_addflag
=' $pic_flag'
9232 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9233 # Portland Group f77 and f90 compilers
9234 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'
9235 tmp_addflag
=' $pic_flag -Mnomain' ;;
9236 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9237 tmp_addflag
=' -i_dynamic' ;;
9238 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9239 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9240 ifc
* | ifort
*) # Intel Fortran compiler
9241 tmp_addflag
=' -nofor_main' ;;
9242 lf95
*) # Lahey Fortran 8.1
9243 whole_archive_flag_spec
=
9244 tmp_sharedflag
='--shared' ;;
9245 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9246 tmp_sharedflag
='-qmkshrobj'
9248 nvcc
*) # Cuda Compiler Driver 2.2
9249 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'
9250 compiler_needs_object
=yes
9253 case `$CC -V 2>&1 | sed 5q` in
9254 *Sun\ C
*) # Sun C 5.9
9255 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'
9256 compiler_needs_object
=yes
9257 tmp_sharedflag
='-G' ;;
9258 *Sun\ F
*) # Sun Fortran 8.3
9259 tmp_sharedflag
='-G' ;;
9261 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263 if test "x$supports_anon_versioning" = xyes
; then
9264 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9265 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9266 echo "local: *; };" >> $output_objdir/$libname.ver~
9267 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9270 case $cc_basename in
9271 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9272 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9273 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9274 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9275 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9276 if test "x$supports_anon_versioning" = xyes
; then
9277 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9278 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9279 echo "local: *; };" >> $output_objdir/$libname.ver~
9280 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9289 netbsd
* | netbsdelf
*-gnu)
9290 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9291 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9294 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9300 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9304 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9305 *** create shared libraries on Solaris systems. Therefore, libtool
9306 *** is disabling shared libraries support. We urge you to upgrade GNU
9307 *** binutils to release 2.9.1 or newer. Another option is to modify
9308 *** your PATH or compiler configuration so that the native linker is
9309 *** used, and then restart.
9312 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9313 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9321 case `$LD -v 2>&1` in
9322 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9326 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9327 *** reliably create shared libraries on SCO systems. Therefore, libtool
9328 *** is disabling shared libraries support. We urge you to upgrade GNU
9329 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9330 *** your PATH or compiler configuration so that the native linker is
9331 *** used, and then restart.
9336 # For security reasons, it is highly recommended that you always
9337 # use absolute paths for naming shared libraries, and exclude the
9338 # DT_RUNPATH tag from executables and libraries. But doing so
9339 # requires that you compile everything twice, which is a pain.
9340 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9341 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9342 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9352 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9355 hardcode_shlibpath_var
=no
9359 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9360 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9361 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9368 if test "$ld_shlibs" = no
; then
9370 hardcode_libdir_flag_spec
=
9371 export_dynamic_flag_spec
=
9372 whole_archive_flag_spec
=
9375 # PORTME fill in a description of your system's linker (not GNU ld)
9378 allow_undefined_flag
=unsupported
9379 always_export_symbols
=yes
9380 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'
9381 # Note: this linker hardcodes the directories in LIBPATH if there
9382 # are no directories specified by -L.
9383 hardcode_minus_L
=yes
9384 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9385 # Neither direct hardcoding nor static linking is supported with a
9387 hardcode_direct
=unsupported
9392 if test "$host_cpu" = ia64
; then
9393 # On IA64, the linker does run time linking by default, so we don't
9394 # have to do anything special.
9395 aix_use_runtimelinking
=no
9396 exp_sym_flag
='-Bexport'
9399 # If we're using GNU nm, then we don't want the "-C" option.
9400 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9401 # Also, AIX nm treats weak defined symbols like other global
9402 # defined symbols, whereas GNU nm marks them as "W".
9403 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9404 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'
9406 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'
9408 aix_use_runtimelinking
=no
9410 # Test if we are trying to use run time linking or normal
9411 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9412 # need to do runtime linking.
9413 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9414 for ld_flag
in $LDFLAGS; do
9415 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9416 aix_use_runtimelinking
=yes
9423 exp_sym_flag
='-bexport'
9424 no_entry_flag
='-bnoentry'
9427 # When large executables or shared objects are built, AIX ld can
9428 # have problems creating the table of contents. If linking a library
9429 # or program results in "error TOC overflow" add -mminimal-toc to
9430 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9431 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9435 hardcode_direct_absolute
=yes
9436 hardcode_libdir_separator
=':'
9437 link_all_deplibs
=yes
9438 file_list_spec
='${wl}-f,'
9440 if test "$GCC" = yes; then
9441 case $host_os in aix4.
[012]|aix4.
[012].
*)
9442 # We only want to do this on AIX 4.2 and lower, the check
9443 # below for broken collect2 doesn't work under 4.3+
9444 collect2name
=`${CC} -print-prog-name=collect2`
9445 if test -f "$collect2name" &&
9446 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9448 # We have reworked collect2
9451 # We have old collect2
9452 hardcode_direct
=unsupported
9453 # It fails to find uninstalled libraries when the uninstalled
9454 # path is not listed in the libpath. Setting hardcode_minus_L
9455 # to unsupported forces relinking
9456 hardcode_minus_L
=yes
9457 hardcode_libdir_flag_spec
='-L$libdir'
9458 hardcode_libdir_separator
=
9462 shared_flag
='-shared'
9463 if test "$aix_use_runtimelinking" = yes; then
9464 shared_flag
="$shared_flag "'${wl}-G'
9469 if test "$host_cpu" = ia64
; then
9470 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9471 # chokes on -Wl,-G. The following line is correct:
9474 if test "$aix_use_runtimelinking" = yes; then
9475 shared_flag
='${wl}-G'
9477 shared_flag
='${wl}-bM:SRE'
9482 export_dynamic_flag_spec
='${wl}-bexpall'
9483 # It seems that -bexpall does not export symbols beginning with
9484 # underscore (_), so it is better to generate a list of symbols to export.
9485 always_export_symbols
=yes
9486 if test "$aix_use_runtimelinking" = yes; then
9487 # Warning - without using the other runtime loading flags (-brtl),
9488 # -berok will link without error, but may produce a broken library.
9489 allow_undefined_flag
='-berok'
9490 # Determine the default libpath from the value encoded in an
9492 if test "${lt_cv_aix_libpath+set}" = set; then
9493 aix_libpath
=$lt_cv_aix_libpath
9495 if ${lt_cv_aix_libpath_+:} false
; then :
9496 $as_echo_n "(cached) " >&6
9498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9509 if ac_fn_c_try_link
"$LINENO"; then :
9511 lt_aix_libpath_sed
='
9512 /Import File Strings/,/^$/ {
9514 s/^0 *\([^ ]*\) *$/\1/
9518 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9519 # Check for a 64-bit object if we didn't find anything.
9520 if test -z "$lt_cv_aix_libpath_"; then
9521 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9524 rm -f core conftest.err conftest.
$ac_objext \
9525 conftest
$ac_exeext conftest.
$ac_ext
9526 if test -z "$lt_cv_aix_libpath_"; then
9527 lt_cv_aix_libpath_
="/usr/lib:/lib"
9532 aix_libpath
=$lt_cv_aix_libpath_
9535 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9536 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"
9538 if test "$host_cpu" = ia64
; then
9539 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9540 allow_undefined_flag
="-z nodefs"
9541 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"
9543 # Determine the default libpath from the value encoded in an
9545 if test "${lt_cv_aix_libpath+set}" = set; then
9546 aix_libpath
=$lt_cv_aix_libpath
9548 if ${lt_cv_aix_libpath_+:} false
; then :
9549 $as_echo_n "(cached) " >&6
9551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9562 if ac_fn_c_try_link
"$LINENO"; then :
9564 lt_aix_libpath_sed
='
9565 /Import File Strings/,/^$/ {
9567 s/^0 *\([^ ]*\) *$/\1/
9571 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9572 # Check for a 64-bit object if we didn't find anything.
9573 if test -z "$lt_cv_aix_libpath_"; then
9574 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9577 rm -f core conftest.err conftest.
$ac_objext \
9578 conftest
$ac_exeext conftest.
$ac_ext
9579 if test -z "$lt_cv_aix_libpath_"; then
9580 lt_cv_aix_libpath_
="/usr/lib:/lib"
9585 aix_libpath
=$lt_cv_aix_libpath_
9588 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9589 # Warning - without using the other run time loading flags,
9590 # -berok will link without error, but may produce a broken library.
9591 no_undefined_flag
=' ${wl}-bernotok'
9592 allow_undefined_flag
=' ${wl}-berok'
9593 if test "$with_gnu_ld" = yes; then
9594 # We only use this code for GNU lds that support --whole-archive.
9595 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9597 # Exported symbols can be pulled into shared objects from archives
9598 whole_archive_flag_spec
='$convenience'
9600 archive_cmds_need_lc
=yes
9601 # This is similar to how AIX traditionally builds its shared libraries.
9602 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'
9610 # see comment about AmigaOS4 .so support
9611 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9612 archive_expsym_cmds
=''
9615 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)'
9616 hardcode_libdir_flag_spec
='-L$libdir'
9617 hardcode_minus_L
=yes
9623 export_dynamic_flag_spec
=-rdynamic
9626 cygwin
* | mingw
* | pw32
* | cegcc
*)
9627 # When not using gcc, we currently assume that we are using
9628 # Microsoft Visual C++.
9629 # hardcode_libdir_flag_spec is actually meaningless, as there is
9630 # no search path for DLLs.
9631 case $cc_basename in
9634 hardcode_libdir_flag_spec
=' '
9635 allow_undefined_flag
=unsupported
9636 always_export_symbols
=yes
9638 # Tell ltmain to make .lib files, not .a files.
9640 # Tell ltmain to make .dll files, not .so files.
9642 # FIXME: Setting linknames here is a bad hack.
9643 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9644 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9645 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9647 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9649 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9651 # The linker will not automatically build a static lib if we build a DLL.
9652 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9653 enable_shared_with_static_runtimes
=yes
9654 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9655 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9657 old_postinstall_cmds
='chmod 644 $oldlib'
9658 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9659 lt_tool_outputfile="@TOOL_OUTPUT@"~
9660 case $lt_outputfile in
9663 lt_outputfile="$lt_outputfile.exe"
9664 lt_tool_outputfile="$lt_tool_outputfile.exe"
9667 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9668 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9669 $RM "$lt_outputfile.manifest";
9673 # Assume MSVC wrapper
9674 hardcode_libdir_flag_spec
=' '
9675 allow_undefined_flag
=unsupported
9676 # Tell ltmain to make .lib files, not .a files.
9678 # Tell ltmain to make .dll files, not .so files.
9680 # FIXME: Setting linknames here is a bad hack.
9681 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9682 # The linker will automatically build a .lib file if we build a DLL.
9683 old_archive_from_new_cmds
='true'
9684 # FIXME: Should let the user specify the lib program.
9685 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9686 enable_shared_with_static_runtimes
=yes
9691 darwin
* | rhapsody
*)
9694 archive_cmds_need_lc
=no
9696 hardcode_automatic
=yes
9697 hardcode_shlibpath_var
=unsupported
9698 if test "$lt_cv_ld_force_load" = "yes"; then
9699 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\"`'
9702 whole_archive_flag_spec
=''
9704 link_all_deplibs
=yes
9705 allow_undefined_flag
="$_lt_dar_allow_undefined"
9706 case $cc_basename in
9707 ifort
*) _lt_dar_can_shared
=yes ;;
9708 *) _lt_dar_can_shared
=$GCC ;;
9710 if test "$_lt_dar_can_shared" = "yes"; then
9711 output_verbose_link_cmd
=func_echo_all
9712 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9713 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9714 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}"
9715 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}"
9724 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9725 hardcode_libdir_flag_spec
='-L$libdir'
9726 hardcode_shlibpath_var
=no
9729 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9730 # support. Future versions do this automatically, but an explicit c++rt0.o
9731 # does not break anything, and helps significantly (at the cost of a little
9734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9735 hardcode_libdir_flag_spec
='-R$libdir'
9737 hardcode_shlibpath_var
=no
9740 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9742 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9744 hardcode_minus_L
=yes
9745 hardcode_shlibpath_var
=no
9748 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9749 freebsd
* | dragonfly
*)
9750 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9751 hardcode_libdir_flag_spec
='-R$libdir'
9753 hardcode_shlibpath_var
=no
9757 if test "$GCC" = yes; then
9758 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'
9760 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'
9762 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9763 hardcode_libdir_separator
=:
9766 # hardcode_minus_L: Not really in the search PATH,
9767 # but as the default location of the library.
9768 hardcode_minus_L
=yes
9769 export_dynamic_flag_spec
='${wl}-E'
9773 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9774 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9776 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9778 if test "$with_gnu_ld" = no
; then
9779 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9780 hardcode_libdir_separator
=:
9782 hardcode_direct_absolute
=yes
9783 export_dynamic_flag_spec
='${wl}-E'
9784 # hardcode_minus_L: Not really in the search PATH,
9785 # but as the default location of the library.
9786 hardcode_minus_L
=yes
9791 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9794 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9813 # Older versions of the 11.00 compiler do not understand -b yet
9814 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9816 $as_echo_n "checking if $CC understands -b... " >&6; }
9817 if ${lt_cv_prog_compiler__b+:} false
; then :
9818 $as_echo_n "(cached) " >&6
9820 lt_cv_prog_compiler__b
=no
9821 save_LDFLAGS
="$LDFLAGS"
9822 LDFLAGS
="$LDFLAGS -b"
9823 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9824 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9825 # The linker can only warn and ignore the option if not recognized
9826 # So say no if there are warnings
9827 if test -s conftest.err
; then
9828 # Append any errors to the config.log.
9829 cat conftest.err
1>&5
9830 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9831 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9832 if diff conftest.exp conftest.er2
>/dev
/null
; then
9833 lt_cv_prog_compiler__b
=yes
9836 lt_cv_prog_compiler__b
=yes
9840 LDFLAGS
="$save_LDFLAGS"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9844 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9846 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9847 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9855 if test "$with_gnu_ld" = no
; then
9856 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9857 hardcode_libdir_separator
=:
9862 hardcode_shlibpath_var
=no
9866 hardcode_direct_absolute
=yes
9867 export_dynamic_flag_spec
='${wl}-E'
9869 # hardcode_minus_L: Not really in the search PATH,
9870 # but as the default location of the library.
9871 hardcode_minus_L
=yes
9877 irix5
* | irix6
* | nonstopux
*)
9878 if test "$GCC" = yes; then
9879 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'
9880 # Try to use the -exported_symbol ld option, if it does not
9881 # work, assume that -exports_file does not work either and
9882 # implicitly export all symbols.
9883 # This should be the same for all languages, so no per-tag cache variable.
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9885 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9886 if ${lt_cv_irix_exported_symbol+:} false
; then :
9887 $as_echo_n "(cached) " >&6
9889 save_LDFLAGS
="$LDFLAGS"
9890 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo (void) { return 0; }
9895 if ac_fn_c_try_link
"$LINENO"; then :
9896 lt_cv_irix_exported_symbol
=yes
9898 lt_cv_irix_exported_symbol
=no
9900 rm -f core conftest.err conftest.
$ac_objext \
9901 conftest
$ac_exeext conftest.
$ac_ext
9902 LDFLAGS
="$save_LDFLAGS"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9905 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9906 if test "$lt_cv_irix_exported_symbol" = yes; then
9907 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'
9910 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'
9911 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'
9913 archive_cmds_need_lc
='no'
9914 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator
=:
9917 link_all_deplibs
=yes
9920 netbsd
* | netbsdelf
*-gnu)
9921 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9922 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9924 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9926 hardcode_libdir_flag_spec
='-R$libdir'
9928 hardcode_shlibpath_var
=no
9932 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9934 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9935 hardcode_libdir_separator
=:
9936 hardcode_shlibpath_var
=no
9943 if test -f /usr
/libexec
/ld.so
; then
9945 hardcode_shlibpath_var
=no
9946 hardcode_direct_absolute
=yes
9947 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9948 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9950 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9951 export_dynamic_flag_spec
='${wl}-E'
9954 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9955 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_libdir_flag_spec
='-R$libdir'
9959 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9960 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9970 hardcode_libdir_flag_spec
='-L$libdir'
9971 hardcode_minus_L
=yes
9972 allow_undefined_flag
=unsupported
9973 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'
9974 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9978 if test "$GCC" = yes; then
9979 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9980 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'
9982 allow_undefined_flag
=' -expect_unresolved \*'
9983 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'
9985 archive_cmds_need_lc
='no'
9986 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9987 hardcode_libdir_separator
=:
9990 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9991 if test "$GCC" = yes; then
9992 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9993 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'
9994 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9996 allow_undefined_flag
=' -expect_unresolved \*'
9997 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'
9998 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~
9999 $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'
10001 # Both c and cxx compiler support -rpath directly
10002 hardcode_libdir_flag_spec
='-rpath $libdir'
10004 archive_cmds_need_lc
='no'
10005 hardcode_libdir_separator
=:
10009 no_undefined_flag
=' -z defs'
10010 if test "$GCC" = yes; then
10012 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $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'
10016 case `$CC -V 2>&1` in
10019 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10021 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10025 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10026 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10027 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10031 hardcode_libdir_flag_spec
='-R$libdir'
10032 hardcode_shlibpath_var
=no
10034 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10036 # The compiler driver will combine and reorder linker options,
10037 # but understands `-z linker_flag'. GCC discards it without `$wl',
10038 # but is careful enough not to reorder.
10039 # Supported since Solaris 2.6 (maybe 2.5.1?)
10040 if test "$GCC" = yes; then
10041 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10043 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10047 link_all_deplibs
=yes
10051 if test "x$host_vendor" = xsequent
; then
10052 # Use $CC to link under sequent, because it throws in some extra .o
10053 # files that make .init and .fini sections work.
10054 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10058 hardcode_libdir_flag_spec
='-L$libdir'
10059 hardcode_direct
=yes
10060 hardcode_minus_L
=yes
10061 hardcode_shlibpath_var
=no
10065 case $host_vendor in
10067 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_direct
=yes # is this really true???
10071 ## LD is ld it makes a PLAMLIB
10072 ## CC just makes a GrossModule.
10073 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10074 reload_cmds
='$CC -r -o $output$reload_objs'
10078 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10079 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10082 runpath_var
='LD_RUN_PATH'
10083 hardcode_shlibpath_var
=no
10087 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var
=no
10089 export_dynamic_flag_spec
='-Bexport'
10093 if test -d /usr
/nec
; then
10094 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095 hardcode_shlibpath_var
=no
10096 runpath_var
=LD_RUN_PATH
10097 hardcode_runpath_var
=yes
10102 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10103 no_undefined_flag
='${wl}-z,text'
10104 archive_cmds_need_lc
=no
10105 hardcode_shlibpath_var
=no
10106 runpath_var
='LD_RUN_PATH'
10108 if test "$GCC" = yes; then
10109 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 sysv5
* | sco3.2v5
* | sco5v6
*)
10118 # Note: We can NOT use -z defs as we might desire, because we do not
10119 # link with -lc, and that would cause any symbols used from libc to
10120 # always be unresolved, which means just about no library would
10121 # ever link correctly. If we're not using GNU ld we use -z text
10122 # though, which does catch some bad symbols but isn't as heavy-handed
10124 no_undefined_flag
='${wl}-z,text'
10125 allow_undefined_flag
='${wl}-z,nodefs'
10126 archive_cmds_need_lc
=no
10127 hardcode_shlibpath_var
=no
10128 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10129 hardcode_libdir_separator
=':'
10130 link_all_deplibs
=yes
10131 export_dynamic_flag_spec
='${wl}-Bexport'
10132 runpath_var
='LD_RUN_PATH'
10134 if test "$GCC" = yes; then
10135 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10145 hardcode_libdir_flag_spec
='-L$libdir'
10146 hardcode_shlibpath_var
=no
10154 if test x
$host_vendor = xsni
; then
10156 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10157 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10164 $as_echo "$ld_shlibs" >&6; }
10165 test "$ld_shlibs" = no
&& can_build_shared
=no
10167 with_gnu_ld
=$with_gnu_ld
10184 # Do we need to explicitly link libc?
10186 case "x$archive_cmds_need_lc" in
10188 # Assume -lc should be added
10189 archive_cmds_need_lc
=yes
10191 if test "$enable_shared" = yes && test "$GCC" = yes; then
10192 case $archive_cmds in
10194 # FIXME: we may have to deal with multi-command sequences.
10197 # Test whether the compiler implicitly links with -lc since on some
10198 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10199 # to ld, don't add -lc before -lgcc.
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10201 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10202 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10203 $as_echo_n "(cached) " >&6
10206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10209 (eval $ac_compile) 2>&5
10211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10212 test $ac_status = 0; } 2>conftest.err
; then
10215 libobjs
=conftest.
$ac_objext
10217 wl
=$lt_prog_compiler_wl
10218 pic_flag
=$lt_prog_compiler_pic
10224 lt_save_allow_undefined_flag
=$allow_undefined_flag
10225 allow_undefined_flag
=
10226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10227 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10230 test $ac_status = 0; }
10232 lt_cv_archive_cmds_need_lc
=no
10234 lt_cv_archive_cmds_need_lc
=yes
10236 allow_undefined_flag
=$lt_save_allow_undefined_flag
10238 cat conftest.err
1>&5
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10244 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10245 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10404 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10406 if test "$GCC" = yes; then
10408 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10409 *) lt_awk_arg
="/^libraries:/" ;;
10412 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10413 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10415 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10416 case $lt_search_path_spec in
10418 # if the path contains ";" then we assume it to be the separator
10419 # otherwise default to the standard path separator (i.e. ":") - it is
10420 # assumed that no part of a normal pathname contains ";" but that should
10421 # okay in the real world where ";" in dirpaths is itself problematic.
10422 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10425 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10428 # Ok, now we have the path, separated by spaces, we can step through it
10429 # and add multilib dir if necessary.
10430 lt_tmp_lt_search_path_spec
=
10431 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10432 for lt_sys_path
in $lt_search_path_spec; do
10433 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10434 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10436 test -d "$lt_sys_path" && \
10437 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10440 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10441 BEGIN {RS=" "; FS="/|\n";} {
10444 for (lt_i = NF; lt_i > 0; lt_i--) {
10445 if ($lt_i != "" && $lt_i != ".") {
10446 if ($lt_i == "..") {
10449 if (lt_count == 0) {
10450 lt_foo="/" $lt_i lt_foo;
10457 if (lt_foo != "") { lt_freq[lt_foo]++; }
10458 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10460 # AWK program above erroneously prepends '/' to C:/dos/paths
10463 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10464 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10466 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10468 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10470 library_names_spec
=
10471 libname_spec
='lib$name'
10475 postuninstall_cmds
=
10479 shlibpath_overrides_runpath
=unknown
10481 dynamic_linker
="$host_os ld.so"
10482 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10483 need_lib_prefix
=unknown
10484 hardcode_into_libs
=no
10486 # when you set need_version to no, make sure it does not cause -set_version
10487 # flags to be left without arguments
10488 need_version
=unknown
10492 version_type
=linux
# correct to gnu/linux during the next big refactor
10493 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10494 shlibpath_var
=LIBPATH
10496 # AIX 3 has no versioning support, so we append a major version to the name.
10497 soname_spec
='${libname}${release}${shared_ext}$major'
10501 version_type
=linux
# correct to gnu/linux during the next big refactor
10504 hardcode_into_libs
=yes
10505 if test "$host_cpu" = ia64
; then
10506 # AIX 5 supports IA64
10507 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10508 shlibpath_var
=LD_LIBRARY_PATH
10510 # With GCC up to 2.95.x, collect2 would create an import file
10511 # for dependence libraries. The import file would start with
10512 # the line `#! .'. This would cause the generated library to
10513 # depend on `.', always an invalid library. This was fixed in
10514 # development snapshots of GCC prior to 3.0.
10516 aix4 | aix4.
[01] | aix4.
[01].
*)
10517 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10519 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10522 can_build_shared
=no
10526 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10527 # soname into executable. Probably we can add versioning support to
10528 # collect2, so additional links can be useful in future.
10529 if test "$aix_use_runtimelinking" = yes; then
10530 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10531 # instead of lib<name>.a to let people know that these are not
10532 # typical AIX shared libraries.
10533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 # We preserve .a as extension for shared libraries through AIX4.2
10536 # and later when we are not doing run time linking.
10537 library_names_spec
='${libname}${release}.a $libname.a'
10538 soname_spec
='${libname}${release}${shared_ext}$major'
10540 shlibpath_var
=LIBPATH
10547 # Since July 2007 AmigaOS4 officially supports .so libraries.
10548 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 library_names_spec
='$libname.ixlibrary $libname.a'
10553 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10554 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'
10560 library_names_spec
='${libname}${shared_ext}'
10561 dynamic_linker
="$host_os ld.so"
10562 shlibpath_var
=LIBRARY_PATH
10566 version_type
=linux
# correct to gnu/linux during the next big refactor
10568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10570 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10571 shlibpath_var
=LD_LIBRARY_PATH
10572 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10573 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10574 # the default ld.so.conf also contains /usr/contrib/lib and
10575 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10576 # libtool to hard-code these into programs
10579 cygwin
* | mingw
* | pw32
* | cegcc
*)
10580 version_type
=windows
10585 case $GCC,$cc_basename in
10588 library_names_spec
='$libname.dll.a'
10589 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10590 postinstall_cmds
='base_file=`basename \${file}`~
10591 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10592 dldir=$destdir/`dirname \$dlpath`~
10593 test -d \$dldir || mkdir -p \$dldir~
10594 $install_prog $dir/$dlname \$dldir/$dlname~
10595 chmod a+x \$dldir/$dlname~
10596 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10597 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10599 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10600 dlpath=$dir/\$dldll~
10602 shlibpath_overrides_runpath
=yes
10606 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10607 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10609 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10612 # MinGW DLLs use traditional 'lib' prefix
10613 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 # pw32 DLLs use 'pw' prefix rather than 'lib'
10617 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10620 dynamic_linker
='Win32 ld.exe'
10625 libname_spec
='$name'
10626 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627 library_names_spec
='${libname}.dll.lib'
10631 sys_lib_search_path_spec
=
10634 for lt_path
in $LIB
10637 # Let DOS variable expansion print the short 8.3 style file name.
10638 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10639 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10642 # Convert to MSYS style.
10643 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10646 # Convert to unix form, then to dos form, then back to unix form
10647 # but this time dos style (no spaces!) so that the unix form looks
10648 # like /cygdrive/c/PROGRA~1:/cygdr...
10649 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10650 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10651 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10654 sys_lib_search_path_spec
="$LIB"
10655 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10656 # It is most probably a Windows format PATH.
10657 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10659 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10661 # FIXME: find the short name or the path components, as spaces are
10662 # common. (e.g. "Program Files" -> "PROGRA~1")
10666 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10667 postinstall_cmds
='base_file=`basename \${file}`~
10668 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10669 dldir=$destdir/`dirname \$dlpath`~
10670 test -d \$dldir || mkdir -p \$dldir~
10671 $install_prog $dir/$dlname \$dldir/$dlname'
10672 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10673 dlpath=$dir/\$dldll~
10675 shlibpath_overrides_runpath
=yes
10676 dynamic_linker
='Win32 link.exe'
10680 # Assume MSVC wrapper
10681 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10682 dynamic_linker
='Win32 ld.exe'
10685 # FIXME: first we should search . and the directory the executable is in
10689 darwin
* | rhapsody
*)
10690 dynamic_linker
="$host_os dyld"
10691 version_type
=darwin
10694 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10695 soname_spec
='${libname}${release}${major}$shared_ext'
10696 shlibpath_overrides_runpath
=yes
10697 shlibpath_var
=DYLD_LIBRARY_PATH
10698 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10700 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10701 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10705 version_type
=linux
# correct to gnu/linux during the next big refactor
10708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10709 soname_spec
='${libname}${release}${shared_ext}$major'
10710 shlibpath_var
=LD_LIBRARY_PATH
10713 freebsd
* | dragonfly
*)
10714 # DragonFly does not have aout. When/if they implement a new
10715 # versioning mechanism, adjust this.
10716 if test -x /usr
/bin
/objformat
; then
10717 objformat
=`/usr/bin/objformat`
10720 freebsd
[23].
*) objformat
=aout
;;
10721 *) objformat
=elf
;;
10724 version_type
=freebsd-
$objformat
10725 case $version_type in
10727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10732 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10736 shlibpath_var
=LD_LIBRARY_PATH
10739 shlibpath_overrides_runpath
=yes
10741 freebsd3.
[01]* | freebsdelf3.
[01]*)
10742 shlibpath_overrides_runpath
=yes
10743 hardcode_into_libs
=yes
10745 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10746 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10747 shlibpath_overrides_runpath
=no
10748 hardcode_into_libs
=yes
10750 *) # from 4.6 on, and DragonFly
10751 shlibpath_overrides_runpath
=yes
10752 hardcode_into_libs
=yes
10758 version_type
=linux
# correct to gnu/linux during the next big refactor
10761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10762 soname_spec
='${libname}${release}${shared_ext}$major'
10763 shlibpath_var
=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath
=no
10765 hardcode_into_libs
=yes
10769 version_type
=linux
# correct to gnu/linux during the next big refactor
10772 dynamic_linker
="$host_os runtime_loader"
10773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10774 soname_spec
='${libname}${release}${shared_ext}$major'
10775 shlibpath_var
=LIBRARY_PATH
10776 shlibpath_overrides_runpath
=yes
10777 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10778 hardcode_into_libs
=yes
10781 hpux9
* | hpux10
* | hpux11
*)
10782 # Give a soname corresponding to the major version so that dld.sl refuses to
10783 # link against other versions.
10790 hardcode_into_libs
=yes
10791 dynamic_linker
="$host_os dld.so"
10792 shlibpath_var
=LD_LIBRARY_PATH
10793 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795 soname_spec
='${libname}${release}${shared_ext}$major'
10796 if test "X$HPUX_IA64_MODE" = X32
; then
10797 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10799 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10801 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10805 hardcode_into_libs
=yes
10806 dynamic_linker
="$host_os dld.sl"
10807 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10808 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810 soname_spec
='${libname}${release}${shared_ext}$major'
10811 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10812 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10816 dynamic_linker
="$host_os dld.sl"
10817 shlibpath_var
=SHLIB_PATH
10818 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820 soname_spec
='${libname}${release}${shared_ext}$major'
10823 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10824 postinstall_cmds
='chmod 555 $lib'
10825 # or fails outright, so override atomically:
10826 install_override_mode
=555
10830 version_type
=linux
# correct to gnu/linux during the next big refactor
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10834 soname_spec
='${libname}${release}${shared_ext}$major'
10835 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10836 shlibpath_var
=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath
=no
10838 hardcode_into_libs
=yes
10841 irix5
* | irix6
* | nonstopux
*)
10843 nonstopux
*) version_type
=nonstopux
;;
10845 if test "$lt_cv_prog_gnu_ld" = yes; then
10846 version_type
=linux
# correct to gnu/linux during the next big refactor
10853 soname_spec
='${libname}${release}${shared_ext}$major'
10854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10856 irix5
* | nonstopux
*)
10857 libsuff
= shlibsuff
=
10860 case $LD in # libtool.m4 will add one of these switches to LD
10861 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10862 libsuff
= shlibsuff
= libmagic
=32-bit;;
10863 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10864 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10865 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10866 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10867 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10871 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10872 shlibpath_overrides_runpath
=no
10873 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10874 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10875 hardcode_into_libs
=yes
10878 # No shared lib support for Linux oldld, aout, or coff.
10879 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10883 # This must be glibc/ELF.
10884 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10885 version_type
=linux
# correct to gnu/linux during the next big refactor
10888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 soname_spec
='${libname}${release}${shared_ext}$major'
10890 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10891 shlibpath_var
=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath
=no
10894 # Some binutils ld are patched to set DT_RUNPATH
10895 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10896 $as_echo_n "(cached) " >&6
10898 lt_cv_shlibpath_overrides_runpath
=no
10899 save_LDFLAGS
=$LDFLAGS
10900 save_libdir
=$libdir
10901 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10902 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10914 if ac_fn_c_try_link
"$LINENO"; then :
10915 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10916 lt_cv_shlibpath_overrides_runpath
=yes
10919 rm -f core conftest.err conftest.
$ac_objext \
10920 conftest
$ac_exeext conftest.
$ac_ext
10921 LDFLAGS
=$save_LDFLAGS
10922 libdir
=$save_libdir
10926 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10928 # This implies no fast_install, which is unacceptable.
10929 # Some rework will be needed to allow for fast_install
10930 # before this can be enabled.
10931 hardcode_into_libs
=yes
10933 # Append ld.so.conf contents to the search path
10934 if test -f /etc
/ld.so.conf
; then
10935 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' ' '`
10936 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10939 # We used to test for /lib/ld.so.1 and disable shared libraries on
10940 # powerpc, because MkLinux only supported shared libraries with the
10941 # GNU dynamic linker. Since this was broken with cross compilers,
10942 # most powerpc-linux boxes support dynamic linking these days and
10943 # people can always --disable-shared, the test was removed, and we
10944 # assume the GNU/Linux dynamic linker is in use.
10945 dynamic_linker
='GNU/Linux ld.so'
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10953 soname_spec
='${libname}${release}${shared_ext}$major'
10954 shlibpath_var
=LD_LIBRARY_PATH
10955 shlibpath_overrides_runpath
=no
10956 hardcode_into_libs
=yes
10957 dynamic_linker
='NetBSD ld.elf_so'
10964 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10967 dynamic_linker
='NetBSD (a.out) ld.so'
10969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10970 soname_spec
='${libname}${release}${shared_ext}$major'
10971 dynamic_linker
='NetBSD ld.elf_so'
10973 shlibpath_var
=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath
=yes
10975 hardcode_into_libs
=yes
10979 version_type
=linux
# correct to gnu/linux during the next big refactor
10980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 shlibpath_var
=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath
=yes
10989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec
='${libname}${release}${shared_ext}$major'
10991 shlibpath_var
=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath
=no
10993 hardcode_into_libs
=yes
10994 dynamic_linker
='ldqnx.so'
10999 sys_lib_dlsearch_path_spec
="/usr/lib"
11001 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11003 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11004 *) need_version
=no
;;
11006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008 shlibpath_var
=LD_LIBRARY_PATH
11009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11011 openbsd2.
[89] | openbsd2.
[89].
*)
11012 shlibpath_overrides_runpath
=no
11015 shlibpath_overrides_runpath
=yes
11019 shlibpath_overrides_runpath
=yes
11024 libname_spec
='$name'
11027 library_names_spec
='$libname${shared_ext} $libname.a'
11028 dynamic_linker
='OS/2 ld.exe'
11029 shlibpath_var
=LIBPATH
11032 osf3
* | osf4
* | osf5
*)
11036 soname_spec
='${libname}${release}${shared_ext}$major'
11037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var
=LD_LIBRARY_PATH
11039 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11040 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11048 version_type
=linux
# correct to gnu/linux during the next big refactor
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec
='${libname}${release}${shared_ext}$major'
11053 shlibpath_var
=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath
=yes
11055 hardcode_into_libs
=yes
11056 # ldd complains unless libraries are executable
11057 postinstall_cmds
='chmod +x $lib'
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11064 shlibpath_var
=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath
=yes
11066 if test "$with_gnu_ld" = yes; then
11073 version_type
=linux
# correct to gnu/linux during the next big refactor
11074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec
='${libname}${release}${shared_ext}$major'
11076 shlibpath_var
=LD_LIBRARY_PATH
11077 case $host_vendor in
11079 shlibpath_overrides_runpath
=no
11081 runpath_var
=LD_RUN_PATH
11089 shlibpath_overrides_runpath
=no
11090 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11096 if test -d /usr
/nec
;then
11097 version_type
=linux
# correct to gnu/linux during the next big refactor
11098 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11099 soname_spec
='$libname${shared_ext}.$major'
11100 shlibpath_var
=LD_LIBRARY_PATH
11104 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11105 version_type
=freebsd-elf
11108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11109 soname_spec
='${libname}${release}${shared_ext}$major'
11110 shlibpath_var
=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath
=yes
11112 hardcode_into_libs
=yes
11113 if test "$with_gnu_ld" = yes; then
11114 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11116 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11119 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11123 sys_lib_dlsearch_path_spec
='/usr/lib'
11127 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11128 version_type
=linux
# correct to gnu/linux during the next big refactor
11131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 shlibpath_var
=LD_LIBRARY_PATH
11133 shlibpath_overrides_runpath
=no
11134 hardcode_into_libs
=yes
11138 version_type
=linux
# correct to gnu/linux during the next big refactor
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec
='${libname}${release}${shared_ext}$major'
11141 shlibpath_var
=LD_LIBRARY_PATH
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11149 $as_echo "$dynamic_linker" >&6; }
11150 test "$dynamic_linker" = no
&& can_build_shared
=no
11152 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11153 if test "$GCC" = yes; then
11154 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11157 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11158 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11160 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11161 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11256 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11258 if test -n "$hardcode_libdir_flag_spec" ||
11259 test -n "$runpath_var" ||
11260 test "X$hardcode_automatic" = "Xyes" ; then
11262 # We can hardcode non-existent directories.
11263 if test "$hardcode_direct" != no
&&
11264 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11265 # have to relink, otherwise we might link with an installed library
11266 # when we should be linking with a yet-to-be-installed one
11267 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11268 test "$hardcode_minus_L" != no
; then
11269 # Linking always hardcodes the temporary library directory.
11270 hardcode_action
=relink
11272 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11273 hardcode_action
=immediate
11276 # We cannot hardcode anything, or else we can only hardcode existing
11278 hardcode_action
=unsupported
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11281 $as_echo "$hardcode_action" >&6; }
11283 if test "$hardcode_action" = relink ||
11284 test "$inherit_rpath" = yes; then
11285 # Fast installation is not supported
11286 enable_fast_install
=no
11287 elif test "$shlibpath_overrides_runpath" = yes ||
11288 test "$enable_shared" = no
; then
11289 # Fast installation is not necessary
11290 enable_fast_install
=needless
11298 if test "x$enable_dlopen" != xyes
; then
11299 enable_dlopen
=unknown
11300 enable_dlopen_self
=unknown
11301 enable_dlopen_self_static
=unknown
11308 lt_cv_dlopen
="load_add_on"
11310 lt_cv_dlopen_self
=yes
11313 mingw
* | pw32
* | cegcc
*)
11314 lt_cv_dlopen
="LoadLibrary"
11319 lt_cv_dlopen
="dlopen"
11324 # if libdl is installed we need to link against it
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11328 $as_echo_n "(cached) " >&6
11330 ac_check_lib_save_LIBS
=$LIBS
11332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11350 if ac_fn_c_try_link
"$LINENO"; then :
11351 ac_cv_lib_dl_dlopen
=yes
11353 ac_cv_lib_dl_dlopen
=no
11355 rm -f core conftest.err conftest.
$ac_objext \
11356 conftest
$ac_exeext conftest.
$ac_ext
11357 LIBS
=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11362 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11365 lt_cv_dlopen
="dyld"
11367 lt_cv_dlopen_self
=yes
11374 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = xyes
; then :
11376 lt_cv_dlopen
="shl_load"
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11381 $as_echo_n "(cached) " >&6
11383 ac_check_lib_save_LIBS
=$LIBS
11385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11398 return shl_load ();
11403 if ac_fn_c_try_link
"$LINENO"; then :
11404 ac_cv_lib_dld_shl_load
=yes
11406 ac_cv_lib_dld_shl_load
=no
11408 rm -f core conftest.err conftest.
$ac_objext \
11409 conftest
$ac_exeext conftest.
$ac_ext
11410 LIBS
=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11413 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11414 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11415 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11417 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11418 if test "x$ac_cv_func_dlopen" = xyes
; then :
11419 lt_cv_dlopen
="dlopen"
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11422 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11423 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11424 $as_echo_n "(cached) " >&6
11426 ac_check_lib_save_LIBS
=$LIBS
11428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11446 if ac_fn_c_try_link
"$LINENO"; then :
11447 ac_cv_lib_dl_dlopen
=yes
11449 ac_cv_lib_dl_dlopen
=no
11451 rm -f core conftest.err conftest.
$ac_objext \
11452 conftest
$ac_exeext conftest.
$ac_ext
11453 LIBS
=$ac_check_lib_save_LIBS
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11456 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11457 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11458 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11461 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11462 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_lib_save_LIBS
=$LIBS
11466 LIBS
="-lsvld $LIBS"
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11485 if ac_fn_c_try_link
"$LINENO"; then :
11486 ac_cv_lib_svld_dlopen
=yes
11488 ac_cv_lib_svld_dlopen
=no
11490 rm -f core conftest.err conftest.
$ac_objext \
11491 conftest
$ac_exeext conftest.
$ac_ext
11492 LIBS
=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11495 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11496 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11497 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11500 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11501 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11502 $as_echo_n "(cached) " >&6
11504 ac_check_lib_save_LIBS
=$LIBS
11506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11519 return dld_link ();
11524 if ac_fn_c_try_link
"$LINENO"; then :
11525 ac_cv_lib_dld_dld_link
=yes
11527 ac_cv_lib_dld_dld_link
=no
11529 rm -f core conftest.err conftest.
$ac_objext \
11530 conftest
$ac_exeext conftest.
$ac_ext
11531 LIBS
=$ac_check_lib_save_LIBS
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11534 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11535 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11536 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11557 if test "x$lt_cv_dlopen" != xno
; then
11563 case $lt_cv_dlopen in
11565 save_CPPFLAGS
="$CPPFLAGS"
11566 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11568 save_LDFLAGS
="$LDFLAGS"
11569 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11572 LIBS
="$lt_cv_dlopen_libs $LIBS"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11575 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11576 if ${lt_cv_dlopen_self+:} false
; then :
11577 $as_echo_n "(cached) " >&6
11579 if test "$cross_compiling" = yes; then :
11580 lt_cv_dlopen_self
=cross
11582 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11583 lt_status
=$lt_dlunknown
11584 cat > conftest.
$ac_ext <<_LT_EOF
11585 #line $LINENO "configure"
11586 #include "confdefs.h"
11595 # define LT_DLGLOBAL RTLD_GLOBAL
11598 # define LT_DLGLOBAL DL_GLOBAL
11600 # define LT_DLGLOBAL 0
11604 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11605 find out it does not work in some platform. */
11606 #ifndef LT_DLLAZY_OR_NOW
11608 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11611 # define LT_DLLAZY_OR_NOW DL_LAZY
11614 # define LT_DLLAZY_OR_NOW RTLD_NOW
11617 # define LT_DLLAZY_OR_NOW DL_NOW
11619 # define LT_DLLAZY_OR_NOW 0
11626 /* When -fvisbility=hidden is used, assume the code has been annotated
11627 correspondingly for the symbols needed. */
11628 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11629 int fnord () __attribute__((visibility("default")));
11632 int fnord () { return 42; }
11635 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11636 int status = $lt_dlunknown;
11640 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11643 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11644 else puts (dlerror ());
11646 /* dlclose (self); */
11654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11655 (eval $ac_link) 2>&5
11657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11658 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11659 (.
/conftest
; exit; ) >&5 2>/dev
/null
11661 case x
$lt_status in
11662 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11663 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11664 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11667 # compilation failed
11668 lt_cv_dlopen_self
=no
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11676 $as_echo "$lt_cv_dlopen_self" >&6; }
11678 if test "x$lt_cv_dlopen_self" = xyes
; then
11679 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11681 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11682 if ${lt_cv_dlopen_self_static+:} false
; then :
11683 $as_echo_n "(cached) " >&6
11685 if test "$cross_compiling" = yes; then :
11686 lt_cv_dlopen_self_static
=cross
11688 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11689 lt_status
=$lt_dlunknown
11690 cat > conftest.
$ac_ext <<_LT_EOF
11691 #line $LINENO "configure"
11692 #include "confdefs.h"
11701 # define LT_DLGLOBAL RTLD_GLOBAL
11704 # define LT_DLGLOBAL DL_GLOBAL
11706 # define LT_DLGLOBAL 0
11710 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11711 find out it does not work in some platform. */
11712 #ifndef LT_DLLAZY_OR_NOW
11714 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11717 # define LT_DLLAZY_OR_NOW DL_LAZY
11720 # define LT_DLLAZY_OR_NOW RTLD_NOW
11723 # define LT_DLLAZY_OR_NOW DL_NOW
11725 # define LT_DLLAZY_OR_NOW 0
11732 /* When -fvisbility=hidden is used, assume the code has been annotated
11733 correspondingly for the symbols needed. */
11734 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11735 int fnord () __attribute__((visibility("default")));
11738 int fnord () { return 42; }
11741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11742 int status = $lt_dlunknown;
11746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11749 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11750 else puts (dlerror ());
11752 /* dlclose (self); */
11760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11761 (eval $ac_link) 2>&5
11763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11764 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11765 (.
/conftest
; exit; ) >&5 2>/dev
/null
11767 case x
$lt_status in
11768 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11769 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11770 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11773 # compilation failed
11774 lt_cv_dlopen_self_static
=no
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11782 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11785 CPPFLAGS
="$save_CPPFLAGS"
11786 LDFLAGS
="$save_LDFLAGS"
11791 case $lt_cv_dlopen_self in
11792 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11793 *) enable_dlopen_self
=unknown
;;
11796 case $lt_cv_dlopen_self_static in
11797 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11798 *) enable_dlopen_self_static
=unknown
;;
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11821 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11822 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11823 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11824 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11826 $as_echo "yes" >&6; }
11828 # FIXME - insert some real tests, host_os isn't really good enough
11831 if test -n "$STRIP" ; then
11832 striplib
="$STRIP -x"
11833 old_striplib
="$STRIP -S"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11835 $as_echo "yes" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 $as_echo "no" >&6; }
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11843 $as_echo "no" >&6; }
11859 # Report which library types will actually be built
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11861 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11863 $as_echo "$can_build_shared" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11866 $as_echo_n "checking whether to build shared libraries... " >&6; }
11867 test "$can_build_shared" = "no" && enable_shared
=no
11869 # On AIX, shared libraries and static libraries use the same namespace, and
11870 # are all built from PIC.
11873 test "$enable_shared" = yes && enable_static
=no
11874 if test -n "$RANLIB"; then
11875 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11876 postinstall_cmds
='$RANLIB $lib'
11881 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11882 test "$enable_shared" = yes && enable_static
=no
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11887 $as_echo "$enable_shared" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11890 $as_echo_n "checking whether to build static libraries... " >&6; }
11891 # Make sure either enable_shared or enable_static is yes.
11892 test "$enable_shared" = yes || enable_static
=yes
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11894 $as_echo "$enable_static" >&6; }
11901 ac_cpp
='$CPP $CPPFLAGS'
11902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11908 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11909 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11910 (test "X$CXX" != "Xg++"))) ; then
11912 ac_cpp
='$CXXCPP $CPPFLAGS'
11913 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11917 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11918 if test -z "$CXXCPP"; then
11919 if ${ac_cv_prog_CXXCPP+:} false
; then :
11920 $as_echo_n "(cached) " >&6
11922 # Double quotes because CXXCPP needs to be expanded
11923 for CXXCPP
in "$CXX -E" "/lib/cpp"
11925 ac_preproc_ok
=false
11926 for ac_cxx_preproc_warn_flag
in '' yes
11928 # Use a header file that comes with gcc, so configuring glibc
11929 # with a fresh cross-compiler works.
11930 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11931 # <limits.h> exists even on freestanding compilers.
11932 # On the NeXT, cc -E runs the code through the compiler's parser,
11933 # not just through cpp. "Syntax error" is here to catch this case.
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 # include <limits.h>
11939 # include <assert.h>
11943 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11946 # Broken: fails on valid input.
11949 rm -f conftest.err conftest.i conftest.
$ac_ext
11951 # OK, works on sane cases. Now check whether nonexistent headers
11952 # can be detected and how.
11953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11955 #include <ac_nonexistent.h>
11957 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11958 # Broken: success on invalid input.
11961 # Passes both tests.
11965 rm -f conftest.err conftest.i conftest.
$ac_ext
11968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11969 rm -f conftest.i conftest.err conftest.
$ac_ext
11970 if $ac_preproc_ok; then :
11975 ac_cv_prog_CXXCPP
=$CXXCPP
11978 CXXCPP
=$ac_cv_prog_CXXCPP
11980 ac_cv_prog_CXXCPP
=$CXXCPP
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11983 $as_echo "$CXXCPP" >&6; }
11984 ac_preproc_ok
=false
11985 for ac_cxx_preproc_warn_flag
in '' yes
11987 # Use a header file that comes with gcc, so configuring glibc
11988 # with a fresh cross-compiler works.
11989 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11990 # <limits.h> exists even on freestanding compilers.
11991 # On the NeXT, cc -E runs the code through the compiler's parser,
11992 # not just through cpp. "Syntax error" is here to catch this case.
11993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 # include <limits.h>
11998 # include <assert.h>
12002 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12005 # Broken: fails on valid input.
12008 rm -f conftest.err conftest.i conftest.
$ac_ext
12010 # OK, works on sane cases. Now check whether nonexistent headers
12011 # can be detected and how.
12012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12014 #include <ac_nonexistent.h>
12016 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12017 # Broken: success on invalid input.
12020 # Passes both tests.
12024 rm -f conftest.err conftest.i conftest.
$ac_ext
12027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12028 rm -f conftest.i conftest.err conftest.
$ac_ext
12029 if $ac_preproc_ok; then :
12032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12034 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12035 See \`config.log' for more details" "$LINENO" 5; }
12039 ac_cpp
='$CPP $CPPFLAGS'
12040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12045 _lt_caught_CXX_error
=yes
12049 ac_cpp
='$CXXCPP $CPPFLAGS'
12050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12054 archive_cmds_need_lc_CXX
=no
12055 allow_undefined_flag_CXX
=
12056 always_export_symbols_CXX
=no
12057 archive_expsym_cmds_CXX
=
12058 compiler_needs_object_CXX
=no
12059 export_dynamic_flag_spec_CXX
=
12060 hardcode_direct_CXX
=no
12061 hardcode_direct_absolute_CXX
=no
12062 hardcode_libdir_flag_spec_CXX
=
12063 hardcode_libdir_separator_CXX
=
12064 hardcode_minus_L_CXX
=no
12065 hardcode_shlibpath_var_CXX
=unsupported
12066 hardcode_automatic_CXX
=no
12067 inherit_rpath_CXX
=no
12069 module_expsym_cmds_CXX
=
12070 link_all_deplibs_CXX
=unknown
12071 old_archive_cmds_CXX
=$old_archive_cmds
12072 reload_flag_CXX
=$reload_flag
12073 reload_cmds_CXX
=$reload_cmds
12074 no_undefined_flag_CXX
=
12075 whole_archive_flag_spec_CXX
=
12076 enable_shared_with_static_runtimes_CXX
=no
12078 # Source file extension for C++ test sources.
12081 # Object file extension for compiled C++ test sources.
12085 # No sense in running all these tests if we already determined that
12086 # the CXX compiler isn't working. Some variables (like enable_shared)
12087 # are currently assumed to apply to all compilers on this platform,
12088 # and will be corrupted by setting them based on a non-working compiler.
12089 if test "$_lt_caught_CXX_error" != yes; then
12090 # Code to be used in simple compile tests
12091 lt_simple_compile_test_code
="int some_variable = 0;"
12093 # Code to be used in simple link tests
12094 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12096 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12103 # If no C compiler was specified, use CC.
12106 # If no C compiler flags were specified, use CFLAGS.
12107 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12109 # Allow CC to be a program name with arguments.
12113 # save warnings/boilerplate of simple test code
12114 ac_outfile
=conftest.
$ac_objext
12115 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12116 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12117 _lt_compiler_boilerplate
=`cat conftest.err`
12120 ac_outfile
=conftest.
$ac_objext
12121 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12122 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12123 _lt_linker_boilerplate
=`cat conftest.err`
12127 # Allow CC to be a program name with arguments.
12129 lt_save_CFLAGS
=$CFLAGS
12133 lt_save_with_gnu_ld
=$with_gnu_ld
12134 lt_save_path_LD
=$lt_cv_path_LD
12135 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12136 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12138 $as_unset lt_cv_prog_gnu_ld
12140 if test -n "${lt_cv_path_LDCXX+set}"; then
12141 lt_cv_path_LD
=$lt_cv_path_LDCXX
12143 $as_unset lt_cv_path_LD
12145 test -z "${LDCXX+set}" || LD
=$LDCXX
12150 for cc_temp
in $compiler""; do
12152 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12153 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12158 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12161 if test -n "$compiler"; then
12162 # We don't want -fno-exception when compiling C++ code, so set the
12163 # no_builtin_flag separately
12164 if test "$GXX" = yes; then
12165 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12167 lt_prog_compiler_no_builtin_flag_CXX
=
12170 if test "$GXX" = yes; then
12171 # Set up default GNU C++ configuration
12175 # Check whether --with-gnu-ld was given.
12176 if test "${with_gnu_ld+set}" = set; then :
12177 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12183 if test "$GCC" = yes; then
12184 # Check if gcc -print-prog-name=ld gives a path.
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12186 $as_echo_n "checking for ld used by $CC... " >&6; }
12189 # gcc leaves a trailing carriage return which upsets mingw
12190 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12192 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12195 # Accept absolute paths.
12197 re_direlt
='/[^/][^/]*/\.\./'
12198 # Canonicalize the pathname of ld
12199 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12200 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12201 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12203 test -z "$LD" && LD
="$ac_prog"
12206 # If it fails, then pretend we aren't using GCC.
12210 # If it is relative, then search for the first ld in PATH.
12211 with_gnu_ld
=unknown
12214 elif test "$with_gnu_ld" = yes; then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12216 $as_echo_n "checking for GNU ld... " >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12219 $as_echo_n "checking for non-GNU ld... " >&6; }
12221 if ${lt_cv_path_LD+:} false
; then :
12222 $as_echo_n "(cached) " >&6
12224 if test -z "$LD"; then
12225 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12226 for ac_dir
in $PATH; do
12228 test -z "$ac_dir" && ac_dir
=.
12229 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12230 lt_cv_path_LD
="$ac_dir/$ac_prog"
12231 # Check to see if the program is GNU ld. I'd rather use --version,
12232 # but apparently some variants of GNU ld only accept -v.
12233 # Break only if it was the GNU/non-GNU ld that we prefer.
12234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12235 *GNU
* |
*'with BFD'*)
12236 test "$with_gnu_ld" != no
&& break
12239 test "$with_gnu_ld" != yes && break
12246 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12250 LD
="$lt_cv_path_LD"
12251 if test -n "$LD"; then
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12253 $as_echo "$LD" >&6; }
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256 $as_echo "no" >&6; }
12258 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12260 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12261 if ${lt_cv_prog_gnu_ld+:} false
; then :
12262 $as_echo_n "(cached) " >&6
12264 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12265 case `$LD -v 2>&1 </dev/null` in
12266 *GNU
* |
*'with BFD'*)
12267 lt_cv_prog_gnu_ld
=yes
12270 lt_cv_prog_gnu_ld
=no
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12275 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12276 with_gnu_ld
=$lt_cv_prog_gnu_ld
12284 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12285 # archiving commands below assume that GNU ld is being used.
12286 if test "$with_gnu_ld" = yes; then
12287 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12288 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'
12290 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12291 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12293 # If archive_cmds runs LD, not CC, wlarc should be empty
12294 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12295 # investigate it a little bit more. (MM)
12298 # ancient GNU ld didn't support --whole-archive et. al.
12299 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12300 $GREP 'no-whole-archive' > /dev
/null
; then
12301 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12303 whole_archive_flag_spec_CXX
=
12309 # A generic and very simple default shared library creation
12310 # command for GNU C++ for the case where it uses the native
12311 # linker, instead of GNU ld. If possible, this setting should
12312 # overridden to take advantage of the native linker features on
12313 # the platform it is being used on.
12314 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12317 # Commands to make compiler produce verbose output that lists
12318 # what "hidden" libraries, object files and flags are used when
12319 # linking a shared library.
12320 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12328 # PORTME: fill in a description of your system's C++ link characteristics
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12334 # FIXME: insert proper C++ library support
12338 if test "$host_cpu" = ia64
; then
12339 # On IA64, the linker does run time linking by default, so we don't
12340 # have to do anything special.
12341 aix_use_runtimelinking
=no
12342 exp_sym_flag
='-Bexport'
12345 aix_use_runtimelinking
=no
12347 # Test if we are trying to use run time linking or normal
12348 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12349 # need to do runtime linking.
12350 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12351 for ld_flag
in $LDFLAGS; do
12354 aix_use_runtimelinking
=yes
12362 exp_sym_flag
='-bexport'
12363 no_entry_flag
='-bnoentry'
12366 # When large executables or shared objects are built, AIX ld can
12367 # have problems creating the table of contents. If linking a library
12368 # or program results in "error TOC overflow" add -mminimal-toc to
12369 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12370 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12372 archive_cmds_CXX
=''
12373 hardcode_direct_CXX
=yes
12374 hardcode_direct_absolute_CXX
=yes
12375 hardcode_libdir_separator_CXX
=':'
12376 link_all_deplibs_CXX
=yes
12377 file_list_spec_CXX
='${wl}-f,'
12379 if test "$GXX" = yes; then
12380 case $host_os in aix4.
[012]|aix4.
[012].
*)
12381 # We only want to do this on AIX 4.2 and lower, the check
12382 # below for broken collect2 doesn't work under 4.3+
12383 collect2name
=`${CC} -print-prog-name=collect2`
12384 if test -f "$collect2name" &&
12385 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12387 # We have reworked collect2
12390 # We have old collect2
12391 hardcode_direct_CXX
=unsupported
12392 # It fails to find uninstalled libraries when the uninstalled
12393 # path is not listed in the libpath. Setting hardcode_minus_L
12394 # to unsupported forces relinking
12395 hardcode_minus_L_CXX
=yes
12396 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12397 hardcode_libdir_separator_CXX
=
12400 shared_flag
='-shared'
12401 if test "$aix_use_runtimelinking" = yes; then
12402 shared_flag
="$shared_flag "'${wl}-G'
12406 if test "$host_cpu" = ia64
; then
12407 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12408 # chokes on -Wl,-G. The following line is correct:
12411 if test "$aix_use_runtimelinking" = yes; then
12412 shared_flag
='${wl}-G'
12414 shared_flag
='${wl}-bM:SRE'
12419 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12420 # It seems that -bexpall does not export symbols beginning with
12421 # underscore (_), so it is better to generate a list of symbols to
12423 always_export_symbols_CXX
=yes
12424 if test "$aix_use_runtimelinking" = yes; then
12425 # Warning - without using the other runtime loading flags (-brtl),
12426 # -berok will link without error, but may produce a broken library.
12427 allow_undefined_flag_CXX
='-berok'
12428 # Determine the default libpath from the value encoded in an empty
12430 if test "${lt_cv_aix_libpath+set}" = set; then
12431 aix_libpath
=$lt_cv_aix_libpath
12433 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12447 if ac_fn_cxx_try_link
"$LINENO"; then :
12449 lt_aix_libpath_sed
='
12450 /Import File Strings/,/^$/ {
12452 s/^0 *\([^ ]*\) *$/\1/
12456 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457 # Check for a 64-bit object if we didn't find anything.
12458 if test -z "$lt_cv_aix_libpath__CXX"; then
12459 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12462 rm -f core conftest.err conftest.
$ac_objext \
12463 conftest
$ac_exeext conftest.
$ac_ext
12464 if test -z "$lt_cv_aix_libpath__CXX"; then
12465 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12470 aix_libpath
=$lt_cv_aix_libpath__CXX
12473 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12475 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"
12477 if test "$host_cpu" = ia64
; then
12478 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12479 allow_undefined_flag_CXX
="-z nodefs"
12480 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"
12482 # Determine the default libpath from the value encoded in an
12483 # empty executable.
12484 if test "${lt_cv_aix_libpath+set}" = set; then
12485 aix_libpath
=$lt_cv_aix_libpath
12487 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12488 $as_echo_n "(cached) " >&6
12490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12501 if ac_fn_cxx_try_link
"$LINENO"; then :
12503 lt_aix_libpath_sed
='
12504 /Import File Strings/,/^$/ {
12506 s/^0 *\([^ ]*\) *$/\1/
12510 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$lt_cv_aix_libpath__CXX"; then
12513 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 rm -f core conftest.err conftest.
$ac_objext \
12517 conftest
$ac_exeext conftest.
$ac_ext
12518 if test -z "$lt_cv_aix_libpath__CXX"; then
12519 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12524 aix_libpath
=$lt_cv_aix_libpath__CXX
12527 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12528 # Warning - without using the other run time loading flags,
12529 # -berok will link without error, but may produce a broken library.
12530 no_undefined_flag_CXX
=' ${wl}-bernotok'
12531 allow_undefined_flag_CXX
=' ${wl}-berok'
12532 if test "$with_gnu_ld" = yes; then
12533 # We only use this code for GNU lds that support --whole-archive.
12534 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12536 # Exported symbols can be pulled into shared objects from archives
12537 whole_archive_flag_spec_CXX
='$convenience'
12539 archive_cmds_need_lc_CXX
=yes
12540 # This is similar to how AIX traditionally builds its shared
12542 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'
12548 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12549 allow_undefined_flag_CXX
=unsupported
12550 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12551 # support --undefined. This deserves some investigation. FIXME
12552 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12559 case $cc_basename in
12561 # FIXME: insert proper C++ library support
12567 cygwin
* | mingw
* | pw32
* | cegcc
*)
12568 case $GXX,$cc_basename in
12571 # hardcode_libdir_flag_spec is actually meaningless, as there is
12572 # no search path for DLLs.
12573 hardcode_libdir_flag_spec_CXX
=' '
12574 allow_undefined_flag_CXX
=unsupported
12575 always_export_symbols_CXX
=yes
12576 file_list_spec_CXX
='@'
12577 # Tell ltmain to make .lib files, not .a files.
12579 # Tell ltmain to make .dll files, not .so files.
12581 # FIXME: Setting linknames here is a bad hack.
12582 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12583 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12584 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12586 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12588 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12590 # The linker will not automatically build a static lib if we build a DLL.
12591 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12592 enable_shared_with_static_runtimes_CXX
=yes
12594 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
12595 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
12596 lt_tool_outputfile="@TOOL_OUTPUT@"~
12597 case $lt_outputfile in
12600 lt_outputfile="$lt_outputfile.exe"
12601 lt_tool_outputfile="$lt_tool_outputfile.exe"
12604 func_to_tool_file "$lt_outputfile"~
12605 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12606 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12607 $RM "$lt_outputfile.manifest";
12612 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12613 # as there is no search path for DLLs.
12614 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12615 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12616 allow_undefined_flag_CXX
=unsupported
12617 always_export_symbols_CXX
=no
12618 enable_shared_with_static_runtimes_CXX
=yes
12620 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12621 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'
12622 # If the export-symbols file already is a .def file (1st line
12623 # is EXPORTS), use it as is; otherwise, prepend...
12624 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12625 cp $export_symbols $output_objdir/$soname.def;
12627 echo EXPORTS > $output_objdir/$soname.def;
12628 cat $export_symbols >> $output_objdir/$soname.def;
12630 $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'
12637 darwin
* | rhapsody
*)
12640 archive_cmds_need_lc_CXX
=no
12641 hardcode_direct_CXX
=no
12642 hardcode_automatic_CXX
=yes
12643 hardcode_shlibpath_var_CXX
=unsupported
12644 if test "$lt_cv_ld_force_load" = "yes"; then
12645 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\"`'
12648 whole_archive_flag_spec_CXX
=''
12650 link_all_deplibs_CXX
=yes
12651 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12652 case $cc_basename in
12653 ifort
*) _lt_dar_can_shared
=yes ;;
12654 *) _lt_dar_can_shared
=$GCC ;;
12656 if test "$_lt_dar_can_shared" = "yes"; then
12657 output_verbose_link_cmd
=func_echo_all
12658 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}"
12659 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12660 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}"
12661 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}"
12662 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12663 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}"
12664 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}"
12674 case $cc_basename in
12676 # FIXME: insert proper C++ library support
12680 # Green Hills C++ Compiler
12681 # FIXME: insert proper C++ library support
12685 # FIXME: insert proper C++ library support
12692 # C++ shared libraries reported to be fairly broken before
12698 archive_cmds_need_lc_CXX
=no
12701 freebsd
* | dragonfly
*)
12702 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12711 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12712 link_all_deplibs_CXX
=yes
12716 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12717 hardcode_libdir_separator_CXX
=:
12718 export_dynamic_flag_spec_CXX
='${wl}-E'
12719 hardcode_direct_CXX
=yes
12720 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12721 # but as the default
12722 # location of the library.
12724 case $cc_basename in
12726 # FIXME: insert proper C++ library support
12730 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'
12731 # Commands to make compiler produce verbose output that lists
12732 # what "hidden" libraries, object files and flags are used when
12733 # linking a shared library.
12735 # There doesn't appear to be a way to prevent this compiler from
12736 # explicitly linking system object files so we need to strip them
12737 # from the output so that they don't get included in the library
12739 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"'
12742 if test "$GXX" = yes; then
12743 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'
12745 # FIXME: insert proper C++ library support
12753 if test $with_gnu_ld = no
; then
12754 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12755 hardcode_libdir_separator_CXX
=:
12761 export_dynamic_flag_spec_CXX
='${wl}-E'
12767 hardcode_direct_CXX
=no
12768 hardcode_shlibpath_var_CXX
=no
12771 hardcode_direct_CXX
=yes
12772 hardcode_direct_absolute_CXX
=yes
12773 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12774 # but as the default
12775 # location of the library.
12779 case $cc_basename in
12781 # FIXME: insert proper C++ library support
12787 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12790 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12793 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12796 # Commands to make compiler produce verbose output that lists
12797 # what "hidden" libraries, object files and flags are used when
12798 # linking a shared library.
12800 # There doesn't appear to be a way to prevent this compiler from
12801 # explicitly linking system object files so we need to strip them
12802 # from the output so that they don't get included in the library
12804 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"'
12807 if test "$GXX" = yes; then
12808 if test $with_gnu_ld = no
; then
12811 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12814 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12817 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'
12822 # FIXME: insert proper C++ library support
12830 hardcode_direct_CXX
=no
12831 hardcode_shlibpath_var_CXX
=no
12832 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12833 export_dynamic_flag_spec_CXX
='${wl}-E'
12834 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12835 # Instead, shared libraries are loaded at an image base (0x10000000 by
12836 # default) and relocated if they conflict, which is a slow very memory
12837 # consuming and fragmenting process. To avoid this, we pick a random,
12838 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12839 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12840 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'
12841 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'
12844 case $cc_basename in
12847 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'
12849 # Archives containing C++ object files must be created using
12850 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12851 # necessary to make sure instantiated templates are included
12853 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12856 if test "$GXX" = yes; then
12857 if test "$with_gnu_ld" = no
; then
12858 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'
12860 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'
12863 link_all_deplibs_CXX
=yes
12866 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12867 hardcode_libdir_separator_CXX
=:
12868 inherit_rpath_CXX
=yes
12871 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12872 case $cc_basename in
12874 # Kuck and Associates, Inc. (KAI) C++ Compiler
12876 # KCC will only create a shared library if the output file
12877 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12878 # to its proper name (with version) after linking.
12879 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'
12880 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'
12881 # Commands to make compiler produce verbose output that lists
12882 # what "hidden" libraries, object files and flags are used when
12883 # linking a shared library.
12885 # There doesn't appear to be a way to prevent this compiler from
12886 # explicitly linking system object files so we need to strip them
12887 # from the output so that they don't get included in the library
12889 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"'
12891 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12892 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12894 # Archives containing C++ object files must be created using
12895 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12896 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12901 # version 8.0 and above of icpc choke on multiply defined symbols
12902 # if we add $predep_objects and $postdep_objects, however 7.1 and
12903 # earlier do not add the objects themselves.
12904 case `$CC -V 2>&1` in
12906 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907 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'
12909 *) # Version 8.0 or newer
12912 ia64
*) tmp_idyn
=' -i_dynamic';;
12914 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 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'
12918 archive_cmds_need_lc_CXX
=no
12919 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12920 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12921 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12924 # Portland Group C++ compiler
12926 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12927 prelink_cmds_CXX
='tpldir=Template.dir~
12929 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12930 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12931 old_archive_cmds_CXX
='tpldir=Template.dir~
12933 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12934 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12936 archive_cmds_CXX
='tpldir=Template.dir~
12938 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12939 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12940 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12942 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12943 $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'
12945 *) # Version 6 and above use weak symbols
12946 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12947 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'
12951 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12952 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12953 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'
12957 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12958 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'
12960 runpath_var
=LD_RUN_PATH
12961 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12962 hardcode_libdir_separator_CXX
=:
12964 # Commands to make compiler produce verbose output that lists
12965 # what "hidden" libraries, object files and flags are used when
12966 # linking a shared library.
12968 # There doesn't appear to be a way to prevent this compiler from
12969 # explicitly linking system object files so we need to strip them
12970 # from the output so that they don't get included in the library
12972 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'
12974 xl
* | mpixl
* | bgxl
*)
12975 # IBM XL 8.0 on PPC, with GNU ld
12976 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12977 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12978 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12979 if test "x$supports_anon_versioning" = xyes
; then
12980 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12981 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12982 echo "local: *; };" >> $output_objdir/$libname.ver~
12983 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12987 case `$CC -V 2>&1 | sed 5q` in
12990 no_undefined_flag_CXX
=' -zdefs'
12991 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12992 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'
12993 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12994 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'
12995 compiler_needs_object_CXX
=yes
12997 # Not sure whether something based on
12998 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13000 output_verbose_link_cmd
='func_echo_all'
13002 # Archives containing C++ object files must be created using
13003 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13004 # necessary to make sure instantiated templates are included
13006 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13014 # FIXME: insert proper C++ library support
13019 # FIXME: insert proper C++ library support
13024 case $cc_basename in
13026 # FIXME: insert proper C++ library support
13030 # FIXME: insert proper C++ library support
13037 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13038 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13040 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13041 hardcode_direct_CXX
=yes
13042 hardcode_shlibpath_var_CXX
=no
13044 # Workaround some broken pre-1.5 toolchains
13045 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13053 # C++ shared libraries are fairly broken
13058 if test -f /usr
/libexec
/ld.so
; then
13059 hardcode_direct_CXX
=yes
13060 hardcode_shlibpath_var_CXX
=no
13061 hardcode_direct_absolute_CXX
=yes
13062 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13063 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13064 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13065 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13066 export_dynamic_flag_spec_CXX
='${wl}-E'
13067 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13069 output_verbose_link_cmd
=func_echo_all
13075 osf3
* | osf4
* | osf5
*)
13076 case $cc_basename in
13078 # Kuck and Associates, Inc. (KAI) C++ Compiler
13080 # KCC will only create a shared library if the output file
13081 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13082 # to its proper name (with version) after linking.
13083 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'
13085 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13086 hardcode_libdir_separator_CXX
=:
13088 # Archives containing C++ object files must be created using
13089 # the KAI C++ compiler.
13091 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13092 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13096 # Rational C++ 2.4.1
13097 # FIXME: insert proper C++ library support
13103 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13104 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'
13105 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13108 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13109 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'
13110 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13111 echo "-hidden">> $lib.exp~
13112 $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~
13114 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13118 hardcode_libdir_separator_CXX
=:
13120 # Commands to make compiler produce verbose output that lists
13121 # what "hidden" libraries, object files and flags are used when
13122 # linking a shared library.
13124 # There doesn't appear to be a way to prevent this compiler from
13125 # explicitly linking system object files so we need to strip them
13126 # from the output so that they don't get included in the library
13128 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"'
13131 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13132 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13135 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'
13138 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'
13142 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13143 hardcode_libdir_separator_CXX
=:
13145 # Commands to make compiler produce verbose output that lists
13146 # what "hidden" libraries, object files and flags are used when
13147 # linking a shared library.
13148 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13151 # FIXME: insert proper C++ library support
13159 # FIXME: insert proper C++ library support
13164 case $cc_basename in
13167 # FIXME: insert proper C++ library support
13172 # FIXME: insert proper C++ library support
13176 # FIXME: insert proper C++ library support
13183 case $cc_basename in
13185 # Sun C++ 4.2, 5.x and Centerline C++
13186 archive_cmds_need_lc_CXX
=yes
13187 no_undefined_flag_CXX
=' -zdefs'
13188 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13189 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13190 $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'
13192 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13193 hardcode_shlibpath_var_CXX
=no
13195 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13197 # The compiler driver will combine and reorder linker options,
13198 # but understands `-z linker_flag'.
13199 # Supported since Solaris 2.6 (maybe 2.5.1?)
13200 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13203 link_all_deplibs_CXX
=yes
13205 output_verbose_link_cmd
='func_echo_all'
13207 # Archives containing C++ object files must be created using
13208 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13209 # necessary to make sure instantiated templates are included
13211 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13214 # Green Hills C++ Compiler
13215 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13217 # The C++ compiler must be used to create the archive.
13218 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13221 # GNU C++ compiler with Solaris linker
13222 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13223 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13224 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13225 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13226 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13227 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13229 # Commands to make compiler produce verbose output that lists
13230 # what "hidden" libraries, object files and flags are used when
13231 # linking a shared library.
13232 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13234 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13236 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13237 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13238 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13240 # Commands to make compiler produce verbose output that lists
13241 # what "hidden" libraries, object files and flags are used when
13242 # linking a shared library.
13243 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13246 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13248 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13250 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13258 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13259 no_undefined_flag_CXX
='${wl}-z,text'
13260 archive_cmds_need_lc_CXX
=no
13261 hardcode_shlibpath_var_CXX
=no
13262 runpath_var
='LD_RUN_PATH'
13264 case $cc_basename in
13266 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13267 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13270 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13271 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13276 sysv5
* | sco3.2v5
* | sco5v6
*)
13277 # Note: We can NOT use -z defs as we might desire, because we do not
13278 # link with -lc, and that would cause any symbols used from libc to
13279 # always be unresolved, which means just about no library would
13280 # ever link correctly. If we're not using GNU ld we use -z text
13281 # though, which does catch some bad symbols but isn't as heavy-handed
13283 no_undefined_flag_CXX
='${wl}-z,text'
13284 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13285 archive_cmds_need_lc_CXX
=no
13286 hardcode_shlibpath_var_CXX
=no
13287 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13288 hardcode_libdir_separator_CXX
=':'
13289 link_all_deplibs_CXX
=yes
13290 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13291 runpath_var
='LD_RUN_PATH'
13293 case $cc_basename in
13295 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13296 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13298 '"$old_archive_cmds_CXX"
13299 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13300 '"$reload_cmds_CXX"
13303 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13304 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13310 case $cc_basename in
13312 # NonStop-UX NCC 3.20
13313 # FIXME: insert proper C++ library support
13317 # FIXME: insert proper C++ library support
13324 # FIXME: insert proper C++ library support
13329 # FIXME: insert proper C++ library support
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13335 $as_echo "$ld_shlibs_CXX" >&6; }
13336 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13342 ## There is no encapsulation within the following macros, do not change
13343 ## the running order or otherwise move them around unless you know exactly
13344 ## what you are doing...
13345 # Dependencies to place before and after the object being linked:
13346 predep_objects_CXX
=
13347 postdep_objects_CXX
=
13350 compiler_lib_search_path_CXX
=
13352 cat > conftest.
$ac_ext <<_LT_EOF
13356 Foo (void) { a = 0; }
13363 _lt_libdeps_save_CFLAGS
=$CFLAGS
13364 case "$CC $CFLAGS " in #(
13365 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13366 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13367 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
13370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13371 (eval $ac_compile) 2>&5
13373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13374 test $ac_status = 0; }; then
13375 # Parse the compiler output and extract the necessary
13376 # objects, libraries and library flags.
13378 # Sentinel used to keep track of whether or not we are before
13379 # the conftest object file.
13380 pre_test_object_deps_done
=no
13382 for p
in `eval "$output_verbose_link_cmd"`; do
13383 case ${prev}${p} in
13386 # Some compilers place space between "-{L,R}" and the path.
13387 # Remove the space.
13388 if test $p = "-L" ||
13389 test $p = "-R"; then
13394 # Expand the sysroot to ease extracting the directories later.
13395 if test -z "$prev"; then
13397 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13398 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13399 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13403 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13405 if test "$pre_test_object_deps_done" = no
; then
13408 # Internal compiler library paths should come after those
13409 # provided the user. The postdeps already come after the
13410 # user supplied libs so there is no need to process them.
13411 if test -z "$compiler_lib_search_path_CXX"; then
13412 compiler_lib_search_path_CXX
="${prev}${p}"
13414 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13417 # The "-l" case would never come before the object being
13418 # linked, so don't bother handling this case.
13421 if test -z "$postdeps_CXX"; then
13422 postdeps_CXX
="${prev}${p}"
13424 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13430 *.lto.
$objext) ;; # Ignore GCC LTO objects
13432 # This assumes that the test object file only shows up
13433 # once in the compiler output.
13434 if test "$p" = "conftest.$objext"; then
13435 pre_test_object_deps_done
=yes
13439 if test "$pre_test_object_deps_done" = no
; then
13440 if test -z "$predep_objects_CXX"; then
13441 predep_objects_CXX
="$p"
13443 predep_objects_CXX
="$predep_objects_CXX $p"
13446 if test -z "$postdep_objects_CXX"; then
13447 postdep_objects_CXX
="$p"
13449 postdep_objects_CXX
="$postdep_objects_CXX $p"
13454 *) ;; # Ignore the rest.
13462 echo "libtool.m4: error: problem compiling CXX test program"
13465 $RM -f confest.
$objext
13466 CFLAGS
=$_lt_libdeps_save_CFLAGS
13468 # PORTME: override above test on systems where it is broken
13471 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13472 # hack all around it, let's just trust "g++" to DTRT.
13473 predep_objects_CXX
=
13474 postdep_objects_CXX
=
13479 case `$CC -V 2>&1 | sed 5q` in
13483 # The more standards-conforming stlport4 library is
13484 # incompatible with the Cstd library. Avoid specifying
13485 # it if it's in CXXFLAGS. Ignore libCrun as
13486 # -library=stlport4 depends on it.
13487 case " $CXX $CXXFLAGS " in
13488 *" -library=stlport4 "*)
13489 solaris_use_stlport4
=yes
13493 if test "$solaris_use_stlport4" != yes; then
13494 postdeps_CXX
='-library=Cstd -library=Crun'
13501 case $cc_basename in
13503 # The more standards-conforming stlport4 library is
13504 # incompatible with the Cstd library. Avoid specifying
13505 # it if it's in CXXFLAGS. Ignore libCrun as
13506 # -library=stlport4 depends on it.
13507 case " $CXX $CXXFLAGS " in
13508 *" -library=stlport4 "*)
13509 solaris_use_stlport4
=yes
13513 # Adding this requires a known-good setup of shared libraries for
13514 # Sun compiler versions before 5.6, else PIC objects from an old
13515 # archive will be linked into the output, leading to subtle bugs.
13516 if test "$solaris_use_stlport4" != yes; then
13517 postdeps_CXX
='-library=Cstd -library=Crun'
13525 case " $postdeps_CXX " in
13526 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13528 compiler_lib_search_dirs_CXX
=
13529 if test -n "${compiler_lib_search_path_CXX}"; then
13530 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13563 lt_prog_compiler_wl_CXX
=
13564 lt_prog_compiler_pic_CXX
=
13565 lt_prog_compiler_static_CXX
=
13568 # C++ specific cases for pic, static, wl, etc.
13569 if test "$GXX" = yes; then
13570 lt_prog_compiler_wl_CXX
='-Wl,'
13571 lt_prog_compiler_static_CXX
='-static'
13575 # All AIX code is PIC.
13576 if test "$host_cpu" = ia64
; then
13577 # AIX 5 now supports IA64 processor
13578 lt_prog_compiler_static_CXX
='-Bstatic'
13585 # see comment about AmigaOS4 .so support
13586 lt_prog_compiler_pic_CXX
='-fPIC'
13589 # FIXME: we need at least 68020 code to build shared libraries, but
13590 # adding the `-m68020' flag to GCC prevents building anything better,
13592 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13597 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13598 # PIC is the default for these OSes.
13600 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13601 # This hack is so that the source file can tell whether it is being
13602 # built for inclusion in a dll (and should export symbols for example).
13603 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13604 # (--disable-auto-import) libraries
13605 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13607 darwin
* | rhapsody
*)
13608 # PIC is the default on this platform
13609 # Common symbols not allowed in MH_DYLIB files
13610 lt_prog_compiler_pic_CXX
='-fno-common'
13613 # DJGPP does not support shared libraries at all
13614 lt_prog_compiler_pic_CXX
=
13617 # PIC is the default for Haiku.
13618 # The "-static" flag exists, but is broken.
13619 lt_prog_compiler_static_CXX
=
13622 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13623 # Instead, we relocate shared libraries at runtime.
13626 if test -d /usr
/nec
; then
13627 lt_prog_compiler_pic_CXX
=-Kconform_pic
13631 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13632 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13633 # sets the default TLS model and affects inlining.
13638 lt_prog_compiler_pic_CXX
='-fPIC'
13643 # QNX uses GNU C++, but need to define -shared option too, otherwise
13644 # it will coredump.
13645 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13648 lt_prog_compiler_pic_CXX
='-fPIC'
13654 # All AIX code is PIC.
13655 if test "$host_cpu" = ia64
; then
13656 # AIX 5 now supports IA64 processor
13657 lt_prog_compiler_static_CXX
='-Bstatic'
13659 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13663 case $cc_basename in
13665 # Green Hills C++ Compiler
13666 # _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"
13670 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13671 # This hack is so that the source file can tell whether it is being
13672 # built for inclusion in a dll (and should export symbols for example).
13673 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13676 case $cc_basename in
13678 lt_prog_compiler_pic_CXX
='-KPIC'
13681 # Green Hills C++ Compiler
13682 lt_prog_compiler_pic_CXX
='-pic'
13688 freebsd
* | dragonfly
*)
13689 # FreeBSD uses GNU C++
13691 hpux9
* | hpux10
* | hpux11
*)
13692 case $cc_basename in
13694 lt_prog_compiler_wl_CXX
='-Wl,'
13695 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13696 if test "$host_cpu" != ia64
; then
13697 lt_prog_compiler_pic_CXX
='+Z'
13701 lt_prog_compiler_wl_CXX
='-Wl,'
13702 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13708 lt_prog_compiler_pic_CXX
='+Z'
13717 # This is c89, which is MS Visual C++ (no shared libs)
13718 # Anyone wants to do a port?
13720 irix5
* | irix6
* | nonstopux
*)
13721 case $cc_basename in
13723 lt_prog_compiler_wl_CXX
='-Wl,'
13724 lt_prog_compiler_static_CXX
='-non_shared'
13725 # CC pic flag -KPIC is the default.
13731 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13732 case $cc_basename in
13735 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13736 lt_prog_compiler_pic_CXX
='-fPIC'
13739 # old Intel C++ for x86_64 which still supported -KPIC.
13740 lt_prog_compiler_wl_CXX
='-Wl,'
13741 lt_prog_compiler_pic_CXX
='-KPIC'
13742 lt_prog_compiler_static_CXX
='-static'
13745 # Intel C++, used to be incompatible with GCC.
13746 # ICC 10 doesn't accept -KPIC any more.
13747 lt_prog_compiler_wl_CXX
='-Wl,'
13748 lt_prog_compiler_pic_CXX
='-fPIC'
13749 lt_prog_compiler_static_CXX
='-static'
13752 # Portland Group C++ compiler
13753 lt_prog_compiler_wl_CXX
='-Wl,'
13754 lt_prog_compiler_pic_CXX
='-fpic'
13755 lt_prog_compiler_static_CXX
='-Bstatic'
13759 # Make sure the PIC flag is empty. It appears that all Alpha
13760 # Linux and Compaq Tru64 Unix objects are PIC.
13761 lt_prog_compiler_pic_CXX
=
13762 lt_prog_compiler_static_CXX
='-non_shared'
13764 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13765 # IBM XL 8.0, 9.0 on PPC and BlueGene
13766 lt_prog_compiler_wl_CXX
='-Wl,'
13767 lt_prog_compiler_pic_CXX
='-qpic'
13768 lt_prog_compiler_static_CXX
='-qstaticlink'
13771 case `$CC -V 2>&1 | sed 5q` in
13774 lt_prog_compiler_pic_CXX
='-KPIC'
13775 lt_prog_compiler_static_CXX
='-Bstatic'
13776 lt_prog_compiler_wl_CXX
='-Qoption ld '
13787 case $cc_basename in
13789 lt_prog_compiler_pic_CXX
='-W c,exportall'
13795 netbsd
* | netbsdelf
*-gnu)
13798 # QNX uses GNU C++, but need to define -shared option too, otherwise
13799 # it will coredump.
13800 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13802 osf3
* | osf4
* | osf5
*)
13803 case $cc_basename in
13805 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13808 # Rational C++ 2.4.1
13809 lt_prog_compiler_pic_CXX
='-pic'
13812 # Digital/Compaq C++
13813 lt_prog_compiler_wl_CXX
='-Wl,'
13814 # Make sure the PIC flag is empty. It appears that all Alpha
13815 # Linux and Compaq Tru64 Unix objects are PIC.
13816 lt_prog_compiler_pic_CXX
=
13817 lt_prog_compiler_static_CXX
='-non_shared'
13826 case $cc_basename in
13828 # Sun C++ 4.2, 5.x and Centerline C++
13829 lt_prog_compiler_pic_CXX
='-KPIC'
13830 lt_prog_compiler_static_CXX
='-Bstatic'
13831 lt_prog_compiler_wl_CXX
='-Qoption ld '
13834 # Green Hills C++ Compiler
13835 lt_prog_compiler_pic_CXX
='-PIC'
13842 case $cc_basename in
13845 lt_prog_compiler_pic_CXX
='-pic'
13846 lt_prog_compiler_static_CXX
='-Bstatic'
13850 lt_prog_compiler_pic_CXX
='-pic'
13856 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13857 case $cc_basename in
13859 lt_prog_compiler_wl_CXX
='-Wl,'
13860 lt_prog_compiler_pic_CXX
='-KPIC'
13861 lt_prog_compiler_static_CXX
='-Bstatic'
13866 case $cc_basename in
13868 # NonStop-UX NCC 3.20
13869 lt_prog_compiler_pic_CXX
='-KPIC'
13878 lt_prog_compiler_can_build_shared_CXX
=no
13884 # For platforms which do not support PIC, -DPIC is meaningless:
13886 lt_prog_compiler_pic_CXX
=
13889 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13894 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13895 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
13896 $as_echo_n "(cached) " >&6
13898 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13901 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13902 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
13905 # Check to make sure the PIC flag actually works.
13907 if test -n "$lt_prog_compiler_pic_CXX"; then
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13909 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13910 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13911 $as_echo_n "(cached) " >&6
13913 lt_cv_prog_compiler_pic_works_CXX
=no
13914 ac_outfile
=conftest.
$ac_objext
13915 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13916 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13917 # Insert the option either (1) after the last *FLAGS variable, or
13918 # (2) before a word containing "conftest.", or (3) at the end.
13919 # Note that $ac_compile itself does not contain backslashes and begins
13920 # with a dollar sign (not a hyphen), so the echo should work correctly.
13921 # The option is referenced via a variable to avoid confusing sed.
13922 lt_compile
=`echo "$ac_compile" | $SED \
13923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13925 -e 's:$: $lt_compiler_flag:'`
13926 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13927 (eval "$lt_compile" 2>conftest.err
)
13929 cat conftest.err
>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 if (exit $ac_status) && test -s "$ac_outfile"; then
13932 # The compiler can only warn and ignore the option if not recognized
13933 # So say no if there are warnings other than the usual output.
13934 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13936 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13937 lt_cv_prog_compiler_pic_works_CXX
=yes
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13944 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13946 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13947 case $lt_prog_compiler_pic_CXX in
13949 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13952 lt_prog_compiler_pic_CXX
=
13953 lt_prog_compiler_can_build_shared_CXX
=no
13963 # Check to make sure the static flag actually works.
13965 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13968 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13969 $as_echo_n "(cached) " >&6
13971 lt_cv_prog_compiler_static_works_CXX
=no
13972 save_LDFLAGS
="$LDFLAGS"
13973 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13974 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13975 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13976 # The linker can only warn and ignore the option if not recognized
13977 # So say no if there are warnings
13978 if test -s conftest.err
; then
13979 # Append any errors to the config.log.
13980 cat conftest.err
1>&5
13981 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13982 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13983 if diff conftest.exp conftest.er2
>/dev
/null
; then
13984 lt_cv_prog_compiler_static_works_CXX
=yes
13987 lt_cv_prog_compiler_static_works_CXX
=yes
13991 LDFLAGS
="$save_LDFLAGS"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13995 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13997 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14000 lt_prog_compiler_static_CXX
=
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14008 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14011 lt_cv_prog_compiler_c_o_CXX
=no
14012 $RM -r conftest
2>/dev
/null
14016 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14018 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14019 # Insert the option either (1) after the last *FLAGS variable, or
14020 # (2) before a word containing "conftest.", or (3) at the end.
14021 # Note that $ac_compile itself does not contain backslashes and begins
14022 # with a dollar sign (not a hyphen), so the echo should work correctly.
14023 lt_compile
=`echo "$ac_compile" | $SED \
14024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14026 -e 's:$: $lt_compiler_flag:'`
14027 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14028 (eval "$lt_compile" 2>out
/conftest.err
)
14030 cat out
/conftest.err
>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14034 # The compiler can only warn and ignore the option if not recognized
14035 # So say no if there are warnings
14036 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14037 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14038 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14039 lt_cv_prog_compiler_c_o_CXX
=yes
14044 # SGI C++ compiler will create directory out/ii_files/ for
14045 # template instantiation
14046 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14047 $RM out
/* && rmdir out
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14054 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14059 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14060 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14061 $as_echo_n "(cached) " >&6
14063 lt_cv_prog_compiler_c_o_CXX
=no
14064 $RM -r conftest
2>/dev
/null
14068 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14070 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14071 # Insert the option either (1) after the last *FLAGS variable, or
14072 # (2) before a word containing "conftest.", or (3) at the end.
14073 # Note that $ac_compile itself does not contain backslashes and begins
14074 # with a dollar sign (not a hyphen), so the echo should work correctly.
14075 lt_compile
=`echo "$ac_compile" | $SED \
14076 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14078 -e 's:$: $lt_compiler_flag:'`
14079 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14080 (eval "$lt_compile" 2>out
/conftest.err
)
14082 cat out
/conftest.err
>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14086 # The compiler can only warn and ignore the option if not recognized
14087 # So say no if there are warnings
14088 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14089 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14090 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14091 lt_cv_prog_compiler_c_o_CXX
=yes
14096 # SGI C++ compiler will create directory out/ii_files/ for
14097 # template instantiation
14098 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14099 $RM out
/* && rmdir out
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14106 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14111 hard_links
="nottested"
14112 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14113 # do not overwrite the value of need_locks provided by the user
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14115 $as_echo_n "checking if we can lock with hard links... " >&6; }
14118 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14120 ln conftest.a conftest.b
2>&5 || hard_links
=no
14121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14123 $as_echo "$hard_links" >&6; }
14124 if test "$hard_links" = no
; then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14126 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14136 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14138 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14139 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14142 # If we're using GNU nm, then we don't want the "-C" option.
14143 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14144 # Also, AIX nm treats weak defined symbols like other global defined
14145 # symbols, whereas GNU nm marks them as "W".
14146 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14147 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'
14149 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'
14153 export_symbols_cmds_CXX
="$ltdll_cmds"
14155 cygwin
* | mingw
* | cegcc
*)
14156 case $cc_basename in
14158 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14161 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'
14162 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14166 linux
* | k
*bsd
*-gnu | gnu
*)
14167 link_all_deplibs_CXX
=no
14170 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14175 $as_echo "$ld_shlibs_CXX" >&6; }
14176 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14178 with_gnu_ld_CXX
=$with_gnu_ld
14186 # Do we need to explicitly link libc?
14188 case "x$archive_cmds_need_lc_CXX" in
14190 # Assume -lc should be added
14191 archive_cmds_need_lc_CXX
=yes
14193 if test "$enable_shared" = yes && test "$GCC" = yes; then
14194 case $archive_cmds_CXX in
14196 # FIXME: we may have to deal with multi-command sequences.
14199 # Test whether the compiler implicitly links with -lc since on some
14200 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14201 # to ld, don't add -lc before -lgcc.
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14203 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14204 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14205 $as_echo_n "(cached) " >&6
14208 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14211 (eval $ac_compile) 2>&5
14213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14214 test $ac_status = 0; } 2>conftest.err
; then
14217 libobjs
=conftest.
$ac_objext
14219 wl
=$lt_prog_compiler_wl_CXX
14220 pic_flag
=$lt_prog_compiler_pic_CXX
14226 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14227 allow_undefined_flag_CXX
=
14228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14229 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14232 test $ac_status = 0; }
14234 lt_cv_archive_cmds_need_lc_CXX
=no
14236 lt_cv_archive_cmds_need_lc_CXX
=yes
14238 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14240 cat conftest.err
1>&5
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14246 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14247 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14316 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14318 library_names_spec
=
14319 libname_spec
='lib$name'
14323 postuninstall_cmds
=
14327 shlibpath_overrides_runpath
=unknown
14329 dynamic_linker
="$host_os ld.so"
14330 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14331 need_lib_prefix
=unknown
14332 hardcode_into_libs
=no
14334 # when you set need_version to no, make sure it does not cause -set_version
14335 # flags to be left without arguments
14336 need_version
=unknown
14340 version_type
=linux
# correct to gnu/linux during the next big refactor
14341 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14342 shlibpath_var
=LIBPATH
14344 # AIX 3 has no versioning support, so we append a major version to the name.
14345 soname_spec
='${libname}${release}${shared_ext}$major'
14349 version_type
=linux
# correct to gnu/linux during the next big refactor
14352 hardcode_into_libs
=yes
14353 if test "$host_cpu" = ia64
; then
14354 # AIX 5 supports IA64
14355 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14356 shlibpath_var
=LD_LIBRARY_PATH
14358 # With GCC up to 2.95.x, collect2 would create an import file
14359 # for dependence libraries. The import file would start with
14360 # the line `#! .'. This would cause the generated library to
14361 # depend on `.', always an invalid library. This was fixed in
14362 # development snapshots of GCC prior to 3.0.
14364 aix4 | aix4.
[01] | aix4.
[01].
*)
14365 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14367 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14370 can_build_shared
=no
14374 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14375 # soname into executable. Probably we can add versioning support to
14376 # collect2, so additional links can be useful in future.
14377 if test "$aix_use_runtimelinking" = yes; then
14378 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14379 # instead of lib<name>.a to let people know that these are not
14380 # typical AIX shared libraries.
14381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14383 # We preserve .a as extension for shared libraries through AIX4.2
14384 # and later when we are not doing run time linking.
14385 library_names_spec
='${libname}${release}.a $libname.a'
14386 soname_spec
='${libname}${release}${shared_ext}$major'
14388 shlibpath_var
=LIBPATH
14395 # Since July 2007 AmigaOS4 officially supports .so libraries.
14396 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400 library_names_spec
='$libname.ixlibrary $libname.a'
14401 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14402 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'
14408 library_names_spec
='${libname}${shared_ext}'
14409 dynamic_linker
="$host_os ld.so"
14410 shlibpath_var
=LIBRARY_PATH
14414 version_type
=linux
# correct to gnu/linux during the next big refactor
14416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec
='${libname}${release}${shared_ext}$major'
14418 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14419 shlibpath_var
=LD_LIBRARY_PATH
14420 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14421 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14422 # the default ld.so.conf also contains /usr/contrib/lib and
14423 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14424 # libtool to hard-code these into programs
14427 cygwin
* | mingw
* | pw32
* | cegcc
*)
14428 version_type
=windows
14433 case $GCC,$cc_basename in
14436 library_names_spec
='$libname.dll.a'
14437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14438 postinstall_cmds
='base_file=`basename \${file}`~
14439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14440 dldir=$destdir/`dirname \$dlpath`~
14441 test -d \$dldir || mkdir -p \$dldir~
14442 $install_prog $dir/$dlname \$dldir/$dlname~
14443 chmod a+x \$dldir/$dlname~
14444 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14445 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14447 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14448 dlpath=$dir/\$dldll~
14450 shlibpath_overrides_runpath
=yes
14454 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14455 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14459 # MinGW DLLs use traditional 'lib' prefix
14460 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14463 # pw32 DLLs use 'pw' prefix rather than 'lib'
14464 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14467 dynamic_linker
='Win32 ld.exe'
14472 libname_spec
='$name'
14473 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14474 library_names_spec
='${libname}.dll.lib'
14478 sys_lib_search_path_spec
=
14481 for lt_path
in $LIB
14484 # Let DOS variable expansion print the short 8.3 style file name.
14485 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14486 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14489 # Convert to MSYS style.
14490 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14493 # Convert to unix form, then to dos form, then back to unix form
14494 # but this time dos style (no spaces!) so that the unix form looks
14495 # like /cygdrive/c/PROGRA~1:/cygdr...
14496 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14497 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14498 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14501 sys_lib_search_path_spec
="$LIB"
14502 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14503 # It is most probably a Windows format PATH.
14504 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14506 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14508 # FIXME: find the short name or the path components, as spaces are
14509 # common. (e.g. "Program Files" -> "PROGRA~1")
14513 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14514 postinstall_cmds
='base_file=`basename \${file}`~
14515 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14516 dldir=$destdir/`dirname \$dlpath`~
14517 test -d \$dldir || mkdir -p \$dldir~
14518 $install_prog $dir/$dlname \$dldir/$dlname'
14519 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14520 dlpath=$dir/\$dldll~
14522 shlibpath_overrides_runpath
=yes
14523 dynamic_linker
='Win32 link.exe'
14527 # Assume MSVC wrapper
14528 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14529 dynamic_linker
='Win32 ld.exe'
14532 # FIXME: first we should search . and the directory the executable is in
14536 darwin
* | rhapsody
*)
14537 dynamic_linker
="$host_os dyld"
14538 version_type
=darwin
14541 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14542 soname_spec
='${libname}${release}${major}$shared_ext'
14543 shlibpath_overrides_runpath
=yes
14544 shlibpath_var
=DYLD_LIBRARY_PATH
14545 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14547 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14551 version_type
=linux
# correct to gnu/linux during the next big refactor
14554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14555 soname_spec
='${libname}${release}${shared_ext}$major'
14556 shlibpath_var
=LD_LIBRARY_PATH
14559 freebsd
* | dragonfly
*)
14560 # DragonFly does not have aout. When/if they implement a new
14561 # versioning mechanism, adjust this.
14562 if test -x /usr
/bin
/objformat
; then
14563 objformat
=`/usr/bin/objformat`
14566 freebsd
[23].
*) objformat
=aout
;;
14567 *) objformat
=elf
;;
14570 version_type
=freebsd-
$objformat
14571 case $version_type in
14573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14578 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14582 shlibpath_var
=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath
=yes
14587 freebsd3.
[01]* | freebsdelf3.
[01]*)
14588 shlibpath_overrides_runpath
=yes
14589 hardcode_into_libs
=yes
14591 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14592 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14593 shlibpath_overrides_runpath
=no
14594 hardcode_into_libs
=yes
14596 *) # from 4.6 on, and DragonFly
14597 shlibpath_overrides_runpath
=yes
14598 hardcode_into_libs
=yes
14604 version_type
=linux
# correct to gnu/linux during the next big refactor
14607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14608 soname_spec
='${libname}${release}${shared_ext}$major'
14609 shlibpath_var
=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath
=no
14611 hardcode_into_libs
=yes
14615 version_type
=linux
# correct to gnu/linux during the next big refactor
14618 dynamic_linker
="$host_os runtime_loader"
14619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14620 soname_spec
='${libname}${release}${shared_ext}$major'
14621 shlibpath_var
=LIBRARY_PATH
14622 shlibpath_overrides_runpath
=yes
14623 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14624 hardcode_into_libs
=yes
14627 hpux9
* | hpux10
* | hpux11
*)
14628 # Give a soname corresponding to the major version so that dld.sl refuses to
14629 # link against other versions.
14636 hardcode_into_libs
=yes
14637 dynamic_linker
="$host_os dld.so"
14638 shlibpath_var
=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14641 soname_spec
='${libname}${release}${shared_ext}$major'
14642 if test "X$HPUX_IA64_MODE" = X32
; then
14643 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14645 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14647 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14651 hardcode_into_libs
=yes
14652 dynamic_linker
="$host_os dld.sl"
14653 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14654 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656 soname_spec
='${libname}${release}${shared_ext}$major'
14657 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14658 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14662 dynamic_linker
="$host_os dld.sl"
14663 shlibpath_var
=SHLIB_PATH
14664 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14666 soname_spec
='${libname}${release}${shared_ext}$major'
14669 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14670 postinstall_cmds
='chmod 555 $lib'
14671 # or fails outright, so override atomically:
14672 install_override_mode
=555
14676 version_type
=linux
# correct to gnu/linux during the next big refactor
14679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14680 soname_spec
='${libname}${release}${shared_ext}$major'
14681 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14682 shlibpath_var
=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath
=no
14684 hardcode_into_libs
=yes
14687 irix5
* | irix6
* | nonstopux
*)
14689 nonstopux
*) version_type
=nonstopux
;;
14691 if test "$lt_cv_prog_gnu_ld" = yes; then
14692 version_type
=linux
# correct to gnu/linux during the next big refactor
14699 soname_spec
='${libname}${release}${shared_ext}$major'
14700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14702 irix5
* | nonstopux
*)
14703 libsuff
= shlibsuff
=
14706 case $LD in # libtool.m4 will add one of these switches to LD
14707 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14708 libsuff
= shlibsuff
= libmagic
=32-bit;;
14709 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14710 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14711 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14712 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14713 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14717 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14718 shlibpath_overrides_runpath
=no
14719 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14720 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14721 hardcode_into_libs
=yes
14724 # No shared lib support for Linux oldld, aout, or coff.
14725 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14729 # This must be glibc/ELF.
14730 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14731 version_type
=linux
# correct to gnu/linux during the next big refactor
14734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec
='${libname}${release}${shared_ext}$major'
14736 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14737 shlibpath_var
=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath
=no
14740 # Some binutils ld are patched to set DT_RUNPATH
14741 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14742 $as_echo_n "(cached) " >&6
14744 lt_cv_shlibpath_overrides_runpath
=no
14745 save_LDFLAGS
=$LDFLAGS
14746 save_libdir
=$libdir
14747 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14748 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14760 if ac_fn_cxx_try_link
"$LINENO"; then :
14761 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14762 lt_cv_shlibpath_overrides_runpath
=yes
14765 rm -f core conftest.err conftest.
$ac_objext \
14766 conftest
$ac_exeext conftest.
$ac_ext
14767 LDFLAGS
=$save_LDFLAGS
14768 libdir
=$save_libdir
14772 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14774 # This implies no fast_install, which is unacceptable.
14775 # Some rework will be needed to allow for fast_install
14776 # before this can be enabled.
14777 hardcode_into_libs
=yes
14779 # Append ld.so.conf contents to the search path
14780 if test -f /etc
/ld.so.conf
; then
14781 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' ' '`
14782 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14785 # We used to test for /lib/ld.so.1 and disable shared libraries on
14786 # powerpc, because MkLinux only supported shared libraries with the
14787 # GNU dynamic linker. Since this was broken with cross compilers,
14788 # most powerpc-linux boxes support dynamic linking these days and
14789 # people can always --disable-shared, the test was removed, and we
14790 # assume the GNU/Linux dynamic linker is in use.
14791 dynamic_linker
='GNU/Linux ld.so'
14798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14799 soname_spec
='${libname}${release}${shared_ext}$major'
14800 shlibpath_var
=LD_LIBRARY_PATH
14801 shlibpath_overrides_runpath
=no
14802 hardcode_into_libs
=yes
14803 dynamic_linker
='NetBSD ld.elf_so'
14810 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14813 dynamic_linker
='NetBSD (a.out) ld.so'
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14816 soname_spec
='${libname}${release}${shared_ext}$major'
14817 dynamic_linker
='NetBSD ld.elf_so'
14819 shlibpath_var
=LD_LIBRARY_PATH
14820 shlibpath_overrides_runpath
=yes
14821 hardcode_into_libs
=yes
14825 version_type
=linux
# correct to gnu/linux during the next big refactor
14826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14827 shlibpath_var
=LD_LIBRARY_PATH
14828 shlibpath_overrides_runpath
=yes
14835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14836 soname_spec
='${libname}${release}${shared_ext}$major'
14837 shlibpath_var
=LD_LIBRARY_PATH
14838 shlibpath_overrides_runpath
=no
14839 hardcode_into_libs
=yes
14840 dynamic_linker
='ldqnx.so'
14845 sys_lib_dlsearch_path_spec
="/usr/lib"
14847 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14849 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14850 *) need_version
=no
;;
14852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14854 shlibpath_var
=LD_LIBRARY_PATH
14855 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14857 openbsd2.
[89] | openbsd2.
[89].
*)
14858 shlibpath_overrides_runpath
=no
14861 shlibpath_overrides_runpath
=yes
14865 shlibpath_overrides_runpath
=yes
14870 libname_spec
='$name'
14873 library_names_spec
='$libname${shared_ext} $libname.a'
14874 dynamic_linker
='OS/2 ld.exe'
14875 shlibpath_var
=LIBPATH
14878 osf3
* | osf4
* | osf5
*)
14882 soname_spec
='${libname}${release}${shared_ext}$major'
14883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14884 shlibpath_var
=LD_LIBRARY_PATH
14885 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14886 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14894 version_type
=linux
# correct to gnu/linux during the next big refactor
14897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14898 soname_spec
='${libname}${release}${shared_ext}$major'
14899 shlibpath_var
=LD_LIBRARY_PATH
14900 shlibpath_overrides_runpath
=yes
14901 hardcode_into_libs
=yes
14902 # ldd complains unless libraries are executable
14903 postinstall_cmds
='chmod +x $lib'
14908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14909 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14910 shlibpath_var
=LD_LIBRARY_PATH
14911 shlibpath_overrides_runpath
=yes
14912 if test "$with_gnu_ld" = yes; then
14919 version_type
=linux
# correct to gnu/linux during the next big refactor
14920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14921 soname_spec
='${libname}${release}${shared_ext}$major'
14922 shlibpath_var
=LD_LIBRARY_PATH
14923 case $host_vendor in
14925 shlibpath_overrides_runpath
=no
14927 runpath_var
=LD_RUN_PATH
14935 shlibpath_overrides_runpath
=no
14936 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14942 if test -d /usr
/nec
;then
14943 version_type
=linux
# correct to gnu/linux during the next big refactor
14944 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14945 soname_spec
='$libname${shared_ext}.$major'
14946 shlibpath_var
=LD_LIBRARY_PATH
14950 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14951 version_type
=freebsd-elf
14954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14955 soname_spec
='${libname}${release}${shared_ext}$major'
14956 shlibpath_var
=LD_LIBRARY_PATH
14957 shlibpath_overrides_runpath
=yes
14958 hardcode_into_libs
=yes
14959 if test "$with_gnu_ld" = yes; then
14960 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14962 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14965 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14969 sys_lib_dlsearch_path_spec
='/usr/lib'
14973 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14974 version_type
=linux
# correct to gnu/linux during the next big refactor
14977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14978 shlibpath_var
=LD_LIBRARY_PATH
14979 shlibpath_overrides_runpath
=no
14980 hardcode_into_libs
=yes
14984 version_type
=linux
# correct to gnu/linux during the next big refactor
14985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14986 soname_spec
='${libname}${release}${shared_ext}$major'
14987 shlibpath_var
=LD_LIBRARY_PATH
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14995 $as_echo "$dynamic_linker" >&6; }
14996 test "$dynamic_linker" = no
&& can_build_shared
=no
14998 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14999 if test "$GCC" = yes; then
15000 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15003 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15004 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15006 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15007 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15048 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15049 hardcode_action_CXX
=
15050 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15051 test -n "$runpath_var_CXX" ||
15052 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15054 # We can hardcode non-existent directories.
15055 if test "$hardcode_direct_CXX" != no
&&
15056 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15057 # have to relink, otherwise we might link with an installed library
15058 # when we should be linking with a yet-to-be-installed one
15059 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15060 test "$hardcode_minus_L_CXX" != no
; then
15061 # Linking always hardcodes the temporary library directory.
15062 hardcode_action_CXX
=relink
15064 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15065 hardcode_action_CXX
=immediate
15068 # We cannot hardcode anything, or else we can only hardcode existing
15070 hardcode_action_CXX
=unsupported
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15073 $as_echo "$hardcode_action_CXX" >&6; }
15075 if test "$hardcode_action_CXX" = relink ||
15076 test "$inherit_rpath_CXX" = yes; then
15077 # Fast installation is not supported
15078 enable_fast_install
=no
15079 elif test "$shlibpath_overrides_runpath" = yes ||
15080 test "$enable_shared" = no
; then
15081 # Fast installation is not necessary
15082 enable_fast_install
=needless
15091 fi # test -n "$compiler"
15094 CFLAGS
=$lt_save_CFLAGS
15098 with_gnu_ld
=$lt_save_with_gnu_ld
15099 lt_cv_path_LDCXX
=$lt_cv_path_LD
15100 lt_cv_path_LD
=$lt_save_path_LD
15101 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15102 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15103 fi # test "$_lt_caught_CXX_error" != yes
15106 ac_cpp
='$CPP $CPPFLAGS'
15107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15125 ac_config_commands
="$ac_config_commands libtool"
15130 # Only expand once:
15134 LIBSALAC_SO_VERSION
=1:0:0
15136 LIBSALAC_API_VERSION
=1.0
15139 ac_config_files
="$ac_config_files Makefile libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in"
15141 cat >confcache
<<\_ACEOF
15142 # This file is a shell script that caches the results of configure
15143 # tests run on this system so they can be shared between configure
15144 # scripts and configure runs, see configure's option --config-cache.
15145 # It is not useful on other systems. If it contains results you don't
15146 # want to keep, you may remove or edit it.
15148 # config.status only pays attention to the cache file if you give it
15149 # the --recheck option to rerun configure.
15151 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15152 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15153 # following values.
15157 # The following way of writing the cache mishandles newlines in values,
15158 # but we know of no workaround that is simple, portable, and efficient.
15159 # So, we kill variables containing newlines.
15160 # Ultrix sh set writes to stderr and can't be redirected directly,
15161 # and sets the high bit in the cache file unless we assign to the vars.
15163 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15164 eval ac_val
=\$
$ac_var
15168 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15172 _ | IFS | as_nl
) ;; #(
15173 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15174 *) { eval $ac_var=; unset $ac_var;} ;;
15180 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15181 *${as_nl}ac_space
=\
*)
15182 # `set' does not quote correctly, so add quotes: double-quote
15183 # substitution turns \\\\ into \\, and sed turns \\ into \.
15186 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15189 # `set' quotes correctly as required by POSIX, so do not add quotes.
15190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15199 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15203 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15204 if test -w "$cache_file"; then
15205 if test "x$cache_file" != "x/dev/null"; then
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15207 $as_echo "$as_me: updating cache $cache_file" >&6;}
15208 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15209 cat confcache
>"$cache_file"
15211 case $cache_file in #(
15213 mv -f confcache
"$cache_file"$$
&&
15214 mv -f "$cache_file"$$
"$cache_file" ;; #(
15216 mv -f confcache
"$cache_file" ;;
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15222 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15227 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15228 # Let make expand exec_prefix.
15229 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15231 DEFS
=-DHAVE_CONFIG_H
15236 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15237 # 1. Remove the extension, and $U if already installed.
15238 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15239 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15240 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15241 # will be set to the directory where LIBOBJS objects are built.
15242 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15243 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15245 LIBOBJS
=$ac_libobjs
15247 LTLIBOBJS
=$ac_ltlibobjs
15250 if test -n "$EXEEXT"; then
15252 am__EXEEXT_FALSE
='#'
15254 am__EXEEXT_TRUE
='#'
15258 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15259 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15262 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15263 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15266 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15267 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15271 : "${CONFIG_STATUS=./config.status}"
15273 ac_clean_files_save
=$ac_clean_files
15274 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15276 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15278 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15280 # Generated by $as_me.
15281 # Run this file to recreate the current configuration.
15282 # Compiler output produced by configure, useful for debugging
15283 # configure, is in config.log if it exists.
15286 ac_cs_recheck=false
15289 SHELL=\${CONFIG_SHELL-$SHELL}
15292 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15293 ## -------------------- ##
15294 ## M4sh Initialization. ##
15295 ## -------------------- ##
15297 # Be more Bourne compatible
15298 DUALCASE
=1; export DUALCASE
# for MKS sh
15299 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15302 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15303 # is contrary to our usage. Disable this feature.
15304 alias -g '${1+"$@"}'='"$@"'
15305 setopt NO_GLOB_SUBST
15307 case `(set -o) 2>/dev/null` in #(
15319 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15320 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15322 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15323 # Prefer a ksh shell builtin over an external printf program on Solaris,
15324 # but without wasting forks for bash or zsh.
15325 if test -z "$BASH_VERSION$ZSH_VERSION" \
15326 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15327 as_echo='print
-r --'
15328 as_echo_n='print
-rn --'
15329 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15330 as_echo='printf %s
\n'
15331 as_echo_n='printf %s
'
15333 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15334 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15335 as_echo_n='/usr
/ucb
/echo -n'
15337 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15338 as_echo_n_body='eval
15342 expr "X$arg" : "X\\(.*\\)$as_nl";
15343 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15345 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15347 export as_echo_n_body
15348 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15350 export as_echo_body
15351 as_echo='sh
-c $as_echo_body as_echo
'
15354 # The user is always right.
15355 if test "${PATH_SEPARATOR+set}" != set; then
15357 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15358 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15365 # We need space, tab and new line, in precisely that order. Quoting is
15366 # there to prevent editors from complaining about space-tab.
15367 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15368 # splitting by setting IFS to empty value.)
15371 # Find who we are. Look in the path if we contain no directory separator.
15374 *[\\/]* ) as_myself=$0 ;;
15375 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15376 for as_dir in $PATH
15379 test -z "$as_dir" && as_dir=.
15380 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15386 # We did not find ourselves, most probably we were run as `sh COMMAND'
15387 # in which case we are not to be found in the path.
15388 if test "x$as_myself" = x
; then
15391 if test ! -f "$as_myself"; then
15392 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15396 # Unset variables that we do not need and which cause bugs (e.g. in
15397 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15398 # suppresses any "Segmentation fault" message there. '((' could
15399 # trigger a bug in pdksh 5.2.14.
15400 for as_var
in BASH_ENV ENV MAIL MAILPATH
15401 do eval test x\
${$as_var+set} = xset \
15402 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15415 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15418 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15419 # ----------------------------------------
15420 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15421 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15422 # script with STATUS, using 1 if that was 0.
15425 as_status
=$1; test $as_status -eq 0 && as_status
=1
15427 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15428 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15430 $as_echo "$as_me: error: $2" >&2
15431 as_fn_exit
$as_status
15435 # as_fn_set_status STATUS
15436 # -----------------------
15437 # Set $? to STATUS, without forking.
15438 as_fn_set_status
()
15441 } # as_fn_set_status
15443 # as_fn_exit STATUS
15444 # -----------------
15445 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15449 as_fn_set_status
$1
15455 # Portably unset VAR.
15458 { eval $1=; unset $1;}
15460 as_unset
=as_fn_unset
15461 # as_fn_append VAR VALUE
15462 # ----------------------
15463 # Append the text in VALUE to the end of the definition contained in VAR. Take
15464 # advantage of any shell optimizations that allow amortized linear growth over
15465 # repeated appends, instead of the typical quadratic growth present in naive
15467 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15468 eval 'as_fn_append ()
15479 # as_fn_arith ARG...
15480 # ------------------
15481 # Perform arithmetic evaluation on the ARGs, and store the result in the
15482 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15483 # must be portable across $(()) and expr.
15484 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15485 eval 'as_fn_arith ()
15492 as_val
=`expr "$@" || test $? -eq 1`
15497 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15498 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15504 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15505 as_basename
=basename
15510 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15516 as_me
=`$as_basename -- "$0" ||
15517 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15518 X"$0" : 'X\(//\)$' \| \
15519 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15521 sed '/^.*\/\([^/][^/]*\)\/*$/{
15535 # Avoid depending upon Character Ranges.
15536 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15537 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15538 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15539 as_cr_digits
='0123456789'
15540 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15542 ECHO_C
= ECHO_N
= ECHO_T
=
15543 case `echo -n x` in #(((((
15545 case `echo 'xy\c'` in
15546 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15548 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15555 rm -f conf$$ conf$$.exe conf$$.
file
15556 if test -d conf$$.dir
; then
15557 rm -f conf$$.dir
/conf$$.
file
15560 mkdir conf$$.dir
2>/dev
/null
15562 if (echo >conf$$.
file) 2>/dev
/null
; then
15563 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15565 # ... but there are two gotchas:
15566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15568 # In both cases, we have to default to `cp -p'.
15569 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15571 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15579 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15580 rmdir conf$$.dir
2>/dev
/null
15585 # Create "$as_dir" as a directory, including parents if necessary.
15590 -*) as_dir
=.
/$as_dir;;
15592 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15596 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15597 *) as_qdir
=$as_dir;;
15599 as_dirs
="'$as_qdir' $as_dirs"
15600 as_dir
=`$as_dirname -- "$as_dir" ||
15601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15602 X"$as_dir" : 'X\(//\)[^/]' \| \
15603 X"$as_dir" : 'X\(//\)$' \| \
15604 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15605 $as_echo X"$as_dir" |
15606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15610 /^X\(\/\/\)[^/].*/{
15623 test -d "$as_dir" && break
15625 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15626 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15630 if mkdir
-p .
2>/dev
/null
; then
15631 as_mkdir_p
='mkdir -p "$as_dir"'
15633 test -d .
/-p && rmdir .
/-p
15637 if test -x / >/dev
/null
2>&1; then
15638 as_test_x
='test -x'
15640 if ls -dL / >/dev
/null
2>&1; then
15647 if test -d "$1"; then
15653 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15654 ???[sx]*):;;*)false;;esac;fi
15658 as_executable_p
=$as_test_x
15660 # Sed expression to map a string onto a valid CPP name.
15661 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15663 # Sed expression to map a string onto a valid variable name.
15664 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15668 ## ----------------------------------- ##
15669 ## Main body of $CONFIG_STATUS script. ##
15670 ## ----------------------------------- ##
15672 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15675 # Save the log message, to keep $0 and so on meaningful, and to
15676 # report actual input values of CONFIG_FILES etc. instead of their
15677 # values after options handling.
15679 This file was extended by libsalac $as_me 0.1, which was
15680 generated by GNU Autoconf 2.68. Invocation command line was
15682 CONFIG_FILES = $CONFIG_FILES
15683 CONFIG_HEADERS = $CONFIG_HEADERS
15684 CONFIG_LINKS = $CONFIG_LINKS
15685 CONFIG_COMMANDS = $CONFIG_COMMANDS
15688 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15693 case $ac_config_files in *"
15694 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15697 case $ac_config_headers in *"
15698 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15703 # Files that config.status was made for.
15704 config_files="$ac_config_files"
15705 config_headers="$ac_config_headers"
15706 config_commands="$ac_config_commands"
15710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15712 \`$as_me' instantiates files and other configuration actions
15713 from templates according to the current configuration. Unless the files
15714 and actions are specified as TAGs, all are instantiated by default.
15716 Usage: $0 [OPTION]... [TAG]...
15718 -h, --help print this help, then exit
15719 -V, --version print version number and configuration settings, then exit
15720 --config print configuration, then exit
15721 -q, --quiet, --silent
15722 do not print progress messages
15723 -d, --debug don't remove temporary files
15724 --recheck update $as_me by reconfiguring in the same conditions
15725 --file=FILE[:TEMPLATE]
15726 instantiate the configuration file FILE
15727 --header=FILE[:TEMPLATE]
15728 instantiate the configuration header FILE
15730 Configuration files:
15733 Configuration headers:
15736 Configuration commands:
15739 Report bugs to <pulseaudio@niafc.de>.
15740 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>."
15743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15744 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15746 libsalac config.status 0.1
15747 configured by $0, generated by GNU Autoconf 2.68,
15748 with options \\"\$ac_cs_config\\"
15750 Copyright (C) 2010 Free Software Foundation, Inc.
15751 This config.status script is free software; the Free Software Foundation
15752 gives unlimited permission to copy, distribute and modify it."
15759 test -n "\$AWK" || AWK=awk
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15763 # The default lists apply if the user does not specify any file.
15769 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15770 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15774 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15786 # Handling of the options.
15787 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15789 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15790 $as_echo "$ac_cs_version"; exit ;;
15791 --config |
--confi |
--conf |
--con |
--co |
--c )
15792 $as_echo "$ac_cs_config"; exit ;;
15793 --debug |
--debu |
--deb |
--de |
--d |
-d )
15795 --file |
--fil |
--fi |
--f )
15798 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15799 '') as_fn_error $?
"missing file argument" ;;
15801 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15802 ac_need_defaults
=false
;;
15803 --header |
--heade |
--head |
--hea )
15806 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15808 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15809 ac_need_defaults
=false
;;
15811 # Conflict between --help and --header
15812 as_fn_error $?
"ambiguous option: \`$1'
15813 Try \`$0 --help' for more information.";;
15814 --help |
--hel |
-h )
15815 $as_echo "$ac_cs_usage"; exit ;;
15816 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15817 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15820 # This is an error.
15821 -*) as_fn_error $?
"unrecognized option: \`$1'
15822 Try \`$0 --help' for more information." ;;
15824 *) as_fn_append ac_config_targets
" $1"
15825 ac_need_defaults
=false
;;
15831 ac_configure_extra_args
=
15833 if $ac_cs_silent; then
15835 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15840 if \$ac_cs_recheck; then
15841 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15843 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15844 CONFIG_SHELL='$SHELL'
15845 export CONFIG_SHELL
15850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15854 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15855 ## Running $as_me. ##
15861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15865 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15868 # The HP-UX ksh and POSIX shell print the target directory to stdout
15869 # if CDPATH is set.
15870 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15872 sed_quote_subst='$sed_quote_subst'
15873 double_quote_subst='$double_quote_subst'
15874 delay_variable_subst='$delay_variable_subst'
15875 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15876 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15877 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15878 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15879 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15880 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15881 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15882 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15883 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15884 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15885 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15886 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15887 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15888 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15889 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15890 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15891 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15892 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15893 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15894 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15895 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15896 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15897 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15898 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15899 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15900 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15901 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15902 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15903 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15904 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15905 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15906 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15907 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15908 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15909 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15910 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15911 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15912 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15913 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15914 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15915 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15916 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15917 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15918 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15919 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15920 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15921 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15922 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15923 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15924 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15925 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15926 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15927 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15928 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15929 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15930 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15931 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"`'
15932 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15933 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15934 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15935 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15936 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15937 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15938 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15939 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15940 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15941 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15942 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15943 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15944 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15945 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15946 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15947 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15948 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15949 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15950 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15951 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15952 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15953 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15954 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15955 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15956 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15957 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15958 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15959 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15960 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15961 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15962 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15963 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15964 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15965 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15966 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15967 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15968 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15969 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15970 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15971 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15972 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15973 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15974 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15975 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15976 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15977 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15978 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15979 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15980 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15981 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15982 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15983 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15984 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15985 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15986 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15987 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15988 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15989 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15990 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15991 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15992 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15993 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15994 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15995 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15996 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15997 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15998 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15999 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16000 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16001 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16002 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16003 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16004 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16005 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16006 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16007 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16008 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16009 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16010 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16011 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16012 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16013 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16014 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16015 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16016 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16017 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16018 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16019 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16020 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16021 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16022 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16023 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16024 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16025 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16026 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16027 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16028 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16029 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16030 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16031 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16032 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16033 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16034 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16035 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16036 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16037 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16038 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16039 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16040 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16041 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16042 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16043 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16044 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16045 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16046 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16047 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16048 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16049 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16050 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16051 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16052 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16053 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16054 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16055 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16056 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16057 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16058 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16061 LTCFLAGS='$LTCFLAGS'
16062 compiler='$compiler_DEFAULT'
16064 # A function that is used when there is no print builtin or printf.
16065 func_fallback_echo ()
16067 eval 'cat <<_LTECHO_EOF
16072 # Quote evaled strings.
16087 deplibs_check_method \
16092 sharedlib_from_linklib_cmd \
16095 archiver_list_spec \
16101 lt_cv_sys_global_symbol_pipe \
16102 lt_cv_sys_global_symbol_to_cdecl \
16103 lt_cv_sys_global_symbol_to_c_name_address \
16104 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16105 nm_file_list_spec \
16106 lt_prog_compiler_no_builtin_flag \
16107 lt_prog_compiler_pic \
16108 lt_prog_compiler_wl \
16109 lt_prog_compiler_static \
16110 lt_cv_prog_compiler_c_o \
16119 export_dynamic_flag_spec \
16120 whole_archive_flag_spec \
16121 compiler_needs_object \
16123 allow_undefined_flag \
16124 no_undefined_flag \
16125 hardcode_libdir_flag_spec \
16126 hardcode_libdir_separator \
16130 variables_saved_for_relink \
16132 library_names_spec \
16134 install_override_mode \
16138 compiler_lib_search_dirs \
16143 compiler_lib_search_path \
16147 lt_prog_compiler_no_builtin_flag_CXX \
16148 lt_prog_compiler_pic_CXX \
16149 lt_prog_compiler_wl_CXX \
16150 lt_prog_compiler_static_CXX \
16151 lt_cv_prog_compiler_c_o_CXX \
16152 export_dynamic_flag_spec_CXX \
16153 whole_archive_flag_spec_CXX \
16154 compiler_needs_object_CXX \
16156 allow_undefined_flag_CXX \
16157 no_undefined_flag_CXX \
16158 hardcode_libdir_flag_spec_CXX \
16159 hardcode_libdir_separator_CXX \
16160 exclude_expsyms_CXX \
16161 include_expsyms_CXX \
16162 file_list_spec_CXX \
16163 compiler_lib_search_dirs_CXX \
16164 predep_objects_CXX \
16165 postdep_objects_CXX \
16168 compiler_lib_search_path_CXX; do
16169 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16170 *[\\\\\\\`\\"\\\$]*)
16171 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16174 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16179 # Double-quote double-evaled strings.
16180 for var in reload_cmds \
16181 old_postinstall_cmds \
16182 old_postuninstall_cmds \
16184 extract_expsyms_cmds \
16185 old_archive_from_new_cmds \
16186 old_archive_from_expsyms_cmds \
16188 archive_expsym_cmds \
16190 module_expsym_cmds \
16191 export_symbols_cmds \
16195 postuninstall_cmds \
16197 sys_lib_search_path_spec \
16198 sys_lib_dlsearch_path_spec \
16200 old_archive_cmds_CXX \
16201 old_archive_from_new_cmds_CXX \
16202 old_archive_from_expsyms_cmds_CXX \
16204 archive_expsym_cmds_CXX \
16206 module_expsym_cmds_CXX \
16207 export_symbols_cmds_CXX \
16209 postlink_cmds_CXX; do
16210 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16211 *[\\\\\\\`\\"\\\$]*)
16212 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16215 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16220 ac_aux_dir='$ac_aux_dir'
16221 xsi_shell='$xsi_shell'
16222 lt_shell_append='$lt_shell_append'
16224 # See if we are running on zsh, and set the options which allow our
16225 # commands through without removal of \ escapes INIT.
16226 if test -n "\${ZSH_VERSION+set}" ; then
16227 setopt NO_GLOB_SUBST
16233 TIMESTAMP='$TIMESTAMP'
16244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16246 # Handling of arguments.
16247 for ac_config_target
in $ac_config_targets
16249 case $ac_config_target in
16250 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16251 "libsalacconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS libsalacconfig.h" ;;
16252 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16253 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16254 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16255 "libsalac-${LIBSALAC_API_VERSION}.pc") CONFIG_FILES
="$CONFIG_FILES libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in" ;;
16257 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16262 # If the user did not use the arguments to specify the items to instantiate,
16263 # then the envvar interface is used. Set only those that are not.
16264 # We use the long form for the default assignment because of an extremely
16265 # bizarre bug on SunOS 4.1.3.
16266 if $ac_need_defaults; then
16267 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16268 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16269 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16272 # Have a temporary directory for convenience. Make it in the build tree
16273 # simply because there is no reason against having it here, and in addition,
16274 # creating and moving files from /tmp can sometimes cause problems.
16275 # Hook for its removal unless debugging.
16276 # Note that there is a small window in which the directory will not be cleaned:
16277 # after its creation but before its name has been assigned to `$tmp'.
16281 trap 'exit_status=$?
16282 : "${ac_tmp:=$tmp}"
16283 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16285 trap 'as_fn_exit 1' 1 2 13 15
16287 # Create a (secure) tmp directory for tmp files.
16290 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16294 tmp
=.
/conf$$
-$RANDOM
16295 (umask 077 && mkdir
"$tmp")
16296 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16299 # Set up the scripts for CONFIG_FILES section.
16300 # No need to generate them if there are no CONFIG_FILES.
16301 # This happens for instance with `./config.status config.h'.
16302 if test -n "$CONFIG_FILES"; then
16305 ac_cr
=`echo X | tr X '\015'`
16306 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16307 # But we know of no other shell where ac_cr would be empty at this
16308 # point, so we can use a bashism as a fallback.
16309 if test "x$ac_cr" = x
; then
16310 eval ac_cr
=\$
\'\\r
\'
16312 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16313 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16316 ac_cs_awk_cr
=$ac_cr
16319 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16324 echo "cat >conf$$subs.awk <<_ACEOF" &&
16325 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16327 } >conf$$subs.sh ||
16328 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16329 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16331 for ac_last_try in false false false false false :; do
16332 . ./conf$$subs.sh ||
16333 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16335 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16336 if test $ac_delim_n = $ac_delim_num; then
16338 elif $ac_last_try; then
16339 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16341 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16344 rm -f conf$$subs.sh
16346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16347 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16351 s/^/S["/; s
/!.
*/"]=/
16361 s/\(.\{148\}\)..*/\1/
16363 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16368 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16375 s/\(.\{148\}\)..*/\1/
16377 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16381 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16386 ' <conf$$subs.awk | sed '
16391 ' >>$CONFIG_STATUS || ac_write_fail=1
16392 rm -f conf$$subs.awk
16393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16395 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16396 for (key in S) S_is_set[key] = 1
16402 nfields = split(line, field, "@
")
16404 len = length(field[1])
16405 for (i = 2; i < nfields; i++) {
16407 keylen = length(key)
16408 if (S_is_set[key]) {
16410 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16411 len += length(value) + length(field[++i])
16422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16423 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16424 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16427 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16428 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16431 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16432 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16433 # trailing colons and then remove the whole line if VPATH becomes empty
16434 # (actually we leave an empty line to preserve line numbers).
16435 if test "x
$srcdir" = x.; then
16436 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16455 fi # test -n "$CONFIG_FILES"
16457 # Set up the scripts for CONFIG_HEADERS section.
16458 # No need to generate them if there are no CONFIG_HEADERS.
16459 # This happens for instance with `./config.status Makefile'.
16460 if test -n "$CONFIG_HEADERS"; then
16461 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16465 # Transform confdefs.h into an awk script `defines.awk', embedded as
16466 # here-document in config.status, that substitutes the proper values into
16467 # config.h.in to produce config.h.
16469 # Create a delimiter string that does not exist in confdefs.h, to ease
16470 # handling of long lines.
16472 for ac_last_try in false false :; do
16473 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16474 if test -z "$ac_tt"; then
16476 elif $ac_last_try; then
16477 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16479 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16483 # For the awk script, D is an array of macro values keyed by name,
16484 # likewise P contains macro parameters if any. Preserve backslash
16485 # newline sequences.
16487 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16489 s/.\{148\}/&'"$ac_delim"'/g
16492 s/^[ ]*#[ ]*define[ ][ ]*/ /
16499 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16501 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16506 D["\
1"]=" \
3\\\\\\n
"\\/p
16508 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16513 s/.\{148\}/&'"$ac_delim"'/g
16518 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16521 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16523 ' <confdefs.h | sed '
16524 s/'"$ac_delim"'/"\\\
16525 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16528 for (key in D) D_is_set[key] = 1
16531 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16533 split(line, arg, " ")
16534 if (arg[1] == "#") {
16538 defundef
= substr
(arg
[1], 2)
16541 split(mac1
, mac2
, "(") #)
16543 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16544 if (D_is_set
[macro
]) {
16545 # Preserve the white space surrounding the "#".
16546 print prefix
"define", macro P
[macro
] D
[macro
]
16549 # Replace #undef with comments. This is necessary, for example,
16550 # in the case of _POSIX_SOURCE, which is predefined and required
16551 # on some systems where configure will not decide to define it.
16552 if (defundef
== "undef") {
16553 print
"/*", prefix defundef
, macro
, "*/"
16561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16562 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16563 fi # test -n "$CONFIG_HEADERS"
16566 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16571 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16573 case $ac_mode$ac_tag in
16575 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16576 :[FH
]-) ac_tag
=-:-;;
16577 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16594 -) ac_f
="$ac_tmp/stdin";;
16595 *) # Look for the file first in the build tree, then in the source tree
16596 # (if the path is not absolute). The absolute path cannot be DOS-style,
16597 # because $ac_f cannot contain `:'.
16601 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16603 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16605 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16606 as_fn_append ac_file_inputs
" '$ac_f'"
16609 # Let's still pretend it is `configure' which instantiates (i.e., don't
16610 # use $as_me), people would be surprised to read:
16611 # /* config.h. Generated by config.status. */
16612 configure_input
='Generated from '`
16613 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16615 if test x
"$ac_file" != x-
; then
16616 configure_input
="$ac_file. $configure_input"
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16618 $as_echo "$as_me: creating $ac_file" >&6;}
16620 # Neutralize special characters interpreted by sed in replacement strings.
16621 case $configure_input in #(
16622 *\
&* |
*\|
* |
*\\* )
16623 ac_sed_conf_input
=`$as_echo "$configure_input" |
16624 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16625 *) ac_sed_conf_input
=$configure_input;;
16629 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16630 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16635 ac_dir
=`$as_dirname -- "$ac_file" ||
16636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16637 X"$ac_file" : 'X\(//\)[^/]' \| \
16638 X"$ac_file" : 'X\(//\)$' \| \
16639 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16640 $as_echo X"$ac_file" |
16641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16645 /^X\(\/\/\)[^/].*/{
16658 as_dir
="$ac_dir"; as_fn_mkdir_p
16662 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16664 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16665 # A ".." for each directory in $ac_dir_suffix.
16666 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16667 case $ac_top_builddir_sub in
16668 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16669 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16672 ac_abs_top_builddir
=$ac_pwd
16673 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16674 # for backward compatibility:
16675 ac_top_builddir
=$ac_top_build_prefix
16678 .
) # We are building in place.
16680 ac_top_srcdir
=$ac_top_builddir_sub
16681 ac_abs_top_srcdir
=$ac_pwd ;;
16682 [\\/]* | ?
:[\\/]* ) # Absolute name.
16683 ac_srcdir
=$srcdir$ac_dir_suffix;
16684 ac_top_srcdir
=$srcdir
16685 ac_abs_top_srcdir
=$srcdir ;;
16686 *) # Relative name.
16687 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16688 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16689 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16691 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16701 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16702 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16704 ac_MKDIR_P
=$MKDIR_P
16706 [\\/$
]* | ?
:[\\/]* ) ;;
16707 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16712 # If the template does not know about datarootdir, expand it.
16713 # FIXME: This hack should be removed a few years after 2.60.
16714 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16725 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16726 *datarootdir
*) ac_datarootdir_seen
=yes;;
16727 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16729 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16732 ac_datarootdir_hack='
16733 s&@datadir@&$datadir&g
16734 s&@docdir@&$docdir&g
16735 s&@infodir@&$infodir&g
16736 s&@localedir@&$localedir&g
16737 s&@mandir@&$mandir&g
16738 s&\\\${datarootdir}&$datarootdir&g' ;;
16742 # Neutralize VPATH when `$srcdir' = `.'.
16743 # Shell code in configure.ac might set extrasub.
16744 # FIXME: do we really want to maintain this feature?
16745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16746 ac_sed_extra="$ac_vpsub
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16751 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16752 s|@configure_input@|
$ac_sed_conf_input|
;t t
16753 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16754 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16755 s
&@srcdir@
&$ac_srcdir&;t t
16756 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16757 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16758 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16759 s
&@builddir@
&$ac_builddir&;t t
16760 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16761 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16762 s
&@INSTALL@
&$ac_INSTALL&;t t
16763 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16764 $ac_datarootdir_hack
16766 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16767 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16770 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16771 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16772 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16774 which seems to be undefined. Please make sure it is defined" >&5
16775 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16776 which seems to be undefined. Please make sure it is defined" >&2;}
16778 rm -f "$ac_tmp/stdin"
16780 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16781 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16789 if test x"$ac_file" != x-; then
16791 $as_echo "/* $configure_input */" \
16792 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16793 } >"$ac_tmp/config.h" \
16794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16795 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16797 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16800 mv "$ac_tmp/config.h" "$ac_file" \
16801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16804 $as_echo "/* $configure_input */" \
16805 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16806 || as_fn_error $? "could not create -" "$LINENO" 5
16808 # Compute "$ac_file"'s index
in $config_headers.
16811 for _am_header
in $config_headers :; do
16812 case $_am_header in
16813 $_am_arg |
$_am_arg:* )
16816 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16819 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16820 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16821 X"$_am_arg" : 'X\(//\)[^/]' \| \
16822 X"$_am_arg" : 'X\(//\)$' \| \
16823 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16824 $as_echo X"$_am_arg" |
16825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16829 /^X\(\/\/\)[^/].*/{
16841 s/.*/./; q'`/stamp-h
$_am_stamp_count
16844 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16845 $as_echo "$as_me: executing $ac_file commands" >&6;}
16850 case $ac_file$ac_mode in
16851 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16852 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16853 # are listed without --file. Let's play safe and only enable the eval
16854 # if we detect the quoting.
16855 case $CONFIG_FILES in
16856 *\'*) eval set x
"$CONFIG_FILES" ;;
16857 *) set x
$CONFIG_FILES ;;
16862 # Strip MF so we end up with the name of the file.
16863 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16864 # Check whether this is an Automake generated Makefile or not.
16865 # We used to match only the files named `Makefile.in', but
16866 # some people rename them; so instead we look at the file content.
16867 # Grep'ing the first line is not enough: some people post-process
16868 # each Makefile.in and add a new line on top of each file to say so.
16869 # Grep'ing the whole file is not good either: AIX grep has a line
16870 # limit of 2048, but all sed's we know have understand at least 4000.
16871 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16872 dirpart
=`$as_dirname -- "$mf" ||
16873 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16874 X"$mf" : 'X\(//\)[^/]' \| \
16875 X"$mf" : 'X\(//\)$' \| \
16876 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16882 /^X\(\/\/\)[^/].*/{
16898 # Extract the definition of DEPDIR, am__include, and am__quote
16899 # from the Makefile without running `make'.
16900 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16901 test -z "$DEPDIR" && continue
16902 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16903 test -z "am__include" && continue
16904 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16905 # When using ansi2knr, U may be empty or an underscore; expand it
16906 U
=`sed -n 's/^U = //p' < "$mf"`
16907 # Find all dependency output files, they are included files with
16908 # $(DEPDIR) in their names. We invoke sed twice because it is the
16909 # simplest approach to changing $(DEPDIR) to its actual value in the
16911 for file in `sed -n "
16912 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16913 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16914 # Make sure the directory exists.
16915 test -f "$dirpart/$file" && continue
16916 fdir
=`$as_dirname -- "$file" ||
16917 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16918 X"$file" : 'X\(//\)[^/]' \| \
16919 X"$file" : 'X\(//\)$' \| \
16920 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16921 $as_echo X"$file" |
16922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16926 /^X\(\/\/\)[^/].*/{
16939 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16940 # echo "creating $dirpart/$file"
16941 echo '# dummy' > "$dirpart/$file"
16948 # See if we are running on zsh, and set the options which allow our
16949 # commands through without removal of \ escapes.
16950 if test -n "${ZSH_VERSION+set}" ; then
16951 setopt NO_GLOB_SUBST
16954 cfgfile
="${ofile}T"
16955 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16958 cat <<_LT_EOF >> "$cfgfile"
16961 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16962 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16963 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16964 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16966 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16967 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16969 # Written by Gordon Matzigkeit, 1996
16971 # This file is part of GNU Libtool.
16973 # GNU Libtool is free software; you can redistribute it and/or
16974 # modify it under the terms of the GNU General Public License as
16975 # published by the Free Software Foundation; either version 2 of
16976 # the License, or (at your option) any later version.
16978 # As a special exception to the GNU General Public License,
16979 # if you distribute this file as part of a program or library that
16980 # is built using GNU Libtool, you may include this file under the
16981 # same distribution terms that you use for the rest of that program.
16983 # GNU Libtool is distributed in the hope that it will be useful,
16984 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16985 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16986 # GNU General Public License for more details.
16988 # You should have received a copy of the GNU General Public License
16989 # along with GNU Libtool; see the file COPYING. If not, a copy
16990 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16991 # obtained by writing to the Free Software Foundation, Inc.,
16992 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16995 # The names of the tagged configurations supported by this script.
16996 available_tags="CXX "
16998 # ### BEGIN LIBTOOL CONFIG
17000 # Which release of libtool.m4 was used?
17001 macro_version=$macro_version
17002 macro_revision=$macro_revision
17004 # Whether or not to build static libraries.
17005 build_old_libs=$enable_static
17007 # Whether or not to build shared libraries.
17008 build_libtool_libs=$enable_shared
17010 # What type of objects to build.
17013 # Whether or not to optimize for fast installation.
17014 fast_install=$enable_fast_install
17016 # Shell to use when invoking shell scripts.
17019 # An echo program that protects backslashes.
17022 # The PATH separator for the build system.
17023 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17026 host_alias=$host_alias
17030 # The build system.
17031 build_alias=$build_alias
17035 # A sed program that does not truncate output.
17038 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17039 Xsed="\$SED -e 1s/^X//"
17041 # A grep program that handles long lines.
17047 # A literal string matcher.
17050 # A BSD- or MS-compatible name lister.
17053 # Whether we need soft or hard links.
17056 # What is the maximum length of a command?
17057 max_cmd_len=$max_cmd_len
17059 # Object file suffix (normally "o").
17062 # Executable file suffix (normally "").
17065 # whether the shell understands "unset".
17068 # turn spaces into newlines.
17071 # turn newlines into spaces.
17074 # convert \$build file names to \$host format.
17075 to_host_file_cmd=$lt_cv_to_host_file_cmd
17077 # convert \$build files to toolchain format.
17078 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17080 # An object symbol dumper.
17081 OBJDUMP=$lt_OBJDUMP
17083 # Method to check whether dependent libraries are shared objects.
17084 deplibs_check_method=$lt_deplibs_check_method
17086 # Command to use when deplibs_check_method = "file_magic".
17087 file_magic_cmd=$lt_file_magic_cmd
17089 # How to find potential files when deplibs_check_method = "file_magic".
17090 file_magic_glob=$lt_file_magic_glob
17092 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17093 want_nocaseglob=$lt_want_nocaseglob
17095 # DLL creation program.
17096 DLLTOOL=$lt_DLLTOOL
17098 # Command to associate shared and link libraries.
17099 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17104 # Flags to create an archive.
17105 AR_FLAGS=$lt_AR_FLAGS
17107 # How to feed a file listing to the archiver.
17108 archiver_list_spec=$lt_archiver_list_spec
17110 # A symbol stripping program.
17113 # Commands used to install an old-style archive.
17115 old_postinstall_cmds=$lt_old_postinstall_cmds
17116 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17118 # Whether to use a lock for old archive extraction.
17119 lock_old_archive_extraction=$lock_old_archive_extraction
17124 # LTCC compiler flags.
17125 LTCFLAGS=$lt_CFLAGS
17127 # Take the output of nm and produce a listing of raw symbols and C names.
17128 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17130 # Transform the output of nm in a proper C declaration.
17131 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17133 # Transform the output of nm in a C name address pair.
17134 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17136 # Transform the output of nm in a C name address pair when lib prefix is needed.
17137 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17139 # Specify filename containing input files for \$NM.
17140 nm_file_list_spec=$lt_nm_file_list_spec
17142 # The root where to search for dependent libraries,and in which our libraries should be installed.
17143 lt_sysroot=$lt_sysroot
17145 # The name of the directory that contains temporary libtool files.
17148 # Used to examine libraries when file_magic_cmd begins with "file".
17149 MAGIC_CMD=$MAGIC_CMD
17151 # Must we lock files when doing compilation?
17152 need_locks=$lt_need_locks
17155 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17157 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17158 DSYMUTIL=$lt_DSYMUTIL
17160 # Tool to change global to local symbols on Mac OS X.
17163 # Tool to manipulate fat objects and archives on Mac OS X.
17166 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17169 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17170 OTOOL64=$lt_OTOOL64
17172 # Old archive suffix (normally "a").
17175 # Shared library suffix (normally ".so").
17176 shrext_cmds=$lt_shrext_cmds
17178 # The commands to extract the exported symbol list from a shared archive.
17179 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17181 # Variables whose values should be saved in libtool wrapper scripts and
17182 # restored at link time.
17183 variables_saved_for_relink=$lt_variables_saved_for_relink
17185 # Do we need the "lib" prefix for modules?
17186 need_lib_prefix=$need_lib_prefix
17188 # Do we need a version for libraries?
17189 need_version=$need_version
17191 # Library versioning type.
17192 version_type=$version_type
17194 # Shared library runtime path variable.
17195 runpath_var=$runpath_var
17197 # Shared library path variable.
17198 shlibpath_var=$shlibpath_var
17200 # Is shlibpath searched before the hard-coded library search path?
17201 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17203 # Format of library name prefix.
17204 libname_spec=$lt_libname_spec
17206 # List of archive names. First name is the real one, the rest are links.
17207 # The last name is the one that the linker finds with -lNAME
17208 library_names_spec=$lt_library_names_spec
17210 # The coded name of the library, if different from the real name.
17211 soname_spec=$lt_soname_spec
17213 # Permission mode override for installation of shared libraries.
17214 install_override_mode=$lt_install_override_mode
17216 # Command to use after installation of a shared archive.
17217 postinstall_cmds=$lt_postinstall_cmds
17219 # Command to use after uninstallation of a shared archive.
17220 postuninstall_cmds=$lt_postuninstall_cmds
17222 # Commands used to finish a libtool library installation in a directory.
17223 finish_cmds=$lt_finish_cmds
17225 # As "finish_cmds", except a single script fragment to be evaled but
17227 finish_eval=$lt_finish_eval
17229 # Whether we should hardcode library paths into libraries.
17230 hardcode_into_libs=$hardcode_into_libs
17232 # Compile-time system search path for libraries.
17233 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17235 # Run-time system search path for libraries.
17236 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17238 # Whether dlopen is supported.
17239 dlopen_support=$enable_dlopen
17241 # Whether dlopen of programs is supported.
17242 dlopen_self=$enable_dlopen_self
17244 # Whether dlopen of statically linked programs is supported.
17245 dlopen_self_static=$enable_dlopen_self_static
17247 # Commands to strip libraries.
17248 old_striplib=$lt_old_striplib
17249 striplib=$lt_striplib
17252 # The linker used to build libraries.
17255 # How to create reloadable object files.
17256 reload_flag=$lt_reload_flag
17257 reload_cmds=$lt_reload_cmds
17259 # Commands used to build an old-style archive.
17260 old_archive_cmds=$lt_old_archive_cmds
17262 # A language specific compiler.
17265 # Is the compiler the GNU compiler?
17268 # Compiler flag to turn off builtin functions.
17269 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17271 # Additional compiler flags for building library objects.
17272 pic_flag=$lt_lt_prog_compiler_pic
17274 # How to pass a linker flag through the compiler.
17275 wl=$lt_lt_prog_compiler_wl
17277 # Compiler flag to prevent dynamic linking.
17278 link_static_flag=$lt_lt_prog_compiler_static
17280 # Does compiler simultaneously support -c and -o options?
17281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17283 # Whether or not to add -lc for building shared libraries.
17284 build_libtool_need_lc=$archive_cmds_need_lc
17286 # Whether or not to disallow shared libs when runtime libs are static.
17287 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17289 # Compiler flag to allow reflexive dlopens.
17290 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17292 # Compiler flag to generate shared objects directly from archives.
17293 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17295 # Whether the compiler copes with passing no objects directly.
17296 compiler_needs_object=$lt_compiler_needs_object
17298 # Create an old-style archive from a shared archive.
17299 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17301 # Create a temporary old-style archive to link instead of a shared archive.
17302 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17304 # Commands used to build a shared archive.
17305 archive_cmds=$lt_archive_cmds
17306 archive_expsym_cmds=$lt_archive_expsym_cmds
17308 # Commands used to build a loadable module if different from building
17309 # a shared archive.
17310 module_cmds=$lt_module_cmds
17311 module_expsym_cmds=$lt_module_expsym_cmds
17313 # Whether we are building with GNU ld or not.
17314 with_gnu_ld=$lt_with_gnu_ld
17316 # Flag that allows shared libraries with undefined symbols to be built.
17317 allow_undefined_flag=$lt_allow_undefined_flag
17319 # Flag that enforces no undefined symbols.
17320 no_undefined_flag=$lt_no_undefined_flag
17322 # Flag to hardcode \$libdir into a binary during linking.
17323 # This must work even if \$libdir does not exist
17324 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17326 # Whether we need a single "-rpath" flag with a separated argument.
17327 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17329 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17330 # DIR into the resulting binary.
17331 hardcode_direct=$hardcode_direct
17333 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17334 # DIR into the resulting binary and the resulting library dependency is
17335 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17336 # library is relocated.
17337 hardcode_direct_absolute=$hardcode_direct_absolute
17339 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17340 # into the resulting binary.
17341 hardcode_minus_L=$hardcode_minus_L
17343 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17344 # into the resulting binary.
17345 hardcode_shlibpath_var=$hardcode_shlibpath_var
17347 # Set to "yes" if building a shared library automatically hardcodes DIR
17348 # into the library and all subsequent libraries and executables linked
17350 hardcode_automatic=$hardcode_automatic
17352 # Set to yes if linker adds runtime paths of dependent libraries
17353 # to runtime path list.
17354 inherit_rpath=$inherit_rpath
17356 # Whether libtool must link a program against all its dependency libraries.
17357 link_all_deplibs=$link_all_deplibs
17359 # Set to "yes" if exported symbols are required.
17360 always_export_symbols=$always_export_symbols
17362 # The commands to list exported symbols.
17363 export_symbols_cmds=$lt_export_symbols_cmds
17365 # Symbols that should not be listed in the preloaded symbols.
17366 exclude_expsyms=$lt_exclude_expsyms
17368 # Symbols that must always be exported.
17369 include_expsyms=$lt_include_expsyms
17371 # Commands necessary for linking programs (against libraries) with templates.
17372 prelink_cmds=$lt_prelink_cmds
17374 # Commands necessary for finishing linking programs.
17375 postlink_cmds=$lt_postlink_cmds
17377 # Specify filename containing input files.
17378 file_list_spec=$lt_file_list_spec
17380 # How to hardcode a shared library path into an executable.
17381 hardcode_action=$hardcode_action
17383 # The directories searched by this compiler when creating a shared library.
17384 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17386 # Dependencies to place before and after the objects being linked to
17387 # create a shared library.
17388 predep_objects=$lt_predep_objects
17389 postdep_objects=$lt_postdep_objects
17390 predeps=$lt_predeps
17391 postdeps=$lt_postdeps
17393 # The library search path used internally by the compiler when linking
17394 # a shared library.
17395 compiler_lib_search_path=$lt_compiler_lib_search_path
17397 # ### END LIBTOOL CONFIG
17403 cat <<\_LT_EOF
>> "$cfgfile"
17404 # AIX sometimes has problems with the GCC collect2 program. For some
17405 # reason, if we set the COLLECT_NAMES environment variable, the problems
17406 # vanish in a puff of smoke.
17407 if test "X${COLLECT_NAMES+set}" != Xset
; then
17409 export COLLECT_NAMES
17416 ltmain
="$ac_aux_dir/ltmain.sh"
17419 # We use sed instead of cat because bash on DJGPP gets confused if
17420 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17421 # text mode, it properly converts lines to CR/LF. This bash problem
17422 # is reportedly fixed, but why not run on old versions too?
17423 sed '$q' "$ltmain" >> "$cfgfile" \
17424 ||
(rm -f "$cfgfile"; exit 1)
17426 if test x
"$xsi_shell" = xyes
; then
17427 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17431 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17432 \ * ) func_dirname_result="${3}" ;;\
17434 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17435 && mv -f "$cfgfile.tmp" "$cfgfile" \
17436 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17437 test 0 -eq $? || _lt_function_replace_fail
=:
17440 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17443 \ func_basename_result="${1##*/}"\
17444 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17445 && mv -f "$cfgfile.tmp" "$cfgfile" \
17446 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17447 test 0 -eq $? || _lt_function_replace_fail
=:
17450 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17451 func_dirname_and_basename ()\
17454 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17455 \ * ) func_dirname_result="${3}" ;;\
17457 \ func_basename_result="${1##*/}"\
17458 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17459 && mv -f "$cfgfile.tmp" "$cfgfile" \
17460 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17461 test 0 -eq $? || _lt_function_replace_fail
=:
17464 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17467 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17468 \ # positional parameters, so assign one to ordinary parameter first.\
17469 \ func_stripname_result=${3}\
17470 \ func_stripname_result=${func_stripname_result#"${1}"}\
17471 \ func_stripname_result=${func_stripname_result%"${2}"}\
17472 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17473 && mv -f "$cfgfile.tmp" "$cfgfile" \
17474 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17475 test 0 -eq $? || _lt_function_replace_fail
=:
17478 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17479 func_split_long_opt ()\
17481 \ func_split_long_opt_name=${1%%=*}\
17482 \ func_split_long_opt_arg=${1#*=}\
17483 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17484 && mv -f "$cfgfile.tmp" "$cfgfile" \
17485 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17486 test 0 -eq $? || _lt_function_replace_fail
=:
17489 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17490 func_split_short_opt ()\
17492 \ func_split_short_opt_arg=${1#??}\
17493 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17494 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17495 && mv -f "$cfgfile.tmp" "$cfgfile" \
17496 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17497 test 0 -eq $? || _lt_function_replace_fail
=:
17500 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17504 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17505 \ *) func_lo2o_result=${1} ;;\
17507 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17508 && mv -f "$cfgfile.tmp" "$cfgfile" \
17509 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17510 test 0 -eq $? || _lt_function_replace_fail
=:
17513 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17516 func_xform_result=${1%.*}.lo\
17517 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17518 && mv -f "$cfgfile.tmp" "$cfgfile" \
17519 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17520 test 0 -eq $? || _lt_function_replace_fail
=:
17523 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17526 func_arith_result=$(( $* ))\
17527 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17528 && mv -f "$cfgfile.tmp" "$cfgfile" \
17529 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17530 test 0 -eq $? || _lt_function_replace_fail
=:
17533 sed -e '/^func_len ()$/,/^} # func_len /c\
17536 func_len_result=${#1}\
17537 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17538 && mv -f "$cfgfile.tmp" "$cfgfile" \
17539 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17540 test 0 -eq $? || _lt_function_replace_fail
=:
17544 if test x
"$lt_shell_append" = xyes
; then
17545 sed -e '/^func_append ()$/,/^} # func_append /c\
17548 eval "${1}+=\\${2}"\
17549 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17550 && mv -f "$cfgfile.tmp" "$cfgfile" \
17551 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17552 test 0 -eq $? || _lt_function_replace_fail
=:
17555 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17556 func_append_quoted ()\
17558 \ func_quote_for_eval "${2}"\
17559 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17560 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17561 && mv -f "$cfgfile.tmp" "$cfgfile" \
17562 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail
=:
17566 # Save a `func_append' function call where possible by direct use of '+='
17567 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17568 && mv -f "$cfgfile.tmp" "$cfgfile" \
17569 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17570 test 0 -eq $? || _lt_function_replace_fail
=:
17572 # Save a `func_append' function call even when '+=' is not available
17573 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17574 && mv -f "$cfgfile.tmp" "$cfgfile" \
17575 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576 test 0 -eq $? || _lt_function_replace_fail
=:
17579 if test x
"$_lt_function_replace_fail" = x
":"; then
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17581 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17585 mv -f "$cfgfile" "$ofile" ||
17586 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17590 cat <<_LT_EOF >> "$ofile"
17592 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17594 # The linker used to build libraries.
17597 # How to create reloadable object files.
17598 reload_flag=$lt_reload_flag_CXX
17599 reload_cmds=$lt_reload_cmds_CXX
17601 # Commands used to build an old-style archive.
17602 old_archive_cmds=$lt_old_archive_cmds_CXX
17604 # A language specific compiler.
17605 CC=$lt_compiler_CXX
17607 # Is the compiler the GNU compiler?
17610 # Compiler flag to turn off builtin functions.
17611 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17613 # Additional compiler flags for building library objects.
17614 pic_flag=$lt_lt_prog_compiler_pic_CXX
17616 # How to pass a linker flag through the compiler.
17617 wl=$lt_lt_prog_compiler_wl_CXX
17619 # Compiler flag to prevent dynamic linking.
17620 link_static_flag=$lt_lt_prog_compiler_static_CXX
17622 # Does compiler simultaneously support -c and -o options?
17623 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17625 # Whether or not to add -lc for building shared libraries.
17626 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17628 # Whether or not to disallow shared libs when runtime libs are static.
17629 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17631 # Compiler flag to allow reflexive dlopens.
17632 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17634 # Compiler flag to generate shared objects directly from archives.
17635 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17637 # Whether the compiler copes with passing no objects directly.
17638 compiler_needs_object=$lt_compiler_needs_object_CXX
17640 # Create an old-style archive from a shared archive.
17641 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17643 # Create a temporary old-style archive to link instead of a shared archive.
17644 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17646 # Commands used to build a shared archive.
17647 archive_cmds=$lt_archive_cmds_CXX
17648 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17650 # Commands used to build a loadable module if different from building
17651 # a shared archive.
17652 module_cmds=$lt_module_cmds_CXX
17653 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17655 # Whether we are building with GNU ld or not.
17656 with_gnu_ld=$lt_with_gnu_ld_CXX
17658 # Flag that allows shared libraries with undefined symbols to be built.
17659 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17661 # Flag that enforces no undefined symbols.
17662 no_undefined_flag=$lt_no_undefined_flag_CXX
17664 # Flag to hardcode \$libdir into a binary during linking.
17665 # This must work even if \$libdir does not exist
17666 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17668 # Whether we need a single "-rpath" flag with a separated argument.
17669 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17671 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17672 # DIR into the resulting binary.
17673 hardcode_direct=$hardcode_direct_CXX
17675 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17676 # DIR into the resulting binary and the resulting library dependency is
17677 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17678 # library is relocated.
17679 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17681 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17682 # into the resulting binary.
17683 hardcode_minus_L=$hardcode_minus_L_CXX
17685 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17686 # into the resulting binary.
17687 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17689 # Set to "yes" if building a shared library automatically hardcodes DIR
17690 # into the library and all subsequent libraries and executables linked
17692 hardcode_automatic=$hardcode_automatic_CXX
17694 # Set to yes if linker adds runtime paths of dependent libraries
17695 # to runtime path list.
17696 inherit_rpath=$inherit_rpath_CXX
17698 # Whether libtool must link a program against all its dependency libraries.
17699 link_all_deplibs=$link_all_deplibs_CXX
17701 # Set to "yes" if exported symbols are required.
17702 always_export_symbols=$always_export_symbols_CXX
17704 # The commands to list exported symbols.
17705 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17707 # Symbols that should not be listed in the preloaded symbols.
17708 exclude_expsyms=$lt_exclude_expsyms_CXX
17710 # Symbols that must always be exported.
17711 include_expsyms=$lt_include_expsyms_CXX
17713 # Commands necessary for linking programs (against libraries) with templates.
17714 prelink_cmds=$lt_prelink_cmds_CXX
17716 # Commands necessary for finishing linking programs.
17717 postlink_cmds=$lt_postlink_cmds_CXX
17719 # Specify filename containing input files.
17720 file_list_spec=$lt_file_list_spec_CXX
17722 # How to hardcode a shared library path into an executable.
17723 hardcode_action=$hardcode_action_CXX
17725 # The directories searched by this compiler when creating a shared library.
17726 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17728 # Dependencies to place before and after the objects being linked to
17729 # create a shared library.
17730 predep_objects=$lt_predep_objects_CXX
17731 postdep_objects=$lt_postdep_objects_CXX
17732 predeps=$lt_predeps_CXX
17733 postdeps=$lt_postdeps_CXX
17735 # The library search path used internally by the compiler when linking
17736 # a shared library.
17737 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17739 # ### END LIBTOOL TAG CONFIG: CXX
17750 ac_clean_files
=$ac_clean_files_save
17752 test $ac_write_fail = 0 ||
17753 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17756 # configure is writing to config.log, and then calls config.status.
17757 # config.status does its own redirection, appending to config.log.
17758 # Unfortunately, on DOS this fails, as config.log is still kept open
17759 # by configure, so config.status won't be able to write to it; its
17760 # output is simply discarded. So we exec the FD to /dev/null,
17761 # effectively closing config.log, so it can be properly (re)opened and
17762 # appended to by config.status. When coming back to configure, we
17763 # need to make the FD available again.
17764 if test "$no_create" != yes; then
17766 ac_config_status_args
=
17767 test "$silent" = yes &&
17768 ac_config_status_args
="$ac_config_status_args --quiet"
17770 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17772 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17773 # would make configure fail if this is the last instruction.
17774 $ac_cs_success || as_fn_exit
1
17776 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17778 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}