2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsamplerate 0.1.9.
5 # Report bugs to <erikd@mega-nerd.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: erikd@mega-nerd.com about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libsamplerate'
592 PACKAGE_TARNAME
='libsamplerate'
593 PACKAGE_VERSION
='0.1.9'
594 PACKAGE_STRING
='libsamplerate 0.1.9'
595 PACKAGE_BUGREPORT
='erikd@mega-nerd.com'
596 PACKAGE_URL
='http://www.mega-nerd.com/libsamplerate/'
598 ac_unique_file
="src/samplerate.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
719 INSTALL_STRIP_PROGRAM
774 program_transform_name
787 enable_option_checking
789 enable_dependency_tracking
805 ac_precious_vars
='build_alias
828 # Initialize some variables set by options.
830 ac_init_version
=false
831 ac_unrecognized_opts
=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name
=s
,x
,x
,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir
='${exec_prefix}/bin'
857 sbindir
='${exec_prefix}/sbin'
858 libexecdir
='${exec_prefix}/libexec'
859 datarootdir
='${prefix}/share'
860 datadir
='${datarootdir}'
861 sysconfdir
='${prefix}/etc'
862 sharedstatedir
='${prefix}/com'
863 localstatedir
='${prefix}/var'
864 runstatedir
='${localstatedir}/run'
865 includedir
='${prefix}/include'
866 oldincludedir
='/usr/include'
867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir
='${datarootdir}/info'
873 libdir
='${exec_prefix}/lib'
874 localedir
='${datarootdir}/locale'
875 mandir
='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\
$ac_option
889 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error $?
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=no
;;
948 -docdir |
--docdir |
--docdi |
--doc |
--do)
950 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
953 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
955 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
958 -enable-* |
--enable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error $?
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=\
$ac_optarg ;;
974 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
975 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
976 |
--exec |
--exe |
--ex)
977 ac_prev
=exec_prefix
;;
978 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
979 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
980 |
--exec=* |
--exe=* |
--ex=*)
981 exec_prefix
=$ac_optarg ;;
983 -gas |
--gas |
--ga |
--g)
984 # Obsolete; use --with-gas.
987 -help |
--help |
--hel |
--he |
-h)
989 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
990 ac_init_help
=recursive
;;
991 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
992 ac_init_help
=short
;;
994 -host |
--host |
--hos |
--ho)
995 ac_prev
=host_alias
;;
996 -host=* |
--host=* |
--hos=* |
--ho=*)
997 host_alias
=$ac_optarg ;;
999 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1001 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1003 htmldir
=$ac_optarg ;;
1005 -includedir |
--includedir |
--includedi |
--included |
--include \
1006 |
--includ |
--inclu |
--incl |
--inc)
1007 ac_prev
=includedir
;;
1008 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1009 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1010 includedir
=$ac_optarg ;;
1012 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1014 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1015 infodir
=$ac_optarg ;;
1017 -libdir |
--libdir |
--libdi |
--libd)
1019 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1020 libdir
=$ac_optarg ;;
1022 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1023 |
--libexe |
--libex |
--libe)
1024 ac_prev
=libexecdir
;;
1025 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1026 |
--libexe=* |
--libex=* |
--libe=*)
1027 libexecdir
=$ac_optarg ;;
1029 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1030 ac_prev
=localedir
;;
1031 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1032 localedir
=$ac_optarg ;;
1034 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1035 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1036 ac_prev
=localstatedir
;;
1037 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1038 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1039 localstatedir
=$ac_optarg ;;
1041 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1043 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1044 mandir
=$ac_optarg ;;
1046 -nfp |
--nfp |
--nf)
1047 # Obsolete; use --without-fp.
1050 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1051 |
--no-cr |
--no-c |
-n)
1054 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1055 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1058 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1059 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1060 |
--oldin |
--oldi |
--old |
--ol |
--o)
1061 ac_prev
=oldincludedir
;;
1062 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1063 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1064 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1065 oldincludedir
=$ac_optarg ;;
1067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1070 prefix
=$ac_optarg ;;
1072 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1073 |
--program-pre |
--program-pr |
--program-p)
1074 ac_prev
=program_prefix
;;
1075 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1076 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1077 program_prefix
=$ac_optarg ;;
1079 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1080 |
--program-suf |
--program-su |
--program-s)
1081 ac_prev
=program_suffix
;;
1082 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1083 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1084 program_suffix
=$ac_optarg ;;
1086 -program-transform-name |
--program-transform-name \
1087 |
--program-transform-nam |
--program-transform-na \
1088 |
--program-transform-n |
--program-transform- \
1089 |
--program-transform |
--program-transfor \
1090 |
--program-transfo |
--program-transf \
1091 |
--program-trans |
--program-tran \
1092 |
--progr-tra |
--program-tr |
--program-t)
1093 ac_prev
=program_transform_name
;;
1094 -program-transform-name=* |
--program-transform-name=* \
1095 |
--program-transform-nam=* |
--program-transform-na=* \
1096 |
--program-transform-n=* |
--program-transform-=* \
1097 |
--program-transform=* |
--program-transfor=* \
1098 |
--program-transfo=* |
--program-transf=* \
1099 |
--program-trans=* |
--program-tran=* \
1100 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1101 program_transform_name
=$ac_optarg ;;
1103 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1105 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1106 pdfdir
=$ac_optarg ;;
1108 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1110 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1114 |
-silent |
--silent |
--silen |
--sile |
--sil)
1117 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1118 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1119 |
--run |
--ru |
--r)
1120 ac_prev
=runstatedir
;;
1121 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1122 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1123 |
--run=* |
--ru=* |
--r=*)
1124 runstatedir
=$ac_optarg ;;
1126 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1128 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1130 sbindir
=$ac_optarg ;;
1132 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1133 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1134 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1136 ac_prev
=sharedstatedir
;;
1137 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1138 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1139 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1141 sharedstatedir
=$ac_optarg ;;
1143 -site |
--site |
--sit)
1145 -site=* |
--site=* |
--sit=*)
1148 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1150 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1151 srcdir
=$ac_optarg ;;
1153 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1154 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1155 ac_prev
=sysconfdir
;;
1156 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1157 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1158 sysconfdir
=$ac_optarg ;;
1160 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1161 ac_prev
=target_alias
;;
1162 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1163 target_alias
=$ac_optarg ;;
1165 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1168 -version |
--version |
--versio |
--versi |
--vers |
-V)
1169 ac_init_version
=: ;;
1172 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error $?
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=\
$ac_optarg ;;
1187 -without-* |
--without-*)
1188 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error $?
"invalid package name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval with_
$ac_useropt=no
;;
1204 # Obsolete; use --with-x.
1207 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1208 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1209 ac_prev
=x_includes
;;
1210 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1211 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1212 x_includes
=$ac_optarg ;;
1214 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1215 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1216 ac_prev
=x_libraries
;;
1217 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1218 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1219 x_libraries
=$ac_optarg ;;
1221 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information"
1226 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
1228 case $ac_envvar in #(
1229 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1230 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1232 eval $ac_envvar=\
$ac_optarg
1233 export $ac_envvar ;;
1236 # FIXME: should be removed in autoconf 3.0.
1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 if test -n "$ac_prev"; then
1247 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1248 as_fn_error $?
"missing argument to $ac_option"
1251 if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1254 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 # Check all directory arguments for consistency.
1260 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir runstatedir
1265 eval ac_val
=\$
$ac_var
1266 # Remove trailing slashes.
1269 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\
$ac_val;;
1272 # Be sure to have absolute directory names.
1274 [\\/$
]* | ?
:[\\/]* ) continue;;
1275 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1277 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1285 target
=$target_alias
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x
; then
1289 if test "x$build_alias" = x
; then
1290 cross_compiling
=maybe
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $?
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $?
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 for ac_var
in $ac_precious_vars; do
1363 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1365 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures libsamplerate 0.1.9 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/libsamplerate]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1440 --build=BUILD configure
for building on BUILD
[guessed
]
1441 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1442 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive
) echo "Configuration of libsamplerate 0.1.9:";;
1453 --disable-option-checking ignore unrecognized
--enable/--with options
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1457 --disable-silent-rules verbose build output
(undo
: "make V=0")
1458 --enable-dependency-tracking
1459 do not reject slow dependency extractors
1460 --disable-dependency-tracking
1461 speeds up one-time build
1462 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1463 --enable-static[=PKGS
] build static libraries
[default
=yes]
1464 --enable-fast-install[=PKGS
]
1465 optimize
for fast installation
[default
=yes]
1466 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1467 --enable-gcc-werror enable -Werror in all Makefiles
1468 --disable-gcc-pipe disable gcc
-pipe option
1469 --disable-gcc-opt disable gcc optimisations
1470 --disable-fftw disable usage of FFTW
1471 --disable-cpu-clip disable tricky cpu specific clipper
1472 --disable-sndfile disable support
for sndfile
(default
=autodetect
)
1475 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1476 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1477 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1479 --with-aix-soname=aix|svr4|both
1480 shared library versioning
(aka
"SONAME") variant to
1481 provide on AIX
, [default
=aix
].
1482 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1483 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1484 compiler
's sysroot if not specified).
1486 Some influential environment variables:
1487 CC C compiler command
1488 CFLAGS C compiler flags
1489 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1490 nonstandard directory <lib dir>
1491 LIBS libraries to pass to the linker, e.g. -l<library>
1492 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1493 you have headers in a nonstandard directory <include dir>
1494 CXX C++ compiler command
1495 CXXFLAGS C++ compiler flags
1497 User-defined run-time library search path.
1499 CXXCPP C++ preprocessor
1500 PKG_CONFIG path to pkg-config utility
1502 directories to add to pkg-config's search path
1504 path overriding pkg-config
's built-in search path
1506 C compiler flags for SNDFILE, overriding pkg-config
1508 linker flags for SNDFILE, overriding pkg-config
1510 C compiler flags for FFTW3, overriding pkg-config
1511 FFTW3_LIBS linker flags for FFTW3, overriding pkg-config
1513 Use these variables to override the choices made by `configure' or to
help
1514 it to
find libraries and programs with nonstandard names
/locations.
1516 Report bugs to
<erikd@mega-nerd.com
>.
1517 libsamplerate home page
: <http
://www.mega-nerd.com
/libsamplerate
/>.
1522 if test "$ac_init_help" = "recursive"; then
1523 # If there are subdirs, report their specific --help.
1524 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1525 test -d "$ac_dir" ||
1526 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1531 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1533 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1534 # A ".." for each directory in $ac_dir_suffix.
1535 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1536 case $ac_top_builddir_sub in
1537 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1538 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1541 ac_abs_top_builddir
=$ac_pwd
1542 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1543 # for backward compatibility:
1544 ac_top_builddir
=$ac_top_build_prefix
1547 .
) # We are building in place.
1549 ac_top_srcdir
=$ac_top_builddir_sub
1550 ac_abs_top_srcdir
=$ac_pwd ;;
1551 [\\/]* | ?
:[\\/]* ) # Absolute name.
1552 ac_srcdir
=$srcdir$ac_dir_suffix;
1553 ac_top_srcdir
=$srcdir
1554 ac_abs_top_srcdir
=$srcdir ;;
1556 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1557 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1558 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1560 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1562 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1563 # Check for guested configure.
1564 if test -f "$ac_srcdir/configure.gnu"; then
1566 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1567 elif test -f "$ac_srcdir/configure"; then
1569 $SHELL "$ac_srcdir/configure" --help=recursive
1571 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1573 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1577 test -n "$ac_init_help" && exit $ac_status
1578 if $ac_init_version; then
1580 libsamplerate configure
0.1.9
1581 generated by GNU Autoconf
2.69
1583 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1584 This configure
script is free software
; the Free Software Foundation
1585 gives unlimited permission to copy
, distribute and modify it.
1590 ## ------------------------ ##
1591 ## Autoconf initialization. ##
1592 ## ------------------------ ##
1594 # ac_fn_c_try_compile LINENO
1595 # --------------------------
1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1597 ac_fn_c_try_compile
()
1599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1600 rm -f conftest.
$ac_objext
1601 if { { ac_try
="$ac_compile"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_compile") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest.$ac_objext; then :
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1630 } # ac_fn_c_try_compile
1632 # ac_fn_cxx_try_compile LINENO
1633 # ----------------------------
1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1635 ac_fn_cxx_try_compile ()
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 rm -f conftest.$ac_objext
1639 if { { ac_try="$ac_compile"
1641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1642 *) ac_try_echo
=$ac_try;;
1644 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_compile") 2>conftest.err
1648 if test -s conftest.err
; then
1649 grep -v '^ *+' conftest.err
>conftest.er1
1650 cat conftest.er1
>&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } && {
1655 test -z "$ac_cxx_werror_flag" ||
1656 test ! -s conftest.err
1657 } && test -s conftest.
$ac_objext; then :
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.
$ac_ext >&5
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status
$ac_retval
1668 } # ac_fn_cxx_try_compile
1670 # ac_fn_c_try_link LINENO
1671 # -----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 rm -f conftest.
$ac_objext conftest
$ac_exeext
1677 if { { ac_try
="$ac_link"
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest$ac_exeext && {
1696 test "$cross_compiling" = yes ||
1697 test -x conftest$ac_exeext
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1708 # interfere with the next link command; also delete a directory that is
1709 # left behind by Apple's compiler. We do this before executing the actions.
1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1714 } # ac_fn_c_try_link
1716 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1717 # -------------------------------------------------------
1718 # Tests whether HEADER exists and can be compiled using the include files in
1719 # INCLUDES, setting the cache variable VAR accordingly.
1720 ac_fn_c_check_header_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724 $as_echo_n "checking for $2... " >&6; }
1725 if eval \${$3+:} false; then :
1726 $as_echo_n "(cached) " >&6
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729 /* end confdefs.h. */
1733 if ac_fn_c_try_compile "$LINENO"; then :
1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 } # ac_fn_c_check_header_compile
1747 # ac_fn_c_try_cpp LINENO
1748 # ----------------------
1749 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 if { { ac_try="$ac_cpp conftest.$ac_ext"
1755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1756 *) ac_try_echo
=$ac_try;;
1758 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1762 if test -s conftest.err
; then
1763 grep -v '^ *+' conftest.err
>conftest.er1
1764 cat conftest.er1
>&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } > conftest.i
&& {
1769 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1770 test ! -s conftest.err
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.
$ac_ext >&5
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 as_fn_set_status
$ac_retval
1784 # ac_fn_c_try_run LINENO
1785 # ----------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1787 # that executables *can* be run.
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 if { { ac_try
="$ac_link"
1793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_link") 2>&5
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1802 { { case "(($ac_try" in
1803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1804 *) ac_try_echo
=$ac_try;;
1806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_try") 2>&5
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; }; }; then :
1814 $as_echo "$as_me: program exited with status $ac_status" >&5
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.
$ac_ext >&5
1818 ac_retval
=$ac_status
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status
$ac_retval
1826 # ac_fn_c_check_func LINENO FUNC VAR
1827 # ----------------------------------
1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1829 ac_fn_c_check_func
()
1831 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \
${$3+:} false
; then :
1835 $as_echo_n "(cached) " >&6
1837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1841 #define $2 innocuous_$2
1843 /* System header to define __stub macros and hopefully few prototypes,
1844 which can conflict with char $2 (); below.
1845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1846 <limits.h> exists even on freestanding compilers. */
1849 # include <limits.h>
1851 # include <assert.h>
1856 /* Override any GCC internal prototype to avoid an error.
1857 Use char because int might match the return type of a GCC
1858 builtin and then its argument prototype would still apply. */
1863 /* The GNU C library defines this for functions which it implements
1864 to always fail with ENOSYS. Some functions are actually named
1865 something starting with __ and the normal name is an alias. */
1866 #if defined __stub_$2 || defined __stub___$2
1878 if ac_fn_c_try_link
"$LINENO"; then :
1883 rm -f core conftest.err conftest.
$ac_objext \
1884 conftest
$ac_exeext conftest.
$ac_ext
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 } # ac_fn_c_check_func
1893 # ac_fn_cxx_try_cpp LINENO
1894 # ------------------------
1895 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1896 ac_fn_cxx_try_cpp
()
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1902 *) ac_try_echo=$ac_try;;
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1908 if test -s conftest.err; then
1909 grep -v '^ *+' conftest.err >conftest.er1
1910 cat conftest.er1 >&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } > conftest.i && {
1915 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1916 test ! -s conftest.err
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status $ac_retval
1928 } # ac_fn_cxx_try_cpp
1930 # ac_fn_cxx_try_link LINENO
1931 # -------------------------
1932 # Try to link conftest.$ac_ext, and return whether this succeeded.
1933 ac_fn_cxx_try_link ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 rm -f conftest.$ac_objext conftest$ac_exeext
1937 if { { ac_try="$ac_link"
1939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1940 *) ac_try_echo
=$ac_try;;
1942 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944 (eval "$ac_link") 2>conftest.err
1946 if test -s conftest.err
; then
1947 grep -v '^ *+' conftest.err
>conftest.er1
1948 cat conftest.er1
>&5
1949 mv -f conftest.er1 conftest.err
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } && {
1953 test -z "$ac_cxx_werror_flag" ||
1954 test ! -s conftest.err
1955 } && test -s conftest
$ac_exeext && {
1956 test "$cross_compiling" = yes ||
1957 test -x conftest
$ac_exeext
1961 $as_echo "$as_me: failed program was:" >&5
1962 sed 's/^/| /' conftest.
$ac_ext >&5
1966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1968 # interfere with the next link command; also delete a directory that is
1969 # left behind by Apple's compiler. We do this before executing the actions.
1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status
$ac_retval
1974 } # ac_fn_cxx_try_link
1976 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1977 # -------------------------------------------------------
1978 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1979 # the include files in INCLUDES and setting the cache variable VAR
1981 ac_fn_c_check_header_mongrel
()
1983 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1984 if eval \
${$3+:} false
; then :
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \
${$3+:} false
; then :
1988 $as_echo_n "(cached) " >&6
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1994 # Is the header compilable?
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1996 $as_echo_n "checking $2 usability... " >&6; }
1997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2003 ac_header_compiler
=yes
2005 ac_header_compiler
=no
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2009 $as_echo "$ac_header_compiler" >&6; }
2011 # Is the header present?
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2013 $as_echo_n "checking $2 presence... " >&6; }
2014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2018 if ac_fn_c_try_cpp
"$LINENO"; then :
2019 ac_header_preproc
=yes
2021 ac_header_preproc
=no
2023 rm -f conftest.err conftest.i conftest.
$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2025 $as_echo "$ac_header_preproc" >&6; }
2027 # So? What about this header?
2028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2031 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2037 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2039 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2041 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2043 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046 ( $as_echo "## ---------------------------------- ##
2047 ## Report this to erikd@mega-nerd.com ##
2048 ## ---------------------------------- ##"
2049 ) |
sed "s/^/$as_me: WARNING: /" >&2
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \
${$3+:} false
; then :
2055 $as_echo_n "(cached) " >&6
2057 eval "$3=\$ac_header_compiler"
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065 } # ac_fn_c_check_header_mongrel
2067 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2068 # --------------------------------------------
2069 # Tries to find the compile-time value of EXPR in a program that includes
2070 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2072 ac_fn_c_compute_int
()
2074 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2075 if test "$cross_compiling" = yes; then
2076 # Depending upon the size, compute the lo and hi bounds.
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2083 static int test_array [1 - 2 * !(($2) >= 0)];
2085 return test_array [0];
2091 if ac_fn_c_try_compile
"$LINENO"; then :
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2100 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2102 return test_array [0];
2108 if ac_fn_c_try_compile
"$LINENO"; then :
2109 ac_hi
=$ac_mid; break
2111 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2112 if test $ac_lo -le $ac_mid; then
2116 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2127 static int test_array [1 - 2 * !(($2) < 0)];
2129 return test_array [0];
2135 if ac_fn_c_try_compile
"$LINENO"; then :
2138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2144 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2146 return test_array [0];
2152 if ac_fn_c_try_compile
"$LINENO"; then :
2153 ac_lo
=$ac_mid; break
2155 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2156 if test $ac_mid -le $ac_hi; then
2160 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2170 # Binary search between lo and hi bounds.
2171 while test "x$ac_lo" != "x$ac_hi"; do
2172 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2179 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2181 return test_array [0];
2187 if ac_fn_c_try_compile
"$LINENO"; then :
2190 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2195 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2202 static long int longval () { return $2; }
2203 static unsigned long int ulongval () { return $2; }
2210 FILE *f = fopen ("conftest.val", "w");
2215 long int i = longval ();
2218 fprintf (f, "%ld", i);
2222 unsigned long int i = ulongval ();
2225 fprintf (f, "%lu", i);
2227 /* Do not output a trailing newline, as this causes \r\n confusion
2228 on some platforms. */
2229 return ferror (f) || fclose (f) != 0;
2235 if ac_fn_c_try_run
"$LINENO"; then :
2236 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2240 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2241 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 as_fn_set_status
$ac_retval
2248 } # ac_fn_c_compute_int
2249 cat >config.log
<<_ACEOF
2250 This file contains any messages produced by compilers while
2251 running configure, to aid debugging if configure makes a mistake.
2253 It was created by libsamplerate $as_me 0.1.9, which was
2254 generated by GNU Autoconf 2.69. Invocation command line was
2266 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2267 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2268 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2269 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2270 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2272 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2273 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2275 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2276 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2277 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2278 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2279 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2280 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2281 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir
=.
2290 $as_echo "PATH: $as_dir"
2306 # Keep a trace of the command line.
2307 # Strip out --no-create and --no-recursion so they do not pile up.
2308 # Strip out --silent because we don't want to record it for future runs.
2309 # Also quote any args containing shell meta-characters.
2310 # Make two passes to allow for proper duplicate-argument suppression.
2314 ac_must_keep_next
=false
2320 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2321 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2322 |
-silent |
--silent |
--silen |
--sile |
--sil)
2325 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2330 as_fn_append ac_configure_args1
" '$ac_arg'"
2331 if test $ac_must_keep_next = true
; then
2332 ac_must_keep_next
=false
# Got value, back to normal.
2335 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2336 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2337 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2338 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2339 case "$ac_configure_args0 " in
2340 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2343 -* ) ac_must_keep_next
=true
;;
2346 as_fn_append ac_configure_args
" '$ac_arg'"
2351 { ac_configure_args0
=; unset ac_configure_args0
;}
2352 { ac_configure_args1
=; unset ac_configure_args1
;}
2354 # When interrupted or exit'd, cleanup temporary files, and complete
2355 # config.log. We remove comments because anyway the quotes in there
2356 # would cause problems or look ugly.
2357 # WARNING: Use '\'' to represent an apostrophe within the trap.
2358 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2359 trap 'exit_status=$?
2360 # Save into config.log some information that might help in debugging.
2364 $as_echo "## ---------------- ##
2365 ## Cache variables. ##
2366 ## ---------------- ##"
2368 # The following way of writing the cache mishandles newlines in values,
2370 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2371 eval ac_val=\$$ac_var
2375 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2379 _ | IFS | as_nl) ;; #(
2380 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2381 *) { eval $ac_var=; unset $ac_var;} ;;
2386 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2387 *${as_nl}ac_space=\ *)
2389 "s/'\''/'\''\\\\'\'''\''/g;
2390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2393 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2400 $as_echo "## ----------------- ##
2401 ## Output variables. ##
2402 ## ----------------- ##"
2404 for ac_var in $ac_subst_vars
2406 eval ac_val=\$$ac_var
2408 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2410 $as_echo "$ac_var='\''$ac_val'\''"
2414 if test -n "$ac_subst_files"; then
2415 $as_echo "## ------------------- ##
2416 ## File substitutions. ##
2417 ## ------------------- ##"
2419 for ac_var
in $ac_subst_files
2421 eval ac_val
=\$
$ac_var
2423 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2425 $as_echo "$ac_var='\''$ac_val'\''"
2430 if test -s confdefs.h; then
2431 $as_echo "## ----------- ##
2438 test "$ac_signal" != 0 &&
2439 $as_echo "$as_me: caught signal $ac_signal"
2440 $as_echo "$as_me: exit $exit_status"
2442 rm -f core *.core core.conftest.* &&
2443 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2446 for ac_signal
in 1 2 13 15; do
2447 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2451 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2452 rm -f -r conftest
* confdefs.h
2454 $as_echo "/* confdefs.h */" > confdefs.h
2456 # Predefined preprocessor variables.
2458 cat >>confdefs.h
<<_ACEOF
2459 #define PACKAGE_NAME "$PACKAGE_NAME"
2462 cat >>confdefs.h
<<_ACEOF
2463 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2466 cat >>confdefs.h
<<_ACEOF
2467 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2470 cat >>confdefs.h
<<_ACEOF
2471 #define PACKAGE_STRING "$PACKAGE_STRING"
2474 cat >>confdefs.h
<<_ACEOF
2475 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2478 cat >>confdefs.h
<<_ACEOF
2479 #define PACKAGE_URL "$PACKAGE_URL"
2483 # Let the site file select an alternate cache file if it wants to.
2484 # Prefer an explicitly selected file to automatically selected ones.
2487 if test -n "$CONFIG_SITE"; then
2488 # We do not want a PATH search for config.site.
2489 case $CONFIG_SITE in #((
2490 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2491 */*) ac_site_file1
=$CONFIG_SITE;;
2492 *) ac_site_file1
=.
/$CONFIG_SITE;;
2494 elif test "x$prefix" != xNONE
; then
2495 ac_site_file1
=$prefix/share
/config.site
2496 ac_site_file2
=$prefix/etc
/config.site
2498 ac_site_file1
=$ac_default_prefix/share
/config.site
2499 ac_site_file2
=$ac_default_prefix/etc
/config.site
2501 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2503 test "x$ac_site_file" = xNONE
&& continue
2504 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2506 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2507 sed 's/^/| /' "$ac_site_file" >&5
2509 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511 as_fn_error $?
"failed to load site script $ac_site_file
2512 See \`config.log' for more details" "$LINENO" 5; }
2516 if test -r "$cache_file"; then
2517 # Some versions of bash will fail to source /dev/null (special files
2518 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2519 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521 $as_echo "$as_me: loading cache $cache_file" >&6;}
2523 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2524 *) .
"./$cache_file";;
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529 $as_echo "$as_me: creating cache $cache_file" >&6;}
2533 # Check that the precious variables saved in the cache have kept the same
2535 ac_cache_corrupted
=false
2536 for ac_var
in $ac_precious_vars; do
2537 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2538 eval ac_new_set
=\
$ac_env_${ac_var}_set
2539 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2540 eval ac_new_val
=\
$ac_env_${ac_var}_value
2541 case $ac_old_set,$ac_new_set in
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2544 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2545 ac_cache_corrupted
=: ;;
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2548 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2549 ac_cache_corrupted
=: ;;
2552 if test "x$ac_old_val" != "x$ac_new_val"; then
2553 # differences in whitespace do not lead to failure.
2554 ac_old_val_w
=`echo x $ac_old_val`
2555 ac_new_val_w
=`echo x $ac_new_val`
2556 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2558 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2559 ac_cache_corrupted
=:
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2562 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2563 eval $ac_var=\
$ac_old_val
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2566 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2568 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2571 # Pass precious variables to config.status.
2572 if test "$ac_new_set" = set; then
2574 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2575 *) ac_arg
=$ac_var=$ac_new_val ;;
2577 case " $ac_configure_args " in
2578 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2579 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2583 if $ac_cache_corrupted; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2587 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2588 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2590 ## -------------------- ##
2591 ## Main body of script. ##
2592 ## -------------------- ##
2595 ac_cpp
='$CPP $CPPFLAGS'
2596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2602 # Put config stuff in Cfg.
2604 for ac_dir
in Cfg
"$srcdir"/Cfg
; do
2605 if test -f "$ac_dir/install-sh"; then
2607 ac_install_sh
="$ac_aux_dir/install-sh -c"
2609 elif test -f "$ac_dir/install.sh"; then
2611 ac_install_sh
="$ac_aux_dir/install.sh -c"
2613 elif test -f "$ac_dir/shtool"; then
2615 ac_install_sh
="$ac_aux_dir/shtool install -c"
2619 if test -z "$ac_aux_dir"; then
2620 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in Cfg \"$srcdir\"/Cfg" "$LINENO" 5
2623 # These three variables are undocumented and unsupported,
2624 # and are intended to be withdrawn in a future Autoconf release.
2625 # They can cause serious problems if a builder's source tree is in a directory
2626 # whose full name contains unusual characters.
2627 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2628 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2629 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2634 # Make sure we can run config.sub.
2635 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2636 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2639 $as_echo_n "checking build system type... " >&6; }
2640 if ${ac_cv_build+:} false
; then :
2641 $as_echo_n "(cached) " >&6
2643 ac_build_alias
=$build_alias
2644 test "x$ac_build_alias" = x
&&
2645 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2646 test "x$ac_build_alias" = x
&&
2647 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2648 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2649 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2653 $as_echo "$ac_cv_build" >&6; }
2654 case $ac_cv_build in
2656 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2659 ac_save_IFS
=$IFS; IFS
='-'
2665 # Remember, the first character of IFS is used to create $*,
2666 # except with old shells:
2669 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2673 $as_echo_n "checking host system type... " >&6; }
2674 if ${ac_cv_host+:} false
; then :
2675 $as_echo_n "(cached) " >&6
2677 if test "x$host_alias" = x
; then
2678 ac_cv_host
=$ac_cv_build
2680 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2681 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2686 $as_echo "$ac_cv_host" >&6; }
2689 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2692 ac_save_IFS
=$IFS; IFS
='-'
2698 # Remember, the first character of IFS is used to create $*,
2699 # except with old shells:
2702 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2706 $as_echo_n "checking target system type... " >&6; }
2707 if ${ac_cv_target+:} false
; then :
2708 $as_echo_n "(cached) " >&6
2710 if test "x$target_alias" = x
; then
2711 ac_cv_target
=$ac_cv_host
2713 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2714 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2719 $as_echo "$ac_cv_target" >&6; }
2720 case $ac_cv_target in
2722 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2724 target
=$ac_cv_target
2725 ac_save_IFS
=$IFS; IFS
='-'
2731 # Remember, the first character of IFS is used to create $*,
2732 # except with old shells:
2735 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2738 # The aliases save the names the user supplied, while $host etc.
2739 # will get canonicalized.
2740 test -n "$target_alias" &&
2741 test "$program_prefix$program_suffix$program_transform_name" = \
2743 program_prefix
=${target_alias}-
2746 ac_config_headers
="$ac_config_headers src/config.h"
2749 am__api_version
='1.15'
2751 # Find a good install program. We prefer a C program (faster),
2752 # so one script is as good as another. But avoid the broken or
2753 # incompatible versions:
2754 # SysV /etc/install, /usr/sbin/install
2755 # SunOS /usr/etc/install
2756 # IRIX /sbin/install
2758 # AmigaOS /C/install, which installs bootblocks on floppy discs
2759 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2760 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2761 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2762 # OS/2's system install, which has a completely different semantic
2763 # ./install, which can be erroneously created by make from ./install.sh.
2764 # Reject install programs that cannot install multiple files.
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2766 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2767 if test -z "$INSTALL"; then
2768 if ${ac_cv_path_install+:} false
; then :
2769 $as_echo_n "(cached) " >&6
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 # Account for people who put trailing slashes in PATH elements.
2777 case $as_dir/ in #((
2778 .
/ | .
// |
/[cC
]/* | \
2779 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2780 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2783 # OSF1 and SCO ODT 3.0 have their own names for install.
2784 # Don't use installbsd from OSF since it installs stuff as root
2786 for ac_prog
in ginstall scoinst
install; do
2787 for ac_exec_ext
in '' $ac_executable_extensions; do
2788 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2789 if test $ac_prog = install &&
2790 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2791 # AIX install. It has an incompatible calling convention.
2793 elif test $ac_prog = install &&
2794 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2795 # program-specific install script used by HP pwplus--don't use.
2798 rm -rf conftest.one conftest.two conftest.dir
2799 echo one
> conftest.one
2800 echo two
> conftest.two
2802 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2803 test -s conftest.one
&& test -s conftest.two
&&
2804 test -s conftest.dir
/conftest.one
&&
2805 test -s conftest.dir
/conftest.two
2807 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2820 rm -rf conftest.one conftest.two conftest.dir
2823 if test "${ac_cv_path_install+set}" = set; then
2824 INSTALL
=$ac_cv_path_install
2826 # As a last resort, use the slow shell script. Don't cache a
2827 # value for INSTALL within a source directory, because that will
2828 # break other packages using the cache if that directory is
2829 # removed, or if the value is a relative name.
2830 INSTALL
=$ac_install_sh
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2834 $as_echo "$INSTALL" >&6; }
2836 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2837 # It thinks the first close brace ends the variable substitution.
2838 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2840 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2842 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2845 $as_echo_n "checking whether build environment is sane... " >&6; }
2846 # Reject unsafe characters in $srcdir or the absolute working directory
2847 # name. Accept space and tab only in the latter.
2851 *[\\\"\
#\$\&\'\`$am_lf]*)
2852 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2855 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2856 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2859 # Do 'set' in a subshell so we don't clobber the current shell's
2860 # arguments. Must try -L first in case configure is actually a
2861 # symlink; some systems play weird games with the mod time of symlinks
2862 # (eg FreeBSD returns the mod time of the symlink's containing
2866 for am_try
in 1 2; do
2867 echo "timestamp, slept: $am_has_slept" > conftest.
file
2868 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2869 if test "$*" = "X"; then
2871 set X
`ls -t "$srcdir/configure" conftest.file`
2873 if test "$*" != "X $srcdir/configure conftest.file" \
2874 && test "$*" != "X conftest.file $srcdir/configure"; then
2876 # If neither matched, then we have a broken ls. This can happen
2877 # if, for instance, CONFIG_SHELL is bash and it inherits a
2878 # broken ls alias from the environment. This has actually
2879 # happened. Such a system could not be considered "sane".
2880 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2881 alias in your environment" "$LINENO" 5
2883 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2890 test "$2" = conftest.
file
2896 as_fn_error $?
"newly created file is older than distributed files!
2897 Check your system clock" "$LINENO" 5
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2900 $as_echo "yes" >&6; }
2901 # If we didn't sleep, we still need to ensure time stamps of config.status and
2902 # generated files are strictly newer.
2904 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2911 test "$program_prefix" != NONE
&&
2912 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2913 # Use a double $ so make ignores it.
2914 test "$program_suffix" != NONE
&&
2915 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2916 # Double any \ or $.
2917 # By default was `s,x,x', remove it if useless.
2918 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2919 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2921 # Expand $ac_aux_dir to an absolute path.
2922 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2924 if test x
"${MISSING+set}" != xset
; then
2927 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2929 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2932 # Use eval to expand $SHELL
2933 if eval "$MISSING --is-lightweight"; then
2934 am_missing_run
="$MISSING "
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2938 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2941 if test x
"${install_sh+set}" != xset
; then
2944 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2946 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2950 # Installed binaries are usually stripped using 'strip' when the user
2951 # run "make install-strip". However 'strip' might not be the right
2952 # tool to use in cross-compilation environments, therefore Automake
2953 # will honor the 'STRIP' environment variable to overrule this program.
2954 if test "$cross_compiling" != no
; then
2955 if test -n "$ac_tool_prefix"; then
2956 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2957 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_STRIP+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$STRIP"; then
2964 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 STRIP
=$ac_cv_prog_STRIP
2984 if test -n "$STRIP"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2986 $as_echo "$STRIP" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2994 if test -z "$ac_cv_prog_STRIP"; then
2996 # Extract the first word of "strip", so it can be a program name with args.
2997 set dummy strip
; ac_word
=$2
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999 $as_echo_n "checking for $ac_word... " >&6; }
3000 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3001 $as_echo_n "(cached) " >&6
3003 if test -n "$ac_ct_STRIP"; then
3004 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir
=.
3011 for ac_exec_ext
in '' $ac_executable_extensions; do
3012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3013 ac_cv_prog_ac_ct_STRIP
="strip"
3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3024 if test -n "$ac_ct_STRIP"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3026 $as_echo "$ac_ct_STRIP" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3032 if test "x$ac_ct_STRIP" = x
; then
3035 case $cross_compiling:$ac_tool_warned in
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3039 ac_tool_warned
=yes ;;
3044 STRIP
="$ac_cv_prog_STRIP"
3048 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3051 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3052 if test -z "$MKDIR_P"; then
3053 if ${ac_cv_path_mkdir+:} false
; then :
3054 $as_echo_n "(cached) " >&6
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3057 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3060 test -z "$as_dir" && as_dir
=.
3061 for ac_prog
in mkdir gmkdir
; do
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3064 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3065 'mkdir (GNU coreutils) '* | \
3066 'mkdir (coreutils) '* | \
3067 'mkdir (fileutils) '4.1*)
3068 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3078 test -d .
/--version && rmdir .
/--version
3079 if test "${ac_cv_path_mkdir+set}" = set; then
3080 MKDIR_P
="$ac_cv_path_mkdir -p"
3082 # As a last resort, use the slow shell script. Don't cache a
3083 # value for MKDIR_P within a source directory, because that will
3084 # break other packages using the cache if that directory is
3085 # removed, or if the value is a relative name.
3086 MKDIR_P
="$ac_install_sh -d"
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3090 $as_echo "$MKDIR_P" >&6; }
3092 for ac_prog
in gawk mawk nawk
awk
3094 # Extract the first word of "$ac_prog", so it can be a program name with args.
3095 set dummy
$ac_prog; ac_word
=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_AWK+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$AWK"; then
3102 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3111 ac_cv_prog_AWK
="$ac_prog"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$AWK"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3124 $as_echo "$AWK" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3131 test -n "$AWK" && break
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3135 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3137 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3138 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3139 $as_echo_n "(cached) " >&6
3141 cat >conftest.
make <<\_ACEOF
3144 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3146 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3147 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3149 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3151 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3155 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3157 $as_echo "yes" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3162 SET_MAKE
="MAKE=${MAKE-make}"
3165 rm -rf .tst
2>/dev
/null
3166 mkdir .tst
2>/dev
/null
3167 if test -d .tst
; then
3172 rmdir .tst
2>/dev
/null
3174 # Check whether --enable-silent-rules was given.
3175 if test "${enable_silent_rules+set}" = set; then :
3176 enableval
=$enable_silent_rules;
3179 case $enable_silent_rules in # (((
3180 yes) AM_DEFAULT_VERBOSITY
=0;;
3181 no
) AM_DEFAULT_VERBOSITY
=1;;
3182 *) AM_DEFAULT_VERBOSITY
=1;;
3184 am_make
=${MAKE-make}
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3186 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3187 if ${am_cv_make_support_nested_variables+:} false
; then :
3188 $as_echo_n "(cached) " >&6
3190 if $as_echo 'TRUE=$(BAR$(V))
3196 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3197 am_cv_make_support_nested_variables
=yes
3199 am_cv_make_support_nested_variables
=no
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3203 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3204 if test $am_cv_make_support_nested_variables = yes; then
3206 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3208 AM_V
=$AM_DEFAULT_VERBOSITY
3209 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3213 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3214 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3215 # is not polluted with repeated "-I."
3216 am__isrc
=' -I$(srcdir)'
3217 # test to see if srcdir already configured
3218 if test -f $srcdir/config.status
; then
3219 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3223 # test whether we have cygpath
3224 if test -z "$CYGPATH_W"; then
3225 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3226 CYGPATH_W
='cygpath -w'
3233 # Define the identity of the package.
3235 PACKAGE
=$PACKAGE_NAME
3236 VERSION
=$PACKAGE_VERSION
3239 cat >>confdefs.h
<<_ACEOF
3240 #define PACKAGE "$PACKAGE"
3244 cat >>confdefs.h
<<_ACEOF
3245 #define VERSION "$VERSION"
3248 # Some tools Automake needs.
3250 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3253 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3256 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3259 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3262 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3264 # For better backward compatibility. To be removed once Automake 1.9.x
3265 # dies out for good. For more background, see:
3266 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3267 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3268 mkdir_p
='$(MKDIR_P)'
3270 # We need awk for the "check" target (and possibly the TAP driver). The
3271 # system "awk" is bad on some platforms.
3272 # Always define AMTAR for backward compatibility. Yes, it's still used
3273 # in the wild :-( We should find a proper way to deprecate it ...
3277 # We'll loop over all known methods to create a tar archive until one works.
3278 _am_tools
='gnutar pax cpio none'
3280 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3287 # POSIX will say in a future version that running "rm -f" with no argument
3288 # is OK; and we want to be able to make that assumption in our Makefile
3289 # recipes. So use an aggressive probe to check that the usage we want is
3290 # actually supported "in the wild" to an acceptable degree.
3291 # See automake bug#10828.
3292 # To make any issue more visible, cause the running configure to be aborted
3293 # by default if the 'rm' program in use doesn't match our expectations; the
3294 # user can still override this though.
3295 if rm -f && rm -fr && rm -rf; then : OK
; else
3299 Your 'rm' program seems unable to run without file operands specified
3300 on the command line, even when the '-f' option is present. This is contrary
3301 to the behaviour of most rm programs out there, and not conforming with
3302 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3304 Please tell bug-automake@gnu.org about your system, including the value
3305 of your $PATH and any error possibly output before this message. This
3306 can help us improve future automake versions.
3309 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3310 echo 'Configuration will proceed anyway, since you have set the' >&2
3311 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3315 Aborting the configuration process, to ensure you take notice of the issue.
3317 You can download and install GNU coreutils to get an 'rm' implementation
3318 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3320 If you want to complete the configuration process using your problematic
3321 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3322 to "yes", and re-run configure.
3325 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3329 # Check whether --enable-silent-rules was given.
3330 if test "${enable_silent_rules+set}" = set; then :
3331 enableval
=$enable_silent_rules;
3334 case $enable_silent_rules in # (((
3335 yes) AM_DEFAULT_VERBOSITY
=0;;
3336 no
) AM_DEFAULT_VERBOSITY
=1;;
3337 *) AM_DEFAULT_VERBOSITY
=0;;
3339 am_make
=${MAKE-make}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3341 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3342 if ${am_cv_make_support_nested_variables+:} false
; then :
3343 $as_echo_n "(cached) " >&6
3345 if $as_echo 'TRUE=$(BAR$(V))
3351 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3352 am_cv_make_support_nested_variables
=yes
3354 am_cv_make_support_nested_variables
=no
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3358 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3359 if test $am_cv_make_support_nested_variables = yes; then
3361 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3363 AM_V
=$AM_DEFAULT_VERBOSITY
3364 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3369 ACLOCAL_AMFLAGS="-I M4"
3373 ac_cpp='$CPP $CPPFLAGS'
3374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3375 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 ac_cpp='$CPP $CPPFLAGS'
3381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3382 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3384 if test -n "$ac_tool_prefix"; then
3385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388 $as_echo_n "checking for $ac_word... " >&6; }
3389 if ${ac_cv_prog_CC+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 if test -n "$CC"; then
3393 ac_cv_prog_CC="$CC" # Let the user override the test.
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir=.
3400 for ac_exec_ext in '' $ac_executable_extensions; do
3401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3402 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 if test -n "$CC"; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3415 $as_echo "$CC" >&6; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418 $as_echo "no" >&6; }
3423 if test -z "$ac_cv_prog_CC"; then
3425 # Extract the first word of "gcc", so it can be a program name with args.
3426 set dummy gcc; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3430 $as_echo_n "(cached) " >&6
3432 if test -n "$ac_ct_CC"; then
3433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442 ac_cv_prog_ac_ct_CC="gcc"
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3453 if test -n "$ac_ct_CC"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3455 $as_echo "$ac_ct_CC" >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3461 if test "x$ac_ct_CC" = x; then
3464 case $cross_compiling:$ac_tool_warned in
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3468 ac_tool_warned=yes ;;
3476 if test -z "$CC"; then
3477 if test -n "$ac_tool_prefix"; then
3478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3479 set dummy ${ac_tool_prefix}cc; ac_word=$2
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3481 $as_echo_n "checking for $ac_word... " >&6; }
3482 if ${ac_cv_prog_CC+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 if test -n "$CC"; then
3486 ac_cv_prog_CC="$CC" # Let the user override the test.
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir=.
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 ac_cv_prog_CC="${ac_tool_prefix}cc"
3496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 if test -n "$CC"; then
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3508 $as_echo "$CC" >&6; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3511 $as_echo "no" >&6; }
3517 if test -z "$CC"; then
3518 # Extract the first word of "cc", so it can be a program name with args.
3519 set dummy cc; ac_word=$2
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521 $as_echo_n "checking for $ac_word... " >&6; }
3522 if ${ac_cv_prog_CC+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 if test -n "$CC"; then
3526 ac_cv_prog_CC="$CC" # Let the user override the test.
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3537 ac_prog_rejected=yes
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 if test $ac_prog_rejected = yes; then
3549 # We found a bogon in the path, so make sure we never use it.
3550 set dummy $ac_cv_prog_CC
3552 if test $# != 0; then
3553 # We chose a different compiler from the bogus one.
3554 # However, it has the same basename, so the bogon will be chosen
3555 # first if we set CC to just the basename; use the full file name.
3557 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3563 if test -n "$CC"; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3565 $as_echo "$CC" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3573 if test -z "$CC"; then
3574 if test -n "$ac_tool_prefix"; then
3575 for ac_prog in cl.exe
3577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3614 test -n "$CC" && break
3617 if test -z "$CC"; then
3619 for ac_prog in cl.exe
3621 # Extract the first word of "$ac_prog", so it can be a program name with args.
3622 set dummy $ac_prog; ac_word=$2
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3624 $as_echo_n "checking for $ac_word... " >&6; }
3625 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3626 $as_echo_n "(cached) " >&6
3628 if test -n "$ac_ct_CC"; then
3629 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 test -z "$as_dir" && as_dir=.
3636 for ac_exec_ext in '' $ac_executable_extensions; do
3637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3638 ac_cv_prog_ac_ct_CC="$ac_prog"
3639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3649 if test -n "$ac_ct_CC"; then
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3651 $as_echo "$ac_ct_CC" >&6; }
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654 $as_echo "no" >&6; }
3658 test -n "$ac_ct_CC" && break
3661 if test "x$ac_ct_CC" = x; then
3664 case $cross_compiling:$ac_tool_warned in
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3668 ac_tool_warned=yes ;;
3677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3679 as_fn_error $? "no acceptable C compiler found in \$PATH
3680 See \`config.log
' for more details" "$LINENO" 5; }
3682 # Provide some information about the compiler.
3683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3686 for ac_option in --version -v -V -qversion; do
3687 { { ac_try="$ac_compiler $ac_option >&5"
3689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;;
3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3693 $as_echo "$ac_try_echo"; } >&5
3694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3696 if test -s conftest.err; then
3698 ... rest of stderr output deleted ...
3699 10q
' conftest.err >conftest.er1
3700 cat conftest.er1 >&5
3702 rm -f conftest.er1 conftest.err
3703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704 test $ac_status = 0; }
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3718 ac_clean_files_save=$ac_clean_files
3719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3720 # Try to create an executable without -o first, disregard a.out.
3721 # It will help us diagnose broken compilers, and finding out an intuition
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3724 $as_echo_n "checking whether the C compiler works... " >&6; }
3725 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3727 # The possible output files:
3728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3731 for ac_file in $ac_files
3734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3735 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3740 if { { ac_try="$ac_link_default"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746 $as_echo "$ac_try_echo"; } >&5
3747 (eval "$ac_link_default") 2>&5
3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750 test $ac_status = 0; }; then :
3751 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3752 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3753 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3754 # so that the user can short-circuit this test for compilers unknown to
3756 for ac_file
in $ac_files ''
3758 test -f "$ac_file" ||
continue
3760 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3763 # We found the default executable, but exeext='' is most
3767 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3769 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3771 # We set ac_cv_exeext here because the later test for it is not
3772 # safe: cross compilers may not add the suffix if given an `-o'
3773 # argument, so we may need to know it at that point already.
3774 # Even if this section looks crufty: it has the advantage of
3781 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3786 if test -z "$ac_file"; then :
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3789 $as_echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.
$ac_ext >&5
3792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 as_fn_error
77 "C compiler cannot create executables
3795 See \`config.log' for more details" "$LINENO" 5; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3798 $as_echo "yes" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3801 $as_echo_n "checking for C compiler default output file name... " >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3803 $as_echo "$ac_file" >&6; }
3804 ac_exeext
=$ac_cv_exeext
3806 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3807 ac_clean_files
=$ac_clean_files_save
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3809 $as_echo_n "checking for suffix of executables... " >&6; }
3810 if { { ac_try
="$ac_link"
3812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_link") 2>&5
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }; then :
3821 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3822 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3823 # work properly (i.e., refer to `conftest.exe'), while it won't with
3825 for ac_file
in conftest.exe conftest conftest.
*; do
3826 test -f "$ac_file" ||
continue
3828 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3829 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3838 See \`config.log' for more details" "$LINENO" 5; }
3840 rm -f conftest conftest
$ac_cv_exeext
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3842 $as_echo "$ac_cv_exeext" >&6; }
3844 rm -f conftest.
$ac_ext
3845 EXEEXT
=$ac_cv_exeext
3847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3853 FILE *f = fopen ("conftest.out", "w");
3854 return ferror (f) || fclose (f) != 0;
3860 ac_clean_files
="$ac_clean_files conftest.out"
3861 # Check that the compiler produces executables we can run. If not, either
3862 # the compiler is broken, or we cross compile.
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3864 $as_echo_n "checking whether we are cross compiling... " >&6; }
3865 if test "$cross_compiling" != yes; then
3866 { { ac_try
="$ac_link"
3868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_link") 2>&5
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 if { ac_try='./conftest$ac_cv_exeext'
3878 { { case "(($ac_try" in
3879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3880 *) ac_try_echo
=$ac_try;;
3882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_try") 2>&5
3886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3887 test $ac_status = 0; }; }; then
3890 if test "$cross_compiling" = maybe
; then
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $?
"cannot run C compiled programs.
3896 If you meant to cross compile, use \`--host'.
3897 See \`config.log' for more details" "$LINENO" 5; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3902 $as_echo "$cross_compiling" >&6; }
3904 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3905 ac_clean_files
=$ac_clean_files_save
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3907 $as_echo_n "checking for suffix of object files... " >&6; }
3908 if ${ac_cv_objext+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 rm -f conftest.o conftest.obj
3923 if { { ac_try
="$ac_compile"
3925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_compile") 2>&5
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 for ac_file in conftest.o conftest.obj conftest.*; do
3935 test -f "$ac_file" || continue;
3937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3943 $as_echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3949 See \
`config.log' for more details" "$LINENO" 5; }
3951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3954 $as_echo "$ac_cv_objext" >&6; }
3955 OBJEXT=$ac_cv_objext
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3959 if ${ac_cv_c_compiler_gnu+:} false; then :
3960 $as_echo_n "(cached) " >&6
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3976 if ac_fn_c_try_compile "$LINENO"; then :
3981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3987 if test $ac_compiler_gnu = yes; then
3992 ac_test_CFLAGS=${CFLAGS+set}
3993 ac_save_CFLAGS=$CFLAGS
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3996 if ${ac_cv_prog_cc_g+:} false; then :
3997 $as_echo_n "(cached) " >&6
3999 ac_save_c_werror_flag=$ac_c_werror_flag
4000 ac_c_werror_flag=yes
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4014 if ac_fn_c_try_compile "$LINENO"; then :
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4029 if ac_fn_c_try_compile "$LINENO"; then :
4032 ac_c_werror_flag=$ac_save_c_werror_flag
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4045 if ac_fn_c_try_compile "$LINENO"; then :
4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_save_c_werror_flag
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4056 $as_echo "$ac_cv_prog_cc_g" >&6; }
4057 if test "$ac_test_CFLAGS" = set; then
4058 CFLAGS=$ac_save_CFLAGS
4059 elif test $ac_cv_prog_cc_g = yes; then
4060 if test "$GCC" = yes; then
4066 if test "$GCC" = yes; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4074 if ${ac_cv_prog_cc_c89+:} false; then :
4075 $as_echo_n "(cached) " >&6
4077 ac_cv_prog_cc_c89=no
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4085 struct buf { int x; };
4086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4087 static char *e (p, i)
4093 static char *f (char * (*g) (char **, int), char **p, ...)
4098 s = g (p, va_arg (v,int));
4103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4104 function prototypes and stuff, but not '\xHH' hex character constants.
4105 These don't provoke an error unfortunately, instead are silently treated
4106 as 'x'. The following induces an error, until -std is added to get
4107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4108 array size at least. It's necessary to write '\x00'==0 to get something
4109 that's true only with -std. */
4110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4113 inside strings and character constants. */
4115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4117 int test (int i, double x);
4118 struct s1 {int (*f) (int a);};
4119 struct s2 {int (*f) (double a);};
4120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4134 CC="$ac_save_CC $ac_arg"
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_cv_prog_cc_c89=$ac_arg
4138 rm -f core conftest.err conftest.$ac_objext
4139 test "x$ac_cv_prog_cc_c89" != "xno" && break
4141 rm -f conftest.$ac_ext
4146 case "x$ac_cv_prog_cc_c89" in
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4149 $as_echo "none needed" >&6; } ;;
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4152 $as_echo "unsupported" >&6; } ;;
4154 CC="$CC $ac_cv_prog_cc_c89"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4158 if test "x$ac_cv_prog_cc_c89" != xno; then :
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4169 ac_cpp='$CPP $CPPFLAGS'
4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4174 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4175 if ${am_cv_prog_cc_c_o+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4189 # Make sure it works both with $CC and with simple cc.
4190 # Following AC_PROG_CC_C_O, we do the test twice because some
4191 # compilers refuse to overwrite an existing .o file with -o,
4192 # though they will create one.
4193 am_cv_prog_cc_c_o=yes
4195 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4196 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); } \
4200 && test -f conftest2.$ac_objext; then
4203 am_cv_prog_cc_c_o=no
4207 rm -f core conftest*
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4211 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4212 if test "$am_cv_prog_cc_c_o" != yes; then
4213 # Losing compiler, so override with the script.
4214 # FIXME: It is wrong to rewrite CC.
4215 # But if we don't then we get into trouble of one sort or another.
4216 # A longer-term fix would be to have automake use am__CC in this case,
4217 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4218 CC="$am_aux_dir/compile $CC"
4221 ac_cpp='$CPP $CPPFLAGS'
4222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4226 DEPDIR="${am__leading_dot}deps"
4228 ac_config_commands="$ac_config_commands depfiles"
4231 am_make=${MAKE-make}
4232 cat > confinc << 'END'
4234 @echo this is the am__doit target
4237 # If we don't find an include directive, just comment out the code.
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4239 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4243 # First try GNU make style include.
4244 echo "include confinc" > confmf
4245 # Ignore all kinds of additional output from 'make'.
4246 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4247 *the\ am__doit\ target*)
4253 # Now try BSD make style include.
4254 if test "$am__include" = "#"; then
4255 echo '.include "confinc"' > confmf
4256 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4257 *the\ am__doit\ target*)
4258 am__include=.include
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4267 $as_echo "$_am_result" >&6; }
4268 rm -f confinc confmf
4270 # Check whether --enable-dependency-tracking was given.
4271 if test "${enable_dependency_tracking+set}" = set; then :
4272 enableval=$enable_dependency_tracking;
4275 if test "x$enable_dependency_tracking" != xno; then
4276 am_depcomp="$ac_aux_dir/depcomp"
4280 if test "x$enable_dependency_tracking" != xno; then
4290 depcc="$CC" am_compiler_list=
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4293 $as_echo_n "checking dependency style of $depcc... " >&6; }
4294 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4298 # We make a subdir and do the tests there. Otherwise we can end up
4299 # making bogus files that we don't know about and never remove. For
4300 # instance it was reported that on HP-UX the gcc test will end up
4301 # making a dummy file named 'D' -- because '-MD' means "put the output
4305 # Copy depcomp to subdir because otherwise we won't find it if we're
4306 # using a relative directory.
4307 cp "$am_depcomp" conftest.dir
4309 # We will build objects and dependencies in a subdirectory because
4310 # it helps to detect inapplicable dependency modes. For instance
4311 # both Tru64's cc and ICC support -MD to output dependencies as a
4312 # side effect of compilation, but ICC will put the dependencies in
4313 # the current directory while Tru64 will put them in the object
4317 am_cv_CC_dependencies_compiler_type=none
4318 if test "$am_compiler_list" = ""; then
4319 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4322 case " $depcc " in #(
4323 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4326 for depmode in $am_compiler_list; do
4327 # Setup a source with many dependencies, because some compilers
4328 # like to wrap large dependency lists on column 80 (with \), and
4329 # we should not choose a depcomp mode which is confused by this.
4331 # We need to recreate these files for each test, as the compiler may
4332 # overwrite some of them when testing with obscure command lines.
4333 # This happens at least with the AIX C compiler.
4335 for i in 1 2 3 4 5 6; do
4336 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4337 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4338 # Solaris 10 /bin/sh.
4339 echo '/* dummy */' > sub/conftst$i.h
4341 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4343 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4344 # mode. It turns out that the SunPro C++ compiler does not properly
4345 # handle '-M -o', and we need to detect this. Also, some Intel
4346 # versions had trouble with output in subdirs.
4347 am__obj=sub/conftest.${OBJEXT-o}
4348 am__minus_obj="-o $am__obj"
4351 # This depmode causes a compiler race in universal mode.
4352 test "$am__universal" = false || continue
4355 # After this tag, mechanisms are not by side-effect, so they'll
4356 # only be used when explicitly requested.
4357 if test "x$enable_dependency_tracking" = xyes; then
4363 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4364 # This compiler won't grok '-c -o', but also, the minuso test has
4365 # not run yet. These depmodes are late enough in the game, and
4366 # so weak that their functioning should not be impacted.
4367 am__obj=conftest.${OBJEXT-o}
4372 if depmode=$depmode \
4373 source=sub/conftest.c object=$am__obj \
4374 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4375 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4376 >/dev/null 2>conftest.err &&
4377 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4378 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4379 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4380 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4381 # icc doesn't choke on unknown options, it will just issue warnings
4382 # or remarks (even with -Werror). So we grep stderr for any message
4383 # that says an option was ignored or not supported.
4384 # When given -MP, icc 7.0 and 7.1 complain thusly:
4385 # icc: Command line warning: ignoring option '-M'; no argument required
4386 # The diagnosis changed in icc 8.0:
4387 # icc: Command line remark: option '-MP' not supported
4388 if (grep 'ignoring option' conftest.err ||
4389 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4390 am_cv_CC_dependencies_compiler_type=$depmode
4399 am_cv_CC_dependencies_compiler_type=none
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4404 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4405 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4408 test "x$enable_dependency_tracking" != xno \
4409 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4411 am__fastdepCC_FALSE='#'
4413 am__fastdepCC_TRUE='#'
4414 am__fastdepCC_FALSE=
4420 ac_cpp='$CXXCPP $CPPFLAGS'
4421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4424 if test -z "$CXX"; then
4425 if test -n "$CCC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CXX+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -n "$CXX"; then
4439 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 if test -n "$CXX"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4461 $as_echo "$CXX" >&6; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$CXX" && break
4471 if test -z "$CXX"; then
4473 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -n "$ac_ct_CXX"; then
4483 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CXX="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4503 if test -n "$ac_ct_CXX"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4505 $as_echo "$ac_ct_CXX" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CXX" && break
4515 if test "x$ac_ct_CXX" = x; then
4518 case $cross_compiling:$ac_tool_warned in
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4530 # Provide some information about the compiler.
4531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4534 for ac_option in --version -v -V -qversion; do
4535 { { ac_try="$ac_compiler $ac_option >&5"
4537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4538 *) ac_try_echo
=$ac_try;;
4540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 if test -s conftest.err
; then
4546 ... rest of stderr output deleted ...
4547 10q' conftest.err
>conftest.er1
4548 cat conftest.er1
>&5
4550 rm -f conftest.er1 conftest.err
4551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552 test $ac_status = 0; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4556 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4557 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4574 if ac_fn_cxx_try_compile
"$LINENO"; then :
4579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4580 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4584 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4585 if test $ac_compiler_gnu = yes; then
4590 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4591 ac_save_CXXFLAGS
=$CXXFLAGS
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4593 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4594 if ${ac_cv_prog_cxx_g+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4598 ac_cxx_werror_flag
=yes
4601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4612 if ac_fn_cxx_try_compile
"$LINENO"; then :
4613 ac_cv_prog_cxx_g
=yes
4616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4627 if ac_fn_cxx_try_compile
"$LINENO"; then :
4630 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4643 if ac_fn_cxx_try_compile
"$LINENO"; then :
4644 ac_cv_prog_cxx_g
=yes
4646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4651 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4654 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4655 if test "$ac_test_CXXFLAGS" = set; then
4656 CXXFLAGS
=$ac_save_CXXFLAGS
4657 elif test $ac_cv_prog_cxx_g = yes; then
4658 if test "$GXX" = yes; then
4664 if test "$GXX" = yes; then
4671 ac_cpp
='$CPP $CPPFLAGS'
4672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4676 depcc
="$CXX" am_compiler_list
=
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4679 $as_echo_n "checking dependency style of $depcc... " >&6; }
4680 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4681 $as_echo_n "(cached) " >&6
4683 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4684 # We make a subdir and do the tests there. Otherwise we can end up
4685 # making bogus files that we don't know about and never remove. For
4686 # instance it was reported that on HP-UX the gcc test will end up
4687 # making a dummy file named 'D' -- because '-MD' means "put the output
4691 # Copy depcomp to subdir because otherwise we won't find it if we're
4692 # using a relative directory.
4693 cp "$am_depcomp" conftest.dir
4695 # We will build objects and dependencies in a subdirectory because
4696 # it helps to detect inapplicable dependency modes. For instance
4697 # both Tru64's cc and ICC support -MD to output dependencies as a
4698 # side effect of compilation, but ICC will put the dependencies in
4699 # the current directory while Tru64 will put them in the object
4703 am_cv_CXX_dependencies_compiler_type
=none
4704 if test "$am_compiler_list" = ""; then
4705 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4708 case " $depcc " in #(
4709 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4712 for depmode
in $am_compiler_list; do
4713 # Setup a source with many dependencies, because some compilers
4714 # like to wrap large dependency lists on column 80 (with \), and
4715 # we should not choose a depcomp mode which is confused by this.
4717 # We need to recreate these files for each test, as the compiler may
4718 # overwrite some of them when testing with obscure command lines.
4719 # This happens at least with the AIX C compiler.
4721 for i
in 1 2 3 4 5 6; do
4722 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4723 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4724 # Solaris 10 /bin/sh.
4725 echo '/* dummy */' > sub
/conftst
$i.h
4727 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4729 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4730 # mode. It turns out that the SunPro C++ compiler does not properly
4731 # handle '-M -o', and we need to detect this. Also, some Intel
4732 # versions had trouble with output in subdirs.
4733 am__obj
=sub
/conftest.
${OBJEXT-o}
4734 am__minus_obj
="-o $am__obj"
4737 # This depmode causes a compiler race in universal mode.
4738 test "$am__universal" = false ||
continue
4741 # After this tag, mechanisms are not by side-effect, so they'll
4742 # only be used when explicitly requested.
4743 if test "x$enable_dependency_tracking" = xyes
; then
4749 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4750 # This compiler won't grok '-c -o', but also, the minuso test has
4751 # not run yet. These depmodes are late enough in the game, and
4752 # so weak that their functioning should not be impacted.
4753 am__obj
=conftest.
${OBJEXT-o}
4758 if depmode
=$depmode \
4759 source=sub
/conftest.c object
=$am__obj \
4760 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4761 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4762 >/dev
/null
2>conftest.err
&&
4763 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4764 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4765 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4766 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4767 # icc doesn't choke on unknown options, it will just issue warnings
4768 # or remarks (even with -Werror). So we grep stderr for any message
4769 # that says an option was ignored or not supported.
4770 # When given -MP, icc 7.0 and 7.1 complain thusly:
4771 # icc: Command line warning: ignoring option '-M'; no argument required
4772 # The diagnosis changed in icc 8.0:
4773 # icc: Command line remark: option '-MP' not supported
4774 if (grep 'ignoring option' conftest.err ||
4775 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4776 am_cv_CXX_dependencies_compiler_type
=$depmode
4785 am_cv_CXX_dependencies_compiler_type
=none
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4790 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4791 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4794 test "x$enable_dependency_tracking" != xno \
4795 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4796 am__fastdepCXX_TRUE
=
4797 am__fastdepCXX_FALSE
='#'
4799 am__fastdepCXX_TRUE
='#'
4800 am__fastdepCXX_FALSE
=
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4805 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4806 if ${ac_cv_path_SED+:} false
; then :
4807 $as_echo_n "(cached) " >&6
4809 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4810 for ac_i
in 1 2 3 4 5 6 7; do
4811 ac_script
="$ac_script$as_nl$ac_script"
4813 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4814 { ac_script
=; unset ac_script
;}
4815 if test -z "$SED"; then
4816 ac_path_SED_found
=false
4817 # Loop through the user's path and test for each of PROGNAME-LIST
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_prog
in sed gsed
; do
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4826 as_fn_executable_p
"$ac_path_SED" ||
continue
4827 # Check for GNU ac_path_SED and select it if it is found.
4828 # Check for GNU $ac_path_SED
4829 case `"$ac_path_SED" --version 2>&1` in
4831 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4834 $as_echo_n 0123456789 >"conftest.in"
4837 cat "conftest.in" "conftest.in" >"conftest.tmp"
4838 mv "conftest.tmp" "conftest.in"
4839 cp "conftest.in" "conftest.nl"
4840 $as_echo '' >> "conftest.nl"
4841 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4842 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4843 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4844 if test $ac_count -gt ${ac_path_SED_max-0}; then
4845 # Best one so far, save it but keep looking for a better one
4846 ac_cv_path_SED
="$ac_path_SED"
4847 ac_path_SED_max
=$ac_count
4849 # 10*(2^10) chars as input seems more than enough
4850 test $ac_count -gt 10 && break
4852 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4855 $ac_path_SED_found && break 3
4860 if test -z "$ac_cv_path_SED"; then
4861 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4869 $as_echo "$ac_cv_path_SED" >&6; }
4870 SED
="$ac_cv_path_SED"
4874 # Do not check for F77.
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4879 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4884 macro_version
='2.4.6'
4885 macro_revision
='2.4.6'
4899 ltmain
=$ac_aux_dir/ltmain.sh
4901 # Backslashify metacharacters that are still active within
4902 # double-quoted strings.
4903 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4905 # Same as above, but do not quote variable references.
4906 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4908 # Sed substitution to delay expansion of an escaped shell variable in a
4909 # double_quote_subst'ed string.
4910 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4912 # Sed substitution to delay expansion of an escaped single quote.
4913 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4915 # Sed substitution to avoid accidental globbing in evaled expressions
4916 no_glob_subst
='s/\*/\\\*/g'
4918 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4919 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4920 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4923 $as_echo_n "checking how to print strings... " >&6; }
4924 # Test print first, because it will be a builtin if present.
4925 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4926 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4928 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4931 # Use this function as a fallback that always works.
4932 func_fallback_echo ()
4934 eval 'cat <<_LTECHO_EOF
4938 ECHO='func_fallback_echo
'
4941 # func_echo_all arg...
4942 # Invoke $ECHO with all args, space-separated.
4949 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4950 $as_echo "printf" >&6; } ;;
4951 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4952 $as_echo "print -r" >&6; } ;;
4953 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4954 $as_echo "cat" >&6; } ;;
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4971 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4972 if ${ac_cv_path_SED+:} false; then :
4973 $as_echo_n "(cached) " >&6
4975 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4976 for ac_i in 1 2 3 4 5 6 7; do
4977 ac_script="$ac_script$as_nl$ac_script"
4979 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4980 { ac_script=; unset ac_script;}
4981 if test -z "$SED"; then
4982 ac_path_SED_found=false
4983 # Loop through the user's path and
test for each of PROGNAME-LIST
4984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir
=.
4989 for ac_prog
in sed gsed
; do
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4992 as_fn_executable_p
"$ac_path_SED" ||
continue
4993 # Check for GNU ac_path_SED and select it if it is found.
4994 # Check for GNU $ac_path_SED
4995 case `"$ac_path_SED" --version 2>&1` in
4997 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5000 $as_echo_n 0123456789 >"conftest.in"
5003 cat "conftest.in" "conftest.in" >"conftest.tmp"
5004 mv "conftest.tmp" "conftest.in"
5005 cp "conftest.in" "conftest.nl"
5006 $as_echo '' >> "conftest.nl"
5007 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5008 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5009 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5010 if test $ac_count -gt ${ac_path_SED_max-0}; then
5011 # Best one so far, save it but keep looking for a better one
5012 ac_cv_path_SED
="$ac_path_SED"
5013 ac_path_SED_max
=$ac_count
5015 # 10*(2^10) chars as input seems more than enough
5016 test $ac_count -gt 10 && break
5018 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5021 $ac_path_SED_found && break 3
5026 if test -z "$ac_cv_path_SED"; then
5027 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5035 $as_echo "$ac_cv_path_SED" >&6; }
5036 SED
="$ac_cv_path_SED"
5039 test -z "$SED" && SED
=sed
5040 Xsed
="$SED -e 1s/^X//"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5053 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5054 if ${ac_cv_path_GREP+:} false
; then :
5055 $as_echo_n "(cached) " >&6
5057 if test -z "$GREP"; then
5058 ac_path_GREP_found
=false
5059 # Loop through the user's path and test for each of PROGNAME-LIST
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_prog
in grep ggrep
; do
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5068 as_fn_executable_p
"$ac_path_GREP" ||
continue
5069 # Check for GNU ac_path_GREP and select it if it is found.
5070 # Check for GNU $ac_path_GREP
5071 case `"$ac_path_GREP" --version 2>&1` in
5073 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5076 $as_echo_n 0123456789 >"conftest.in"
5079 cat "conftest.in" "conftest.in" >"conftest.tmp"
5080 mv "conftest.tmp" "conftest.in"
5081 cp "conftest.in" "conftest.nl"
5082 $as_echo 'GREP' >> "conftest.nl"
5083 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5084 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5085 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5086 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5087 # Best one so far, save it but keep looking for a better one
5088 ac_cv_path_GREP
="$ac_path_GREP"
5089 ac_path_GREP_max
=$ac_count
5091 # 10*(2^10) chars as input seems more than enough
5092 test $ac_count -gt 10 && break
5094 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5097 $ac_path_GREP_found && break 3
5102 if test -z "$ac_cv_path_GREP"; then
5103 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5106 ac_cv_path_GREP
=$GREP
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5111 $as_echo "$ac_cv_path_GREP" >&6; }
5112 GREP
="$ac_cv_path_GREP"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5116 $as_echo_n "checking for egrep... " >&6; }
5117 if ${ac_cv_path_EGREP+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5121 then ac_cv_path_EGREP
="$GREP -E"
5123 if test -z "$EGREP"; then
5124 ac_path_EGREP_found
=false
5125 # Loop through the user's path and test for each of PROGNAME-LIST
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_prog
in egrep; do
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5134 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5135 # Check for GNU ac_path_EGREP and select it if it is found.
5136 # Check for GNU $ac_path_EGREP
5137 case `"$ac_path_EGREP" --version 2>&1` in
5139 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5142 $as_echo_n 0123456789 >"conftest.in"
5145 cat "conftest.in" "conftest.in" >"conftest.tmp"
5146 mv "conftest.tmp" "conftest.in"
5147 cp "conftest.in" "conftest.nl"
5148 $as_echo 'EGREP' >> "conftest.nl"
5149 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5150 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5151 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5152 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5153 # Best one so far, save it but keep looking for a better one
5154 ac_cv_path_EGREP
="$ac_path_EGREP"
5155 ac_path_EGREP_max
=$ac_count
5157 # 10*(2^10) chars as input seems more than enough
5158 test $ac_count -gt 10 && break
5160 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5163 $ac_path_EGREP_found && break 3
5168 if test -z "$ac_cv_path_EGREP"; then
5169 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5172 ac_cv_path_EGREP
=$EGREP
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5178 $as_echo "$ac_cv_path_EGREP" >&6; }
5179 EGREP
="$ac_cv_path_EGREP"
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5183 $as_echo_n "checking for fgrep... " >&6; }
5184 if ${ac_cv_path_FGREP+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5188 then ac_cv_path_FGREP
="$GREP -F"
5190 if test -z "$FGREP"; then
5191 ac_path_FGREP_found
=false
5192 # Loop through the user's path and test for each of PROGNAME-LIST
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_prog
in fgrep
; do
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5201 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5202 # Check for GNU ac_path_FGREP and select it if it is found.
5203 # Check for GNU $ac_path_FGREP
5204 case `"$ac_path_FGREP" --version 2>&1` in
5206 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5209 $as_echo_n 0123456789 >"conftest.in"
5212 cat "conftest.in" "conftest.in" >"conftest.tmp"
5213 mv "conftest.tmp" "conftest.in"
5214 cp "conftest.in" "conftest.nl"
5215 $as_echo 'FGREP' >> "conftest.nl"
5216 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5217 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5218 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5219 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5220 # Best one so far, save it but keep looking for a better one
5221 ac_cv_path_FGREP
="$ac_path_FGREP"
5222 ac_path_FGREP_max
=$ac_count
5224 # 10*(2^10) chars as input seems more than enough
5225 test $ac_count -gt 10 && break
5227 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5230 $ac_path_FGREP_found && break 3
5235 if test -z "$ac_cv_path_FGREP"; then
5236 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5239 ac_cv_path_FGREP
=$FGREP
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5245 $as_echo "$ac_cv_path_FGREP" >&6; }
5246 FGREP
="$ac_cv_path_FGREP"
5249 test -z "$GREP" && GREP
=grep
5269 # Check whether --with-gnu-ld was given.
5270 if test "${with_gnu_ld+set}" = set; then :
5271 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
5277 if test yes = "$GCC"; then
5278 # Check if gcc -print-prog-name=ld gives a path.
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5280 $as_echo_n "checking for ld used by $CC... " >&6; }
5283 # gcc leaves a trailing carriage return, which upsets mingw
5284 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5286 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5289 # Accept absolute paths.
5291 re_direlt
='/[^/][^/]*/\.\./'
5292 # Canonicalize the pathname of ld
5293 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5294 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5295 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5297 test -z "$LD" && LD
=$ac_prog
5300 # If it fails, then pretend we aren't using GCC.
5304 # If it is relative, then search for the first ld in PATH.
5308 elif test yes = "$with_gnu_ld"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5310 $as_echo_n "checking for GNU ld... " >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5313 $as_echo_n "checking for non-GNU ld... " >&6; }
5315 if ${lt_cv_path_LD+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -z "$LD"; then
5319 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5320 for ac_dir
in $PATH; do
5322 test -z "$ac_dir" && ac_dir
=.
5323 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5324 lt_cv_path_LD
=$ac_dir/$ac_prog
5325 # Check to see if the program is GNU ld. I'd rather use --version,
5326 # but apparently some variants of GNU ld only accept -v.
5327 # Break only if it was the GNU/non-GNU ld that we prefer.
5328 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5329 *GNU
* |
*'with BFD'*)
5330 test no
!= "$with_gnu_ld" && break
5333 test yes != "$with_gnu_ld" && break
5340 lt_cv_path_LD
=$LD # Let the user override the test with a path.
5345 if test -n "$LD"; then
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5347 $as_echo "$LD" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5352 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5354 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5355 if ${lt_cv_prog_gnu_ld+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5358 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5359 case `$LD -v 2>&1 </dev/null` in
5360 *GNU
* |
*'with BFD'*)
5361 lt_cv_prog_gnu_ld
=yes
5364 lt_cv_prog_gnu_ld
=no
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5369 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5370 with_gnu_ld
=$lt_cv_prog_gnu_ld
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5381 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5382 if ${lt_cv_path_NM+:} false
; then :
5383 $as_echo_n "(cached) " >&6
5385 if test -n "$NM"; then
5386 # Let the user override the test.
5389 lt_nm_to_check
=${ac_tool_prefix}nm
5390 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5391 lt_nm_to_check
="$lt_nm_to_check nm"
5393 for lt_tmp_nm
in $lt_nm_to_check; do
5394 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5395 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5397 test -z "$ac_dir" && ac_dir
=.
5398 tmp_nm
=$ac_dir/$lt_tmp_nm
5399 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
5400 # Check to see if the nm accepts a BSD-compat flag.
5401 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5402 # nm: unknown option "B" ignored
5403 # Tru64's nm complains that /dev/null is an invalid object file
5404 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5406 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
5407 *) lt_bad_file
=/dev
/null
;;
5409 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5410 *$lt_bad_file* |
*'Invalid file or object type'*)
5411 lt_cv_path_NM
="$tmp_nm -B"
5415 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5417 lt_cv_path_NM
="$tmp_nm -p"
5421 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5422 continue # so that we can try to find one that supports BSD flags
5431 : ${lt_cv_path_NM=no}
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5435 $as_echo "$lt_cv_path_NM" >&6; }
5436 if test no
!= "$lt_cv_path_NM"; then
5439 # Didn't find any BSD compatible name lister, look for dumpbin.
5440 if test -n "$DUMPBIN"; then :
5441 # Let the user override the test.
5443 if test -n "$ac_tool_prefix"; then
5444 for ac_prog
in dumpbin
"link -dump"
5446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5447 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$DUMPBIN"; then
5454 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 DUMPBIN
=$ac_cv_prog_DUMPBIN
5474 if test -n "$DUMPBIN"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5476 $as_echo "$DUMPBIN" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5483 test -n "$DUMPBIN" && break
5486 if test -z "$DUMPBIN"; then
5487 ac_ct_DUMPBIN
=$DUMPBIN
5488 for ac_prog
in dumpbin
"link -dump"
5490 # Extract the first word of "$ac_prog", so it can be a program name with args.
5491 set dummy
$ac_prog; ac_word
=$2
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5493 $as_echo_n "checking for $ac_word... " >&6; }
5494 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5495 $as_echo_n "(cached) " >&6
5497 if test -n "$ac_ct_DUMPBIN"; then
5498 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir
=.
5505 for ac_exec_ext
in '' $ac_executable_extensions; do
5506 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5507 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5518 if test -n "$ac_ct_DUMPBIN"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5520 $as_echo "$ac_ct_DUMPBIN" >&6; }
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5527 test -n "$ac_ct_DUMPBIN" && break
5530 if test "x$ac_ct_DUMPBIN" = x
; then
5533 case $cross_compiling:$ac_tool_warned in
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned
=yes ;;
5539 DUMPBIN
=$ac_ct_DUMPBIN
5543 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5545 DUMPBIN
="$DUMPBIN -symbols -headers"
5553 if test : != "$DUMPBIN"; then
5557 test -z "$NM" && NM
=nm
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5565 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5566 if ${lt_cv_nm_interface+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5569 lt_cv_nm_interface
="BSD nm"
5570 echo "int some_variable = 0;" > conftest.
$ac_ext
5571 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5572 (eval "$ac_compile" 2>conftest.err
)
5573 cat conftest.err
>&5
5574 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5575 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5576 cat conftest.err
>&5
5577 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5578 cat conftest.out
>&5
5579 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5580 lt_cv_nm_interface
="MS dumpbin"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5585 $as_echo "$lt_cv_nm_interface" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5588 $as_echo_n "checking whether ln -s works... " >&6; }
5590 if test "$LN_S" = "ln -s"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5592 $as_echo "yes" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5595 $as_echo "no, using $LN_S" >&6; }
5598 # find the maximum length of command line arguments
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5600 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5601 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5609 # On DJGPP, this test can blow up pretty badly due to problems in libc
5610 # (any single argument exceeding 2000 bytes causes a buffer overrun
5611 # during glob expansion). Even if it were fixed, the result of this
5612 # check would be larger than it should be.
5613 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5617 # Under GNU Hurd, this test is not required because there is
5618 # no limit to the length of command line arguments.
5619 # Libtool will interpret -1 as no limit whatsoever
5620 lt_cv_sys_max_cmd_len
=-1;
5623 cygwin
* | mingw
* | cegcc
*)
5624 # On Win9x/ME, this test blows up -- it succeeds, but takes
5625 # about 5 minutes as the teststring grows exponentially.
5626 # Worse, since 9x/ME are not pre-emptively multitasking,
5627 # you end up with a "frozen" computer, even though with patience
5628 # the test eventually succeeds (with a max line length of 256k).
5629 # Instead, let's just punt: use the minimum linelength reported by
5630 # all of the supported platforms: 8192 (on NT/2K/XP).
5631 lt_cv_sys_max_cmd_len
=8192;
5635 # On MiNT this can take a long time and run out of memory.
5636 lt_cv_sys_max_cmd_len
=8192;
5640 # On AmigaOS with pdksh, this test takes hours, literally.
5641 # So we just punt and use a minimum line length of 8192.
5642 lt_cv_sys_max_cmd_len
=8192;
5645 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
5646 # This has been around since 386BSD, at least. Likely further.
5647 if test -x /sbin
/sysctl
; then
5648 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5649 elif test -x /usr
/sbin
/sysctl
; then
5650 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5652 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5654 # And add a safety zone
5655 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5656 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5660 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5661 lt_cv_sys_max_cmd_len
=196608
5665 # The test takes a long time on OS/2.
5666 lt_cv_sys_max_cmd_len
=8192
5670 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5671 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5672 # nice to cause kernel panics so lets avoid the loop below.
5673 # First set a reasonable default.
5674 lt_cv_sys_max_cmd_len
=16384
5676 if test -x /sbin
/sysconfig
; then
5677 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5678 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5683 lt_cv_sys_max_cmd_len
=102400
5685 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5686 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5687 if test -n "$kargmax"; then
5688 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5690 lt_cv_sys_max_cmd_len
=32768
5694 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5695 if test -n "$lt_cv_sys_max_cmd_len" && \
5696 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
5697 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5698 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5700 # Make teststring a little bigger before we do anything with it.
5701 # a 1K string should be a reasonable start.
5702 for i
in 1 2 3 4 5 6 7 8; do
5703 teststring
=$teststring$teststring
5705 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5706 # If test is not a shell built-in, we'll probably end up computing a
5707 # maximum length that is only half of the actual maximum length, but
5709 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
5710 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5711 test 17 != "$i" # 1/2 MB should be enough
5714 teststring
=$teststring$teststring
5716 # Only check the string length outside the loop.
5717 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5719 # Add a significant safety factor because C++ compilers can tack on
5720 # massive amounts of additional arguments before passing them to the
5721 # linker. It appears as though 1/2 is a usable value.
5722 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5729 if test -n "$lt_cv_sys_max_cmd_len"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5731 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5734 $as_echo "none" >&6; }
5736 max_cmd_len
=$lt_cv_sys_max_cmd_len
5747 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5757 # test EBCDIC or ASCII
5758 case `echo X|tr X '\101'` in
5759 A
) # ASCII based system
5760 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5761 lt_SP2NL
='tr \040 \012'
5762 lt_NL2SP
='tr \015\012 \040\040'
5764 *) # EBCDIC based system
5765 lt_SP2NL
='tr \100 \n'
5766 lt_NL2SP
='tr \r\n \100\100'
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5779 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5780 if ${lt_cv_to_host_file_cmd+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5786 *-*-mingw* ) # actually msys
5787 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5790 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5792 * ) # otherwise, assume *nix
5793 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5799 *-*-mingw* ) # actually msys
5800 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5803 lt_cv_to_host_file_cmd
=func_convert_file_noop
5805 * ) # otherwise, assume *nix
5806 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5810 * ) # unhandled hosts (and "normal" native builds)
5811 lt_cv_to_host_file_cmd
=func_convert_file_noop
5817 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5819 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5826 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5827 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5828 $as_echo_n "(cached) " >&6
5830 #assume ordinary cross tools, or native build.
5831 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5835 *-*-mingw* ) # actually msys
5836 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5844 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5846 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5853 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5854 if ${lt_cv_ld_reload_flag+:} false
; then :
5855 $as_echo_n "(cached) " >&6
5857 lt_cv_ld_reload_flag
='-r'
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5860 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5861 reload_flag
=$lt_cv_ld_reload_flag
5862 case $reload_flag in
5864 *) reload_flag
=" $reload_flag" ;;
5866 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5868 cygwin
* | mingw
* | pw32
* | cegcc
*)
5869 if test yes != "$GCC"; then
5874 if test yes = "$GCC"; then
5875 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5877 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5890 if test -n "$ac_tool_prefix"; then
5891 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5892 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -n "$OBJDUMP"; then
5899 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 OBJDUMP
=$ac_cv_prog_OBJDUMP
5919 if test -n "$OBJDUMP"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5921 $as_echo "$OBJDUMP" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5929 if test -z "$ac_cv_prog_OBJDUMP"; then
5930 ac_ct_OBJDUMP
=$OBJDUMP
5931 # Extract the first word of "objdump", so it can be a program name with args.
5932 set dummy objdump
; ac_word
=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 if test -n "$ac_ct_OBJDUMP"; then
5939 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir
=.
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5959 if test -n "$ac_ct_OBJDUMP"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5961 $as_echo "$ac_ct_OBJDUMP" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5967 if test "x$ac_ct_OBJDUMP" = x
; then
5970 case $cross_compiling:$ac_tool_warned in
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5974 ac_tool_warned
=yes ;;
5976 OBJDUMP
=$ac_ct_OBJDUMP
5979 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5982 test -z "$OBJDUMP" && OBJDUMP
=objdump
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5993 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5994 if ${lt_cv_deplibs_check_method+:} false
; then :
5995 $as_echo_n "(cached) " >&6
5997 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5998 lt_cv_file_magic_test_file
=
5999 lt_cv_deplibs_check_method
='unknown'
6000 # Need to set the preceding variable on all platforms that support
6001 # interlibrary dependencies.
6002 # 'none' -- dependencies not supported.
6003 # 'unknown' -- same as none, but documents that we really don't know.
6004 # 'pass_all' -- all dependencies passed with no checks.
6005 # 'test_compile' -- check by making test program.
6006 # 'file_magic [[regex]]' -- check by looking for files in library path
6007 # that responds to the $file_magic_cmd with a given extended regex.
6008 # If you have 'file' or equivalent on your system and you're not sure
6009 # whether 'pass_all' will *always* work, you probably want this one.
6013 lt_cv_deplibs_check_method
=pass_all
6017 lt_cv_deplibs_check_method
=pass_all
6021 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6022 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6023 lt_cv_file_magic_test_file
=/shlib
/libc.so
6027 # func_win32_libid is a shell function defined in ltmain.sh
6028 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6029 lt_cv_file_magic_cmd
='func_win32_libid'
6033 # Base MSYS/MinGW do not provide the 'file' command needed by
6034 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6035 # unless we find 'file', for example because we are cross-compiling.
6036 if ( file / ) >/dev
/null
2>&1; then
6037 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6038 lt_cv_file_magic_cmd
='func_win32_libid'
6040 # Keep this pattern in sync with the one in func_win32_libid.
6041 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6042 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6047 # use the weaker test based on 'objdump'. See mingw*.
6048 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6049 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6052 darwin
* | rhapsody
*)
6053 lt_cv_deplibs_check_method
=pass_all
6056 freebsd
* | dragonfly
*)
6057 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6060 # Not sure whether the presence of OpenBSD here was a mistake.
6061 # Let's accept both of them until this is cleared up.
6062 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6063 lt_cv_file_magic_cmd
=/usr
/bin
/file
6064 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6068 lt_cv_deplibs_check_method
=pass_all
6073 lt_cv_deplibs_check_method
=pass_all
6076 hpux10.20
* | hpux11
*)
6077 lt_cv_file_magic_cmd
=/usr
/bin
/file
6080 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6081 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6084 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]'
6085 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6088 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6089 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6095 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6096 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6099 irix5
* | irix6
* | nonstopux
*)
6101 *-32|
*"-32 ") libmagic
=32-bit;;
6102 *-n32|
*"-n32 ") libmagic
=N32
;;
6103 *-64|
*"-64 ") libmagic
=64-bit;;
6104 *) libmagic
=never-match
;;
6106 lt_cv_deplibs_check_method
=pass_all
6109 # This must be glibc/ELF.
6110 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6111 lt_cv_deplibs_check_method
=pass_all
6114 netbsd
* | netbsdelf
*-gnu)
6115 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6116 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6118 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6123 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6124 lt_cv_file_magic_cmd
=/usr
/bin
/file
6125 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6129 lt_cv_deplibs_check_method
=pass_all
6133 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6134 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6136 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6140 osf3
* | osf4
* | osf5
*)
6141 lt_cv_deplibs_check_method
=pass_all
6145 lt_cv_deplibs_check_method
=pass_all
6149 lt_cv_deplibs_check_method
=pass_all
6152 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6153 lt_cv_deplibs_check_method
=pass_all
6157 case $host_vendor in
6159 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]'
6160 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6163 lt_cv_deplibs_check_method
=pass_all
6166 lt_cv_file_magic_cmd
='/bin/file'
6167 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6170 lt_cv_file_magic_cmd
='/bin/file'
6171 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6172 lt_cv_file_magic_test_file
=/lib
/libc.so
6175 lt_cv_deplibs_check_method
=pass_all
6178 lt_cv_deplibs_check_method
=pass_all
6184 lt_cv_deplibs_check_method
=pass_all
6187 lt_cv_deplibs_check_method
=pass_all
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6193 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6197 if test "$build" = "$host"; then
6200 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6203 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6209 file_magic_cmd
=$lt_cv_file_magic_cmd
6210 deplibs_check_method
=$lt_cv_deplibs_check_method
6211 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6234 if test -n "$ac_tool_prefix"; then
6235 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6236 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6240 $as_echo_n "(cached) " >&6
6242 if test -n "$DLLTOOL"; then
6243 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir
=.
6250 for ac_exec_ext
in '' $ac_executable_extensions; do
6251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 DLLTOOL
=$ac_cv_prog_DLLTOOL
6263 if test -n "$DLLTOOL"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6265 $as_echo "$DLLTOOL" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6273 if test -z "$ac_cv_prog_DLLTOOL"; then
6274 ac_ct_DLLTOOL
=$DLLTOOL
6275 # Extract the first word of "dlltool", so it can be a program name with args.
6276 set dummy dlltool
; ac_word
=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6280 $as_echo_n "(cached) " >&6
6282 if test -n "$ac_ct_DLLTOOL"; then
6283 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir
=.
6290 for ac_exec_ext
in '' $ac_executable_extensions; do
6291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6303 if test -n "$ac_ct_DLLTOOL"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6305 $as_echo "$ac_ct_DLLTOOL" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6311 if test "x$ac_ct_DLLTOOL" = x
; then
6314 case $cross_compiling:$ac_tool_warned in
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6318 ac_tool_warned
=yes ;;
6320 DLLTOOL
=$ac_ct_DLLTOOL
6323 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6326 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6338 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6339 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6345 cygwin
* | mingw
* | pw32
* | cegcc
*)
6346 # two different shell functions defined in ltmain.sh;
6347 # decide which one to use based on capabilities of $DLLTOOL
6348 case `$DLLTOOL --help 2>&1` in
6349 *--identify-strict*)
6350 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6353 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6358 # fallback: assume linklib IS sharedlib
6359 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6365 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6366 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6367 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6376 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6380 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_prog_AR+:} false
; then :
6384 $as_echo_n "(cached) " >&6
6386 if test -n "$AR"; then
6387 ac_cv_prog_AR
="$AR" # Let the user override the test.
6389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir
=.
6394 for ac_exec_ext
in '' $ac_executable_extensions; do
6395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 if test -n "$AR"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6409 $as_echo "$AR" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6416 test -n "$AR" && break
6419 if test -z "$AR"; then
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy
$ac_prog; ac_word
=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -n "$ac_ct_AR"; then
6431 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 for ac_exec_ext
in '' $ac_executable_extensions; do
6439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_ac_ct_AR
="$ac_prog"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6451 if test -n "$ac_ct_AR"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6453 $as_echo "$ac_ct_AR" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 test -n "$ac_ct_AR" && break
6463 if test "x$ac_ct_AR" = x
; then
6466 case $cross_compiling:$ac_tool_warned in
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6470 ac_tool_warned
=yes ;;
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6490 $as_echo_n "checking for archiver @FILE support... " >&6; }
6491 if ${lt_cv_ar_at_file+:} false
; then :
6492 $as_echo_n "(cached) " >&6
6495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6506 if ac_fn_c_try_compile
"$LINENO"; then :
6507 echo conftest.
$ac_objext > conftest.lst
6508 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6509 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6510 (eval $lt_ar_try) 2>&5
6512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6513 test $ac_status = 0; }
6514 if test 0 -eq "$ac_status"; then
6515 # Ensure the archiver fails upon bogus file names.
6516 rm -f conftest.
$ac_objext libconftest.a
6517 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6518 (eval $lt_ar_try) 2>&5
6520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6521 test $ac_status = 0; }
6522 if test 0 -ne "$ac_status"; then
6526 rm -f conftest.
* libconftest.a
6529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6533 $as_echo "$lt_cv_ar_at_file" >&6; }
6535 if test no
= "$lt_cv_ar_at_file"; then
6538 archiver_list_spec
=$lt_cv_ar_at_file
6547 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6549 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_STRIP+:} false
; then :
6553 $as_echo_n "(cached) " >&6
6555 if test -n "$STRIP"; then
6556 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir
=.
6563 for ac_exec_ext
in '' $ac_executable_extensions; do
6564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 STRIP
=$ac_cv_prog_STRIP
6576 if test -n "$STRIP"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6578 $as_echo "$STRIP" >&6; }
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 if test -z "$ac_cv_prog_STRIP"; then
6588 # Extract the first word of "strip", so it can be a program name with args.
6589 set dummy strip
; ac_word
=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6593 $as_echo_n "(cached) " >&6
6595 if test -n "$ac_ct_STRIP"; then
6596 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir
=.
6603 for ac_exec_ext
in '' $ac_executable_extensions; do
6604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_ac_ct_STRIP
="strip"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6615 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6616 if test -n "$ac_ct_STRIP"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6618 $as_echo "$ac_ct_STRIP" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6624 if test "x$ac_ct_STRIP" = x
; then
6627 case $cross_compiling:$ac_tool_warned in
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6631 ac_tool_warned
=yes ;;
6636 STRIP
="$ac_cv_prog_STRIP"
6639 test -z "$STRIP" && STRIP
=:
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6648 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if ${ac_cv_prog_RANLIB+:} false
; then :
6652 $as_echo_n "(cached) " >&6
6654 if test -n "$RANLIB"; then
6655 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir
=.
6662 for ac_exec_ext
in '' $ac_executable_extensions; do
6663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6664 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6674 RANLIB
=$ac_cv_prog_RANLIB
6675 if test -n "$RANLIB"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6677 $as_echo "$RANLIB" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6685 if test -z "$ac_cv_prog_RANLIB"; then
6686 ac_ct_RANLIB
=$RANLIB
6687 # Extract the first word of "ranlib", so it can be a program name with args.
6688 set dummy ranlib
; ac_word
=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6692 $as_echo_n "(cached) " >&6
6694 if test -n "$ac_ct_RANLIB"; then
6695 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir
=.
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6715 if test -n "$ac_ct_RANLIB"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6717 $as_echo "$ac_ct_RANLIB" >&6; }
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6723 if test "x$ac_ct_RANLIB" = x
; then
6726 case $cross_compiling:$ac_tool_warned in
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730 ac_tool_warned
=yes ;;
6732 RANLIB
=$ac_ct_RANLIB
6735 RANLIB
="$ac_cv_prog_RANLIB"
6738 test -z "$RANLIB" && RANLIB
=:
6745 # Determine commands to create old-style static archives.
6746 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6747 old_postinstall_cmds
='chmod 644 $oldlib'
6748 old_postuninstall_cmds
=
6750 if test -n "$RANLIB"; then
6753 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6756 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6759 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6764 lock_old_archive_extraction
=yes ;;
6766 lock_old_archive_extraction
=no
;;
6807 # If no C compiler was specified, use CC.
6810 # If no C compiler flags were specified, use CFLAGS.
6811 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6813 # Allow CC to be a program name with arguments.
6817 # Check for command to grab the raw symbol name followed by C symbol from nm.
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6819 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6820 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6821 $as_echo_n "(cached) " >&6
6824 # These are sane defaults that work on at least a few old systems.
6825 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6827 # Character class describing NM global symbol codes.
6828 symcode
='[BCDEGRST]'
6830 # Regexp to match symbols that can be accessed directly from C.
6831 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6833 # Define system-specific variables.
6838 cygwin
* | mingw
* | pw32
* | cegcc
*)
6839 symcode
='[ABCDGISTW]'
6842 if test ia64
= "$host_cpu"; then
6843 symcode
='[ABCDEGRST]'
6847 symcode
='[BCDEGRST]'
6850 symcode
='[BCDEGQRST]'
6861 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6869 # If we're using GNU nm, then use its standard symbol codes.
6870 case `$NM -V 2>&1` in
6871 *GNU
* |
*'with BFD'*)
6872 symcode
='[ABCDGIRSTW]' ;;
6875 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6876 # Gets list of data symbols to import.
6877 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6878 # Adjust the below global symbol transforms to fixup imported variables.
6879 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6880 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6881 lt_c_name_lib_hook
="\
6882 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6883 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6885 # Disable hooks by default.
6886 lt_cv_sys_global_symbol_to_import
=
6892 # Transform an extracted symbol line into a proper C declaration.
6893 # Some systems (esp. on ia64) link data and code symbols differently,
6894 # so use this general approach.
6895 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
6897 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6898 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6900 # Transform an extracted symbol line into symbol name and symbol address
6901 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
6903 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6904 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6906 # Transform an extracted symbol line into symbol name with lib prefix and
6908 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
6909 $lt_c_name_lib_hook\
6910 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6911 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6912 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6914 # Handle CRLF in mingw tool chain
6918 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6922 # Try without a prefix underscore, then with it.
6923 for ac_symprfx
in "" "_"; do
6925 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6926 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6928 # Write the raw and C identifiers.
6929 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6930 # Fake it for dumpbin and say T for any non-static function,
6931 # D for any global variable and I for any imported variable.
6932 # Also find C++ and __fastcall symbols from MSVC++,
6933 # which start with @ or ?.
6934 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6935 " {last_section=section; section=\$ 3};"\
6936 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6937 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6938 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6939 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6940 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6941 " \$ 0!~/External *\|/{next};"\
6942 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6943 " {if(hide[section]) next};"\
6944 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6945 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6946 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6947 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6948 " ' prfx=^$ac_symprfx"
6950 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6952 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6954 # Check to see that the pipe works correctly.
6958 cat > conftest.
$ac_ext <<_LT_EOF
6963 void nm_test_func(void);
6964 void nm_test_func(void){}
6968 int main(){nm_test_var='a';nm_test_func();return(0);}
6971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6972 (eval $ac_compile) 2>&5
6974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6975 test $ac_status = 0; }; then
6976 # Now try to grab the symbols.
6978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6979 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6982 test $ac_status = 0; } && test -s "$nlist"; then
6983 # Try sorting and uniquifying the output.
6984 if sort "$nlist" |
uniq > "$nlist"T
; then
6985 mv -f "$nlist"T
"$nlist"
6990 # Make sure that we snagged all the symbols we need.
6991 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6992 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6993 cat <<_LT_EOF > conftest.$ac_ext
6994 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6995 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6996 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6997 relocations are performed -- see ld's documentation on pseudo-relocs. */
6998 # define LT_DLSYM_CONST
6999 #elif defined __osf__
7000 /* This system does not cope well with relocations in const data. */
7001 # define LT_DLSYM_CONST
7003 # define LT_DLSYM_CONST const
7011 # Now generate the symbol file.
7012 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7014 cat <<_LT_EOF >> conftest.$ac_ext
7016 /* The mapping between symbol names and symbols. */
7017 LT_DLSYM_CONST struct {
7021 lt__PROGRAM__LTX_preloaded_symbols[] =
7023 { "@PROGRAM@", (void *) 0 },
7025 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7026 cat <<\_LT_EOF
>> conftest.
$ac_ext
7030 /* This works around a problem
in FreeBSD linker
*/
7031 #ifdef FREEBSD_WORKAROUND
7032 static const void
*lt_preloaded_setup
() {
7033 return lt__PROGRAM__LTX_preloaded_symbols
;
7041 # Now try linking the two files.
7042 mv conftest.
$ac_objext conftstm.
$ac_objext
7043 lt_globsym_save_LIBS
=$LIBS
7044 lt_globsym_save_CFLAGS
=$CFLAGS
7045 LIBS
=conftstm.
$ac_objext
7046 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7048 (eval $ac_link) 2>&5
7050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7051 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
7054 LIBS
=$lt_globsym_save_LIBS
7055 CFLAGS
=$lt_globsym_save_CFLAGS
7057 echo "cannot find nm_test_func in $nlist" >&5
7060 echo "cannot find nm_test_var in $nlist" >&5
7063 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7066 echo "$progname: failed program was:" >&5
7067 cat conftest.
$ac_ext >&5
7069 rm -rf conftest
* conftst
*
7071 # Do not use the global_symbol_pipe unless it works.
7072 if test yes = "$pipe_works"; then
7075 lt_cv_sys_global_symbol_pipe
=
7081 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7082 lt_cv_sys_global_symbol_to_cdecl
=
7084 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7086 $as_echo "failed" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7089 $as_echo "ok" >&6; }
7092 # Response file support.
7093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7094 nm_file_list_spec
='@'
7095 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7096 nm_file_list_spec
='@'
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7136 $as_echo_n "checking for sysroot... " >&6; }
7138 # Check whether --with-sysroot was given.
7139 if test "${with_sysroot+set}" = set; then :
7140 withval
=$with_sysroot;
7147 case $with_sysroot in #(
7149 if test yes = "$GCC"; then
7150 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7154 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7160 $as_echo "$with_sysroot" >&6; }
7161 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7166 $as_echo "${lt_sysroot:-no}" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7173 $as_echo_n "checking for a working dd... " >&6; }
7174 if ${ac_cv_path_lt_DD+:} false
; then :
7175 $as_echo_n "(cached) " >&6
7177 printf 0123456789abcdef0123456789abcdef
>conftest.i
7178 cat conftest.i conftest.i
>conftest2.i
7180 if test -z "$lt_DD"; then
7181 ac_path_lt_DD_found
=false
7182 # Loop through the user's path and test for each of PROGNAME-LIST
7183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir
=.
7188 for ac_prog
in dd; do
7189 for ac_exec_ext
in '' $ac_executable_extensions; do
7190 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
7191 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
7192 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7193 cmp -s conftest.i conftest.out \
7194 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
7196 $ac_path_lt_DD_found && break 3
7201 if test -z "$ac_cv_path_lt_DD"; then
7205 ac_cv_path_lt_DD
=$lt_DD
7208 rm -f conftest.i conftest2.i conftest.out
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7211 $as_echo "$ac_cv_path_lt_DD" >&6; }
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7215 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7216 if ${lt_cv_truncate_bin+:} false
; then :
7217 $as_echo_n "(cached) " >&6
7219 printf 0123456789abcdef0123456789abcdef
>conftest.i
7220 cat conftest.i conftest.i
>conftest2.i
7222 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7223 cmp -s conftest.i conftest.out \
7224 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
7226 rm -f conftest.i conftest2.i conftest.out
7227 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7230 $as_echo "$lt_cv_truncate_bin" >&6; }
7238 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7241 for cc_temp
in $
*""; do
7243 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7244 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7249 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7252 # Check whether --enable-libtool-lock was given.
7253 if test "${enable_libtool_lock+set}" = set; then :
7254 enableval
=$enable_libtool_lock;
7257 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
7259 # Some flags need to be propagated to the compiler or linker for good
7263 # Find out what ABI is being produced by ac_compile, and set mode
7264 # options accordingly.
7265 echo 'int i;' > conftest.
$ac_ext
7266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7267 (eval $ac_compile) 2>&5
7269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7270 test $ac_status = 0; }; then
7271 case `/usr/bin/file conftest.$ac_objext` in
7283 # Find out what ABI is being produced by ac_compile, and set linker
7284 # options accordingly.
7285 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7287 (eval $ac_compile) 2>&5
7289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7290 test $ac_status = 0; }; then
7291 if test yes = "$lt_cv_prog_gnu_ld"; then
7292 case `/usr/bin/file conftest.$ac_objext` in
7294 LD
="${LD-ld} -melf32bsmip"
7297 LD
="${LD-ld} -melf32bmipn32"
7300 LD
="${LD-ld} -melf64bmip"
7304 case `/usr/bin/file conftest.$ac_objext` in
7321 # Find out what ABI is being produced by ac_compile, and set linker
7322 # options accordingly.
7323 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7325 (eval $ac_compile) 2>&5
7327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7328 test $ac_status = 0; }; then
7330 case `/usr/bin/file conftest.$ac_objext` in
7338 case `/usr/bin/file conftest.$ac_objext` in
7340 emul
="${emul}btsmip"
7343 emul
="${emul}ltsmip"
7346 case `/usr/bin/file conftest.$ac_objext` in
7351 LD
="${LD-ld} -m $emul"
7356 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7357 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7358 # Find out what ABI is being produced by ac_compile, and set linker
7359 # options accordingly. Note that the listed cases only cover the
7360 # situations where additional linker options are needed (such as when
7361 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7362 # vice versa); the common cases where no linker options are needed do
7363 # not appear in the list.
7364 echo 'int i;' > conftest.
$ac_ext
7365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7366 (eval $ac_compile) 2>&5
7368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7369 test $ac_status = 0; }; then
7370 case `/usr/bin/file conftest.o` in
7373 x86_64-
*kfreebsd
*-gnu)
7374 LD
="${LD-ld} -m elf_i386_fbsd"
7377 case `/usr/bin/file conftest.o` in
7379 LD
="${LD-ld} -m elf32_x86_64"
7382 LD
="${LD-ld} -m elf_i386"
7386 powerpc64le-
*linux
*)
7387 LD
="${LD-ld} -m elf32lppclinux"
7390 LD
="${LD-ld} -m elf32ppclinux"
7393 LD
="${LD-ld} -m elf_s390"
7396 LD
="${LD-ld} -m elf32_sparc"
7402 x86_64-
*kfreebsd
*-gnu)
7403 LD
="${LD-ld} -m elf_x86_64_fbsd"
7406 LD
="${LD-ld} -m elf_x86_64"
7409 LD
="${LD-ld} -m elf64lppc"
7412 LD
="${LD-ld} -m elf64ppc"
7414 s390
*-*linux
*|s390
*-*tpf
*)
7415 LD
="${LD-ld} -m elf64_s390"
7418 LD
="${LD-ld} -m elf64_sparc"
7428 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7430 CFLAGS
="$CFLAGS -belf"
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7432 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7433 if ${lt_cv_cc_needs_belf+:} false
; then :
7434 $as_echo_n "(cached) " >&6
7437 ac_cpp
='$CPP $CPPFLAGS'
7438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7453 if ac_fn_c_try_link
"$LINENO"; then :
7454 lt_cv_cc_needs_belf
=yes
7456 lt_cv_cc_needs_belf
=no
7458 rm -f core conftest.err conftest.
$ac_objext \
7459 conftest
$ac_exeext conftest.
$ac_ext
7461 ac_cpp
='$CPP $CPPFLAGS'
7462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7468 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7469 if test yes != "$lt_cv_cc_needs_belf"; then
7470 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7475 # Find out what ABI is being produced by ac_compile, and set linker
7476 # options accordingly.
7477 echo 'int i;' > conftest.
$ac_ext
7478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7479 (eval $ac_compile) 2>&5
7481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7482 test $ac_status = 0; }; then
7483 case `/usr/bin/file conftest.o` in
7485 case $lt_cv_prog_gnu_ld in
7488 i?
86-*-solaris*|x86_64-
*-solaris*)
7489 LD
="${LD-ld} -m elf_x86_64"
7492 LD
="${LD-ld} -m elf64_sparc"
7495 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7496 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7501 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7513 need_locks
=$enable_libtool_lock
7515 if test -n "$ac_tool_prefix"; then
7516 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7517 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7521 $as_echo_n "(cached) " >&6
7523 if test -n "$MANIFEST_TOOL"; then
7524 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir
=.
7531 for ac_exec_ext
in '' $ac_executable_extensions; do
7532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7533 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7544 if test -n "$MANIFEST_TOOL"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7546 $as_echo "$MANIFEST_TOOL" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7554 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7555 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7556 # Extract the first word of "mt", so it can be a program name with args.
7557 set dummy mt
; ac_word
=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7561 $as_echo_n "(cached) " >&6
7563 if test -n "$ac_ct_MANIFEST_TOOL"; then
7564 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7570 test -z "$as_dir" && as_dir
=.
7571 for ac_exec_ext
in '' $ac_executable_extensions; do
7572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7573 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7584 if test -n "$ac_ct_MANIFEST_TOOL"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7586 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7592 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7595 case $cross_compiling:$ac_tool_warned in
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned
=yes ;;
7601 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7604 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7607 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7609 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7610 if ${lt_cv_path_mainfest_tool+:} false
; then :
7611 $as_echo_n "(cached) " >&6
7613 lt_cv_path_mainfest_tool
=no
7614 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7615 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7616 cat conftest.err
>&5
7617 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7618 lt_cv_path_mainfest_tool
=yes
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7623 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7624 if test yes != "$lt_cv_path_mainfest_tool"; then
7634 rhapsody
* | darwin
*)
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7637 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7641 $as_echo_n "(cached) " >&6
7643 if test -n "$DSYMUTIL"; then
7644 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7650 test -z "$as_dir" && as_dir
=.
7651 for ac_exec_ext
in '' $ac_executable_extensions; do
7652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7653 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7663 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7664 if test -n "$DSYMUTIL"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7666 $as_echo "$DSYMUTIL" >&6; }
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_DSYMUTIL"; then
7675 ac_ct_DSYMUTIL
=$DSYMUTIL
7676 # Extract the first word of "dsymutil", so it can be a program name with args.
7677 set dummy dsymutil
; ac_word
=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7681 $as_echo_n "(cached) " >&6
7683 if test -n "$ac_ct_DSYMUTIL"; then
7684 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7690 test -z "$as_dir" && as_dir
=.
7691 for ac_exec_ext
in '' $ac_executable_extensions; do
7692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7693 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7703 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7704 if test -n "$ac_ct_DSYMUTIL"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7706 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_DSYMUTIL" = x
; then
7715 case $cross_compiling:$ac_tool_warned in
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned
=yes ;;
7721 DSYMUTIL
=$ac_ct_DSYMUTIL
7724 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7727 if test -n "$ac_tool_prefix"; then
7728 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7729 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_NMEDIT+:} false
; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$NMEDIT"; then
7736 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir
=.
7743 for ac_exec_ext
in '' $ac_executable_extensions; do
7744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 NMEDIT
=$ac_cv_prog_NMEDIT
7756 if test -n "$NMEDIT"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7758 $as_echo "$NMEDIT" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7766 if test -z "$ac_cv_prog_NMEDIT"; then
7767 ac_ct_NMEDIT
=$NMEDIT
7768 # Extract the first word of "nmedit", so it can be a program name with args.
7769 set dummy nmedit
; ac_word
=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771 $as_echo_n "checking for $ac_word... " >&6; }
7772 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7773 $as_echo_n "(cached) " >&6
7775 if test -n "$ac_ct_NMEDIT"; then
7776 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7782 test -z "$as_dir" && as_dir
=.
7783 for ac_exec_ext
in '' $ac_executable_extensions; do
7784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7785 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7796 if test -n "$ac_ct_NMEDIT"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7798 $as_echo "$ac_ct_NMEDIT" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7804 if test "x$ac_ct_NMEDIT" = x
; then
7807 case $cross_compiling:$ac_tool_warned in
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7811 ac_tool_warned
=yes ;;
7813 NMEDIT
=$ac_ct_NMEDIT
7816 NMEDIT
="$ac_cv_prog_NMEDIT"
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7821 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_LIPO+:} false
; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$LIPO"; then
7828 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 LIPO
=$ac_cv_prog_LIPO
7848 if test -n "$LIPO"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7850 $as_echo "$LIPO" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7858 if test -z "$ac_cv_prog_LIPO"; then
7860 # Extract the first word of "lipo", so it can be a program name with args.
7861 set dummy lipo
; ac_word
=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863 $as_echo_n "checking for $ac_word... " >&6; }
7864 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7865 $as_echo_n "(cached) " >&6
7867 if test -n "$ac_ct_LIPO"; then
7868 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir
=.
7875 for ac_exec_ext
in '' $ac_executable_extensions; do
7876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_prog_ac_ct_LIPO
="lipo"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7888 if test -n "$ac_ct_LIPO"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7890 $as_echo "$ac_ct_LIPO" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7896 if test "x$ac_ct_LIPO" = x
; then
7899 case $cross_compiling:$ac_tool_warned in
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7903 ac_tool_warned
=yes ;;
7908 LIPO
="$ac_cv_prog_LIPO"
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7913 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_OTOOL+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$OTOOL"; then
7920 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir
=.
7927 for ac_exec_ext
in '' $ac_executable_extensions; do
7928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 OTOOL
=$ac_cv_prog_OTOOL
7940 if test -n "$OTOOL"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7942 $as_echo "$OTOOL" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7950 if test -z "$ac_cv_prog_OTOOL"; then
7952 # Extract the first word of "otool", so it can be a program name with args.
7953 set dummy otool
; ac_word
=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 if test -n "$ac_ct_OTOOL"; then
7960 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir
=.
7967 for ac_exec_ext
in '' $ac_executable_extensions; do
7968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_ac_ct_OTOOL
="otool"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7980 if test -n "$ac_ct_OTOOL"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7982 $as_echo "$ac_ct_OTOOL" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7988 if test "x$ac_ct_OTOOL" = x
; then
7991 case $cross_compiling:$ac_tool_warned in
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned
=yes ;;
8000 OTOOL
="$ac_cv_prog_OTOOL"
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8005 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_OTOOL64+:} false
; then :
8009 $as_echo_n "(cached) " >&6
8011 if test -n "$OTOOL64"; then
8012 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 OTOOL64
=$ac_cv_prog_OTOOL64
8032 if test -n "$OTOOL64"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8034 $as_echo "$OTOOL64" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8042 if test -z "$ac_cv_prog_OTOOL64"; then
8043 ac_ct_OTOOL64
=$OTOOL64
8044 # Extract the first word of "otool64", so it can be a program name with args.
8045 set dummy otool64
; ac_word
=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8049 $as_echo_n "(cached) " >&6
8051 if test -n "$ac_ct_OTOOL64"; then
8052 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8058 test -z "$as_dir" && as_dir
=.
8059 for ac_exec_ext
in '' $ac_executable_extensions; do
8060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8072 if test -n "$ac_ct_OTOOL64"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8074 $as_echo "$ac_ct_OTOOL64" >&6; }
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8080 if test "x$ac_ct_OTOOL64" = x
; then
8083 case $cross_compiling:$ac_tool_warned in
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087 ac_tool_warned
=yes ;;
8089 OTOOL64
=$ac_ct_OTOOL64
8092 OTOOL64
="$ac_cv_prog_OTOOL64"
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8122 $as_echo_n "checking for -single_module linker flag... " >&6; }
8123 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8124 $as_echo_n "(cached) " >&6
8126 lt_cv_apple_cc_single_mod
=no
8127 if test -z "$LT_MULTI_MODULE"; then
8128 # By default we will add the -single_module flag. You can override
8129 # by either setting the environment variable LT_MULTI_MODULE
8130 # non-empty at configure time, or by adding -multi_module to the
8132 rm -rf libconftest.dylib
*
8133 echo "int foo(void){return 1;}" > conftest.c
8134 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8135 -dynamiclib -Wl,-single_module conftest.c" >&5
8136 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8137 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8139 # If there is a non-empty error log, and "single_module"
8140 # appears in it, assume the flag caused a linker warning
8141 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8142 cat conftest.err
>&5
8143 # Otherwise, if the output was created with a 0 exit code from
8144 # the compiler, it worked.
8145 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
8146 lt_cv_apple_cc_single_mod
=yes
8148 cat conftest.err
>&5
8150 rm -rf libconftest.dylib
*
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8155 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8158 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8159 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 lt_cv_ld_exported_symbols_list
=no
8163 save_LDFLAGS
=$LDFLAGS
8164 echo "_main" > conftest.sym
8165 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8177 if ac_fn_c_try_link
"$LINENO"; then :
8178 lt_cv_ld_exported_symbols_list
=yes
8180 lt_cv_ld_exported_symbols_list
=no
8182 rm -f core conftest.err conftest.
$ac_objext \
8183 conftest
$ac_exeext conftest.
$ac_ext
8184 LDFLAGS
=$save_LDFLAGS
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8188 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8191 $as_echo_n "checking for -force_load linker flag... " >&6; }
8192 if ${lt_cv_ld_force_load+:} false
; then :
8193 $as_echo_n "(cached) " >&6
8195 lt_cv_ld_force_load
=no
8196 cat > conftest.c
<< _LT_EOF
8197 int forced_loaded() { return 2;}
8199 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8200 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8201 echo "$AR cru libconftest.a conftest.o" >&5
8202 $AR cru libconftest.a conftest.o
2>&5
8203 echo "$RANLIB libconftest.a" >&5
8204 $RANLIB libconftest.a
2>&5
8205 cat > conftest.c
<< _LT_EOF
8206 int main() { return 0;}
8208 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8209 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8211 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8212 cat conftest.err
>&5
8213 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
8214 lt_cv_ld_force_load
=yes
8216 cat conftest.err
>&5
8218 rm -f conftest.err libconftest.a conftest conftest.c
8219 rm -rf conftest.dSYM
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8223 $as_echo "$lt_cv_ld_force_load" >&6; }
8225 rhapsody
* | darwin1.
[012])
8226 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
8228 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8229 darwin
*) # darwin 5.x on
8230 # if running on 10.5 or later, the deployment target defaults
8231 # to the OS version, if on x86, and 10.4, the deployment
8232 # target defaults to 10.4. Don't you love it?
8233 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8234 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8235 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8237 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8239 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8243 if test yes = "$lt_cv_apple_cc_single_mod"; then
8244 _lt_dar_single_mod
='$single_module'
8246 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8247 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8249 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8251 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
8252 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8259 # func_munge_path_list VARIABLE PATH
8260 # -----------------------------------
8261 # VARIABLE is name of variable containing _space_ separated list of
8262 # directories to be munged by the contents of PATH, which is string
8265 # string "DIR[ DIR]" will be prepended to VARIABLE
8267 # string "DIR[ DIR]" will be appended to VARIABLE
8268 # "DIRP[:DIRP]::[DIRA:]DIRA"
8269 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8270 # "DIRA[ DIRA]" will be appended to VARIABLE
8272 # VARIABLE will be replaced by "DIR[ DIR]"
8273 func_munge_path_list
()
8279 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
8282 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8285 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8286 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
8289 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8295 ac_cpp
='$CPP $CPPFLAGS'
8296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8300 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8301 # On Suns, sometimes $CPP names a directory.
8302 if test -n "$CPP" && test -d "$CPP"; then
8305 if test -z "$CPP"; then
8306 if ${ac_cv_prog_CPP+:} false
; then :
8307 $as_echo_n "(cached) " >&6
8309 # Double quotes because CPP needs to be expanded
8310 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8313 for ac_c_preproc_warn_flag
in '' yes
8315 # Use a header file that comes with gcc, so configuring glibc
8316 # with a fresh cross-compiler works.
8317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8318 # <limits.h> exists even on freestanding compilers.
8319 # On the NeXT, cc -E runs the code through the compiler's parser,
8320 # not just through cpp. "Syntax error" is here to catch this case.
8321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8324 # include <limits.h>
8326 # include <assert.h>
8330 if ac_fn_c_try_cpp
"$LINENO"; then :
8333 # Broken: fails on valid input.
8336 rm -f conftest.err conftest.i conftest.
$ac_ext
8338 # OK, works on sane cases. Now check whether nonexistent headers
8339 # can be detected and how.
8340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 #include <ac_nonexistent.h>
8344 if ac_fn_c_try_cpp
"$LINENO"; then :
8345 # Broken: success on invalid input.
8348 # Passes both tests.
8352 rm -f conftest.err conftest.i conftest.
$ac_ext
8355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8356 rm -f conftest.i conftest.err conftest.
$ac_ext
8357 if $ac_preproc_ok; then :
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8370 $as_echo "$CPP" >&6; }
8372 for ac_c_preproc_warn_flag
in '' yes
8374 # Use a header file that comes with gcc, so configuring glibc
8375 # with a fresh cross-compiler works.
8376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8377 # <limits.h> exists even on freestanding compilers.
8378 # On the NeXT, cc -E runs the code through the compiler's parser,
8379 # not just through cpp. "Syntax error" is here to catch this case.
8380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8383 # include <limits.h>
8385 # include <assert.h>
8389 if ac_fn_c_try_cpp
"$LINENO"; then :
8392 # Broken: fails on valid input.
8395 rm -f conftest.err conftest.i conftest.
$ac_ext
8397 # OK, works on sane cases. Now check whether nonexistent headers
8398 # can be detected and how.
8399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 #include <ac_nonexistent.h>
8403 if ac_fn_c_try_cpp
"$LINENO"; then :
8404 # Broken: success on invalid input.
8407 # Passes both tests.
8411 rm -f conftest.err conftest.i conftest.
$ac_ext
8414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8415 rm -f conftest.i conftest.err conftest.
$ac_ext
8416 if $ac_preproc_ok; then :
8419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8421 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8422 See \`config.log' for more details" "$LINENO" 5; }
8426 ac_cpp
='$CPP $CPPFLAGS'
8427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8433 $as_echo_n "checking for ANSI C header files... " >&6; }
8434 if ${ac_cv_header_stdc+:} false
; then :
8435 $as_echo_n "(cached) " >&6
8437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8438 /* end confdefs.h. */
8452 if ac_fn_c_try_compile
"$LINENO"; then :
8453 ac_cv_header_stdc
=yes
8455 ac_cv_header_stdc
=no
8457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8459 if test $ac_cv_header_stdc = yes; then
8460 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8467 $EGREP "memchr" >/dev
/null
2>&1; then :
8470 ac_cv_header_stdc
=no
8476 if test $ac_cv_header_stdc = yes; then
8477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8484 $EGREP "free" >/dev
/null
2>&1; then :
8487 ac_cv_header_stdc
=no
8493 if test $ac_cv_header_stdc = yes; then
8494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8495 if test "$cross_compiling" = yes; then :
8498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8502 #if ((' ' & 0x0FF) == 0x020)
8503 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8504 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8506 # define ISLOWER(c) \
8507 (('a' <= (c) && (c) <= 'i') \
8508 || ('j' <= (c) && (c) <= 'r') \
8509 || ('s' <= (c) && (c) <= 'z'))
8510 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8513 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8518 for (i = 0; i < 256; i++)
8519 if (XOR (islower (i), ISLOWER (i))
8520 || toupper (i) != TOUPPER (i))
8525 if ac_fn_c_try_run
"$LINENO"; then :
8528 ac_cv_header_stdc
=no
8530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8537 $as_echo "$ac_cv_header_stdc" >&6; }
8538 if test $ac_cv_header_stdc = yes; then
8540 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8544 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8545 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8546 inttypes.h stdint.h unistd.h
8548 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8549 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8551 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8552 cat >>confdefs.h
<<_ACEOF
8553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8561 for ac_header
in dlfcn.h
8563 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8565 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8566 cat >>confdefs.h
<<_ACEOF
8567 #define HAVE_DLFCN_H 1
8577 func_stripname_cnf
()
8580 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8581 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8583 } # func_stripname_cnf
8599 # Check whether --enable-shared was given.
8600 if test "${enable_shared+set}" = set; then :
8601 enableval
=$enable_shared; p
=${PACKAGE-default}
8603 yes) enable_shared
=yes ;;
8604 no
) enable_shared
=no
;;
8607 # Look at the argument we got. We use all the common list separators.
8608 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8609 for pkg
in $enableval; do
8611 if test "X$pkg" = "X$p"; then
8630 # Check whether --enable-static was given.
8631 if test "${enable_static+set}" = set; then :
8632 enableval
=$enable_static; p
=${PACKAGE-default}
8634 yes) enable_static
=yes ;;
8635 no
) enable_static
=no
;;
8638 # Look at the argument we got. We use all the common list separators.
8639 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8640 for pkg
in $enableval; do
8642 if test "X$pkg" = "X$p"; then
8662 # Check whether --with-pic was given.
8663 if test "${with_pic+set}" = set; then :
8664 withval
=$with_pic; lt_p
=${PACKAGE-default}
8666 yes|no
) pic_mode
=$withval ;;
8669 # Look at the argument we got. We use all the common list separators.
8670 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8671 for lt_pkg
in $withval; do
8673 if test "X$lt_pkg" = "X$lt_p"; then
8691 # Check whether --enable-fast-install was given.
8692 if test "${enable_fast_install+set}" = set; then :
8693 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8695 yes) enable_fast_install
=yes ;;
8696 no
) enable_fast_install
=no
;;
8698 enable_fast_install
=no
8699 # Look at the argument we got. We use all the common list separators.
8700 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8701 for pkg
in $enableval; do
8703 if test "X$pkg" = "X$p"; then
8704 enable_fast_install
=yes
8711 enable_fast_install
=yes
8721 shared_archive_member_spec
=
8722 case $host,$enable_shared in
8723 power
*-*-aix[5-9]*,yes)
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8725 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8727 # Check whether --with-aix-soname was given.
8728 if test "${with_aix_soname+set}" = set; then :
8729 withval
=$with_aix_soname; case $withval in
8733 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8736 lt_cv_with_aix_soname
=$with_aix_soname
8738 if ${lt_cv_with_aix_soname+:} false
; then :
8739 $as_echo_n "(cached) " >&6
8741 lt_cv_with_aix_soname
=aix
8744 with_aix_soname
=$lt_cv_with_aix_soname
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8748 $as_echo "$with_aix_soname" >&6; }
8749 if test aix
!= "$with_aix_soname"; then
8750 # For the AIX way of multilib, we name the shared archive member
8751 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8752 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8753 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8754 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8755 if test 64 = "${OBJECT_MODE-32}"; then
8756 shared_archive_member_spec
=shr_64
8758 shared_archive_member_spec
=shr
8776 # This can be used to rebuild libtool when needed
8777 LIBTOOL_DEPS
=$ltmain
8779 # Always use our own libtool.
8780 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8811 test -z "$LN_S" && LN_S
="ln -s"
8826 if test -n "${ZSH_VERSION+set}"; then
8827 setopt NO_GLOB_SUBST
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8831 $as_echo_n "checking for objdir... " >&6; }
8832 if ${lt_cv_objdir+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8835 rm -f .libs
2>/dev
/null
8836 mkdir .libs
2>/dev
/null
8837 if test -d .libs
; then
8840 # MS-DOS does not allow filenames that begin with a dot.
8843 rmdir .libs
2>/dev
/null
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8846 $as_echo "$lt_cv_objdir" >&6; }
8847 objdir
=$lt_cv_objdir
8853 cat >>confdefs.h
<<_ACEOF
8854 #define LT_OBJDIR "$lt_cv_objdir/"
8862 # AIX sometimes has problems with the GCC collect2 program. For some
8863 # reason, if we set the COLLECT_NAMES environment variable, the problems
8864 # vanish in a puff of smoke.
8865 if test set != "${COLLECT_NAMES+set}"; then
8867 export COLLECT_NAMES
8874 can_build_shared
=yes
8876 # All known linkers require a '.a' archive for static linking (except MSVC,
8877 # which needs '.lib').
8880 with_gnu_ld
=$lt_cv_prog_gnu_ld
8885 # Set sane defaults for various variables
8886 test -z "$CC" && CC
=cc
8887 test -z "$LTCC" && LTCC
=$CC
8888 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8889 test -z "$LD" && LD
=ld
8890 test -z "$ac_objext" && ac_objext
=o
8892 func_cc_basename
$compiler
8893 cc_basename
=$func_cc_basename_result
8896 # Only perform the check for file, if the check method requires it
8897 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8898 case $deplibs_check_method in
8900 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8902 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8903 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8904 $as_echo_n "(cached) " >&6
8908 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8911 lt_save_MAGIC_CMD
=$MAGIC_CMD
8912 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8913 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8914 for ac_dir
in $ac_dummy; do
8916 test -z "$ac_dir" && ac_dir
=.
8917 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8918 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8919 if test -n "$file_magic_test_file"; then
8920 case $deplibs_check_method in
8922 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8923 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8924 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8925 $EGREP "$file_magic_regex" > /dev
/null
; then
8930 *** Warning: the command libtool uses to detect shared libraries,
8931 *** $file_magic_cmd, produces output that libtool cannot recognize.
8932 *** The result is that libtool may fail to recognize shared libraries
8933 *** as such. This will affect the creation of libtool libraries that
8934 *** depend on shared libraries, but programs linked with such libtool
8935 *** libraries will work regardless of this problem. Nevertheless, you
8936 *** may want to report the problem to your system manager and/or to
8937 *** bug-libtool@gnu.org
8947 MAGIC_CMD
=$lt_save_MAGIC_CMD
8952 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8953 if test -n "$MAGIC_CMD"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8955 $as_echo "$MAGIC_CMD" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8965 if test -z "$lt_cv_path_MAGIC_CMD"; then
8966 if test -n "$ac_tool_prefix"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8968 $as_echo_n "checking for file... " >&6; }
8969 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8970 $as_echo_n "(cached) " >&6
8974 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8977 lt_save_MAGIC_CMD
=$MAGIC_CMD
8978 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8979 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8980 for ac_dir
in $ac_dummy; do
8982 test -z "$ac_dir" && ac_dir
=.
8983 if test -f "$ac_dir/file"; then
8984 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8985 if test -n "$file_magic_test_file"; then
8986 case $deplibs_check_method in
8988 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8989 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8990 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8991 $EGREP "$file_magic_regex" > /dev
/null
; then
8996 *** Warning: the command libtool uses to detect shared libraries,
8997 *** $file_magic_cmd, produces output that libtool cannot recognize.
8998 *** The result is that libtool may fail to recognize shared libraries
8999 *** as such. This will affect the creation of libtool libraries that
9000 *** depend on shared libraries, but programs linked with such libtool
9001 *** libraries will work regardless of this problem. Nevertheless, you
9002 *** may want to report the problem to your system manager and/or to
9003 *** bug-libtool@gnu.org
9013 MAGIC_CMD
=$lt_save_MAGIC_CMD
9018 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9019 if test -n "$MAGIC_CMD"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9021 $as_echo "$MAGIC_CMD" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9037 # Use C for the default configuration in the libtool script
9041 ac_cpp
='$CPP $CPPFLAGS'
9042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9047 # Source file extension for C test sources.
9050 # Object file extension for compiled C test sources.
9054 # Code to be used in simple compile tests
9055 lt_simple_compile_test_code
="int some_variable = 0;"
9057 # Code to be used in simple link tests
9058 lt_simple_link_test_code
='int main(){return(0);}'
9066 # If no C compiler was specified, use CC.
9069 # If no C compiler flags were specified, use CFLAGS.
9070 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9072 # Allow CC to be a program name with arguments.
9075 # Save the default compiler, since it gets overwritten when the other
9076 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9077 compiler_DEFAULT
=$CC
9079 # save warnings/boilerplate of simple test code
9080 ac_outfile
=conftest.
$ac_objext
9081 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9082 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9083 _lt_compiler_boilerplate
=`cat conftest.err`
9086 ac_outfile
=conftest.
$ac_objext
9087 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9088 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9089 _lt_linker_boilerplate
=`cat conftest.err`
9094 ## There is no encapsulation within the following macros, do not change
9095 ## the running order or otherwise move them around unless you know exactly
9096 ## what you are doing...
9097 if test -n "$compiler"; then
9099 lt_prog_compiler_no_builtin_flag
=
9101 if test yes = "$GCC"; then
9102 case $cc_basename in
9104 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9106 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9110 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9111 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9112 $as_echo_n "(cached) " >&6
9114 lt_cv_prog_compiler_rtti_exceptions
=no
9115 ac_outfile
=conftest.
$ac_objext
9116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9117 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9118 # Insert the option either (1) after the last *FLAGS variable, or
9119 # (2) before a word containing "conftest.", or (3) at the end.
9120 # Note that $ac_compile itself does not contain backslashes and begins
9121 # with a dollar sign (not a hyphen), so the echo should work correctly.
9122 # The option is referenced via a variable to avoid confusing sed.
9123 lt_compile
=`echo "$ac_compile" | $SED \
9124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126 -e 's:$: $lt_compiler_flag:'`
9127 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9128 (eval "$lt_compile" 2>conftest.err
)
9130 cat conftest.err
>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 if (exit $ac_status) && test -s "$ac_outfile"; then
9133 # The compiler can only warn and ignore the option if not recognized
9134 # So say no if there are warnings other than the usual output.
9135 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9136 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9137 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9138 lt_cv_prog_compiler_rtti_exceptions
=yes
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9145 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9147 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9148 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9160 lt_prog_compiler_wl
=
9161 lt_prog_compiler_pic
=
9162 lt_prog_compiler_static
=
9165 if test yes = "$GCC"; then
9166 lt_prog_compiler_wl
='-Wl,'
9167 lt_prog_compiler_static
='-static'
9171 # All AIX code is PIC.
9172 if test ia64
= "$host_cpu"; then
9173 # AIX 5 now supports IA64 processor
9174 lt_prog_compiler_static
='-Bstatic'
9176 lt_prog_compiler_pic
='-fPIC'
9182 # see comment about AmigaOS4 .so support
9183 lt_prog_compiler_pic
='-fPIC'
9186 # FIXME: we need at least 68020 code to build shared libraries, but
9187 # adding the '-m68020' flag to GCC prevents building anything better,
9189 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9194 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9195 # PIC is the default for these OSes.
9198 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9199 # This hack is so that the source file can tell whether it is being
9200 # built for inclusion in a dll (and should export symbols for example).
9201 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9202 # (--disable-auto-import) libraries
9203 lt_prog_compiler_pic
='-DDLL_EXPORT'
9206 lt_prog_compiler_static
='$wl-static'
9211 darwin
* | rhapsody
*)
9212 # PIC is the default on this platform
9213 # Common symbols not allowed in MH_DYLIB files
9214 lt_prog_compiler_pic
='-fno-common'
9218 # PIC is the default for Haiku.
9219 # The "-static" flag exists, but is broken.
9220 lt_prog_compiler_static
=
9224 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9225 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9226 # sets the default TLS model and affects inlining.
9232 lt_prog_compiler_pic
='-fPIC'
9238 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9239 # Instead, we relocate shared libraries at runtime.
9243 # Just because we use GCC doesn't mean we suddenly get shared libraries
9244 # on systems that don't support them.
9245 lt_prog_compiler_can_build_shared
=no
9250 # QNX uses GNU C++, but need to define -shared option too, otherwise
9252 lt_prog_compiler_pic
='-fPIC -shared'
9256 if test -d /usr
/nec
; then
9257 lt_prog_compiler_pic
=-Kconform_pic
9262 lt_prog_compiler_pic
='-fPIC'
9266 case $cc_basename in
9267 nvcc
*) # Cuda Compiler Driver 2.2
9268 lt_prog_compiler_wl
='-Xlinker '
9269 if test -n "$lt_prog_compiler_pic"; then
9270 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9275 # PORTME Check for flag to pass linker flags through the system compiler.
9278 lt_prog_compiler_wl
='-Wl,'
9279 if test ia64
= "$host_cpu"; then
9280 # AIX 5 now supports IA64 processor
9281 lt_prog_compiler_static
='-Bstatic'
9283 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9287 darwin
* | rhapsody
*)
9288 # PIC is the default on this platform
9289 # Common symbols not allowed in MH_DYLIB files
9290 lt_prog_compiler_pic
='-fno-common'
9291 case $cc_basename in
9293 # NAG Fortran compiler
9294 lt_prog_compiler_wl
='-Wl,-Wl,,'
9295 lt_prog_compiler_pic
='-PIC'
9296 lt_prog_compiler_static
='-Bstatic'
9301 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9302 # This hack is so that the source file can tell whether it is being
9303 # built for inclusion in a dll (and should export symbols for example).
9304 lt_prog_compiler_pic
='-DDLL_EXPORT'
9307 lt_prog_compiler_static
='$wl-static'
9312 hpux9
* | hpux10
* | hpux11
*)
9313 lt_prog_compiler_wl
='-Wl,'
9314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9321 lt_prog_compiler_pic
='+Z'
9324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9325 lt_prog_compiler_static
='$wl-a ${wl}archive'
9328 irix5
* | irix6
* | nonstopux
*)
9329 lt_prog_compiler_wl
='-Wl,'
9330 # PIC (with -KPIC) is the default.
9331 lt_prog_compiler_static
='-non_shared'
9334 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9335 case $cc_basename in
9336 # old Intel for x86_64, which still supported -KPIC.
9338 lt_prog_compiler_wl
='-Wl,'
9339 lt_prog_compiler_pic
='-KPIC'
9340 lt_prog_compiler_static
='-static'
9342 # icc used to be incompatible with GCC.
9343 # ICC 10 doesn't accept -KPIC any more.
9345 lt_prog_compiler_wl
='-Wl,'
9346 lt_prog_compiler_pic
='-fPIC'
9347 lt_prog_compiler_static
='-static'
9349 # Lahey Fortran 8.1.
9351 lt_prog_compiler_wl
='-Wl,'
9352 lt_prog_compiler_pic
='--shared'
9353 lt_prog_compiler_static
='--static'
9356 # NAG Fortran compiler
9357 lt_prog_compiler_wl
='-Wl,-Wl,,'
9358 lt_prog_compiler_pic
='-PIC'
9359 lt_prog_compiler_static
='-Bstatic'
9362 # Fabrice Bellard et al's Tiny C Compiler
9363 lt_prog_compiler_wl
='-Wl,'
9364 lt_prog_compiler_pic
='-fPIC'
9365 lt_prog_compiler_static
='-static'
9367 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9368 # Portland Group compilers (*not* the Pentium gcc compiler,
9369 # which looks to be a dead project)
9370 lt_prog_compiler_wl
='-Wl,'
9371 lt_prog_compiler_pic
='-fpic'
9372 lt_prog_compiler_static
='-Bstatic'
9375 lt_prog_compiler_wl
='-Wl,'
9376 # All Alpha code is PIC.
9377 lt_prog_compiler_static
='-non_shared'
9379 xl
* | bgxl
* | bgf
* | mpixl
*)
9380 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9381 lt_prog_compiler_wl
='-Wl,'
9382 lt_prog_compiler_pic
='-qpic'
9383 lt_prog_compiler_static
='-qstaticlink'
9386 case `$CC -V 2>&1 | sed 5q` in
9387 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9388 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9389 lt_prog_compiler_pic
='-KPIC'
9390 lt_prog_compiler_static
='-Bstatic'
9391 lt_prog_compiler_wl
=''
9393 *Sun\ F
* |
*Sun
*Fortran
*)
9394 lt_prog_compiler_pic
='-KPIC'
9395 lt_prog_compiler_static
='-Bstatic'
9396 lt_prog_compiler_wl
='-Qoption ld '
9400 lt_prog_compiler_pic
='-KPIC'
9401 lt_prog_compiler_static
='-Bstatic'
9402 lt_prog_compiler_wl
='-Wl,'
9404 *Intel
*\
[CF
]*Compiler
*)
9405 lt_prog_compiler_wl
='-Wl,'
9406 lt_prog_compiler_pic
='-fPIC'
9407 lt_prog_compiler_static
='-static'
9410 lt_prog_compiler_wl
='-Wl,'
9411 lt_prog_compiler_pic
='-fpic'
9412 lt_prog_compiler_static
='-Bstatic'
9420 lt_prog_compiler_pic
='-KPIC'
9421 lt_prog_compiler_static
='-Bstatic'
9425 # QNX uses GNU C++, but need to define -shared option too, otherwise
9427 lt_prog_compiler_pic
='-fPIC -shared'
9430 osf3
* | osf4
* | osf5
*)
9431 lt_prog_compiler_wl
='-Wl,'
9432 # All OSF/1 code is PIC.
9433 lt_prog_compiler_static
='-non_shared'
9437 lt_prog_compiler_static
='-non_shared'
9441 lt_prog_compiler_pic
='-KPIC'
9442 lt_prog_compiler_static
='-Bstatic'
9443 case $cc_basename in
9444 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9445 lt_prog_compiler_wl
='-Qoption ld ';;
9447 lt_prog_compiler_wl
='-Wl,';;
9452 lt_prog_compiler_wl
='-Qoption ld '
9453 lt_prog_compiler_pic
='-PIC'
9454 lt_prog_compiler_static
='-Bstatic'
9457 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9458 lt_prog_compiler_wl
='-Wl,'
9459 lt_prog_compiler_pic
='-KPIC'
9460 lt_prog_compiler_static
='-Bstatic'
9464 if test -d /usr
/nec
; then
9465 lt_prog_compiler_pic
='-Kconform_pic'
9466 lt_prog_compiler_static
='-Bstatic'
9470 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9471 lt_prog_compiler_wl
='-Wl,'
9472 lt_prog_compiler_pic
='-KPIC'
9473 lt_prog_compiler_static
='-Bstatic'
9477 lt_prog_compiler_wl
='-Wl,'
9478 lt_prog_compiler_can_build_shared
=no
9482 lt_prog_compiler_pic
='-pic'
9483 lt_prog_compiler_static
='-Bstatic'
9487 lt_prog_compiler_can_build_shared
=no
9493 # For platforms that do not support PIC, -DPIC is meaningless:
9495 lt_prog_compiler_pic
=
9498 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9504 if ${lt_cv_prog_compiler_pic+:} false
; then :
9505 $as_echo_n "(cached) " >&6
9507 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9510 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9511 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9514 # Check to make sure the PIC flag actually works.
9516 if test -n "$lt_prog_compiler_pic"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9518 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9519 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9520 $as_echo_n "(cached) " >&6
9522 lt_cv_prog_compiler_pic_works
=no
9523 ac_outfile
=conftest.
$ac_objext
9524 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9525 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9526 # Insert the option either (1) after the last *FLAGS variable, or
9527 # (2) before a word containing "conftest.", or (3) at the end.
9528 # Note that $ac_compile itself does not contain backslashes and begins
9529 # with a dollar sign (not a hyphen), so the echo should work correctly.
9530 # The option is referenced via a variable to avoid confusing sed.
9531 lt_compile
=`echo "$ac_compile" | $SED \
9532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534 -e 's:$: $lt_compiler_flag:'`
9535 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536 (eval "$lt_compile" 2>conftest.err
)
9538 cat conftest.err
>&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 if (exit $ac_status) && test -s "$ac_outfile"; then
9541 # The compiler can only warn and ignore the option if not recognized
9542 # So say no if there are warnings other than the usual output.
9543 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9544 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9545 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9546 lt_cv_prog_compiler_pic_works
=yes
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9553 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9555 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9556 case $lt_prog_compiler_pic in
9558 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9561 lt_prog_compiler_pic
=
9562 lt_prog_compiler_can_build_shared
=no
9578 # Check to make sure the static flag actually works.
9580 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9582 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9583 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9584 $as_echo_n "(cached) " >&6
9586 lt_cv_prog_compiler_static_works
=no
9587 save_LDFLAGS
=$LDFLAGS
9588 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9589 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9590 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9591 # The linker can only warn and ignore the option if not recognized
9592 # So say no if there are warnings
9593 if test -s conftest.err
; then
9594 # Append any errors to the config.log.
9595 cat conftest.err
1>&5
9596 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9597 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9598 if diff conftest.exp conftest.er2
>/dev
/null
; then
9599 lt_cv_prog_compiler_static_works
=yes
9602 lt_cv_prog_compiler_static_works
=yes
9606 LDFLAGS
=$save_LDFLAGS
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9610 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9612 if test yes = "$lt_cv_prog_compiler_static_works"; then
9615 lt_prog_compiler_static
=
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9625 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9626 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9627 $as_echo_n "(cached) " >&6
9629 lt_cv_prog_compiler_c_o
=no
9630 $RM -r conftest
2>/dev
/null
9634 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9636 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9637 # Insert the option either (1) after the last *FLAGS variable, or
9638 # (2) before a word containing "conftest.", or (3) at the end.
9639 # Note that $ac_compile itself does not contain backslashes and begins
9640 # with a dollar sign (not a hyphen), so the echo should work correctly.
9641 lt_compile
=`echo "$ac_compile" | $SED \
9642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9644 -e 's:$: $lt_compiler_flag:'`
9645 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9646 (eval "$lt_compile" 2>out
/conftest.err
)
9648 cat out
/conftest.err
>&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9652 # The compiler can only warn and ignore the option if not recognized
9653 # So say no if there are warnings
9654 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9655 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9656 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9657 lt_cv_prog_compiler_c_o
=yes
9662 # SGI C++ compiler will create directory out/ii_files/ for
9663 # template instantiation
9664 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9665 $RM out
/* && rmdir out
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9672 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9681 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9682 $as_echo_n "(cached) " >&6
9684 lt_cv_prog_compiler_c_o
=no
9685 $RM -r conftest
2>/dev
/null
9689 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9691 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9692 # Insert the option either (1) after the last *FLAGS variable, or
9693 # (2) before a word containing "conftest.", or (3) at the end.
9694 # Note that $ac_compile itself does not contain backslashes and begins
9695 # with a dollar sign (not a hyphen), so the echo should work correctly.
9696 lt_compile
=`echo "$ac_compile" | $SED \
9697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9699 -e 's:$: $lt_compiler_flag:'`
9700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9701 (eval "$lt_compile" 2>out
/conftest.err
)
9703 cat out
/conftest.err
>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9707 # The compiler can only warn and ignore the option if not recognized
9708 # So say no if there are warnings
9709 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9710 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9711 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9712 lt_cv_prog_compiler_c_o
=yes
9717 # SGI C++ compiler will create directory out/ii_files/ for
9718 # template instantiation
9719 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9720 $RM out
/* && rmdir out
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9727 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9732 hard_links
=nottested
9733 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9734 # do not overwrite the value of need_locks provided by the user
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9736 $as_echo_n "checking if we can lock with hard links... " >&6; }
9739 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9741 ln conftest.a conftest.b
2>&5 || hard_links
=no
9742 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9744 $as_echo "$hard_links" >&6; }
9745 if test no
= "$hard_links"; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9747 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9760 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9763 allow_undefined_flag
=
9764 always_export_symbols
=no
9766 archive_expsym_cmds
=
9767 compiler_needs_object
=no
9768 enable_shared_with_static_runtimes
=no
9769 export_dynamic_flag_spec
=
9770 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9771 hardcode_automatic
=no
9773 hardcode_direct_absolute
=no
9774 hardcode_libdir_flag_spec
=
9775 hardcode_libdir_separator
=
9777 hardcode_shlibpath_var
=unsupported
9779 link_all_deplibs
=unknown
9782 old_archive_from_new_cmds
=
9783 old_archive_from_expsyms_cmds
=
9784 thread_safe_flag_spec
=
9785 whole_archive_flag_spec
=
9786 # include_expsyms should be a list of space-separated symbols to be *always*
9787 # included in the symbol list
9789 # exclude_expsyms can be an extended regexp of symbols to exclude
9790 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9791 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9792 # as well as any symbol that contains 'd'.
9793 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9794 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9795 # platforms (ab)use it in PIC code, but their linkers get confused if
9796 # the symbol is explicitly referenced. Since portable code cannot
9797 # rely on this symbol name, it's probably fine to never include it in
9798 # preloaded symbol tables.
9799 # Exclude shared library initialization/finalization symbols.
9800 extract_expsyms_cmds
=
9803 cygwin
* | mingw
* | pw32
* | cegcc
*)
9804 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9805 # When not using gcc, we currently assume that we are using
9806 # Microsoft Visual C++.
9807 if test yes != "$GCC"; then
9812 # we just hope/assume this is gcc and not c89 (= MSVC++)
9818 linux
* | k
*bsd
*-gnu | gnu
*)
9825 # On some targets, GNU ld is compatible enough with the native linker
9826 # that we're better off using the native interface for both.
9827 lt_use_gnu_ld_interface
=no
9828 if test yes = "$with_gnu_ld"; then
9831 # The AIX port of GNU ld has always aspired to compatibility
9832 # with the native linker. However, as the warning in the GNU ld
9833 # block says, versions before 2.19.5* couldn't really create working
9834 # shared libraries, regardless of the interface used.
9835 case `$LD -v 2>&1` in
9836 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9837 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9838 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9840 lt_use_gnu_ld_interface
=yes
9845 lt_use_gnu_ld_interface
=yes
9850 if test yes = "$lt_use_gnu_ld_interface"; then
9851 # If archive_cmds runs LD, not CC, wlarc should be empty
9854 # Set some defaults for GNU ld with shared library support. These
9855 # are reset later if shared libraries are not supported. Putting them
9856 # here allows them to be overridden if necessary.
9857 runpath_var
=LD_RUN_PATH
9858 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9859 export_dynamic_flag_spec
='$wl--export-dynamic'
9860 # ancient GNU ld didn't support --whole-archive et. al.
9861 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9862 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9864 whole_archive_flag_spec
=
9866 supports_anon_versioning
=no
9867 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9868 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9869 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9870 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9871 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9872 *\
2.11.
*) ;; # other 2.11 versions
9873 *) supports_anon_versioning
=yes ;;
9876 # See if GNU ld supports shared libraries.
9879 # On AIX/PPC, the GNU linker is very broken
9880 if test ia64
!= "$host_cpu"; then
9884 *** Warning: the GNU linker, at least up to release 2.19, is reported
9885 *** to be unable to reliably create shared libraries on AIX.
9886 *** Therefore, libtool is disabling shared libraries support. If you
9887 *** really care for shared libraries, you may want to install binutils
9888 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9889 *** You will then need to restart the configuration process.
9898 # see comment about AmigaOS4 .so support
9899 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9900 archive_expsym_cmds
=''
9903 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)'
9904 hardcode_libdir_flag_spec
='-L$libdir'
9905 hardcode_minus_L
=yes
9911 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9912 allow_undefined_flag
=unsupported
9913 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9914 # support --undefined. This deserves some investigation. FIXME
9915 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9921 cygwin
* | mingw
* | pw32
* | cegcc
*)
9922 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9923 # as there is no search path for DLLs.
9924 hardcode_libdir_flag_spec
='-L$libdir'
9925 export_dynamic_flag_spec
='$wl--export-all-symbols'
9926 allow_undefined_flag
=unsupported
9927 always_export_symbols
=no
9928 enable_shared_with_static_runtimes
=yes
9929 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'
9930 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9932 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9933 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9934 # If the export-symbols file already is a .def file, use it as
9935 # is; otherwise, prepend EXPORTS...
9936 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9937 cp $export_symbols $output_objdir/$soname.def;
9939 echo EXPORTS > $output_objdir/$soname.def;
9940 cat $export_symbols >> $output_objdir/$soname.def;
9942 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9949 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9950 link_all_deplibs
=yes
9954 hardcode_libdir_flag_spec
='-L$libdir'
9955 hardcode_minus_L
=yes
9956 allow_undefined_flag
=unsupported
9958 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9959 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9960 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9961 $ECHO EXPORTS >> $output_objdir/$libname.def~
9962 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9963 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9964 emximp -o $lib $output_objdir/$libname.def'
9965 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9966 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9967 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9968 $ECHO EXPORTS >> $output_objdir/$libname.def~
9970 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9971 prefix_cmds="$prefix_cmds -e 1d";
9973 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9974 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9975 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9976 emximp -o $lib $output_objdir/$libname.def'
9977 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9978 enable_shared_with_static_runtimes
=yes
9983 hardcode_shlibpath_var
=no
9984 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9985 export_dynamic_flag_spec
='$wl-E'
9986 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9987 # Instead, shared libraries are loaded at an image base (0x10000000 by
9988 # default) and relocated if they conflict, which is a slow very memory
9989 # consuming and fragmenting process. To avoid this, we pick a random,
9990 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9991 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9992 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9993 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'
9996 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9998 if test linux-dietlibc
= "$host_os"; then
9999 case $cc_basename in
10000 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10003 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10004 && test no
= "$tmp_diet"
10006 tmp_addflag
=' $pic_flag'
10007 tmp_sharedflag
='-shared'
10008 case $cc_basename,$host_cpu in
10009 pgcc
*) # Portland Group C compiler
10010 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'
10011 tmp_addflag
=' $pic_flag'
10013 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10014 # Portland Group f77 and f90 compilers
10015 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'
10016 tmp_addflag
=' $pic_flag -Mnomain' ;;
10017 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10018 tmp_addflag
=' -i_dynamic' ;;
10019 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10020 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10021 ifc
* | ifort
*) # Intel Fortran compiler
10022 tmp_addflag
=' -nofor_main' ;;
10023 lf95
*) # Lahey Fortran 8.1
10024 whole_archive_flag_spec
=
10025 tmp_sharedflag
='--shared' ;;
10026 nagfor
*) # NAGFOR 5.3
10027 tmp_sharedflag
='-Wl,-shared' ;;
10028 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10029 tmp_sharedflag
='-qmkshrobj'
10031 nvcc
*) # Cuda Compiler Driver 2.2
10032 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'
10033 compiler_needs_object
=yes
10036 case `$CC -V 2>&1 | sed 5q` in
10037 *Sun\ C
*) # Sun C 5.9
10038 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'
10039 compiler_needs_object
=yes
10040 tmp_sharedflag
='-G' ;;
10041 *Sun\ F
*) # Sun Fortran 8.3
10042 tmp_sharedflag
='-G' ;;
10044 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10046 if test yes = "$supports_anon_versioning"; then
10047 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10048 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10049 echo "local: *; };" >> $output_objdir/$libname.ver~
10050 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10053 case $cc_basename in
10055 export_dynamic_flag_spec
='-rdynamic'
10057 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10058 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10059 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10060 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10061 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10062 if test yes = "$supports_anon_versioning"; then
10063 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10064 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10065 echo "local: *; };" >> $output_objdir/$libname.ver~
10066 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10075 netbsd
* | netbsdelf
*-gnu)
10076 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10077 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10080 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10081 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10086 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10090 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10091 *** create shared libraries on Solaris systems. Therefore, libtool
10092 *** is disabling shared libraries support. We urge you to upgrade GNU
10093 *** binutils to release 2.9.1 or newer. Another option is to modify
10094 *** your PATH or compiler configuration so that the native linker is
10095 *** used, and then restart.
10098 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10099 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10100 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10106 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10107 case `$LD -v 2>&1` in
10108 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10112 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10113 *** reliably create shared libraries on SCO systems. Therefore, libtool
10114 *** is disabling shared libraries support. We urge you to upgrade GNU
10115 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10116 *** your PATH or compiler configuration so that the native linker is
10117 *** used, and then restart.
10122 # For security reasons, it is highly recommended that you always
10123 # use absolute paths for naming shared libraries, and exclude the
10124 # DT_RUNPATH tag from executables and libraries. But doing so
10125 # requires that you compile everything twice, which is a pain.
10126 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10127 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10128 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10129 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10138 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct
=yes
10141 hardcode_shlibpath_var
=no
10145 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10146 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10147 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10154 if test no
= "$ld_shlibs"; then
10156 hardcode_libdir_flag_spec
=
10157 export_dynamic_flag_spec
=
10158 whole_archive_flag_spec
=
10161 # PORTME fill in a description of your system's linker (not GNU ld)
10164 allow_undefined_flag
=unsupported
10165 always_export_symbols
=yes
10166 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'
10167 # Note: this linker hardcodes the directories in LIBPATH if there
10168 # are no directories specified by -L.
10169 hardcode_minus_L
=yes
10170 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10171 # Neither direct hardcoding nor static linking is supported with a
10173 hardcode_direct
=unsupported
10178 if test ia64
= "$host_cpu"; then
10179 # On IA64, the linker does run time linking by default, so we don't
10180 # have to do anything special.
10181 aix_use_runtimelinking
=no
10182 exp_sym_flag
='-Bexport'
10185 # If we're using GNU nm, then we don't want the "-C" option.
10186 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10187 # Without the "-l" option, or with the "-B" option, AIX nm treats
10188 # weak defined symbols like other global defined symbols, whereas
10189 # GNU nm marks them as "W".
10190 # While the 'weak' keyword is ignored in the Export File, we need
10191 # it in the Import File for the 'aix-soname' feature, so we have
10192 # to replace the "-B" option with "-P" for AIX nm.
10193 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10194 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10196 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10198 aix_use_runtimelinking
=no
10200 # Test if we are trying to use run time linking or normal
10201 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10202 # have runtime linking enabled, and use it for executables.
10203 # For shared libraries, we enable/disable runtime linking
10204 # depending on the kind of the shared library created -
10205 # when "with_aix_soname,aix_use_runtimelinking" is:
10206 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10207 # "aix,yes" lib.so shared, rtl:yes, for executables
10208 # lib.a static archive
10209 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10210 # lib.a(lib.so.V) shared, rtl:no, for executables
10211 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10212 # lib.a(lib.so.V) shared, rtl:no
10213 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10214 # lib.a static archive
10215 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10216 for ld_flag
in $LDFLAGS; do
10217 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10218 aix_use_runtimelinking
=yes
10222 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10223 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10224 # so we don't have lib.a shared libs to link our executables.
10225 # We have to force runtime linking in this case.
10226 aix_use_runtimelinking
=yes
10227 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10232 exp_sym_flag
='-bexport'
10233 no_entry_flag
='-bnoentry'
10236 # When large executables or shared objects are built, AIX ld can
10237 # have problems creating the table of contents. If linking a library
10238 # or program results in "error TOC overflow" add -mminimal-toc to
10239 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10240 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10243 hardcode_direct
=yes
10244 hardcode_direct_absolute
=yes
10245 hardcode_libdir_separator
=':'
10246 link_all_deplibs
=yes
10247 file_list_spec
='$wl-f,'
10248 case $with_aix_soname,$aix_use_runtimelinking in
10249 aix
,*) ;; # traditional, no import file
10250 svr4
,* |
*,yes) # use import file
10251 # The Import File defines what to hardcode.
10253 hardcode_direct_absolute
=no
10257 if test yes = "$GCC"; then
10258 case $host_os in aix4.
[012]|aix4.
[012].
*)
10259 # We only want to do this on AIX 4.2 and lower, the check
10260 # below for broken collect2 doesn't work under 4.3+
10261 collect2name
=`$CC -print-prog-name=collect2`
10262 if test -f "$collect2name" &&
10263 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10265 # We have reworked collect2
10268 # We have old collect2
10269 hardcode_direct
=unsupported
10270 # It fails to find uninstalled libraries when the uninstalled
10271 # path is not listed in the libpath. Setting hardcode_minus_L
10272 # to unsupported forces relinking
10273 hardcode_minus_L
=yes
10274 hardcode_libdir_flag_spec
='-L$libdir'
10275 hardcode_libdir_separator
=
10279 shared_flag
='-shared'
10280 if test yes = "$aix_use_runtimelinking"; then
10281 shared_flag
="$shared_flag "'$wl-G'
10283 # Need to ensure runtime linking is disabled for the traditional
10284 # shared library, or the linker may eventually find shared libraries
10285 # /with/ Import File - we do not want to mix them.
10286 shared_flag_aix
='-shared'
10287 shared_flag_svr4
='-shared $wl-G'
10290 if test ia64
= "$host_cpu"; then
10291 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10292 # chokes on -Wl,-G. The following line is correct:
10295 if test yes = "$aix_use_runtimelinking"; then
10296 shared_flag
='$wl-G'
10298 shared_flag
='$wl-bM:SRE'
10300 shared_flag_aix
='$wl-bM:SRE'
10301 shared_flag_svr4
='$wl-G'
10305 export_dynamic_flag_spec
='$wl-bexpall'
10306 # It seems that -bexpall does not export symbols beginning with
10307 # underscore (_), so it is better to generate a list of symbols to export.
10308 always_export_symbols
=yes
10309 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10310 # Warning - without using the other runtime loading flags (-brtl),
10311 # -berok will link without error, but may produce a broken library.
10312 allow_undefined_flag
='-berok'
10313 # Determine the default libpath from the value encoded in an
10314 # empty executable.
10315 if test set = "${lt_cv_aix_libpath+set}"; then
10316 aix_libpath
=$lt_cv_aix_libpath
10318 if ${lt_cv_aix_libpath_+:} false
; then :
10319 $as_echo_n "(cached) " >&6
10321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10332 if ac_fn_c_try_link
"$LINENO"; then :
10334 lt_aix_libpath_sed
='
10335 /Import File Strings/,/^$/ {
10337 s/^0 *\([^ ]*\) *$/\1/
10341 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10342 # Check for a 64-bit object if we didn't find anything.
10343 if test -z "$lt_cv_aix_libpath_"; then
10344 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10347 rm -f core conftest.err conftest.
$ac_objext \
10348 conftest
$ac_exeext conftest.
$ac_ext
10349 if test -z "$lt_cv_aix_libpath_"; then
10350 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10355 aix_libpath
=$lt_cv_aix_libpath_
10358 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10359 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10361 if test ia64
= "$host_cpu"; then
10362 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10363 allow_undefined_flag
="-z nodefs"
10364 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"
10366 # Determine the default libpath from the value encoded in an
10367 # empty executable.
10368 if test set = "${lt_cv_aix_libpath+set}"; then
10369 aix_libpath
=$lt_cv_aix_libpath
10371 if ${lt_cv_aix_libpath_+:} false
; then :
10372 $as_echo_n "(cached) " >&6
10374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10385 if ac_fn_c_try_link
"$LINENO"; then :
10387 lt_aix_libpath_sed
='
10388 /Import File Strings/,/^$/ {
10390 s/^0 *\([^ ]*\) *$/\1/
10394 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10395 # Check for a 64-bit object if we didn't find anything.
10396 if test -z "$lt_cv_aix_libpath_"; then
10397 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10400 rm -f core conftest.err conftest.
$ac_objext \
10401 conftest
$ac_exeext conftest.
$ac_ext
10402 if test -z "$lt_cv_aix_libpath_"; then
10403 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10408 aix_libpath
=$lt_cv_aix_libpath_
10411 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10412 # Warning - without using the other run time loading flags,
10413 # -berok will link without error, but may produce a broken library.
10414 no_undefined_flag
=' $wl-bernotok'
10415 allow_undefined_flag
=' $wl-berok'
10416 if test yes = "$with_gnu_ld"; then
10417 # We only use this code for GNU lds that support --whole-archive.
10418 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10420 # Exported symbols can be pulled into shared objects from archives
10421 whole_archive_flag_spec
='$convenience'
10423 archive_cmds_need_lc
=yes
10424 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10425 # -brtl affects multiple linker settings, -berok does not and is overridden later
10426 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10427 if test svr4
!= "$with_aix_soname"; then
10428 # This is similar to how AIX traditionally builds its shared libraries.
10429 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10431 if test aix
!= "$with_aix_soname"; then
10432 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10434 # used by -dlpreopen to get the symbols
10435 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10437 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10445 # see comment about AmigaOS4 .so support
10446 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10447 archive_expsym_cmds
=''
10450 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)'
10451 hardcode_libdir_flag_spec
='-L$libdir'
10452 hardcode_minus_L
=yes
10458 export_dynamic_flag_spec
=-rdynamic
10461 cygwin
* | mingw
* | pw32
* | cegcc
*)
10462 # When not using gcc, we currently assume that we are using
10463 # Microsoft Visual C++.
10464 # hardcode_libdir_flag_spec is actually meaningless, as there is
10465 # no search path for DLLs.
10466 case $cc_basename in
10469 hardcode_libdir_flag_spec
=' '
10470 allow_undefined_flag
=unsupported
10471 always_export_symbols
=yes
10473 # Tell ltmain to make .lib files, not .a files.
10475 # Tell ltmain to make .dll files, not .so files.
10477 # FIXME: Setting linknames here is a bad hack.
10478 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10479 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10480 cp "$export_symbols" "$output_objdir/$soname.def";
10481 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10483 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10485 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10487 # The linker will not automatically build a static lib if we build a DLL.
10488 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10489 enable_shared_with_static_runtimes
=yes
10490 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10491 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10493 old_postinstall_cmds
='chmod 644 $oldlib'
10494 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10495 lt_tool_outputfile="@TOOL_OUTPUT@"~
10496 case $lt_outputfile in
10499 lt_outputfile=$lt_outputfile.exe
10500 lt_tool_outputfile=$lt_tool_outputfile.exe
10503 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10504 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10505 $RM "$lt_outputfile.manifest";
10509 # Assume MSVC wrapper
10510 hardcode_libdir_flag_spec
=' '
10511 allow_undefined_flag
=unsupported
10512 # Tell ltmain to make .lib files, not .a files.
10514 # Tell ltmain to make .dll files, not .so files.
10516 # FIXME: Setting linknames here is a bad hack.
10517 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10518 # The linker will automatically build a .lib file if we build a DLL.
10519 old_archive_from_new_cmds
='true'
10520 # FIXME: Should let the user specify the lib program.
10521 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10522 enable_shared_with_static_runtimes
=yes
10527 darwin
* | rhapsody
*)
10530 archive_cmds_need_lc
=no
10532 hardcode_automatic
=yes
10533 hardcode_shlibpath_var
=unsupported
10534 if test yes = "$lt_cv_ld_force_load"; then
10535 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\"`'
10538 whole_archive_flag_spec
=''
10540 link_all_deplibs
=yes
10541 allow_undefined_flag
=$_lt_dar_allow_undefined
10542 case $cc_basename in
10543 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10544 *) _lt_dar_can_shared
=$GCC ;;
10546 if test yes = "$_lt_dar_can_shared"; then
10547 output_verbose_link_cmd
=func_echo_all
10548 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10549 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10550 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"
10551 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"
10560 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10561 hardcode_libdir_flag_spec
='-L$libdir'
10562 hardcode_shlibpath_var
=no
10565 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10566 # support. Future versions do this automatically, but an explicit c++rt0.o
10567 # does not break anything, and helps significantly (at the cost of a little
10570 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10571 hardcode_libdir_flag_spec
='-R$libdir'
10572 hardcode_direct
=yes
10573 hardcode_shlibpath_var
=no
10576 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10578 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10579 hardcode_direct
=yes
10580 hardcode_minus_L
=yes
10581 hardcode_shlibpath_var
=no
10584 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10585 freebsd
* | dragonfly
*)
10586 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10587 hardcode_libdir_flag_spec
='-R$libdir'
10588 hardcode_direct
=yes
10589 hardcode_shlibpath_var
=no
10593 if test yes = "$GCC"; then
10594 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10596 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10598 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10599 hardcode_libdir_separator
=:
10600 hardcode_direct
=yes
10602 # hardcode_minus_L: Not really in the search PATH,
10603 # but as the default location of the library.
10604 hardcode_minus_L
=yes
10605 export_dynamic_flag_spec
='$wl-E'
10609 if test yes,no
= "$GCC,$with_gnu_ld"; then
10610 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10614 if test no
= "$with_gnu_ld"; then
10615 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10616 hardcode_libdir_separator
=:
10617 hardcode_direct
=yes
10618 hardcode_direct_absolute
=yes
10619 export_dynamic_flag_spec
='$wl-E'
10620 # hardcode_minus_L: Not really in the search PATH,
10621 # but as the default location of the library.
10622 hardcode_minus_L
=yes
10627 if test yes,no
= "$GCC,$with_gnu_ld"; then
10630 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10633 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10636 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10642 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10645 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10649 # Older versions of the 11.00 compiler do not understand -b yet
10650 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10652 $as_echo_n "checking if $CC understands -b... " >&6; }
10653 if ${lt_cv_prog_compiler__b+:} false
; then :
10654 $as_echo_n "(cached) " >&6
10656 lt_cv_prog_compiler__b
=no
10657 save_LDFLAGS
=$LDFLAGS
10658 LDFLAGS
="$LDFLAGS -b"
10659 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10660 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10661 # The linker can only warn and ignore the option if not recognized
10662 # So say no if there are warnings
10663 if test -s conftest.err
; then
10664 # Append any errors to the config.log.
10665 cat conftest.err
1>&5
10666 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10667 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10668 if diff conftest.exp conftest.er2
>/dev
/null
; then
10669 lt_cv_prog_compiler__b
=yes
10672 lt_cv_prog_compiler__b
=yes
10676 LDFLAGS
=$save_LDFLAGS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10680 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10682 if test yes = "$lt_cv_prog_compiler__b"; then
10683 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10691 if test no
= "$with_gnu_ld"; then
10692 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10693 hardcode_libdir_separator
=:
10698 hardcode_shlibpath_var
=no
10701 hardcode_direct
=yes
10702 hardcode_direct_absolute
=yes
10703 export_dynamic_flag_spec
='$wl-E'
10705 # hardcode_minus_L: Not really in the search PATH,
10706 # but as the default location of the library.
10707 hardcode_minus_L
=yes
10713 irix5
* | irix6
* | nonstopux
*)
10714 if test yes = "$GCC"; then
10715 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'
10716 # Try to use the -exported_symbol ld option, if it does not
10717 # work, assume that -exports_file does not work either and
10718 # implicitly export all symbols.
10719 # This should be the same for all languages, so no per-tag cache variable.
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10721 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10722 if ${lt_cv_irix_exported_symbol+:} false
; then :
10723 $as_echo_n "(cached) " >&6
10725 save_LDFLAGS
=$LDFLAGS
10726 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 int foo (void) { return 0; }
10731 if ac_fn_c_try_link
"$LINENO"; then :
10732 lt_cv_irix_exported_symbol
=yes
10734 lt_cv_irix_exported_symbol
=no
10736 rm -f core conftest.err conftest.
$ac_objext \
10737 conftest
$ac_exeext conftest.
$ac_ext
10738 LDFLAGS
=$save_LDFLAGS
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10741 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10742 if test yes = "$lt_cv_irix_exported_symbol"; then
10743 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'
10745 link_all_deplibs
=no
10747 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'
10748 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'
10750 archive_cmds_need_lc
='no'
10751 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10752 hardcode_libdir_separator
=:
10754 link_all_deplibs
=yes
10758 case $cc_basename in
10760 # Fabrice Bellard et al's Tiny C Compiler
10762 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10767 netbsd
* | netbsdelf
*-gnu)
10768 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10769 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10771 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10773 hardcode_libdir_flag_spec
='-R$libdir'
10774 hardcode_direct
=yes
10775 hardcode_shlibpath_var
=no
10779 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10780 hardcode_direct
=yes
10781 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10782 hardcode_libdir_separator
=:
10783 hardcode_shlibpath_var
=no
10789 openbsd
* | bitrig
*)
10790 if test -f /usr
/libexec
/ld.so
; then
10791 hardcode_direct
=yes
10792 hardcode_shlibpath_var
=no
10793 hardcode_direct_absolute
=yes
10794 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10795 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10796 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10797 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10798 export_dynamic_flag_spec
='$wl-E'
10800 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10801 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10809 hardcode_libdir_flag_spec
='-L$libdir'
10810 hardcode_minus_L
=yes
10811 allow_undefined_flag
=unsupported
10813 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10814 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10815 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10816 $ECHO EXPORTS >> $output_objdir/$libname.def~
10817 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10818 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10819 emximp -o $lib $output_objdir/$libname.def'
10820 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10821 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10822 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10823 $ECHO EXPORTS >> $output_objdir/$libname.def~
10824 prefix_cmds="$SED"~
10825 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10826 prefix_cmds="$prefix_cmds -e 1d";
10828 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10829 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10830 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10831 emximp -o $lib $output_objdir/$libname.def'
10832 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10833 enable_shared_with_static_runtimes
=yes
10837 if test yes = "$GCC"; then
10838 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10839 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'
10841 allow_undefined_flag
=' -expect_unresolved \*'
10842 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'
10844 archive_cmds_need_lc
='no'
10845 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10846 hardcode_libdir_separator
=:
10849 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10850 if test yes = "$GCC"; then
10851 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10852 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'
10853 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10855 allow_undefined_flag
=' -expect_unresolved \*'
10856 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'
10857 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~
10858 $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'
10860 # Both c and cxx compiler support -rpath directly
10861 hardcode_libdir_flag_spec
='-rpath $libdir'
10863 archive_cmds_need_lc
='no'
10864 hardcode_libdir_separator
=:
10868 no_undefined_flag
=' -z defs'
10869 if test yes = "$GCC"; then
10871 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10872 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10873 $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'
10875 case `$CC -V 2>&1` in
10878 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10880 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10884 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10885 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10886 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10890 hardcode_libdir_flag_spec
='-R$libdir'
10891 hardcode_shlibpath_var
=no
10893 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10895 # The compiler driver will combine and reorder linker options,
10896 # but understands '-z linker_flag'. GCC discards it without '$wl',
10897 # but is careful enough not to reorder.
10898 # Supported since Solaris 2.6 (maybe 2.5.1?)
10899 if test yes = "$GCC"; then
10900 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10902 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10906 link_all_deplibs
=yes
10910 if test sequent
= "$host_vendor"; then
10911 # Use $CC to link under sequent, because it throws in some extra .o
10912 # files that make .init and .fini sections work.
10913 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10915 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10917 hardcode_libdir_flag_spec
='-L$libdir'
10918 hardcode_direct
=yes
10919 hardcode_minus_L
=yes
10920 hardcode_shlibpath_var
=no
10924 case $host_vendor in
10926 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10927 hardcode_direct
=yes # is this really true???
10930 ## LD is ld it makes a PLAMLIB
10931 ## CC just makes a GrossModule.
10932 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10933 reload_cmds
='$CC -r -o $output$reload_objs'
10937 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10938 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10941 runpath_var
='LD_RUN_PATH'
10942 hardcode_shlibpath_var
=no
10946 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10947 hardcode_shlibpath_var
=no
10948 export_dynamic_flag_spec
='-Bexport'
10952 if test -d /usr
/nec
; then
10953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10954 hardcode_shlibpath_var
=no
10955 runpath_var
=LD_RUN_PATH
10956 hardcode_runpath_var
=yes
10961 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10962 no_undefined_flag
='$wl-z,text'
10963 archive_cmds_need_lc
=no
10964 hardcode_shlibpath_var
=no
10965 runpath_var
='LD_RUN_PATH'
10967 if test yes = "$GCC"; then
10968 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10969 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10976 sysv5
* | sco3.2v5
* | sco5v6
*)
10977 # Note: We CANNOT use -z defs as we might desire, because we do not
10978 # link with -lc, and that would cause any symbols used from libc to
10979 # always be unresolved, which means just about no library would
10980 # ever link correctly. If we're not using GNU ld we use -z text
10981 # though, which does catch some bad symbols but isn't as heavy-handed
10983 no_undefined_flag
='$wl-z,text'
10984 allow_undefined_flag
='$wl-z,nodefs'
10985 archive_cmds_need_lc
=no
10986 hardcode_shlibpath_var
=no
10987 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10988 hardcode_libdir_separator
=':'
10989 link_all_deplibs
=yes
10990 export_dynamic_flag_spec
='$wl-Bexport'
10991 runpath_var
='LD_RUN_PATH'
10993 if test yes = "$GCC"; then
10994 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10995 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10997 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10998 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11003 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11004 hardcode_libdir_flag_spec
='-L$libdir'
11005 hardcode_shlibpath_var
=no
11013 if test sni
= "$host_vendor"; then
11015 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11016 export_dynamic_flag_spec
='$wl-Blargedynsym'
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11023 $as_echo "$ld_shlibs" >&6; }
11024 test no
= "$ld_shlibs" && can_build_shared
=no
11026 with_gnu_ld
=$with_gnu_ld
11043 # Do we need to explicitly link libc?
11045 case "x$archive_cmds_need_lc" in
11047 # Assume -lc should be added
11048 archive_cmds_need_lc
=yes
11050 if test yes,yes = "$GCC,$enable_shared"; then
11051 case $archive_cmds in
11053 # FIXME: we may have to deal with multi-command sequences.
11056 # Test whether the compiler implicitly links with -lc since on some
11057 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11058 # to ld, don't add -lc before -lgcc.
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11060 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11061 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11062 $as_echo_n "(cached) " >&6
11065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11068 (eval $ac_compile) 2>&5
11070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11071 test $ac_status = 0; } 2>conftest.err
; then
11074 libobjs
=conftest.
$ac_objext
11076 wl
=$lt_prog_compiler_wl
11077 pic_flag
=$lt_prog_compiler_pic
11083 lt_save_allow_undefined_flag
=$allow_undefined_flag
11084 allow_undefined_flag
=
11085 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11086 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11089 test $ac_status = 0; }
11091 lt_cv_archive_cmds_need_lc
=no
11093 lt_cv_archive_cmds_need_lc
=yes
11095 allow_undefined_flag
=$lt_save_allow_undefined_flag
11097 cat conftest.err
1>&5
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11103 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11104 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11263 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11265 if test yes = "$GCC"; then
11267 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11268 *) lt_awk_arg
='/^libraries:/' ;;
11271 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11272 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11274 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11275 case $lt_search_path_spec in
11277 # if the path contains ";" then we assume it to be the separator
11278 # otherwise default to the standard path separator (i.e. ":") - it is
11279 # assumed that no part of a normal pathname contains ";" but that should
11280 # okay in the real world where ";" in dirpaths is itself problematic.
11281 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11284 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11287 # Ok, now we have the path, separated by spaces, we can step through it
11288 # and add multilib dir if necessary...
11289 lt_tmp_lt_search_path_spec
=
11290 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11291 # ...but if some path component already ends with the multilib dir we assume
11292 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11293 case "$lt_multi_os_dir; $lt_search_path_spec " in
11294 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11298 for lt_sys_path
in $lt_search_path_spec; do
11299 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11300 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11301 elif test -n "$lt_multi_os_dir"; then
11302 test -d "$lt_sys_path" && \
11303 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11306 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11307 BEGIN {RS = " "; FS = "/|\n";} {
11310 for (lt_i = NF; lt_i > 0; lt_i--) {
11311 if ($lt_i != "" && $lt_i != ".") {
11312 if ($lt_i == "..") {
11315 if (lt_count == 0) {
11316 lt_foo = "/" $lt_i lt_foo;
11323 if (lt_foo != "") { lt_freq[lt_foo]++; }
11324 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11326 # AWK program above erroneously prepends '/' to C:/dos/paths
11329 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11330 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11332 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11334 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11336 library_names_spec
=
11337 libname_spec
='lib$name'
11341 postuninstall_cmds
=
11345 shlibpath_overrides_runpath
=unknown
11347 dynamic_linker
="$host_os ld.so"
11348 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11349 need_lib_prefix
=unknown
11350 hardcode_into_libs
=no
11352 # when you set need_version to no, make sure it does not cause -set_version
11353 # flags to be left without arguments
11354 need_version
=unknown
11360 version_type
=linux
# correct to gnu/linux during the next big refactor
11361 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11362 shlibpath_var
=LIBPATH
11364 # AIX 3 has no versioning support, so we append a major version to the name.
11365 soname_spec
='$libname$release$shared_ext$major'
11369 version_type
=linux
# correct to gnu/linux during the next big refactor
11372 hardcode_into_libs
=yes
11373 if test ia64
= "$host_cpu"; then
11374 # AIX 5 supports IA64
11375 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11376 shlibpath_var
=LD_LIBRARY_PATH
11378 # With GCC up to 2.95.x, collect2 would create an import file
11379 # for dependence libraries. The import file would start with
11380 # the line '#! .'. This would cause the generated library to
11381 # depend on '.', always an invalid library. This was fixed in
11382 # development snapshots of GCC prior to 3.0.
11384 aix4 | aix4.
[01] | aix4.
[01].
*)
11385 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11387 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11390 can_build_shared
=no
11394 # Using Import Files as archive members, it is possible to support
11395 # filename-based versioning of shared library archives on AIX. While
11396 # this would work for both with and without runtime linking, it will
11397 # prevent static linking of such archives. So we do filename-based
11398 # shared library versioning with .so extension only, which is used
11399 # when both runtime linking and shared linking is enabled.
11400 # Unfortunately, runtime linking may impact performance, so we do
11401 # not want this to be the default eventually. Also, we use the
11402 # versioned .so libs for executables only if there is the -brtl
11403 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11404 # To allow for filename-based versioning support, we need to create
11405 # libNAME.so.V as an archive file, containing:
11406 # *) an Import File, referring to the versioned filename of the
11407 # archive as well as the shared archive member, telling the
11408 # bitwidth (32 or 64) of that shared object, and providing the
11409 # list of exported symbols of that shared object, eventually
11410 # decorated with the 'weak' keyword
11411 # *) the shared object with the F_LOADONLY flag set, to really avoid
11412 # it being seen by the linker.
11413 # At run time we better use the real file rather than another symlink,
11414 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11416 case $with_aix_soname,$aix_use_runtimelinking in
11417 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11418 # soname into executable. Probably we can add versioning support to
11419 # collect2, so additional links can be useful in future.
11420 aix
,yes) # traditional libtool
11421 dynamic_linker
='AIX unversionable lib.so'
11422 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11423 # instead of lib<name>.a to let people know that these are not
11424 # typical AIX shared libraries.
11425 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11427 aix
,no
) # traditional AIX only
11428 dynamic_linker
='AIX lib.a(lib.so.V)'
11429 # We preserve .a as extension for shared libraries through AIX4.2
11430 # and later when we are not doing run time linking.
11431 library_names_spec
='$libname$release.a $libname.a'
11432 soname_spec
='$libname$release$shared_ext$major'
11434 svr4
,*) # full svr4 only
11435 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11436 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11437 # We do not specify a path in Import Files, so LIBPATH fires.
11438 shlibpath_overrides_runpath
=yes
11440 *,yes) # both, prefer svr4
11441 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11442 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11443 # unpreferred sharedlib libNAME.a needs extra handling
11444 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11445 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11446 # We do not specify a path in Import Files, so LIBPATH fires.
11447 shlibpath_overrides_runpath
=yes
11449 *,no
) # both, prefer aix
11450 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11451 library_names_spec
='$libname$release.a $libname.a'
11452 soname_spec
='$libname$release$shared_ext$major'
11453 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11454 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11455 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11458 shlibpath_var
=LIBPATH
11465 # Since July 2007 AmigaOS4 officially supports .so libraries.
11466 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11467 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11470 library_names_spec
='$libname.ixlibrary $libname.a'
11471 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11472 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11478 library_names_spec
='$libname$shared_ext'
11479 dynamic_linker
="$host_os ld.so"
11480 shlibpath_var
=LIBRARY_PATH
11484 version_type
=linux
# correct to gnu/linux during the next big refactor
11486 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11487 soname_spec
='$libname$release$shared_ext$major'
11488 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11489 shlibpath_var
=LD_LIBRARY_PATH
11490 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11491 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11492 # the default ld.so.conf also contains /usr/contrib/lib and
11493 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11494 # libtool to hard-code these into programs
11497 cygwin
* | mingw
* | pw32
* | cegcc
*)
11498 version_type
=windows
11503 case $GCC,$cc_basename in
11506 library_names_spec
='$libname.dll.a'
11507 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11508 postinstall_cmds
='base_file=`basename \$file`~
11509 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11510 dldir=$destdir/`dirname \$dlpath`~
11511 test -d \$dldir || mkdir -p \$dldir~
11512 $install_prog $dir/$dlname \$dldir/$dlname~
11513 chmod a+x \$dldir/$dlname~
11514 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11515 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11517 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11518 dlpath=$dir/\$dldll~
11520 shlibpath_overrides_runpath
=yes
11524 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11525 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11527 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11530 # MinGW DLLs use traditional 'lib' prefix
11531 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11534 # pw32 DLLs use 'pw' prefix rather than 'lib'
11535 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11538 dynamic_linker
='Win32 ld.exe'
11543 libname_spec
='$name'
11544 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11545 library_names_spec
='$libname.dll.lib'
11549 sys_lib_search_path_spec
=
11552 for lt_path
in $LIB
11555 # Let DOS variable expansion print the short 8.3 style file name.
11556 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11557 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11560 # Convert to MSYS style.
11561 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11564 # Convert to unix form, then to dos form, then back to unix form
11565 # but this time dos style (no spaces!) so that the unix form looks
11566 # like /cygdrive/c/PROGRA~1:/cygdr...
11567 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11568 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11569 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11572 sys_lib_search_path_spec
=$LIB
11573 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11574 # It is most probably a Windows format PATH.
11575 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11577 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11579 # FIXME: find the short name or the path components, as spaces are
11580 # common. (e.g. "Program Files" -> "PROGRA~1")
11584 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11585 postinstall_cmds
='base_file=`basename \$file`~
11586 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11587 dldir=$destdir/`dirname \$dlpath`~
11588 test -d \$dldir || mkdir -p \$dldir~
11589 $install_prog $dir/$dlname \$dldir/$dlname'
11590 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11591 dlpath=$dir/\$dldll~
11593 shlibpath_overrides_runpath
=yes
11594 dynamic_linker
='Win32 link.exe'
11598 # Assume MSVC wrapper
11599 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11600 dynamic_linker
='Win32 ld.exe'
11603 # FIXME: first we should search . and the directory the executable is in
11607 darwin
* | rhapsody
*)
11608 dynamic_linker
="$host_os dyld"
11609 version_type
=darwin
11612 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11613 soname_spec
='$libname$release$major$shared_ext'
11614 shlibpath_overrides_runpath
=yes
11615 shlibpath_var
=DYLD_LIBRARY_PATH
11616 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11618 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11619 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11623 version_type
=linux
# correct to gnu/linux during the next big refactor
11626 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11627 soname_spec
='$libname$release$shared_ext$major'
11628 shlibpath_var
=LD_LIBRARY_PATH
11631 freebsd
* | dragonfly
*)
11632 # DragonFly does not have aout. When/if they implement a new
11633 # versioning mechanism, adjust this.
11634 if test -x /usr
/bin
/objformat
; then
11635 objformat
=`/usr/bin/objformat`
11638 freebsd
[23].
*) objformat
=aout
;;
11639 *) objformat
=elf
;;
11642 version_type
=freebsd-
$objformat
11643 case $version_type in
11645 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11646 soname_spec
='$libname$release$shared_ext$major'
11651 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11655 shlibpath_var
=LD_LIBRARY_PATH
11658 shlibpath_overrides_runpath
=yes
11660 freebsd3.
[01]* | freebsdelf3.
[01]*)
11661 shlibpath_overrides_runpath
=yes
11662 hardcode_into_libs
=yes
11664 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11665 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11666 shlibpath_overrides_runpath
=no
11667 hardcode_into_libs
=yes
11669 *) # from 4.6 on, and DragonFly
11670 shlibpath_overrides_runpath
=yes
11671 hardcode_into_libs
=yes
11677 version_type
=linux
# correct to gnu/linux during the next big refactor
11680 dynamic_linker
="$host_os runtime_loader"
11681 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11682 soname_spec
='$libname$release$shared_ext$major'
11683 shlibpath_var
=LIBRARY_PATH
11684 shlibpath_overrides_runpath
=no
11685 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11686 hardcode_into_libs
=yes
11689 hpux9
* | hpux10
* | hpux11
*)
11690 # Give a soname corresponding to the major version so that dld.sl refuses to
11691 # link against other versions.
11698 hardcode_into_libs
=yes
11699 dynamic_linker
="$host_os dld.so"
11700 shlibpath_var
=LD_LIBRARY_PATH
11701 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11702 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11703 soname_spec
='$libname$release$shared_ext$major'
11704 if test 32 = "$HPUX_IA64_MODE"; then
11705 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11706 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11708 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11709 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11714 hardcode_into_libs
=yes
11715 dynamic_linker
="$host_os dld.sl"
11716 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11717 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11718 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11719 soname_spec
='$libname$release$shared_ext$major'
11720 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11721 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11725 dynamic_linker
="$host_os dld.sl"
11726 shlibpath_var
=SHLIB_PATH
11727 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11728 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11729 soname_spec
='$libname$release$shared_ext$major'
11732 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11733 postinstall_cmds
='chmod 555 $lib'
11734 # or fails outright, so override atomically:
11735 install_override_mode
=555
11739 version_type
=linux
# correct to gnu/linux during the next big refactor
11742 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11743 soname_spec
='$libname$release$shared_ext$major'
11744 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11745 shlibpath_var
=LD_LIBRARY_PATH
11746 shlibpath_overrides_runpath
=no
11747 hardcode_into_libs
=yes
11750 irix5
* | irix6
* | nonstopux
*)
11752 nonstopux
*) version_type
=nonstopux
;;
11754 if test yes = "$lt_cv_prog_gnu_ld"; then
11755 version_type
=linux
# correct to gnu/linux during the next big refactor
11762 soname_spec
='$libname$release$shared_ext$major'
11763 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11765 irix5
* | nonstopux
*)
11766 libsuff
= shlibsuff
=
11769 case $LD in # libtool.m4 will add one of these switches to LD
11770 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11771 libsuff
= shlibsuff
= libmagic
=32-bit;;
11772 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11773 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11774 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11775 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11776 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11780 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11781 shlibpath_overrides_runpath
=no
11782 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11783 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11784 hardcode_into_libs
=yes
11787 # No shared lib support for Linux oldld, aout, or coff.
11788 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11793 version_type
=none
# Android doesn't support versioned libraries.
11796 library_names_spec
='$libname$release$shared_ext'
11797 soname_spec
='$libname$release$shared_ext'
11799 shlibpath_var
=LD_LIBRARY_PATH
11800 shlibpath_overrides_runpath
=yes
11802 # This implies no fast_install, which is unacceptable.
11803 # Some rework will be needed to allow for fast_install
11804 # before this can be enabled.
11805 hardcode_into_libs
=yes
11807 dynamic_linker
='Android linker'
11808 # Don't embed -rpath directories since the linker doesn't support them.
11809 hardcode_libdir_flag_spec
='-L$libdir'
11812 # This must be glibc/ELF.
11813 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11814 version_type
=linux
# correct to gnu/linux during the next big refactor
11817 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11818 soname_spec
='$libname$release$shared_ext$major'
11819 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11820 shlibpath_var
=LD_LIBRARY_PATH
11821 shlibpath_overrides_runpath
=no
11823 # Some binutils ld are patched to set DT_RUNPATH
11824 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11825 $as_echo_n "(cached) " >&6
11827 lt_cv_shlibpath_overrides_runpath
=no
11828 save_LDFLAGS
=$LDFLAGS
11829 save_libdir
=$libdir
11830 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11831 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11843 if ac_fn_c_try_link
"$LINENO"; then :
11844 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11845 lt_cv_shlibpath_overrides_runpath
=yes
11848 rm -f core conftest.err conftest.
$ac_objext \
11849 conftest
$ac_exeext conftest.
$ac_ext
11850 LDFLAGS
=$save_LDFLAGS
11851 libdir
=$save_libdir
11855 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11857 # This implies no fast_install, which is unacceptable.
11858 # Some rework will be needed to allow for fast_install
11859 # before this can be enabled.
11860 hardcode_into_libs
=yes
11862 # Ideally, we could use ldconfig to report *all* directores which are
11863 # searched for libraries, however this is still not possible. Aside from not
11864 # being certain /sbin/ldconfig is available, command
11865 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11866 # even though it is searched at run-time. Try to do the best guess by
11867 # appending ld.so.conf contents (and includes) to the search path.
11868 if test -f /etc
/ld.so.conf
; then
11869 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' ' '`
11870 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11873 # We used to test for /lib/ld.so.1 and disable shared libraries on
11874 # powerpc, because MkLinux only supported shared libraries with the
11875 # GNU dynamic linker. Since this was broken with cross compilers,
11876 # most powerpc-linux boxes support dynamic linking these days and
11877 # people can always --disable-shared, the test was removed, and we
11878 # assume the GNU/Linux dynamic linker is in use.
11879 dynamic_linker
='GNU/Linux ld.so'
11886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11887 soname_spec
='${libname}${release}${shared_ext}$major'
11888 shlibpath_var
=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath
=no
11890 hardcode_into_libs
=yes
11891 dynamic_linker
='NetBSD ld.elf_so'
11898 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11899 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11901 dynamic_linker
='NetBSD (a.out) ld.so'
11903 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11904 soname_spec
='$libname$release$shared_ext$major'
11905 dynamic_linker
='NetBSD ld.elf_so'
11907 shlibpath_var
=LD_LIBRARY_PATH
11908 shlibpath_overrides_runpath
=yes
11909 hardcode_into_libs
=yes
11913 version_type
=linux
# correct to gnu/linux during the next big refactor
11914 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11915 shlibpath_var
=LD_LIBRARY_PATH
11916 shlibpath_overrides_runpath
=yes
11923 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11924 soname_spec
='$libname$release$shared_ext$major'
11925 shlibpath_var
=LD_LIBRARY_PATH
11926 shlibpath_overrides_runpath
=no
11927 hardcode_into_libs
=yes
11928 dynamic_linker
='ldqnx.so'
11931 openbsd
* | bitrig
*)
11933 sys_lib_dlsearch_path_spec
=/usr
/lib
11935 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11940 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11942 shlibpath_var
=LD_LIBRARY_PATH
11943 shlibpath_overrides_runpath
=yes
11947 libname_spec
='$name'
11948 version_type
=windows
11952 # OS/2 can only load a DLL with a base name of 8 characters or less.
11953 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11954 v=$($ECHO $release$versuffix | tr -d .-);
11955 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11956 $ECHO $n$v`$shared_ext'
11957 library_names_spec
='${libname}_dll.$libext'
11958 dynamic_linker
='OS/2 ld.exe'
11959 shlibpath_var
=BEGINLIBPATH
11960 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11961 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11962 postinstall_cmds
='base_file=`basename \$file`~
11963 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11964 dldir=$destdir/`dirname \$dlpath`~
11965 test -d \$dldir || mkdir -p \$dldir~
11966 $install_prog $dir/$dlname \$dldir/$dlname~
11967 chmod a+x \$dldir/$dlname~
11968 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11969 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11971 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11972 dlpath=$dir/\$dldll~
11976 osf3
* | osf4
* | osf5
*)
11980 soname_spec
='$libname$release$shared_ext$major'
11981 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11982 shlibpath_var
=LD_LIBRARY_PATH
11983 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11984 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11992 version_type
=linux
# correct to gnu/linux during the next big refactor
11995 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11996 soname_spec
='$libname$release$shared_ext$major'
11997 shlibpath_var
=LD_LIBRARY_PATH
11998 shlibpath_overrides_runpath
=yes
11999 hardcode_into_libs
=yes
12000 # ldd complains unless libraries are executable
12001 postinstall_cmds
='chmod +x $lib'
12006 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12007 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12008 shlibpath_var
=LD_LIBRARY_PATH
12009 shlibpath_overrides_runpath
=yes
12010 if test yes = "$with_gnu_ld"; then
12017 version_type
=linux
# correct to gnu/linux during the next big refactor
12018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12019 soname_spec
='$libname$release$shared_ext$major'
12020 shlibpath_var
=LD_LIBRARY_PATH
12021 case $host_vendor in
12023 shlibpath_overrides_runpath
=no
12025 runpath_var
=LD_RUN_PATH
12033 shlibpath_overrides_runpath
=no
12034 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12040 if test -d /usr
/nec
; then
12041 version_type
=linux
# correct to gnu/linux during the next big refactor
12042 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12043 soname_spec
='$libname$shared_ext.$major'
12044 shlibpath_var
=LD_LIBRARY_PATH
12048 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12052 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12053 soname_spec
='$libname$release$shared_ext$major'
12054 shlibpath_var
=LD_LIBRARY_PATH
12055 shlibpath_overrides_runpath
=yes
12056 hardcode_into_libs
=yes
12057 if test yes = "$with_gnu_ld"; then
12058 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12060 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12063 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12067 sys_lib_dlsearch_path_spec
='/usr/lib'
12071 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12072 version_type
=linux
# correct to gnu/linux during the next big refactor
12075 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12076 shlibpath_var
=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath
=no
12078 hardcode_into_libs
=yes
12082 version_type
=linux
# correct to gnu/linux during the next big refactor
12083 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12084 soname_spec
='$libname$release$shared_ext$major'
12085 shlibpath_var
=LD_LIBRARY_PATH
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12093 $as_echo "$dynamic_linker" >&6; }
12094 test no
= "$dynamic_linker" && can_build_shared
=no
12096 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12097 if test yes = "$GCC"; then
12098 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12101 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12102 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12105 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12106 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12109 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12110 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12112 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12113 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12115 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12116 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12215 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12217 if test -n "$hardcode_libdir_flag_spec" ||
12218 test -n "$runpath_var" ||
12219 test yes = "$hardcode_automatic"; then
12221 # We can hardcode non-existent directories.
12222 if test no
!= "$hardcode_direct" &&
12223 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12224 # have to relink, otherwise we might link with an installed library
12225 # when we should be linking with a yet-to-be-installed one
12226 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12227 test no
!= "$hardcode_minus_L"; then
12228 # Linking always hardcodes the temporary library directory.
12229 hardcode_action
=relink
12231 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12232 hardcode_action
=immediate
12235 # We cannot hardcode anything, or else we can only hardcode existing
12237 hardcode_action
=unsupported
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12240 $as_echo "$hardcode_action" >&6; }
12242 if test relink
= "$hardcode_action" ||
12243 test yes = "$inherit_rpath"; then
12244 # Fast installation is not supported
12245 enable_fast_install
=no
12246 elif test yes = "$shlibpath_overrides_runpath" ||
12247 test no
= "$enable_shared"; then
12248 # Fast installation is not necessary
12249 enable_fast_install
=needless
12257 if test yes != "$enable_dlopen"; then
12258 enable_dlopen
=unknown
12259 enable_dlopen_self
=unknown
12260 enable_dlopen_self_static
=unknown
12267 lt_cv_dlopen
=load_add_on
12269 lt_cv_dlopen_self
=yes
12272 mingw
* | pw32
* | cegcc
*)
12273 lt_cv_dlopen
=LoadLibrary
12278 lt_cv_dlopen
=dlopen
12283 # if libdl is installed we need to link against it
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12285 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12286 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12287 $as_echo_n "(cached) " >&6
12289 ac_check_lib_save_LIBS
=$LIBS
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12309 if ac_fn_c_try_link
"$LINENO"; then :
12310 ac_cv_lib_dl_dlopen
=yes
12312 ac_cv_lib_dl_dlopen
=no
12314 rm -f core conftest.err conftest.
$ac_objext \
12315 conftest
$ac_exeext conftest.
$ac_ext
12316 LIBS
=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12319 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12320 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12321 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12326 lt_cv_dlopen_self
=yes
12333 # Don't try to run any link tests for TPF. We know it's impossible
12334 # because TPF is a cross-compiler, and we know how we open DSOs.
12335 lt_cv_dlopen
=dlopen
12337 lt_cv_dlopen_self
=no
12341 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12342 if test "x$ac_cv_func_shl_load" = xyes
; then :
12343 lt_cv_dlopen
=shl_load
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12346 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12347 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12348 $as_echo_n "(cached) " >&6
12350 ac_check_lib_save_LIBS
=$LIBS
12352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12365 return shl_load ();
12370 if ac_fn_c_try_link
"$LINENO"; then :
12371 ac_cv_lib_dld_shl_load
=yes
12373 ac_cv_lib_dld_shl_load
=no
12375 rm -f core conftest.err conftest.
$ac_objext \
12376 conftest
$ac_exeext conftest.
$ac_ext
12377 LIBS
=$ac_check_lib_save_LIBS
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12380 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12381 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12382 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12384 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12385 if test "x$ac_cv_func_dlopen" = xyes
; then :
12386 lt_cv_dlopen
=dlopen
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12389 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12390 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12391 $as_echo_n "(cached) " >&6
12393 ac_check_lib_save_LIBS
=$LIBS
12395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12413 if ac_fn_c_try_link
"$LINENO"; then :
12414 ac_cv_lib_dl_dlopen
=yes
12416 ac_cv_lib_dl_dlopen
=no
12418 rm -f core conftest.err conftest.
$ac_objext \
12419 conftest
$ac_exeext conftest.
$ac_ext
12420 LIBS
=$ac_check_lib_save_LIBS
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12423 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12424 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12425 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12428 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12429 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12430 $as_echo_n "(cached) " >&6
12432 ac_check_lib_save_LIBS
=$LIBS
12433 LIBS
="-lsvld $LIBS"
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12452 if ac_fn_c_try_link
"$LINENO"; then :
12453 ac_cv_lib_svld_dlopen
=yes
12455 ac_cv_lib_svld_dlopen
=no
12457 rm -f core conftest.err conftest.
$ac_objext \
12458 conftest
$ac_exeext conftest.
$ac_ext
12459 LIBS
=$ac_check_lib_save_LIBS
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12462 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12463 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12464 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12467 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12468 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 ac_check_lib_save_LIBS
=$LIBS
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 /* Override any GCC internal prototype to avoid an error.
12477 Use char because int might match the return type of a GCC
12478 builtin and then its argument prototype would still apply. */
12486 return dld_link ();
12491 if ac_fn_c_try_link
"$LINENO"; then :
12492 ac_cv_lib_dld_dld_link
=yes
12494 ac_cv_lib_dld_dld_link
=no
12496 rm -f core conftest.err conftest.
$ac_objext \
12497 conftest
$ac_exeext conftest.
$ac_ext
12498 LIBS
=$ac_check_lib_save_LIBS
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12501 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12502 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12503 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12524 if test no
= "$lt_cv_dlopen"; then
12530 case $lt_cv_dlopen in
12532 save_CPPFLAGS
=$CPPFLAGS
12533 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12535 save_LDFLAGS
=$LDFLAGS
12536 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12539 LIBS
="$lt_cv_dlopen_libs $LIBS"
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12542 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12543 if ${lt_cv_dlopen_self+:} false
; then :
12544 $as_echo_n "(cached) " >&6
12546 if test yes = "$cross_compiling"; then :
12547 lt_cv_dlopen_self
=cross
12549 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12550 lt_status
=$lt_dlunknown
12551 cat > conftest.
$ac_ext <<_LT_EOF
12552 #line $LINENO "configure"
12553 #include "confdefs.h"
12562 # define LT_DLGLOBAL RTLD_GLOBAL
12565 # define LT_DLGLOBAL DL_GLOBAL
12567 # define LT_DLGLOBAL 0
12571 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12572 find out it does not work in some platform. */
12573 #ifndef LT_DLLAZY_OR_NOW
12575 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12578 # define LT_DLLAZY_OR_NOW DL_LAZY
12581 # define LT_DLLAZY_OR_NOW RTLD_NOW
12584 # define LT_DLLAZY_OR_NOW DL_NOW
12586 # define LT_DLLAZY_OR_NOW 0
12593 /* When -fvisibility=hidden is used, assume the code has been annotated
12594 correspondingly for the symbols needed. */
12595 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12596 int fnord () __attribute__((visibility("default")));
12599 int fnord () { return 42; }
12602 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12603 int status = $lt_dlunknown;
12607 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12610 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12611 else puts (dlerror ());
12613 /* dlclose (self); */
12621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12622 (eval $ac_link) 2>&5
12624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12625 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12626 (.
/conftest
; exit; ) >&5 2>/dev
/null
12628 case x
$lt_status in
12629 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12630 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12631 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12634 # compilation failed
12635 lt_cv_dlopen_self
=no
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12643 $as_echo "$lt_cv_dlopen_self" >&6; }
12645 if test yes = "$lt_cv_dlopen_self"; then
12646 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12648 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12649 if ${lt_cv_dlopen_self_static+:} false
; then :
12650 $as_echo_n "(cached) " >&6
12652 if test yes = "$cross_compiling"; then :
12653 lt_cv_dlopen_self_static
=cross
12655 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12656 lt_status
=$lt_dlunknown
12657 cat > conftest.
$ac_ext <<_LT_EOF
12658 #line $LINENO "configure"
12659 #include "confdefs.h"
12668 # define LT_DLGLOBAL RTLD_GLOBAL
12671 # define LT_DLGLOBAL DL_GLOBAL
12673 # define LT_DLGLOBAL 0
12677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12678 find out it does not work in some platform. */
12679 #ifndef LT_DLLAZY_OR_NOW
12681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12684 # define LT_DLLAZY_OR_NOW DL_LAZY
12687 # define LT_DLLAZY_OR_NOW RTLD_NOW
12690 # define LT_DLLAZY_OR_NOW DL_NOW
12692 # define LT_DLLAZY_OR_NOW 0
12699 /* When -fvisibility=hidden is used, assume the code has been annotated
12700 correspondingly for the symbols needed. */
12701 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12702 int fnord () __attribute__((visibility("default")));
12705 int fnord () { return 42; }
12708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12709 int status = $lt_dlunknown;
12713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12717 else puts (dlerror ());
12719 /* dlclose (self); */
12727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12728 (eval $ac_link) 2>&5
12730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12731 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12732 (.
/conftest
; exit; ) >&5 2>/dev
/null
12734 case x
$lt_status in
12735 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12736 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12737 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12740 # compilation failed
12741 lt_cv_dlopen_self_static
=no
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12749 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12752 CPPFLAGS
=$save_CPPFLAGS
12753 LDFLAGS
=$save_LDFLAGS
12758 case $lt_cv_dlopen_self in
12759 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12760 *) enable_dlopen_self
=unknown
;;
12763 case $lt_cv_dlopen_self_static in
12764 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12765 *) enable_dlopen_self_static
=unknown
;;
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12788 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12789 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12790 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12791 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12793 $as_echo "yes" >&6; }
12795 # FIXME - insert some real tests, host_os isn't really good enough
12798 if test -n "$STRIP"; then
12799 striplib
="$STRIP -x"
12800 old_striplib
="$STRIP -S"
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12802 $as_echo "yes" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12805 $as_echo "no" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12826 # Report what library types will actually be built
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12828 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12830 $as_echo "$can_build_shared" >&6; }
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12833 $as_echo_n "checking whether to build shared libraries... " >&6; }
12834 test no
= "$can_build_shared" && enable_shared
=no
12836 # On AIX, shared libraries and static libraries use the same namespace, and
12837 # are all built from PIC.
12840 test yes = "$enable_shared" && enable_static
=no
12841 if test -n "$RANLIB"; then
12842 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12843 postinstall_cmds
='$RANLIB $lib'
12848 if test ia64
!= "$host_cpu"; then
12849 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12850 yes,aix
,yes) ;; # shared object as lib.so file only
12851 yes,svr4
,*) ;; # shared object as lib.so archive member only
12852 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12858 $as_echo "$enable_shared" >&6; }
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12861 $as_echo_n "checking whether to build static libraries... " >&6; }
12862 # Make sure either enable_shared or enable_static is yes.
12863 test yes = "$enable_shared" || enable_static
=yes
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12865 $as_echo "$enable_static" >&6; }
12872 ac_cpp
='$CPP $CPPFLAGS'
12873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12879 if test -n "$CXX" && ( test no
!= "$CXX" &&
12880 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12881 (test g
++ != "$CXX"))); then
12883 ac_cpp
='$CXXCPP $CPPFLAGS'
12884 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12885 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12886 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12888 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12889 if test -z "$CXXCPP"; then
12890 if ${ac_cv_prog_CXXCPP+:} false
; then :
12891 $as_echo_n "(cached) " >&6
12893 # Double quotes because CXXCPP needs to be expanded
12894 for CXXCPP
in "$CXX -E" "/lib/cpp"
12896 ac_preproc_ok
=false
12897 for ac_cxx_preproc_warn_flag
in '' yes
12899 # Use a header file that comes with gcc, so configuring glibc
12900 # with a fresh cross-compiler works.
12901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12902 # <limits.h> exists even on freestanding compilers.
12903 # On the NeXT, cc -E runs the code through the compiler's parser,
12904 # not just through cpp. "Syntax error" is here to catch this case.
12905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12908 # include <limits.h>
12910 # include <assert.h>
12914 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12917 # Broken: fails on valid input.
12920 rm -f conftest.err conftest.i conftest.
$ac_ext
12922 # OK, works on sane cases. Now check whether nonexistent headers
12923 # can be detected and how.
12924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #include <ac_nonexistent.h>
12928 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12929 # Broken: success on invalid input.
12932 # Passes both tests.
12936 rm -f conftest.err conftest.i conftest.
$ac_ext
12939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12940 rm -f conftest.i conftest.err conftest.
$ac_ext
12941 if $ac_preproc_ok; then :
12946 ac_cv_prog_CXXCPP
=$CXXCPP
12949 CXXCPP
=$ac_cv_prog_CXXCPP
12951 ac_cv_prog_CXXCPP
=$CXXCPP
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12954 $as_echo "$CXXCPP" >&6; }
12955 ac_preproc_ok
=false
12956 for ac_cxx_preproc_warn_flag
in '' yes
12958 # Use a header file that comes with gcc, so configuring glibc
12959 # with a fresh cross-compiler works.
12960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12961 # <limits.h> exists even on freestanding compilers.
12962 # On the NeXT, cc -E runs the code through the compiler's parser,
12963 # not just through cpp. "Syntax error" is here to catch this case.
12964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 # include <limits.h>
12969 # include <assert.h>
12973 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12976 # Broken: fails on valid input.
12979 rm -f conftest.err conftest.i conftest.
$ac_ext
12981 # OK, works on sane cases. Now check whether nonexistent headers
12982 # can be detected and how.
12983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12985 #include <ac_nonexistent.h>
12987 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12988 # Broken: success on invalid input.
12991 # Passes both tests.
12995 rm -f conftest.err conftest.i conftest.
$ac_ext
12998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12999 rm -f conftest.i conftest.err conftest.
$ac_ext
13000 if $ac_preproc_ok; then :
13003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13005 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13006 See \`config.log' for more details" "$LINENO" 5; }
13010 ac_cpp
='$CPP $CPPFLAGS'
13011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13016 _lt_caught_CXX_error
=yes
13020 ac_cpp
='$CXXCPP $CPPFLAGS'
13021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13025 archive_cmds_need_lc_CXX
=no
13026 allow_undefined_flag_CXX
=
13027 always_export_symbols_CXX
=no
13028 archive_expsym_cmds_CXX
=
13029 compiler_needs_object_CXX
=no
13030 export_dynamic_flag_spec_CXX
=
13031 hardcode_direct_CXX
=no
13032 hardcode_direct_absolute_CXX
=no
13033 hardcode_libdir_flag_spec_CXX
=
13034 hardcode_libdir_separator_CXX
=
13035 hardcode_minus_L_CXX
=no
13036 hardcode_shlibpath_var_CXX
=unsupported
13037 hardcode_automatic_CXX
=no
13038 inherit_rpath_CXX
=no
13040 module_expsym_cmds_CXX
=
13041 link_all_deplibs_CXX
=unknown
13042 old_archive_cmds_CXX
=$old_archive_cmds
13043 reload_flag_CXX
=$reload_flag
13044 reload_cmds_CXX
=$reload_cmds
13045 no_undefined_flag_CXX
=
13046 whole_archive_flag_spec_CXX
=
13047 enable_shared_with_static_runtimes_CXX
=no
13049 # Source file extension for C++ test sources.
13052 # Object file extension for compiled C++ test sources.
13056 # No sense in running all these tests if we already determined that
13057 # the CXX compiler isn't working. Some variables (like enable_shared)
13058 # are currently assumed to apply to all compilers on this platform,
13059 # and will be corrupted by setting them based on a non-working compiler.
13060 if test yes != "$_lt_caught_CXX_error"; then
13061 # Code to be used in simple compile tests
13062 lt_simple_compile_test_code
="int some_variable = 0;"
13064 # Code to be used in simple link tests
13065 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13067 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13074 # If no C compiler was specified, use CC.
13077 # If no C compiler flags were specified, use CFLAGS.
13078 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13080 # Allow CC to be a program name with arguments.
13084 # save warnings/boilerplate of simple test code
13085 ac_outfile
=conftest.
$ac_objext
13086 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13087 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13088 _lt_compiler_boilerplate
=`cat conftest.err`
13091 ac_outfile
=conftest.
$ac_objext
13092 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13093 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13094 _lt_linker_boilerplate
=`cat conftest.err`
13098 # Allow CC to be a program name with arguments.
13100 lt_save_CFLAGS
=$CFLAGS
13104 lt_save_with_gnu_ld
=$with_gnu_ld
13105 lt_save_path_LD
=$lt_cv_path_LD
13106 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13107 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13109 $as_unset lt_cv_prog_gnu_ld
13111 if test -n "${lt_cv_path_LDCXX+set}"; then
13112 lt_cv_path_LD
=$lt_cv_path_LDCXX
13114 $as_unset lt_cv_path_LD
13116 test -z "${LDCXX+set}" || LD
=$LDCXX
13121 func_cc_basename
$compiler
13122 cc_basename
=$func_cc_basename_result
13125 if test -n "$compiler"; then
13126 # We don't want -fno-exception when compiling C++ code, so set the
13127 # no_builtin_flag separately
13128 if test yes = "$GXX"; then
13129 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13131 lt_prog_compiler_no_builtin_flag_CXX
=
13134 if test yes = "$GXX"; then
13135 # Set up default GNU C++ configuration
13139 # Check whether --with-gnu-ld was given.
13140 if test "${with_gnu_ld+set}" = set; then :
13141 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13147 if test yes = "$GCC"; then
13148 # Check if gcc -print-prog-name=ld gives a path.
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13150 $as_echo_n "checking for ld used by $CC... " >&6; }
13153 # gcc leaves a trailing carriage return, which upsets mingw
13154 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13156 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13159 # Accept absolute paths.
13161 re_direlt
='/[^/][^/]*/\.\./'
13162 # Canonicalize the pathname of ld
13163 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13164 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13165 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13167 test -z "$LD" && LD
=$ac_prog
13170 # If it fails, then pretend we aren't using GCC.
13174 # If it is relative, then search for the first ld in PATH.
13175 with_gnu_ld
=unknown
13178 elif test yes = "$with_gnu_ld"; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13180 $as_echo_n "checking for GNU ld... " >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13183 $as_echo_n "checking for non-GNU ld... " >&6; }
13185 if ${lt_cv_path_LD+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13188 if test -z "$LD"; then
13189 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13190 for ac_dir
in $PATH; do
13192 test -z "$ac_dir" && ac_dir
=.
13193 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13194 lt_cv_path_LD
=$ac_dir/$ac_prog
13195 # Check to see if the program is GNU ld. I'd rather use --version,
13196 # but apparently some variants of GNU ld only accept -v.
13197 # Break only if it was the GNU/non-GNU ld that we prefer.
13198 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13199 *GNU
* |
*'with BFD'*)
13200 test no
!= "$with_gnu_ld" && break
13203 test yes != "$with_gnu_ld" && break
13210 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13215 if test -n "$LD"; then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13217 $as_echo "$LD" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13220 $as_echo "no" >&6; }
13222 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13224 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13225 if ${lt_cv_prog_gnu_ld+:} false
; then :
13226 $as_echo_n "(cached) " >&6
13228 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13229 case `$LD -v 2>&1 </dev/null` in
13230 *GNU
* |
*'with BFD'*)
13231 lt_cv_prog_gnu_ld
=yes
13234 lt_cv_prog_gnu_ld
=no
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13239 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13240 with_gnu_ld
=$lt_cv_prog_gnu_ld
13248 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13249 # archiving commands below assume that GNU ld is being used.
13250 if test yes = "$with_gnu_ld"; then
13251 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13252 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'
13254 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13255 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13257 # If archive_cmds runs LD, not CC, wlarc should be empty
13258 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13259 # investigate it a little bit more. (MM)
13262 # ancient GNU ld didn't support --whole-archive et. al.
13263 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13264 $GREP 'no-whole-archive' > /dev
/null
; then
13265 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13267 whole_archive_flag_spec_CXX
=
13273 # A generic and very simple default shared library creation
13274 # command for GNU C++ for the case where it uses the native
13275 # linker, instead of GNU ld. If possible, this setting should
13276 # overridden to take advantage of the native linker features on
13277 # the platform it is being used on.
13278 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13281 # Commands to make compiler produce verbose output that lists
13282 # what "hidden" libraries, object files and flags are used when
13283 # linking a shared library.
13284 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13292 # PORTME: fill in a description of your system's C++ link characteristics
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13294 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13298 # FIXME: insert proper C++ library support
13302 if test ia64
= "$host_cpu"; then
13303 # On IA64, the linker does run time linking by default, so we don't
13304 # have to do anything special.
13305 aix_use_runtimelinking
=no
13306 exp_sym_flag
='-Bexport'
13309 aix_use_runtimelinking
=no
13311 # Test if we are trying to use run time linking or normal
13312 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13313 # have runtime linking enabled, and use it for executables.
13314 # For shared libraries, we enable/disable runtime linking
13315 # depending on the kind of the shared library created -
13316 # when "with_aix_soname,aix_use_runtimelinking" is:
13317 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13318 # "aix,yes" lib.so shared, rtl:yes, for executables
13319 # lib.a static archive
13320 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13321 # lib.a(lib.so.V) shared, rtl:no, for executables
13322 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13323 # lib.a(lib.so.V) shared, rtl:no
13324 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13325 # lib.a static archive
13326 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13327 for ld_flag
in $LDFLAGS; do
13330 aix_use_runtimelinking
=yes
13335 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13336 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13337 # so we don't have lib.a shared libs to link our executables.
13338 # We have to force runtime linking in this case.
13339 aix_use_runtimelinking
=yes
13340 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13345 exp_sym_flag
='-bexport'
13346 no_entry_flag
='-bnoentry'
13349 # When large executables or shared objects are built, AIX ld can
13350 # have problems creating the table of contents. If linking a library
13351 # or program results in "error TOC overflow" add -mminimal-toc to
13352 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13353 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13355 archive_cmds_CXX
=''
13356 hardcode_direct_CXX
=yes
13357 hardcode_direct_absolute_CXX
=yes
13358 hardcode_libdir_separator_CXX
=':'
13359 link_all_deplibs_CXX
=yes
13360 file_list_spec_CXX
='$wl-f,'
13361 case $with_aix_soname,$aix_use_runtimelinking in
13362 aix
,*) ;; # no import file
13363 svr4
,* |
*,yes) # use import file
13364 # The Import File defines what to hardcode.
13365 hardcode_direct_CXX
=no
13366 hardcode_direct_absolute_CXX
=no
13370 if test yes = "$GXX"; then
13371 case $host_os in aix4.
[012]|aix4.
[012].
*)
13372 # We only want to do this on AIX 4.2 and lower, the check
13373 # below for broken collect2 doesn't work under 4.3+
13374 collect2name
=`$CC -print-prog-name=collect2`
13375 if test -f "$collect2name" &&
13376 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13378 # We have reworked collect2
13381 # We have old collect2
13382 hardcode_direct_CXX
=unsupported
13383 # It fails to find uninstalled libraries when the uninstalled
13384 # path is not listed in the libpath. Setting hardcode_minus_L
13385 # to unsupported forces relinking
13386 hardcode_minus_L_CXX
=yes
13387 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13388 hardcode_libdir_separator_CXX
=
13391 shared_flag
='-shared'
13392 if test yes = "$aix_use_runtimelinking"; then
13393 shared_flag
=$shared_flag' $wl-G'
13395 # Need to ensure runtime linking is disabled for the traditional
13396 # shared library, or the linker may eventually find shared libraries
13397 # /with/ Import File - we do not want to mix them.
13398 shared_flag_aix
='-shared'
13399 shared_flag_svr4
='-shared $wl-G'
13402 if test ia64
= "$host_cpu"; then
13403 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13404 # chokes on -Wl,-G. The following line is correct:
13407 if test yes = "$aix_use_runtimelinking"; then
13408 shared_flag
='$wl-G'
13410 shared_flag
='$wl-bM:SRE'
13412 shared_flag_aix
='$wl-bM:SRE'
13413 shared_flag_svr4
='$wl-G'
13417 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13418 # It seems that -bexpall does not export symbols beginning with
13419 # underscore (_), so it is better to generate a list of symbols to
13421 always_export_symbols_CXX
=yes
13422 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13423 # Warning - without using the other runtime loading flags (-brtl),
13424 # -berok will link without error, but may produce a broken library.
13425 # The "-G" linker flag allows undefined symbols.
13426 no_undefined_flag_CXX
='-bernotok'
13427 # Determine the default libpath from the value encoded in an empty
13429 if test set = "${lt_cv_aix_libpath+set}"; then
13430 aix_libpath
=$lt_cv_aix_libpath
13432 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13433 $as_echo_n "(cached) " >&6
13435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13446 if ac_fn_cxx_try_link
"$LINENO"; then :
13448 lt_aix_libpath_sed
='
13449 /Import File Strings/,/^$/ {
13451 s/^0 *\([^ ]*\) *$/\1/
13455 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13456 # Check for a 64-bit object if we didn't find anything.
13457 if test -z "$lt_cv_aix_libpath__CXX"; then
13458 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13461 rm -f core conftest.err conftest.
$ac_objext \
13462 conftest
$ac_exeext conftest.
$ac_ext
13463 if test -z "$lt_cv_aix_libpath__CXX"; then
13464 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13469 aix_libpath
=$lt_cv_aix_libpath__CXX
13472 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13474 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
13476 if test ia64
= "$host_cpu"; then
13477 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13478 allow_undefined_flag_CXX
="-z nodefs"
13479 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"
13481 # Determine the default libpath from the value encoded in an
13482 # empty executable.
13483 if test set = "${lt_cv_aix_libpath+set}"; then
13484 aix_libpath
=$lt_cv_aix_libpath
13486 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13487 $as_echo_n "(cached) " >&6
13489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13500 if ac_fn_cxx_try_link
"$LINENO"; then :
13502 lt_aix_libpath_sed
='
13503 /Import File Strings/,/^$/ {
13505 s/^0 *\([^ ]*\) *$/\1/
13509 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13510 # Check for a 64-bit object if we didn't find anything.
13511 if test -z "$lt_cv_aix_libpath__CXX"; then
13512 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13515 rm -f core conftest.err conftest.
$ac_objext \
13516 conftest
$ac_exeext conftest.
$ac_ext
13517 if test -z "$lt_cv_aix_libpath__CXX"; then
13518 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13523 aix_libpath
=$lt_cv_aix_libpath__CXX
13526 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13527 # Warning - without using the other run time loading flags,
13528 # -berok will link without error, but may produce a broken library.
13529 no_undefined_flag_CXX
=' $wl-bernotok'
13530 allow_undefined_flag_CXX
=' $wl-berok'
13531 if test yes = "$with_gnu_ld"; then
13532 # We only use this code for GNU lds that support --whole-archive.
13533 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13535 # Exported symbols can be pulled into shared objects from archives
13536 whole_archive_flag_spec_CXX
='$convenience'
13538 archive_cmds_need_lc_CXX
=yes
13539 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13540 # -brtl affects multiple linker settings, -berok does not and is overridden later
13541 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13542 if test svr4
!= "$with_aix_soname"; then
13543 # This is similar to how AIX traditionally builds its shared
13544 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13545 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13547 if test aix
!= "$with_aix_soname"; then
13548 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13550 # used by -dlpreopen to get the symbols
13551 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13553 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13559 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13560 allow_undefined_flag_CXX
=unsupported
13561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13562 # support --undefined. This deserves some investigation. FIXME
13563 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13570 case $cc_basename in
13572 # FIXME: insert proper C++ library support
13578 cygwin
* | mingw
* | pw32
* | cegcc
*)
13579 case $GXX,$cc_basename in
13582 # hardcode_libdir_flag_spec is actually meaningless, as there is
13583 # no search path for DLLs.
13584 hardcode_libdir_flag_spec_CXX
=' '
13585 allow_undefined_flag_CXX
=unsupported
13586 always_export_symbols_CXX
=yes
13587 file_list_spec_CXX
='@'
13588 # Tell ltmain to make .lib files, not .a files.
13590 # Tell ltmain to make .dll files, not .so files.
13592 # FIXME: Setting linknames here is a bad hack.
13593 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13594 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13595 cp "$export_symbols" "$output_objdir/$soname.def";
13596 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13598 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13600 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13602 # The linker will not automatically build a static lib if we build a DLL.
13603 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13604 enable_shared_with_static_runtimes_CXX
=yes
13606 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13607 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13608 lt_tool_outputfile="@TOOL_OUTPUT@"~
13609 case $lt_outputfile in
13612 lt_outputfile=$lt_outputfile.exe
13613 lt_tool_outputfile=$lt_tool_outputfile.exe
13616 func_to_tool_file "$lt_outputfile"~
13617 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13618 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13619 $RM "$lt_outputfile.manifest";
13624 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13625 # as there is no search path for DLLs.
13626 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13627 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13628 allow_undefined_flag_CXX
=unsupported
13629 always_export_symbols_CXX
=no
13630 enable_shared_with_static_runtimes_CXX
=yes
13632 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13633 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'
13634 # If the export-symbols file already is a .def file, use it as
13635 # is; otherwise, prepend EXPORTS...
13636 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13637 cp $export_symbols $output_objdir/$soname.def;
13639 echo EXPORTS > $output_objdir/$soname.def;
13640 cat $export_symbols >> $output_objdir/$soname.def;
13642 $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'
13649 darwin
* | rhapsody
*)
13652 archive_cmds_need_lc_CXX
=no
13653 hardcode_direct_CXX
=no
13654 hardcode_automatic_CXX
=yes
13655 hardcode_shlibpath_var_CXX
=unsupported
13656 if test yes = "$lt_cv_ld_force_load"; then
13657 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\"`'
13660 whole_archive_flag_spec_CXX
=''
13662 link_all_deplibs_CXX
=yes
13663 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13664 case $cc_basename in
13665 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13666 *) _lt_dar_can_shared
=$GCC ;;
13668 if test yes = "$_lt_dar_can_shared"; then
13669 output_verbose_link_cmd
=func_echo_all
13670 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"
13671 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13672 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"
13673 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"
13674 if test yes != "$lt_cv_apple_cc_single_mod"; then
13675 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"
13676 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"
13686 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13687 hardcode_minus_L_CXX
=yes
13688 allow_undefined_flag_CXX
=unsupported
13690 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13691 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13692 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13693 $ECHO EXPORTS >> $output_objdir/$libname.def~
13694 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13695 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13696 emximp -o $lib $output_objdir/$libname.def'
13697 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13698 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13699 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13700 $ECHO EXPORTS >> $output_objdir/$libname.def~
13701 prefix_cmds="$SED"~
13702 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13703 prefix_cmds="$prefix_cmds -e 1d";
13705 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13706 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13707 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13708 emximp -o $lib $output_objdir/$libname.def'
13709 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13710 enable_shared_with_static_runtimes_CXX
=yes
13714 case $cc_basename in
13716 # FIXME: insert proper C++ library support
13720 # Green Hills C++ Compiler
13721 # FIXME: insert proper C++ library support
13725 # FIXME: insert proper C++ library support
13732 # C++ shared libraries reported to be fairly broken before
13738 archive_cmds_need_lc_CXX
=no
13741 freebsd
* | dragonfly
*)
13742 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13748 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13749 link_all_deplibs_CXX
=yes
13753 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
13754 hardcode_libdir_separator_CXX
=:
13755 export_dynamic_flag_spec_CXX
='$wl-E'
13756 hardcode_direct_CXX
=yes
13757 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13758 # but as the default
13759 # location of the library.
13761 case $cc_basename in
13763 # FIXME: insert proper C++ library support
13767 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13768 # Commands to make compiler produce verbose output that lists
13769 # what "hidden" libraries, object files and flags are used when
13770 # linking a shared library.
13772 # There doesn't appear to be a way to prevent this compiler from
13773 # explicitly linking system object files so we need to strip them
13774 # from the output so that they don't get included in the library
13776 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"'
13779 if test yes = "$GXX"; then
13780 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13782 # FIXME: insert proper C++ library support
13790 if test no
= "$with_gnu_ld"; then
13791 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
13792 hardcode_libdir_separator_CXX
=:
13798 export_dynamic_flag_spec_CXX
='$wl-E'
13804 hardcode_direct_CXX
=no
13805 hardcode_shlibpath_var_CXX
=no
13808 hardcode_direct_CXX
=yes
13809 hardcode_direct_absolute_CXX
=yes
13810 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13811 # but as the default
13812 # location of the library.
13816 case $cc_basename in
13818 # FIXME: insert proper C++ library support
13824 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13827 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13830 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13833 # Commands to make compiler produce verbose output that lists
13834 # what "hidden" libraries, object files and flags are used when
13835 # linking a shared library.
13837 # There doesn't appear to be a way to prevent this compiler from
13838 # explicitly linking system object files so we need to strip them
13839 # from the output so that they don't get included in the library
13841 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"'
13844 if test yes = "$GXX"; then
13845 if test no
= "$with_gnu_ld"; then
13848 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13851 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13854 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'
13859 # FIXME: insert proper C++ library support
13867 hardcode_direct_CXX
=no
13868 hardcode_shlibpath_var_CXX
=no
13869 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
13870 export_dynamic_flag_spec_CXX
='$wl-E'
13871 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13872 # Instead, shared libraries are loaded at an image base (0x10000000 by
13873 # default) and relocated if they conflict, which is a slow very memory
13874 # consuming and fragmenting process. To avoid this, we pick a random,
13875 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13876 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13877 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'
13878 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'
13881 case $cc_basename in
13884 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'
13886 # Archives containing C++ object files must be created using
13887 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13888 # necessary to make sure instantiated templates are included
13890 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13893 if test yes = "$GXX"; then
13894 if test no
= "$with_gnu_ld"; then
13895 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'
13897 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'
13900 link_all_deplibs_CXX
=yes
13903 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13904 hardcode_libdir_separator_CXX
=:
13905 inherit_rpath_CXX
=yes
13908 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13909 case $cc_basename in
13911 # Kuck and Associates, Inc. (KAI) C++ Compiler
13913 # KCC will only create a shared library if the output file
13914 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13915 # to its proper name (with version) after linking.
13916 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'
13917 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'
13918 # Commands to make compiler produce verbose output that lists
13919 # what "hidden" libraries, object files and flags are used when
13920 # linking a shared library.
13922 # There doesn't appear to be a way to prevent this compiler from
13923 # explicitly linking system object files so we need to strip them
13924 # from the output so that they don't get included in the library
13926 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"'
13928 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
13929 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13931 # Archives containing C++ object files must be created using
13932 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13933 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13938 # version 8.0 and above of icpc choke on multiply defined symbols
13939 # if we add $predep_objects and $postdep_objects, however 7.1 and
13940 # earlier do not add the objects themselves.
13941 case `$CC -V 2>&1` in
13943 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13944 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'
13946 *) # Version 8.0 or newer
13949 ia64
*) tmp_idyn
=' -i_dynamic';;
13951 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13952 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'
13955 archive_cmds_need_lc_CXX
=no
13956 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
13957 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13958 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13961 # Portland Group C++ compiler
13963 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13964 prelink_cmds_CXX
='tpldir=Template.dir~
13966 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13967 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13968 old_archive_cmds_CXX
='tpldir=Template.dir~
13970 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13971 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13973 archive_cmds_CXX
='tpldir=Template.dir~
13975 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13976 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13977 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13979 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13980 $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'
13982 *) # Version 6 and above use weak symbols
13983 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13984 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'
13988 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
13989 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13990 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'
13994 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13995 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'
13997 runpath_var
=LD_RUN_PATH
13998 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13999 hardcode_libdir_separator_CXX
=:
14001 # Commands to make compiler produce verbose output that lists
14002 # what "hidden" libraries, object files and flags are used when
14003 # linking a shared library.
14005 # There doesn't appear to be a way to prevent this compiler from
14006 # explicitly linking system object files so we need to strip them
14007 # from the output so that they don't get included in the library
14009 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'
14011 xl
* | mpixl
* | bgxl
*)
14012 # IBM XL 8.0 on PPC, with GNU ld
14013 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14014 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14015 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14016 if test yes = "$supports_anon_versioning"; then
14017 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14018 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14019 echo "local: *; };" >> $output_objdir/$libname.ver~
14020 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14024 case `$CC -V 2>&1 | sed 5q` in
14027 no_undefined_flag_CXX
=' -zdefs'
14028 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14029 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'
14030 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14031 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'
14032 compiler_needs_object_CXX
=yes
14034 # Not sure whether something based on
14035 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14037 output_verbose_link_cmd
='func_echo_all'
14039 # Archives containing C++ object files must be created using
14040 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14041 # necessary to make sure instantiated templates are included
14043 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14051 # FIXME: insert proper C++ library support
14056 # FIXME: insert proper C++ library support
14061 case $cc_basename in
14063 # FIXME: insert proper C++ library support
14067 # FIXME: insert proper C++ library support
14074 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14075 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14077 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14078 hardcode_direct_CXX
=yes
14079 hardcode_shlibpath_var_CXX
=no
14081 # Workaround some broken pre-1.5 toolchains
14082 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14089 openbsd
* | bitrig
*)
14090 if test -f /usr
/libexec
/ld.so
; then
14091 hardcode_direct_CXX
=yes
14092 hardcode_shlibpath_var_CXX
=no
14093 hardcode_direct_absolute_CXX
=yes
14094 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14095 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14096 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14097 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14098 export_dynamic_flag_spec_CXX
='$wl-E'
14099 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14101 output_verbose_link_cmd
=func_echo_all
14107 osf3
* | osf4
* | osf5
*)
14108 case $cc_basename in
14110 # Kuck and Associates, Inc. (KAI) C++ Compiler
14112 # KCC will only create a shared library if the output file
14113 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14114 # to its proper name (with version) after linking.
14115 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'
14117 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14118 hardcode_libdir_separator_CXX
=:
14120 # Archives containing C++ object files must be created using
14121 # the KAI C++ compiler.
14123 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14124 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14128 # Rational C++ 2.4.1
14129 # FIXME: insert proper C++ library support
14135 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14136 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'
14137 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14140 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14141 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'
14142 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14143 echo "-hidden">> $lib.exp~
14144 $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~
14146 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14150 hardcode_libdir_separator_CXX
=:
14152 # Commands to make compiler produce verbose output that lists
14153 # what "hidden" libraries, object files and flags are used when
14154 # linking a shared library.
14156 # There doesn't appear to be a way to prevent this compiler from
14157 # explicitly linking system object files so we need to strip them
14158 # from the output so that they don't get included in the library
14160 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"'
14163 if test yes,no
= "$GXX,$with_gnu_ld"; then
14164 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14167 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'
14170 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'
14174 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14175 hardcode_libdir_separator_CXX
=:
14177 # Commands to make compiler produce verbose output that lists
14178 # what "hidden" libraries, object files and flags are used when
14179 # linking a shared library.
14180 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14183 # FIXME: insert proper C++ library support
14191 # FIXME: insert proper C++ library support
14196 case $cc_basename in
14199 # FIXME: insert proper C++ library support
14204 # FIXME: insert proper C++ library support
14208 # FIXME: insert proper C++ library support
14215 case $cc_basename in
14217 # Sun C++ 4.2, 5.x and Centerline C++
14218 archive_cmds_need_lc_CXX
=yes
14219 no_undefined_flag_CXX
=' -zdefs'
14220 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14221 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14222 $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'
14224 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14225 hardcode_shlibpath_var_CXX
=no
14227 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14229 # The compiler driver will combine and reorder linker options,
14230 # but understands '-z linker_flag'.
14231 # Supported since Solaris 2.6 (maybe 2.5.1?)
14232 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14235 link_all_deplibs_CXX
=yes
14237 output_verbose_link_cmd
='func_echo_all'
14239 # Archives containing C++ object files must be created using
14240 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14241 # necessary to make sure instantiated templates are included
14243 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14246 # Green Hills C++ Compiler
14247 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14249 # The C++ compiler must be used to create the archive.
14250 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14253 # GNU C++ compiler with Solaris linker
14254 if test yes,no
= "$GXX,$with_gnu_ld"; then
14255 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14256 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14257 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14258 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14259 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14261 # Commands to make compiler produce verbose output that lists
14262 # what "hidden" libraries, object files and flags are used when
14263 # linking a shared library.
14264 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14266 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14268 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14269 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14270 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14272 # Commands to make compiler produce verbose output that lists
14273 # what "hidden" libraries, object files and flags are used when
14274 # linking a shared library.
14275 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14278 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14280 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14282 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14290 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14291 no_undefined_flag_CXX
='$wl-z,text'
14292 archive_cmds_need_lc_CXX
=no
14293 hardcode_shlibpath_var_CXX
=no
14294 runpath_var
='LD_RUN_PATH'
14296 case $cc_basename in
14298 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14299 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14302 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14303 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14308 sysv5
* | sco3.2v5
* | sco5v6
*)
14309 # Note: We CANNOT use -z defs as we might desire, because we do not
14310 # link with -lc, and that would cause any symbols used from libc to
14311 # always be unresolved, which means just about no library would
14312 # ever link correctly. If we're not using GNU ld we use -z text
14313 # though, which does catch some bad symbols but isn't as heavy-handed
14315 no_undefined_flag_CXX
='$wl-z,text'
14316 allow_undefined_flag_CXX
='$wl-z,nodefs'
14317 archive_cmds_need_lc_CXX
=no
14318 hardcode_shlibpath_var_CXX
=no
14319 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14320 hardcode_libdir_separator_CXX
=':'
14321 link_all_deplibs_CXX
=yes
14322 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14323 runpath_var
='LD_RUN_PATH'
14325 case $cc_basename in
14327 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14328 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14329 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14330 '"$old_archive_cmds_CXX"
14331 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14332 '"$reload_cmds_CXX"
14335 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14336 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14342 case $cc_basename in
14344 # NonStop-UX NCC 3.20
14345 # FIXME: insert proper C++ library support
14349 # FIXME: insert proper C++ library support
14356 # FIXME: insert proper C++ library support
14361 # FIXME: insert proper C++ library support
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14367 $as_echo "$ld_shlibs_CXX" >&6; }
14368 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14374 ## There is no encapsulation within the following macros, do not change
14375 ## the running order or otherwise move them around unless you know exactly
14376 ## what you are doing...
14377 # Dependencies to place before and after the object being linked:
14378 predep_objects_CXX
=
14379 postdep_objects_CXX
=
14382 compiler_lib_search_path_CXX
=
14384 cat > conftest.
$ac_ext <<_LT_EOF
14388 Foo (void) { a = 0; }
14395 _lt_libdeps_save_CFLAGS
=$CFLAGS
14396 case "$CC $CFLAGS " in #(
14397 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14398 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14399 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14403 (eval $ac_compile) 2>&5
14405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14406 test $ac_status = 0; }; then
14407 # Parse the compiler output and extract the necessary
14408 # objects, libraries and library flags.
14410 # Sentinel used to keep track of whether or not we are before
14411 # the conftest object file.
14412 pre_test_object_deps_done
=no
14414 for p
in `eval "$output_verbose_link_cmd"`; do
14418 # Some compilers place space between "-{L,R}" and the path.
14419 # Remove the space.
14420 if test x-L
= "$p" ||
14421 test x-R
= "$p"; then
14426 # Expand the sysroot to ease extracting the directories later.
14427 if test -z "$prev"; then
14429 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14430 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14431 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14435 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14437 if test no
= "$pre_test_object_deps_done"; then
14440 # Internal compiler library paths should come after those
14441 # provided the user. The postdeps already come after the
14442 # user supplied libs so there is no need to process them.
14443 if test -z "$compiler_lib_search_path_CXX"; then
14444 compiler_lib_search_path_CXX
=$prev$p
14446 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14449 # The "-l" case would never come before the object being
14450 # linked, so don't bother handling this case.
14453 if test -z "$postdeps_CXX"; then
14454 postdeps_CXX
=$prev$p
14456 postdeps_CXX
="${postdeps_CXX} $prev$p"
14462 *.lto.
$objext) ;; # Ignore GCC LTO objects
14464 # This assumes that the test object file only shows up
14465 # once in the compiler output.
14466 if test "$p" = "conftest.$objext"; then
14467 pre_test_object_deps_done
=yes
14471 if test no
= "$pre_test_object_deps_done"; then
14472 if test -z "$predep_objects_CXX"; then
14473 predep_objects_CXX
=$p
14475 predep_objects_CXX
="$predep_objects_CXX $p"
14478 if test -z "$postdep_objects_CXX"; then
14479 postdep_objects_CXX
=$p
14481 postdep_objects_CXX
="$postdep_objects_CXX $p"
14486 *) ;; # Ignore the rest.
14494 echo "libtool.m4: error: problem compiling CXX test program"
14497 $RM -f confest.
$objext
14498 CFLAGS
=$_lt_libdeps_save_CFLAGS
14500 # PORTME: override above test on systems where it is broken
14503 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14504 # hack all around it, let's just trust "g++" to DTRT.
14505 predep_objects_CXX
=
14506 postdep_objects_CXX
=
14512 case " $postdeps_CXX " in
14513 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14515 compiler_lib_search_dirs_CXX
=
14516 if test -n "${compiler_lib_search_path_CXX}"; then
14517 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14550 lt_prog_compiler_wl_CXX
=
14551 lt_prog_compiler_pic_CXX
=
14552 lt_prog_compiler_static_CXX
=
14555 # C++ specific cases for pic, static, wl, etc.
14556 if test yes = "$GXX"; then
14557 lt_prog_compiler_wl_CXX
='-Wl,'
14558 lt_prog_compiler_static_CXX
='-static'
14562 # All AIX code is PIC.
14563 if test ia64
= "$host_cpu"; then
14564 # AIX 5 now supports IA64 processor
14565 lt_prog_compiler_static_CXX
='-Bstatic'
14567 lt_prog_compiler_pic_CXX
='-fPIC'
14573 # see comment about AmigaOS4 .so support
14574 lt_prog_compiler_pic_CXX
='-fPIC'
14577 # FIXME: we need at least 68020 code to build shared libraries, but
14578 # adding the '-m68020' flag to GCC prevents building anything better,
14580 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14585 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14586 # PIC is the default for these OSes.
14588 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14589 # This hack is so that the source file can tell whether it is being
14590 # built for inclusion in a dll (and should export symbols for example).
14591 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14592 # (--disable-auto-import) libraries
14593 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14596 lt_prog_compiler_static_CXX
='$wl-static'
14600 darwin
* | rhapsody
*)
14601 # PIC is the default on this platform
14602 # Common symbols not allowed in MH_DYLIB files
14603 lt_prog_compiler_pic_CXX
='-fno-common'
14606 # DJGPP does not support shared libraries at all
14607 lt_prog_compiler_pic_CXX
=
14610 # PIC is the default for Haiku.
14611 # The "-static" flag exists, but is broken.
14612 lt_prog_compiler_static_CXX
=
14615 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14616 # Instead, we relocate shared libraries at runtime.
14619 if test -d /usr
/nec
; then
14620 lt_prog_compiler_pic_CXX
=-Kconform_pic
14624 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14625 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14626 # sets the default TLS model and affects inlining.
14631 lt_prog_compiler_pic_CXX
='-fPIC'
14636 # QNX uses GNU C++, but need to define -shared option too, otherwise
14637 # it will coredump.
14638 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14641 lt_prog_compiler_pic_CXX
='-fPIC'
14647 # All AIX code is PIC.
14648 if test ia64
= "$host_cpu"; then
14649 # AIX 5 now supports IA64 processor
14650 lt_prog_compiler_static_CXX
='-Bstatic'
14652 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14656 case $cc_basename in
14658 # Green Hills C++ Compiler
14659 # _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"
14663 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14664 # This hack is so that the source file can tell whether it is being
14665 # built for inclusion in a dll (and should export symbols for example).
14666 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14669 case $cc_basename in
14671 lt_prog_compiler_pic_CXX
='-KPIC'
14674 # Green Hills C++ Compiler
14675 lt_prog_compiler_pic_CXX
='-pic'
14681 freebsd
* | dragonfly
*)
14682 # FreeBSD uses GNU C++
14684 hpux9
* | hpux10
* | hpux11
*)
14685 case $cc_basename in
14687 lt_prog_compiler_wl_CXX
='-Wl,'
14688 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
14689 if test ia64
!= "$host_cpu"; then
14690 lt_prog_compiler_pic_CXX
='+Z'
14694 lt_prog_compiler_wl_CXX
='-Wl,'
14695 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
14701 lt_prog_compiler_pic_CXX
='+Z'
14710 # This is c89, which is MS Visual C++ (no shared libs)
14711 # Anyone wants to do a port?
14713 irix5
* | irix6
* | nonstopux
*)
14714 case $cc_basename in
14716 lt_prog_compiler_wl_CXX
='-Wl,'
14717 lt_prog_compiler_static_CXX
='-non_shared'
14718 # CC pic flag -KPIC is the default.
14724 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14725 case $cc_basename in
14728 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14729 lt_prog_compiler_pic_CXX
='-fPIC'
14732 # old Intel C++ for x86_64, which still supported -KPIC.
14733 lt_prog_compiler_wl_CXX
='-Wl,'
14734 lt_prog_compiler_pic_CXX
='-KPIC'
14735 lt_prog_compiler_static_CXX
='-static'
14738 # Intel C++, used to be incompatible with GCC.
14739 # ICC 10 doesn't accept -KPIC any more.
14740 lt_prog_compiler_wl_CXX
='-Wl,'
14741 lt_prog_compiler_pic_CXX
='-fPIC'
14742 lt_prog_compiler_static_CXX
='-static'
14745 # Portland Group C++ compiler
14746 lt_prog_compiler_wl_CXX
='-Wl,'
14747 lt_prog_compiler_pic_CXX
='-fpic'
14748 lt_prog_compiler_static_CXX
='-Bstatic'
14752 # Make sure the PIC flag is empty. It appears that all Alpha
14753 # Linux and Compaq Tru64 Unix objects are PIC.
14754 lt_prog_compiler_pic_CXX
=
14755 lt_prog_compiler_static_CXX
='-non_shared'
14757 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14758 # IBM XL 8.0, 9.0 on PPC and BlueGene
14759 lt_prog_compiler_wl_CXX
='-Wl,'
14760 lt_prog_compiler_pic_CXX
='-qpic'
14761 lt_prog_compiler_static_CXX
='-qstaticlink'
14764 case `$CC -V 2>&1 | sed 5q` in
14767 lt_prog_compiler_pic_CXX
='-KPIC'
14768 lt_prog_compiler_static_CXX
='-Bstatic'
14769 lt_prog_compiler_wl_CXX
='-Qoption ld '
14780 case $cc_basename in
14782 lt_prog_compiler_pic_CXX
='-W c,exportall'
14788 netbsd
* | netbsdelf
*-gnu)
14791 # QNX uses GNU C++, but need to define -shared option too, otherwise
14792 # it will coredump.
14793 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14795 osf3
* | osf4
* | osf5
*)
14796 case $cc_basename in
14798 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14801 # Rational C++ 2.4.1
14802 lt_prog_compiler_pic_CXX
='-pic'
14805 # Digital/Compaq C++
14806 lt_prog_compiler_wl_CXX
='-Wl,'
14807 # Make sure the PIC flag is empty. It appears that all Alpha
14808 # Linux and Compaq Tru64 Unix objects are PIC.
14809 lt_prog_compiler_pic_CXX
=
14810 lt_prog_compiler_static_CXX
='-non_shared'
14819 case $cc_basename in
14821 # Sun C++ 4.2, 5.x and Centerline C++
14822 lt_prog_compiler_pic_CXX
='-KPIC'
14823 lt_prog_compiler_static_CXX
='-Bstatic'
14824 lt_prog_compiler_wl_CXX
='-Qoption ld '
14827 # Green Hills C++ Compiler
14828 lt_prog_compiler_pic_CXX
='-PIC'
14835 case $cc_basename in
14838 lt_prog_compiler_pic_CXX
='-pic'
14839 lt_prog_compiler_static_CXX
='-Bstatic'
14843 lt_prog_compiler_pic_CXX
='-pic'
14849 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14850 case $cc_basename in
14852 lt_prog_compiler_wl_CXX
='-Wl,'
14853 lt_prog_compiler_pic_CXX
='-KPIC'
14854 lt_prog_compiler_static_CXX
='-Bstatic'
14859 case $cc_basename in
14861 # NonStop-UX NCC 3.20
14862 lt_prog_compiler_pic_CXX
='-KPIC'
14871 lt_prog_compiler_can_build_shared_CXX
=no
14877 # For platforms that do not support PIC, -DPIC is meaningless:
14879 lt_prog_compiler_pic_CXX
=
14882 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14887 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14888 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14889 $as_echo_n "(cached) " >&6
14891 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14894 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14895 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14898 # Check to make sure the PIC flag actually works.
14900 if test -n "$lt_prog_compiler_pic_CXX"; then
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14902 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14903 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14904 $as_echo_n "(cached) " >&6
14906 lt_cv_prog_compiler_pic_works_CXX
=no
14907 ac_outfile
=conftest.
$ac_objext
14908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14909 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
14910 # Insert the option either (1) after the last *FLAGS variable, or
14911 # (2) before a word containing "conftest.", or (3) at the end.
14912 # Note that $ac_compile itself does not contain backslashes and begins
14913 # with a dollar sign (not a hyphen), so the echo should work correctly.
14914 # The option is referenced via a variable to avoid confusing sed.
14915 lt_compile
=`echo "$ac_compile" | $SED \
14916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14918 -e 's:$: $lt_compiler_flag:'`
14919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14920 (eval "$lt_compile" 2>conftest.err
)
14922 cat conftest.err
>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 if (exit $ac_status) && test -s "$ac_outfile"; then
14925 # The compiler can only warn and ignore the option if not recognized
14926 # So say no if there are warnings other than the usual output.
14927 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14928 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14929 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14930 lt_cv_prog_compiler_pic_works_CXX
=yes
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14937 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14939 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
14940 case $lt_prog_compiler_pic_CXX in
14942 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14945 lt_prog_compiler_pic_CXX
=
14946 lt_prog_compiler_can_build_shared_CXX
=no
14956 # Check to make sure the static flag actually works.
14958 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14960 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14961 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14962 $as_echo_n "(cached) " >&6
14964 lt_cv_prog_compiler_static_works_CXX
=no
14965 save_LDFLAGS
=$LDFLAGS
14966 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14967 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14968 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14969 # The linker can only warn and ignore the option if not recognized
14970 # So say no if there are warnings
14971 if test -s conftest.err
; then
14972 # Append any errors to the config.log.
14973 cat conftest.err
1>&5
14974 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14975 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14976 if diff conftest.exp conftest.er2
>/dev
/null
; then
14977 lt_cv_prog_compiler_static_works_CXX
=yes
14980 lt_cv_prog_compiler_static_works_CXX
=yes
14984 LDFLAGS
=$save_LDFLAGS
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14988 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14990 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
14993 lt_prog_compiler_static_CXX
=
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15000 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15001 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15004 lt_cv_prog_compiler_c_o_CXX
=no
15005 $RM -r conftest
2>/dev
/null
15009 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15011 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15012 # Insert the option either (1) after the last *FLAGS variable, or
15013 # (2) before a word containing "conftest.", or (3) at the end.
15014 # Note that $ac_compile itself does not contain backslashes and begins
15015 # with a dollar sign (not a hyphen), so the echo should work correctly.
15016 lt_compile
=`echo "$ac_compile" | $SED \
15017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15019 -e 's:$: $lt_compiler_flag:'`
15020 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15021 (eval "$lt_compile" 2>out
/conftest.err
)
15023 cat out
/conftest.err
>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15027 # The compiler can only warn and ignore the option if not recognized
15028 # So say no if there are warnings
15029 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15030 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15031 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15032 lt_cv_prog_compiler_c_o_CXX
=yes
15037 # SGI C++ compiler will create directory out/ii_files/ for
15038 # template instantiation
15039 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15040 $RM out
/* && rmdir out
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15047 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15052 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15053 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15054 $as_echo_n "(cached) " >&6
15056 lt_cv_prog_compiler_c_o_CXX
=no
15057 $RM -r conftest
2>/dev
/null
15061 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15063 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15064 # Insert the option either (1) after the last *FLAGS variable, or
15065 # (2) before a word containing "conftest.", or (3) at the end.
15066 # Note that $ac_compile itself does not contain backslashes and begins
15067 # with a dollar sign (not a hyphen), so the echo should work correctly.
15068 lt_compile
=`echo "$ac_compile" | $SED \
15069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15071 -e 's:$: $lt_compiler_flag:'`
15072 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15073 (eval "$lt_compile" 2>out
/conftest.err
)
15075 cat out
/conftest.err
>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15079 # The compiler can only warn and ignore the option if not recognized
15080 # So say no if there are warnings
15081 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15082 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15083 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15084 lt_cv_prog_compiler_c_o_CXX
=yes
15089 # SGI C++ compiler will create directory out/ii_files/ for
15090 # template instantiation
15091 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15092 $RM out
/* && rmdir out
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15099 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15104 hard_links
=nottested
15105 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15106 # do not overwrite the value of need_locks provided by the user
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15108 $as_echo_n "checking if we can lock with hard links... " >&6; }
15111 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15113 ln conftest.a conftest.b
2>&5 || hard_links
=no
15114 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15116 $as_echo "$hard_links" >&6; }
15117 if test no
= "$hard_links"; then
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15119 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15129 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15131 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15132 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15135 # If we're using GNU nm, then we don't want the "-C" option.
15136 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15137 # Without the "-l" option, or with the "-B" option, AIX nm treats
15138 # weak defined symbols like other global defined symbols, whereas
15139 # GNU nm marks them as "W".
15140 # While the 'weak' keyword is ignored in the Export File, we need
15141 # it in the Import File for the 'aix-soname' feature, so we have
15142 # to replace the "-B" option with "-P" for AIX nm.
15143 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15144 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15146 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15150 export_symbols_cmds_CXX
=$ltdll_cmds
15152 cygwin
* | mingw
* | cegcc
*)
15153 case $cc_basename in
15155 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15158 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'
15159 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15163 linux
* | k
*bsd
*-gnu | gnu
*)
15164 link_all_deplibs_CXX
=no
15167 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15172 $as_echo "$ld_shlibs_CXX" >&6; }
15173 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15175 with_gnu_ld_CXX
=$with_gnu_ld
15183 # Do we need to explicitly link libc?
15185 case "x$archive_cmds_need_lc_CXX" in
15187 # Assume -lc should be added
15188 archive_cmds_need_lc_CXX
=yes
15190 if test yes,yes = "$GCC,$enable_shared"; then
15191 case $archive_cmds_CXX in
15193 # FIXME: we may have to deal with multi-command sequences.
15196 # Test whether the compiler implicitly links with -lc since on some
15197 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15198 # to ld, don't add -lc before -lgcc.
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15200 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15201 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15202 $as_echo_n "(cached) " >&6
15205 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15208 (eval $ac_compile) 2>&5
15210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15211 test $ac_status = 0; } 2>conftest.err
; then
15214 libobjs
=conftest.
$ac_objext
15216 wl
=$lt_prog_compiler_wl_CXX
15217 pic_flag
=$lt_prog_compiler_pic_CXX
15223 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15224 allow_undefined_flag_CXX
=
15225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15226 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15229 test $ac_status = 0; }
15231 lt_cv_archive_cmds_need_lc_CXX
=no
15233 lt_cv_archive_cmds_need_lc_CXX
=yes
15235 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15237 cat conftest.err
1>&5
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15243 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15244 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15313 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15315 library_names_spec
=
15316 libname_spec
='lib$name'
15320 postuninstall_cmds
=
15324 shlibpath_overrides_runpath
=unknown
15326 dynamic_linker
="$host_os ld.so"
15327 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15328 need_lib_prefix
=unknown
15329 hardcode_into_libs
=no
15331 # when you set need_version to no, make sure it does not cause -set_version
15332 # flags to be left without arguments
15333 need_version
=unknown
15339 version_type
=linux
# correct to gnu/linux during the next big refactor
15340 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15341 shlibpath_var
=LIBPATH
15343 # AIX 3 has no versioning support, so we append a major version to the name.
15344 soname_spec
='$libname$release$shared_ext$major'
15348 version_type
=linux
# correct to gnu/linux during the next big refactor
15351 hardcode_into_libs
=yes
15352 if test ia64
= "$host_cpu"; then
15353 # AIX 5 supports IA64
15354 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15355 shlibpath_var
=LD_LIBRARY_PATH
15357 # With GCC up to 2.95.x, collect2 would create an import file
15358 # for dependence libraries. The import file would start with
15359 # the line '#! .'. This would cause the generated library to
15360 # depend on '.', always an invalid library. This was fixed in
15361 # development snapshots of GCC prior to 3.0.
15363 aix4 | aix4.
[01] | aix4.
[01].
*)
15364 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15366 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
15369 can_build_shared
=no
15373 # Using Import Files as archive members, it is possible to support
15374 # filename-based versioning of shared library archives on AIX. While
15375 # this would work for both with and without runtime linking, it will
15376 # prevent static linking of such archives. So we do filename-based
15377 # shared library versioning with .so extension only, which is used
15378 # when both runtime linking and shared linking is enabled.
15379 # Unfortunately, runtime linking may impact performance, so we do
15380 # not want this to be the default eventually. Also, we use the
15381 # versioned .so libs for executables only if there is the -brtl
15382 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15383 # To allow for filename-based versioning support, we need to create
15384 # libNAME.so.V as an archive file, containing:
15385 # *) an Import File, referring to the versioned filename of the
15386 # archive as well as the shared archive member, telling the
15387 # bitwidth (32 or 64) of that shared object, and providing the
15388 # list of exported symbols of that shared object, eventually
15389 # decorated with the 'weak' keyword
15390 # *) the shared object with the F_LOADONLY flag set, to really avoid
15391 # it being seen by the linker.
15392 # At run time we better use the real file rather than another symlink,
15393 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15395 case $with_aix_soname,$aix_use_runtimelinking in
15396 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15397 # soname into executable. Probably we can add versioning support to
15398 # collect2, so additional links can be useful in future.
15399 aix
,yes) # traditional libtool
15400 dynamic_linker
='AIX unversionable lib.so'
15401 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15402 # instead of lib<name>.a to let people know that these are not
15403 # typical AIX shared libraries.
15404 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15406 aix
,no
) # traditional AIX only
15407 dynamic_linker
='AIX lib.a(lib.so.V)'
15408 # We preserve .a as extension for shared libraries through AIX4.2
15409 # and later when we are not doing run time linking.
15410 library_names_spec
='$libname$release.a $libname.a'
15411 soname_spec
='$libname$release$shared_ext$major'
15413 svr4
,*) # full svr4 only
15414 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15415 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15416 # We do not specify a path in Import Files, so LIBPATH fires.
15417 shlibpath_overrides_runpath
=yes
15419 *,yes) # both, prefer svr4
15420 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15421 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15422 # unpreferred sharedlib libNAME.a needs extra handling
15423 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15424 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15425 # We do not specify a path in Import Files, so LIBPATH fires.
15426 shlibpath_overrides_runpath
=yes
15428 *,no
) # both, prefer aix
15429 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15430 library_names_spec
='$libname$release.a $libname.a'
15431 soname_spec
='$libname$release$shared_ext$major'
15432 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15433 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15434 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15437 shlibpath_var
=LIBPATH
15444 # Since July 2007 AmigaOS4 officially supports .so libraries.
15445 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15446 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15449 library_names_spec
='$libname.ixlibrary $libname.a'
15450 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15451 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15457 library_names_spec
='$libname$shared_ext'
15458 dynamic_linker
="$host_os ld.so"
15459 shlibpath_var
=LIBRARY_PATH
15463 version_type
=linux
# correct to gnu/linux during the next big refactor
15465 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15466 soname_spec
='$libname$release$shared_ext$major'
15467 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15468 shlibpath_var
=LD_LIBRARY_PATH
15469 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15470 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15471 # the default ld.so.conf also contains /usr/contrib/lib and
15472 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15473 # libtool to hard-code these into programs
15476 cygwin
* | mingw
* | pw32
* | cegcc
*)
15477 version_type
=windows
15482 case $GCC,$cc_basename in
15485 library_names_spec
='$libname.dll.a'
15486 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15487 postinstall_cmds
='base_file=`basename \$file`~
15488 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15489 dldir=$destdir/`dirname \$dlpath`~
15490 test -d \$dldir || mkdir -p \$dldir~
15491 $install_prog $dir/$dlname \$dldir/$dlname~
15492 chmod a+x \$dldir/$dlname~
15493 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15494 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15496 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15497 dlpath=$dir/\$dldll~
15499 shlibpath_overrides_runpath
=yes
15503 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15504 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15508 # MinGW DLLs use traditional 'lib' prefix
15509 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15512 # pw32 DLLs use 'pw' prefix rather than 'lib'
15513 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15516 dynamic_linker
='Win32 ld.exe'
15521 libname_spec
='$name'
15522 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15523 library_names_spec
='$libname.dll.lib'
15527 sys_lib_search_path_spec
=
15530 for lt_path
in $LIB
15533 # Let DOS variable expansion print the short 8.3 style file name.
15534 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15535 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15538 # Convert to MSYS style.
15539 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15542 # Convert to unix form, then to dos form, then back to unix form
15543 # but this time dos style (no spaces!) so that the unix form looks
15544 # like /cygdrive/c/PROGRA~1:/cygdr...
15545 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15546 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15547 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15550 sys_lib_search_path_spec
=$LIB
15551 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15552 # It is most probably a Windows format PATH.
15553 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15555 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15557 # FIXME: find the short name or the path components, as spaces are
15558 # common. (e.g. "Program Files" -> "PROGRA~1")
15562 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15563 postinstall_cmds
='base_file=`basename \$file`~
15564 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15565 dldir=$destdir/`dirname \$dlpath`~
15566 test -d \$dldir || mkdir -p \$dldir~
15567 $install_prog $dir/$dlname \$dldir/$dlname'
15568 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15569 dlpath=$dir/\$dldll~
15571 shlibpath_overrides_runpath
=yes
15572 dynamic_linker
='Win32 link.exe'
15576 # Assume MSVC wrapper
15577 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15578 dynamic_linker
='Win32 ld.exe'
15581 # FIXME: first we should search . and the directory the executable is in
15585 darwin
* | rhapsody
*)
15586 dynamic_linker
="$host_os dyld"
15587 version_type
=darwin
15590 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15591 soname_spec
='$libname$release$major$shared_ext'
15592 shlibpath_overrides_runpath
=yes
15593 shlibpath_var
=DYLD_LIBRARY_PATH
15594 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15596 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15600 version_type
=linux
# correct to gnu/linux during the next big refactor
15603 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15604 soname_spec
='$libname$release$shared_ext$major'
15605 shlibpath_var
=LD_LIBRARY_PATH
15608 freebsd
* | dragonfly
*)
15609 # DragonFly does not have aout. When/if they implement a new
15610 # versioning mechanism, adjust this.
15611 if test -x /usr
/bin
/objformat
; then
15612 objformat
=`/usr/bin/objformat`
15615 freebsd
[23].
*) objformat
=aout
;;
15616 *) objformat
=elf
;;
15619 version_type
=freebsd-
$objformat
15620 case $version_type in
15622 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15623 soname_spec
='$libname$release$shared_ext$major'
15628 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15632 shlibpath_var
=LD_LIBRARY_PATH
15635 shlibpath_overrides_runpath
=yes
15637 freebsd3.
[01]* | freebsdelf3.
[01]*)
15638 shlibpath_overrides_runpath
=yes
15639 hardcode_into_libs
=yes
15641 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15642 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15643 shlibpath_overrides_runpath
=no
15644 hardcode_into_libs
=yes
15646 *) # from 4.6 on, and DragonFly
15647 shlibpath_overrides_runpath
=yes
15648 hardcode_into_libs
=yes
15654 version_type
=linux
# correct to gnu/linux during the next big refactor
15657 dynamic_linker
="$host_os runtime_loader"
15658 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15659 soname_spec
='$libname$release$shared_ext$major'
15660 shlibpath_var
=LIBRARY_PATH
15661 shlibpath_overrides_runpath
=no
15662 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15663 hardcode_into_libs
=yes
15666 hpux9
* | hpux10
* | hpux11
*)
15667 # Give a soname corresponding to the major version so that dld.sl refuses to
15668 # link against other versions.
15675 hardcode_into_libs
=yes
15676 dynamic_linker
="$host_os dld.so"
15677 shlibpath_var
=LD_LIBRARY_PATH
15678 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15679 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15680 soname_spec
='$libname$release$shared_ext$major'
15681 if test 32 = "$HPUX_IA64_MODE"; then
15682 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15683 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
15685 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15686 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
15691 hardcode_into_libs
=yes
15692 dynamic_linker
="$host_os dld.sl"
15693 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15694 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15695 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15696 soname_spec
='$libname$release$shared_ext$major'
15697 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15698 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15702 dynamic_linker
="$host_os dld.sl"
15703 shlibpath_var
=SHLIB_PATH
15704 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15705 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15706 soname_spec
='$libname$release$shared_ext$major'
15709 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15710 postinstall_cmds
='chmod 555 $lib'
15711 # or fails outright, so override atomically:
15712 install_override_mode
=555
15716 version_type
=linux
# correct to gnu/linux during the next big refactor
15719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15720 soname_spec
='$libname$release$shared_ext$major'
15721 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15722 shlibpath_var
=LD_LIBRARY_PATH
15723 shlibpath_overrides_runpath
=no
15724 hardcode_into_libs
=yes
15727 irix5
* | irix6
* | nonstopux
*)
15729 nonstopux
*) version_type
=nonstopux
;;
15731 if test yes = "$lt_cv_prog_gnu_ld"; then
15732 version_type
=linux
# correct to gnu/linux during the next big refactor
15739 soname_spec
='$libname$release$shared_ext$major'
15740 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15742 irix5
* | nonstopux
*)
15743 libsuff
= shlibsuff
=
15746 case $LD in # libtool.m4 will add one of these switches to LD
15747 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15748 libsuff
= shlibsuff
= libmagic
=32-bit;;
15749 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15750 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15751 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15752 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15753 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15757 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15758 shlibpath_overrides_runpath
=no
15759 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15760 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
15761 hardcode_into_libs
=yes
15764 # No shared lib support for Linux oldld, aout, or coff.
15765 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15770 version_type
=none
# Android doesn't support versioned libraries.
15773 library_names_spec
='$libname$release$shared_ext'
15774 soname_spec
='$libname$release$shared_ext'
15776 shlibpath_var
=LD_LIBRARY_PATH
15777 shlibpath_overrides_runpath
=yes
15779 # This implies no fast_install, which is unacceptable.
15780 # Some rework will be needed to allow for fast_install
15781 # before this can be enabled.
15782 hardcode_into_libs
=yes
15784 dynamic_linker
='Android linker'
15785 # Don't embed -rpath directories since the linker doesn't support them.
15786 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15789 # This must be glibc/ELF.
15790 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15791 version_type
=linux
# correct to gnu/linux during the next big refactor
15794 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15795 soname_spec
='$libname$release$shared_ext$major'
15796 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15797 shlibpath_var
=LD_LIBRARY_PATH
15798 shlibpath_overrides_runpath
=no
15800 # Some binutils ld are patched to set DT_RUNPATH
15801 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15802 $as_echo_n "(cached) " >&6
15804 lt_cv_shlibpath_overrides_runpath
=no
15805 save_LDFLAGS
=$LDFLAGS
15806 save_libdir
=$libdir
15807 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15808 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15820 if ac_fn_cxx_try_link
"$LINENO"; then :
15821 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15822 lt_cv_shlibpath_overrides_runpath
=yes
15825 rm -f core conftest.err conftest.
$ac_objext \
15826 conftest
$ac_exeext conftest.
$ac_ext
15827 LDFLAGS
=$save_LDFLAGS
15828 libdir
=$save_libdir
15832 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15834 # This implies no fast_install, which is unacceptable.
15835 # Some rework will be needed to allow for fast_install
15836 # before this can be enabled.
15837 hardcode_into_libs
=yes
15839 # Ideally, we could use ldconfig to report *all* directores which are
15840 # searched for libraries, however this is still not possible. Aside from not
15841 # being certain /sbin/ldconfig is available, command
15842 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15843 # even though it is searched at run-time. Try to do the best guess by
15844 # appending ld.so.conf contents (and includes) to the search path.
15845 if test -f /etc
/ld.so.conf
; then
15846 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' ' '`
15847 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15850 # We used to test for /lib/ld.so.1 and disable shared libraries on
15851 # powerpc, because MkLinux only supported shared libraries with the
15852 # GNU dynamic linker. Since this was broken with cross compilers,
15853 # most powerpc-linux boxes support dynamic linking these days and
15854 # people can always --disable-shared, the test was removed, and we
15855 # assume the GNU/Linux dynamic linker is in use.
15856 dynamic_linker
='GNU/Linux ld.so'
15863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15864 soname_spec
='${libname}${release}${shared_ext}$major'
15865 shlibpath_var
=LD_LIBRARY_PATH
15866 shlibpath_overrides_runpath
=no
15867 hardcode_into_libs
=yes
15868 dynamic_linker
='NetBSD ld.elf_so'
15875 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15876 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15877 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15878 dynamic_linker
='NetBSD (a.out) ld.so'
15880 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15881 soname_spec
='$libname$release$shared_ext$major'
15882 dynamic_linker
='NetBSD ld.elf_so'
15884 shlibpath_var
=LD_LIBRARY_PATH
15885 shlibpath_overrides_runpath
=yes
15886 hardcode_into_libs
=yes
15890 version_type
=linux
# correct to gnu/linux during the next big refactor
15891 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15892 shlibpath_var
=LD_LIBRARY_PATH
15893 shlibpath_overrides_runpath
=yes
15900 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15901 soname_spec
='$libname$release$shared_ext$major'
15902 shlibpath_var
=LD_LIBRARY_PATH
15903 shlibpath_overrides_runpath
=no
15904 hardcode_into_libs
=yes
15905 dynamic_linker
='ldqnx.so'
15908 openbsd
* | bitrig
*)
15910 sys_lib_dlsearch_path_spec
=/usr
/lib
15912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15917 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15918 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15919 shlibpath_var
=LD_LIBRARY_PATH
15920 shlibpath_overrides_runpath
=yes
15924 libname_spec
='$name'
15925 version_type
=windows
15929 # OS/2 can only load a DLL with a base name of 8 characters or less.
15930 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
15931 v=$($ECHO $release$versuffix | tr -d .-);
15932 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15933 $ECHO $n$v`$shared_ext'
15934 library_names_spec
='${libname}_dll.$libext'
15935 dynamic_linker
='OS/2 ld.exe'
15936 shlibpath_var
=BEGINLIBPATH
15937 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15938 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15939 postinstall_cmds
='base_file=`basename \$file`~
15940 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15941 dldir=$destdir/`dirname \$dlpath`~
15942 test -d \$dldir || mkdir -p \$dldir~
15943 $install_prog $dir/$dlname \$dldir/$dlname~
15944 chmod a+x \$dldir/$dlname~
15945 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15946 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15948 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15949 dlpath=$dir/\$dldll~
15953 osf3
* | osf4
* | osf5
*)
15957 soname_spec
='$libname$release$shared_ext$major'
15958 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15959 shlibpath_var
=LD_LIBRARY_PATH
15960 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15961 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15969 version_type
=linux
# correct to gnu/linux during the next big refactor
15972 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15973 soname_spec
='$libname$release$shared_ext$major'
15974 shlibpath_var
=LD_LIBRARY_PATH
15975 shlibpath_overrides_runpath
=yes
15976 hardcode_into_libs
=yes
15977 # ldd complains unless libraries are executable
15978 postinstall_cmds
='chmod +x $lib'
15983 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15984 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15985 shlibpath_var
=LD_LIBRARY_PATH
15986 shlibpath_overrides_runpath
=yes
15987 if test yes = "$with_gnu_ld"; then
15994 version_type
=linux
# correct to gnu/linux during the next big refactor
15995 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15996 soname_spec
='$libname$release$shared_ext$major'
15997 shlibpath_var
=LD_LIBRARY_PATH
15998 case $host_vendor in
16000 shlibpath_overrides_runpath
=no
16002 runpath_var
=LD_RUN_PATH
16010 shlibpath_overrides_runpath
=no
16011 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16017 if test -d /usr
/nec
; then
16018 version_type
=linux
# correct to gnu/linux during the next big refactor
16019 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16020 soname_spec
='$libname$shared_ext.$major'
16021 shlibpath_var
=LD_LIBRARY_PATH
16025 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16029 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16030 soname_spec
='$libname$release$shared_ext$major'
16031 shlibpath_var
=LD_LIBRARY_PATH
16032 shlibpath_overrides_runpath
=yes
16033 hardcode_into_libs
=yes
16034 if test yes = "$with_gnu_ld"; then
16035 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16037 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16040 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16044 sys_lib_dlsearch_path_spec
='/usr/lib'
16048 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16049 version_type
=linux
# correct to gnu/linux during the next big refactor
16052 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16053 shlibpath_var
=LD_LIBRARY_PATH
16054 shlibpath_overrides_runpath
=no
16055 hardcode_into_libs
=yes
16059 version_type
=linux
# correct to gnu/linux during the next big refactor
16060 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16061 soname_spec
='$libname$release$shared_ext$major'
16062 shlibpath_var
=LD_LIBRARY_PATH
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16070 $as_echo "$dynamic_linker" >&6; }
16071 test no
= "$dynamic_linker" && can_build_shared
=no
16073 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16074 if test yes = "$GCC"; then
16075 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16078 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16079 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16082 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16083 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16086 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16087 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16089 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16090 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16092 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16093 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16135 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16136 hardcode_action_CXX
=
16137 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16138 test -n "$runpath_var_CXX" ||
16139 test yes = "$hardcode_automatic_CXX"; then
16141 # We can hardcode non-existent directories.
16142 if test no
!= "$hardcode_direct_CXX" &&
16143 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16144 # have to relink, otherwise we might link with an installed library
16145 # when we should be linking with a yet-to-be-installed one
16146 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16147 test no
!= "$hardcode_minus_L_CXX"; then
16148 # Linking always hardcodes the temporary library directory.
16149 hardcode_action_CXX
=relink
16151 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16152 hardcode_action_CXX
=immediate
16155 # We cannot hardcode anything, or else we can only hardcode existing
16157 hardcode_action_CXX
=unsupported
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16160 $as_echo "$hardcode_action_CXX" >&6; }
16162 if test relink
= "$hardcode_action_CXX" ||
16163 test yes = "$inherit_rpath_CXX"; then
16164 # Fast installation is not supported
16165 enable_fast_install
=no
16166 elif test yes = "$shlibpath_overrides_runpath" ||
16167 test no
= "$enable_shared"; then
16168 # Fast installation is not necessary
16169 enable_fast_install
=needless
16178 fi # test -n "$compiler"
16181 CFLAGS
=$lt_save_CFLAGS
16185 with_gnu_ld
=$lt_save_with_gnu_ld
16186 lt_cv_path_LDCXX
=$lt_cv_path_LD
16187 lt_cv_path_LD
=$lt_save_path_LD
16188 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16189 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16190 fi # test yes != "$_lt_caught_CXX_error"
16193 ac_cpp
='$CPP $CPPFLAGS'
16194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16212 ac_config_commands
="$ac_config_commands libtool"
16217 # Only expand once:
16220 if test -n "$ac_tool_prefix"; then
16221 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16222 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16224 $as_echo_n "checking for $ac_word... " >&6; }
16225 if ${ac_cv_prog_RC+:} false
; then :
16226 $as_echo_n "(cached) " >&6
16228 if test -n "$RC"; then
16229 ac_cv_prog_RC
="$RC" # Let the user override the test.
16231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16232 for as_dir
in $PATH
16235 test -z "$as_dir" && as_dir
=.
16236 for ac_exec_ext
in '' $ac_executable_extensions; do
16237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16238 ac_cv_prog_RC
="${ac_tool_prefix}windres"
16239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16249 if test -n "$RC"; then
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
16251 $as_echo "$RC" >&6; }
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16254 $as_echo "no" >&6; }
16259 if test -z "$ac_cv_prog_RC"; then
16261 # Extract the first word of "windres", so it can be a program name with args.
16262 set dummy windres
; ac_word
=$2
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16264 $as_echo_n "checking for $ac_word... " >&6; }
16265 if ${ac_cv_prog_ac_ct_RC+:} false
; then :
16266 $as_echo_n "(cached) " >&6
16268 if test -n "$ac_ct_RC"; then
16269 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
16271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16272 for as_dir
in $PATH
16275 test -z "$as_dir" && as_dir
=.
16276 for ac_exec_ext
in '' $ac_executable_extensions; do
16277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16278 ac_cv_prog_ac_ct_RC
="windres"
16279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16288 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
16289 if test -n "$ac_ct_RC"; then
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
16291 $as_echo "$ac_ct_RC" >&6; }
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16294 $as_echo "no" >&6; }
16297 if test "x$ac_ct_RC" = x
; then
16300 case $cross_compiling:$ac_tool_warned in
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16304 ac_tool_warned
=yes ;;
16309 RC
="$ac_cv_prog_RC"
16314 # Source file extension for RC test sources.
16317 # Object file extension for compiled RC test sources.
16321 # Code to be used in simple compile tests
16322 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
16324 # Code to be used in simple link tests
16325 lt_simple_link_test_code
=$lt_simple_compile_test_code
16327 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16334 # If no C compiler was specified, use CC.
16337 # If no C compiler flags were specified, use CFLAGS.
16338 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16340 # Allow CC to be a program name with arguments.
16344 # save warnings/boilerplate of simple test code
16345 ac_outfile
=conftest.
$ac_objext
16346 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16347 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16348 _lt_compiler_boilerplate
=`cat conftest.err`
16351 ac_outfile
=conftest.
$ac_objext
16352 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16353 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16354 _lt_linker_boilerplate
=`cat conftest.err`
16358 # Allow CC to be a program name with arguments.
16360 lt_save_CFLAGS
=$CFLAGS
16367 func_cc_basename
$compiler
16368 cc_basename
=$func_cc_basename_result
16370 lt_cv_prog_compiler_c_o_RC
=yes
16372 if test -n "$compiler"; then
16381 ac_cpp
='$CPP $CPPFLAGS'
16382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16387 CFLAGS
=$lt_save_CFLAGS
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
16392 $as_echo_n "checking whether ln -s works... " >&6; }
16394 if test "$LN_S" = "ln -s"; then
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16396 $as_echo "yes" >&6; }
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
16399 $as_echo "no, using $LN_S" >&6; }
16403 #------------------------------------------------------------------------------------
16404 # Rules for library version information:
16406 # 1. Start with version information of `0:0:0' for each libtool library.
16407 # 2. Update the version information only immediately before a public release of
16408 # your software. More frequent updates are unnecessary, and only guarantee
16409 # that the current interface number gets larger faster.
16410 # 3. If the library source code has changed at all since the last update, then
16411 # increment revision (`c:r:a' becomes `c:r+1:a').
16412 # 4. If any interfaces have been added, removed, or changed since the last update,
16413 # increment current, and set revision to 0.
16414 # 5. If any interfaces have been added since the last public release, then increment
16416 # 6. If any interfaces have been removed since the last public release, then set age
16419 SHARED_VERSION_INFO
="1:8:1"
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16426 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
16428 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
16429 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
16430 $as_echo_n "(cached) " >&6
16432 cat >conftest.
make <<\_ACEOF
16435 @
echo '@@@%%%=$(MAKE)=@@@%%%'
16437 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
16438 case `${MAKE-make} -f conftest.make 2>/dev/null` in
16439 *@@@
%%%=?
*=@@@
%%%*)
16440 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
16442 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
16444 rm -f conftest.
make
16446 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16448 $as_echo "yes" >&6; }
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16452 $as_echo "no" >&6; }
16453 SET_MAKE
="MAKE=${MAKE-make}"
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
16457 $as_echo_n "checking whether ln -s works... " >&6; }
16459 if test "$LN_S" = "ln -s"; then
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16461 $as_echo "yes" >&6; }
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
16464 $as_echo "no, using $LN_S" >&6; }
16469 if test "x-$build_os-$host_os-$target_os" = x-mingw32-mingw32-mingw32
; then
16470 # Extract the first word of "dlltool", so it can be a program name with args.
16471 set dummy dlltool
; ac_word
=$2
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16473 $as_echo_n "checking for $ac_word... " >&6; }
16474 if ${ac_cv_prog_DLLTOOL+:} false
; then :
16475 $as_echo_n "(cached) " >&6
16477 if test -n "$DLLTOOL"; then
16478 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16481 for as_dir
in $PATH
16484 test -z "$as_dir" && as_dir
=.
16485 for ac_exec_ext
in '' $ac_executable_extensions; do
16486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16487 ac_cv_prog_DLLTOOL
="dlltool"
16488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16497 DLLTOOL
=$ac_cv_prog_DLLTOOL
16498 if test -n "$DLLTOOL"; then
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
16500 $as_echo "$DLLTOOL" >&6; }
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16503 $as_echo "no" >&6; }
16507 # Extract the first word of "dllwrap", so it can be a program name with args.
16508 set dummy dllwrap
; ac_word
=$2
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16510 $as_echo_n "checking for $ac_word... " >&6; }
16511 if ${ac_cv_prog_DLLWRAP+:} false
; then :
16512 $as_echo_n "(cached) " >&6
16514 if test -n "$DLLWRAP"; then
16515 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
16517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16518 for as_dir
in $PATH
16521 test -z "$as_dir" && as_dir
=.
16522 for ac_exec_ext
in '' $ac_executable_extensions; do
16523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16524 ac_cv_prog_DLLWRAP
="dllwrap"
16525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16534 DLLWRAP
=$ac_cv_prog_DLLWRAP
16535 if test -n "$DLLWRAP"; then
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
16537 $as_echo "$DLLWRAP" >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16540 $as_echo "no" >&6; }
16544 # Extract the first word of "pexports", so it can be a program name with args.
16545 set dummy pexports
; ac_word
=$2
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16547 $as_echo_n "checking for $ac_word... " >&6; }
16548 if ${ac_cv_prog_PEXPORTS+:} false
; then :
16549 $as_echo_n "(cached) " >&6
16551 if test -n "$PEXPORTS"; then
16552 ac_cv_prog_PEXPORTS
="$PEXPORTS" # Let the user override the test.
16554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16555 for as_dir
in $PATH
16558 test -z "$as_dir" && as_dir
=.
16559 for ac_exec_ext
in '' $ac_executable_extensions; do
16560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16561 ac_cv_prog_PEXPORTS
="pexports"
16562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16571 PEXPORTS
=$ac_cv_prog_PEXPORTS
16572 if test -n "$PEXPORTS"; then
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PEXPORTS" >&5
16574 $as_echo "$PEXPORTS" >&6; }
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16577 $as_echo "no" >&6; }
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16584 $as_echo_n "checking for ANSI C header files... " >&6; }
16585 if ${ac_cv_header_stdc+:} false
; then :
16586 $as_echo_n "(cached) " >&6
16588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #include <stdlib.h>
16591 #include <stdarg.h>
16592 #include <string.h>
16603 if ac_fn_c_try_compile
"$LINENO"; then :
16604 ac_cv_header_stdc
=yes
16606 ac_cv_header_stdc
=no
16608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16610 if test $ac_cv_header_stdc = yes; then
16611 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16614 #include <string.h>
16617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16618 $EGREP "memchr" >/dev
/null
2>&1; then :
16621 ac_cv_header_stdc
=no
16627 if test $ac_cv_header_stdc = yes; then
16628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 #include <stdlib.h>
16634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16635 $EGREP "free" >/dev
/null
2>&1; then :
16638 ac_cv_header_stdc
=no
16644 if test $ac_cv_header_stdc = yes; then
16645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16646 if test "$cross_compiling" = yes; then :
16649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16652 #include <stdlib.h>
16653 #if ((' ' & 0x0FF) == 0x020)
16654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16657 # define ISLOWER(c) \
16658 (('a' <= (c) && (c) <= 'i') \
16659 || ('j' <= (c) && (c) <= 'r') \
16660 || ('s' <= (c) && (c) <= 'z'))
16661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16669 for (i = 0; i < 256; i++)
16670 if (XOR (islower (i), ISLOWER (i))
16671 || toupper (i) != TOUPPER (i))
16676 if ac_fn_c_try_run
"$LINENO"; then :
16679 ac_cv_header_stdc
=no
16681 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16682 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16688 $as_echo "$ac_cv_header_stdc" >&6; }
16689 if test $ac_cv_header_stdc = yes; then
16691 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16696 for ac_header
in stdint.h sys
/times.h
16698 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16699 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16700 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16701 cat >>confdefs.h
<<_ACEOF
16702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16710 #====================================================================================
16711 # Couple of initializations here. Fill in real values later.
16713 SHLIB_VERSION_ARG
=""
16715 #====================================================================================
16716 # Finished checking, handle options.
16718 # Check whether --enable-gcc-werror was given.
16719 if test "${enable_gcc_werror+set}" = set; then :
16720 enableval
=$enable_gcc_werror; ac_arg_gcc_werror
=yes
16722 ac_arg_gcc_werror
=no
16726 # Check whether --enable-gcc-pipe was given.
16727 if test "${enable_gcc_pipe+set}" = set; then :
16728 enableval
=$enable_gcc_pipe; ac_arg_gcc_pipe
="N"
16730 ac_arg_gcc_pipe
="Y"
16734 # Check whether --enable-gcc-opt was given.
16735 if test "${enable_gcc_opt+set}" = set; then :
16736 enableval
=$enable_gcc_opt; ac_arg_gcc_opt
="N"
16742 # Check whether --enable-fftw was given.
16743 if test "${enable_fftw+set}" = set; then :
16744 enableval
=$enable_fftw; ac_arg_fftw
="N"
16750 # Check whether --enable-cpu-clip was given.
16751 if test "${enable_cpu_clip+set}" = set; then :
16752 enableval
=$enable_cpu_clip; ac_arg_cpu_clip
="N"
16754 ac_arg_cpu_clip
="Y"
16758 #====================================================================================
16759 # Check types and their sizes.
16761 # The cast to long int works around a bug in the HP C Compiler
16762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16764 # This bug is HP SR number 8606223364.
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16766 $as_echo_n "checking size of int... " >&6; }
16767 if ${ac_cv_sizeof_int+:} false
; then :
16768 $as_echo_n "(cached) " >&6
16770 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16773 if test "$ac_cv_type_int" = yes; then
16774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16776 as_fn_error
77 "cannot compute sizeof (int)
16777 See \`config.log' for more details" "$LINENO" 5; }
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16785 $as_echo "$ac_cv_sizeof_int" >&6; }
16789 cat >>confdefs.h
<<_ACEOF
16790 #define SIZEOF_INT $ac_cv_sizeof_int
16794 # The cast to long int works around a bug in the HP C Compiler
16795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16797 # This bug is HP SR number 8606223364.
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16799 $as_echo_n "checking size of long... " >&6; }
16800 if ${ac_cv_sizeof_long+:} false
; then :
16801 $as_echo_n "(cached) " >&6
16803 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16806 if test "$ac_cv_type_long" = yes; then
16807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16809 as_fn_error
77 "cannot compute sizeof (long)
16810 See \`config.log' for more details" "$LINENO" 5; }
16812 ac_cv_sizeof_long
=0
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16818 $as_echo "$ac_cv_sizeof_long" >&6; }
16822 cat >>confdefs.h
<<_ACEOF
16823 #define SIZEOF_LONG $ac_cv_sizeof_long
16827 # The cast to long int works around a bug in the HP C Compiler
16828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16830 # This bug is HP SR number 8606223364.
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
16832 $as_echo_n "checking size of float... " >&6; }
16833 if ${ac_cv_sizeof_float+:} false
; then :
16834 $as_echo_n "(cached) " >&6
16836 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
16839 if test "$ac_cv_type_float" = yes; then
16840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16842 as_fn_error
77 "cannot compute sizeof (float)
16843 See \`config.log' for more details" "$LINENO" 5; }
16845 ac_cv_sizeof_float
=0
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
16851 $as_echo "$ac_cv_sizeof_float" >&6; }
16855 cat >>confdefs.h
<<_ACEOF
16856 #define SIZEOF_FLOAT $ac_cv_sizeof_float
16860 # The cast to long int works around a bug in the HP C Compiler
16861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16863 # This bug is HP SR number 8606223364.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
16865 $as_echo_n "checking size of double... " >&6; }
16866 if ${ac_cv_sizeof_double+:} false
; then :
16867 $as_echo_n "(cached) " >&6
16869 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
16872 if test "$ac_cv_type_double" = yes; then
16873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16875 as_fn_error
77 "cannot compute sizeof (double)
16876 See \`config.log' for more details" "$LINENO" 5; }
16878 ac_cv_sizeof_double
=0
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
16884 $as_echo "$ac_cv_sizeof_double" >&6; }
16888 cat >>confdefs.h
<<_ACEOF
16889 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
16894 #====================================================================================
16895 # Determine endian-ness of target processor.
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor byte ordering" >&5
16898 $as_echo_n "checking processor byte ordering... " >&6; }
16899 if ${ac_cv_c_byte_order+:} false
; then :
16900 $as_echo_n "(cached) " >&6
16902 # Initialize to unknown
16903 ac_cv_c_byte_order
=unknown
16905 if test x
$ac_cv_header_endian_h = xyes
; then
16907 # First try <endian.h> which should set BYTE_ORDER.
16909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16912 #include <endian.h>
16913 #if BYTE_ORDER != LITTLE_ENDIAN
16925 if ac_fn_c_try_link
"$LINENO"; then :
16926 ac_cv_c_byte_order
=little
16929 rm -f core conftest.err conftest.
$ac_objext \
16930 conftest
$ac_exeext conftest.
$ac_ext
16932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16935 #include <endian.h>
16936 #if BYTE_ORDER != BIG_ENDIAN
16948 if ac_fn_c_try_link
"$LINENO"; then :
16949 ac_cv_c_byte_order
=big
16952 rm -f core conftest.err conftest.
$ac_objext \
16953 conftest
$ac_exeext conftest.
$ac_ext
16957 if test $ac_cv_c_byte_order = unknown
; then
16959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16962 #include <sys/types.h>
16963 #include <sys/param.h>
16964 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16965 bogus endian macros
16976 if ac_fn_c_try_link
"$LINENO"; then :
16977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 #include <sys/types.h>
16981 #include <sys/param.h>
16982 #if BYTE_ORDER != LITTLE_ENDIAN
16994 if ac_fn_c_try_link
"$LINENO"; then :
16995 ac_cv_c_byte_order
=little
16998 rm -f core conftest.err conftest.
$ac_objext \
16999 conftest
$ac_exeext conftest.
$ac_ext
17001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17004 #include <sys/types.h>
17005 #include <sys/param.h>
17006 #if BYTE_ORDER != LITTLE_ENDIAN
17018 if ac_fn_c_try_link
"$LINENO"; then :
17019 ac_cv_c_byte_order
=little
17022 rm -f core conftest.err conftest.
$ac_objext \
17023 conftest
$ac_exeext conftest.
$ac_ext
17027 rm -f core conftest.err conftest.
$ac_objext \
17028 conftest
$ac_exeext conftest.
$ac_ext
17032 if test $ac_cv_c_byte_order = unknown
; then
17033 if test $cross_compiling = yes ; then
17034 # This is the last resort. Try to guess the target processor endian-ness
17035 # by looking at the target CPU type.
17037 case "$target_cpu" in
17038 alpha
* | i?
86* | mipsel
* | ia64
*)
17039 ac_cv_c_byte_order
=little
17042 m68
* | mips
* | powerpc
* | hppa
* | sparc
*)
17043 ac_cv_c_byte_order
=big
17049 if test "$cross_compiling" = yes; then :
17050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17052 as_fn_error $?
"cannot run test program while cross compiling
17053 See \`config.log' for more details" "$LINENO" 5; }
17055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17059 { /* Are we little or big endian? From Harbison&Steele. */
17062 char c [sizeof (long)] ;
17065 return (u.c [sizeof (long) - 1] == 1);
17069 if ac_fn_c_try_run
"$LINENO"; then :
17072 ac_cv_c_byte_order
=big
17074 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17075 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17079 if test "$cross_compiling" = yes; then :
17080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17082 as_fn_error $?
"cannot run test program while cross compiling
17083 See \`config.log' for more details" "$LINENO" 5; }
17085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17088 { /* Are we little or big endian? From Harbison&Steele. */
17091 char c [sizeof (long)] ;
17094 return (u.c [0] == 1);
17097 if ac_fn_c_try_run
"$LINENO"; then :
17100 ac_cv_c_byte_order
=little
17102 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17103 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_byte_order" >&5
17112 $as_echo "$ac_cv_c_byte_order" >&6; }
17114 if test $ac_cv_c_byte_order = big
; then
17115 ac_cv_c_big_endian
=1
17116 ac_cv_c_little_endian
=0
17117 elif test $ac_cv_c_byte_order = little
; then
17118 ac_cv_c_big_endian
=0
17119 ac_cv_c_little_endian
=1
17121 ac_cv_c_big_endian
=0
17122 ac_cv_c_little_endian
=0
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
17125 $as_echo "$as_me: WARNING: *****************************************************************" >&2;}
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Not able to determine endian-ness of target processor. " >&5
17127 $as_echo "$as_me: WARNING: *** Not able to determine endian-ness of target processor. " >&2;}
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in " >&5
17129 $as_echo "$as_me: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in " >&2;}
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** src/config.h may need to be hand editied. " >&5
17131 $as_echo "$as_me: WARNING: *** src/config.h may need to be hand editied. " >&2;}
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
17133 $as_echo "$as_me: WARNING: *****************************************************************" >&2;}
17140 cat >>confdefs.h
<<_ACEOF
17141 #define CPU_IS_BIG_ENDIAN ${ac_cv_c_big_endian}
17145 cat >>confdefs.h
<<_ACEOF
17146 #define CPU_IS_LITTLE_ENDIAN ${ac_cv_c_little_endian}
17150 #====================================================================================
17151 # Check for functions.
17153 for ac_func
in malloc calloc free memcpy memmove alarm signal
17155 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17156 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17157 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17158 cat >>confdefs.h
<<_ACEOF
17159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
17167 $as_echo_n "checking for floor in -lm... " >&6; }
17168 if ${ac_cv_lib_m_floor+:} false
; then :
17169 $as_echo_n "(cached) " >&6
17171 ac_check_lib_save_LIBS
=$LIBS
17173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17176 /* Override any GCC internal prototype to avoid an error.
17177 Use char because int might match the return type of a GCC
17178 builtin and then its argument prototype would still apply. */
17191 if ac_fn_c_try_link
"$LINENO"; then :
17192 ac_cv_lib_m_floor
=yes
17194 ac_cv_lib_m_floor
=no
17196 rm -f core conftest.err conftest.
$ac_objext \
17197 conftest
$ac_exeext conftest.
$ac_ext
17198 LIBS
=$ac_check_lib_save_LIBS
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
17201 $as_echo "$ac_cv_lib_m_floor" >&6; }
17202 if test "x$ac_cv_lib_m_floor" = xyes
; then :
17203 cat >>confdefs.h
<<_ACEOF
17204 #define HAVE_LIBM 1
17211 for ac_func
in floor ceil fmod
17213 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17214 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17215 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17216 cat >>confdefs.h
<<_ACEOF
17217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGALRM" >&5
17225 $as_echo_n "checking for SIGALRM... " >&6; }
17226 if ${ac_cv_signal_SIGALRM+:} false
; then :
17227 $as_echo_n "(cached) " >&6
17230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17233 #include <signal.h>
17239 signal(SIGALRM, SIG_DFL) ;
17244 if ac_fn_c_try_link
"$LINENO"; then :
17245 ac_cv_signal_SIGALRM
=yes
17247 ac_cv_signal_SIGALRM
=no
17249 rm -f core conftest.err conftest.
$ac_objext \
17250 conftest
$ac_exeext conftest.
$ac_ext
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signal_SIGALRM" >&5
17255 $as_echo "$ac_cv_signal_SIGALRM" >&6; }
17257 if test "$ac_cv_signal_SIGALRM" = yes; then
17259 $as_echo "#define HAVE_SIGALRM 1" >>confdefs.h
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
17265 $as_echo_n "checking for lrint... " >&6; }
17266 if ${ac_cv_c99_lrint+:} false
; then :
17267 $as_echo_n "(cached) " >&6
17270 lrint_save_CFLAGS
=$CFLAGS
17272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17275 #define _ISOC9X_SOURCE 1
17276 #define _ISOC99_SOURCE 1
17277 #define __USE_ISOC99 1
17278 #define __USE_ISOC9X 1
17285 if (!lrint(3.14159)) lrint(2.7183);
17290 if ac_fn_c_try_link
"$LINENO"; then :
17291 ac_cv_c99_lrint
=yes
17295 rm -f core conftest.err conftest.
$ac_objext \
17296 conftest
$ac_exeext conftest.
$ac_ext
17298 CFLAGS
=$lrint_save_CFLAGS
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
17303 $as_echo "$ac_cv_c99_lrint" >&6; }
17305 if test "$ac_cv_c99_lrint" = yes; then
17307 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
17312 $as_echo_n "checking for lrintf... " >&6; }
17313 if ${ac_cv_c99_lrintf+:} false
; then :
17314 $as_echo_n "(cached) " >&6
17317 lrintf_save_CFLAGS
=$CFLAGS
17319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17322 #define _ISOC9X_SOURCE 1
17323 #define _ISOC99_SOURCE 1
17324 #define __USE_ISOC99 1
17325 #define __USE_ISOC9X 1
17332 if (!lrintf(3.14159)) lrintf(2.7183);
17337 if ac_fn_c_try_link
"$LINENO"; then :
17338 ac_cv_c99_lrintf
=yes
17340 ac_cv_c99_lrintf
=no
17342 rm -f core conftest.err conftest.
$ac_objext \
17343 conftest
$ac_exeext conftest.
$ac_ext
17345 CFLAGS
=$lrintf_save_CFLAGS
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
17350 $as_echo "$ac_cv_c99_lrintf" >&6; }
17352 if test "$ac_cv_c99_lrintf" = yes; then
17354 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
17358 # AC_C99_FUNC_LLRINT Don't need this (yet?).
17360 case "x$ac_cv_c99_lrint$ac_cv_c99_lrintf" in
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Missing C99 standard functions lrint() and lrintf()." >&5
17365 $as_echo "$as_me: WARNING: *** Missing C99 standard functions lrint() and lrintf()." >&2;}
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** This may cause benign compiler warnings on some systems (ie Solaris)." >&5
17367 $as_echo "$as_me: WARNING: *** This may cause benign compiler warnings on some systems (ie Solaris)." >&2;}
17371 #====================================================================================
17372 # Determine if the processor can do clipping on float to int conversions.
17374 if test x
$ac_arg_cpu_clip = "xY" ; then
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor clipping capabilities" >&5
17376 $as_echo_n "checking processor clipping capabilities... " >&6; }
17377 if ${ac_cv_c_clip_type+:} false
; then :
17378 $as_echo_n "(cached) " >&6
17380 # Initialize to unknown
17381 ac_cv_c_clip_positive
=unknown
17382 ac_cv_c_clip_negative
=unknown
17385 if test $ac_cv_c_clip_positive = unknown
; then
17386 if test "$cross_compiling" = yes; then :
17387 ac_cv_c_clip_positive
=unknown
17390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17393 #define _ISOC9X_SOURCE 1
17394 #define _ISOC99_SOURCE 1
17395 #define __USE_ISOC99 1
17396 #define __USE_ISOC9X 1
17402 fval = 1.0 * 0x7FFFFFFF ;
17403 for (k = 0 ; k < 100 ; k++)
17404 { ival = (lrint (fval)) >> 24 ;
17408 fval *= 1.2499999 ;
17415 if ac_fn_c_try_run
"$LINENO"; then :
17416 ac_cv_c_clip_positive
=yes
17418 ac_cv_c_clip_positive
=no
17420 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17421 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17425 if test "$cross_compiling" = yes; then :
17426 ac_cv_c_clip_negative
=unknown
17429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17432 #define _ISOC9X_SOURCE 1
17433 #define _ISOC99_SOURCE 1
17434 #define __USE_ISOC99 1
17435 #define __USE_ISOC9X 1
17441 fval = -8.0 * 0x10000000 ;
17442 for (k = 0 ; k < 100 ; k++)
17443 { ival = (lrint (fval)) >> 24 ;
17447 fval *= 1.2499999 ;
17454 if ac_fn_c_try_run
"$LINENO"; then :
17455 ac_cv_c_clip_negative
=yes
17457 ac_cv_c_clip_negative
=no
17459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17460 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17465 if test $ac_cv_c_clip_positive = yes ; then
17466 ac_cv_c_clip_positive
=1
17468 ac_cv_c_clip_positive
=0
17471 if test $ac_cv_c_clip_negative = yes ; then
17472 ac_cv_c_clip_negative
=1
17474 ac_cv_c_clip_negative
=0
17478 case "$ac_cv_c_clip_positive$ac_cv_c_clip_negative" in
17480 ac_cv_c_clip_type
="none"
17483 ac_cv_c_clip_type
="positive"
17486 ac_cv_c_clip_type
="negative"
17489 ac_cv_c_clip_type
="both"
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_clip_type" >&5
17497 $as_echo "$ac_cv_c_clip_type" >&6; }
17502 echo "checking processor clipping capabilities... disabled"
17503 ac_cv_c_clip_positive
=0
17504 ac_cv_c_clip_negative
=0
17508 cat >>confdefs.h
<<_ACEOF
17509 #define CPU_CLIPS_POSITIVE ${ac_cv_c_clip_positive}
17513 cat >>confdefs.h
<<_ACEOF
17514 #define CPU_CLIPS_NEGATIVE ${ac_cv_c_clip_negative}
17518 #====================================================================================
17519 # Check for libsndfile which is required for the test and example programs.
17521 # Check whether --enable-sndfile was given.
17522 if test "${enable_sndfile+set}" = set; then :
17523 enableval
=$enable_sndfile; enable_sndfile
=$enableval
17529 # Check for pkg-config outside the if statement.
17537 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17538 if test -n "$ac_tool_prefix"; then
17539 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17540 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17542 $as_echo_n "checking for $ac_word... " >&6; }
17543 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17544 $as_echo_n "(cached) " >&6
17546 case $PKG_CONFIG in
17548 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17552 for as_dir
in $PATH
17555 test -z "$as_dir" && as_dir
=.
17556 for ac_exec_ext
in '' $ac_executable_extensions; do
17557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17558 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17569 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17570 if test -n "$PKG_CONFIG"; then
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17572 $as_echo "$PKG_CONFIG" >&6; }
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17575 $as_echo "no" >&6; }
17580 if test -z "$ac_cv_path_PKG_CONFIG"; then
17581 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17582 # Extract the first word of "pkg-config", so it can be a program name with args.
17583 set dummy pkg-config
; ac_word
=$2
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17585 $as_echo_n "checking for $ac_word... " >&6; }
17586 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17587 $as_echo_n "(cached) " >&6
17589 case $ac_pt_PKG_CONFIG in
17591 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17595 for as_dir
in $PATH
17598 test -z "$as_dir" && as_dir
=.
17599 for ac_exec_ext
in '' $ac_executable_extensions; do
17600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17601 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17612 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17613 if test -n "$ac_pt_PKG_CONFIG"; then
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17615 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17618 $as_echo "no" >&6; }
17621 if test "x$ac_pt_PKG_CONFIG" = x
; then
17624 case $cross_compiling:$ac_tool_warned in
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17628 ac_tool_warned
=yes ;;
17630 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17633 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17637 if test -n "$PKG_CONFIG"; then
17638 _pkg_min_version
=0.9.0
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17640 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17641 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17643 $as_echo "yes" >&6; }
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17646 $as_echo "no" >&6; }
17651 if test "x$enable_sndfile" = "xyes"; then
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
17655 $as_echo_n "checking for SNDFILE... " >&6; }
17657 if test -n "$SNDFILE_CFLAGS"; then
17658 pkg_cv_SNDFILE_CFLAGS
="$SNDFILE_CFLAGS"
17659 elif test -n "$PKG_CONFIG"; then
17660 if test -n "$PKG_CONFIG" && \
17661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.6\""; } >&5
17662 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.6") 2>&5
17664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17665 test $ac_status = 0; }; then
17666 pkg_cv_SNDFILE_CFLAGS
=`$PKG_CONFIG --cflags "sndfile >= 1.0.6" 2>/dev/null`
17667 test "x$?" != "x0" && pkg_failed
=yes
17674 if test -n "$SNDFILE_LIBS"; then
17675 pkg_cv_SNDFILE_LIBS
="$SNDFILE_LIBS"
17676 elif test -n "$PKG_CONFIG"; then
17677 if test -n "$PKG_CONFIG" && \
17678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.6\""; } >&5
17679 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.6") 2>&5
17681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17682 test $ac_status = 0; }; then
17683 pkg_cv_SNDFILE_LIBS
=`$PKG_CONFIG --libs "sndfile >= 1.0.6" 2>/dev/null`
17684 test "x$?" != "x0" && pkg_failed
=yes
17694 if test $pkg_failed = yes; then
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17696 $as_echo "no" >&6; }
17698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17699 _pkg_short_errors_supported
=yes
17701 _pkg_short_errors_supported
=no
17703 if test $_pkg_short_errors_supported = yes; then
17704 SNDFILE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.6" 2>&1`
17706 SNDFILE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.6" 2>&1`
17708 # Put the nasty error message in config.log where it belongs
17709 echo "$SNDFILE_PKG_ERRORS" >&5
17712 elif test $pkg_failed = untried
; then
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17714 $as_echo "no" >&6; }
17717 SNDFILE_CFLAGS
=$pkg_cv_SNDFILE_CFLAGS
17718 SNDFILE_LIBS
=$pkg_cv_SNDFILE_LIBS
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17720 $as_echo "yes" >&6; }
17728 cat >>confdefs.h
<<_ACEOF
17729 #define HAVE_SNDFILE $ac_cv_sndfile
17733 if test x
$ac_cv_sndfile = x1
; then
17741 #====================================================================================
17746 if test x
$enable_alsa != xno
; then
17747 for ac_header
in alsa
/asoundlib.h
17749 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
17750 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes
; then :
17751 cat >>confdefs.h
<<_ACEOF
17752 #define HAVE_ALSA_ASOUNDLIB_H 1
17759 if test x
$ac_cv_header_alsa_asoundlib_h = xyes
; then
17760 ALSA_LIBS
="-lasound"
17765 #====================================================================================
17766 # Check for libfftw3 which is required for the test and example programs.
17768 if test $ac_arg_fftw = "Y" ; then
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFTW3" >&5
17772 $as_echo_n "checking for FFTW3... " >&6; }
17774 if test -n "$FFTW3_CFLAGS"; then
17775 pkg_cv_FFTW3_CFLAGS
="$FFTW3_CFLAGS"
17776 elif test -n "$PKG_CONFIG"; then
17777 if test -n "$PKG_CONFIG" && \
17778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 0.15.0\""; } >&5
17779 ($PKG_CONFIG --exists --print-errors "fftw3 >= 0.15.0") 2>&5
17781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17782 test $ac_status = 0; }; then
17783 pkg_cv_FFTW3_CFLAGS
=`$PKG_CONFIG --cflags "fftw3 >= 0.15.0" 2>/dev/null`
17784 test "x$?" != "x0" && pkg_failed
=yes
17791 if test -n "$FFTW3_LIBS"; then
17792 pkg_cv_FFTW3_LIBS
="$FFTW3_LIBS"
17793 elif test -n "$PKG_CONFIG"; then
17794 if test -n "$PKG_CONFIG" && \
17795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 0.15.0\""; } >&5
17796 ($PKG_CONFIG --exists --print-errors "fftw3 >= 0.15.0") 2>&5
17798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17799 test $ac_status = 0; }; then
17800 pkg_cv_FFTW3_LIBS
=`$PKG_CONFIG --libs "fftw3 >= 0.15.0" 2>/dev/null`
17801 test "x$?" != "x0" && pkg_failed
=yes
17811 if test $pkg_failed = yes; then
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17813 $as_echo "no" >&6; }
17815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17816 _pkg_short_errors_supported
=yes
17818 _pkg_short_errors_supported
=no
17820 if test $_pkg_short_errors_supported = yes; then
17821 FFTW3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3 >= 0.15.0" 2>&1`
17823 FFTW3_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "fftw3 >= 0.15.0" 2>&1`
17825 # Put the nasty error message in config.log where it belongs
17826 echo "$FFTW3_PKG_ERRORS" >&5
17829 elif test $pkg_failed = untried
; then
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17831 $as_echo "no" >&6; }
17834 FFTW3_CFLAGS
=$pkg_cv_FFTW3_CFLAGS
17835 FFTW3_LIBS
=$pkg_cv_FFTW3_LIBS
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17837 $as_echo "yes" >&6; }
17841 cat >>confdefs.h
<<_ACEOF
17842 #define HAVE_FFTW3 $ac_cv_fftw3
17846 if test x
$ac_cv_fftw3 = x1
; then
17852 if test x
$ac_cv_fftw3 != xyes
; then
17857 #====================================================================================
17860 if test $ac_cv_c_compiler_gnu = yes ; then
17861 CFLAGS
="$CFLAGS -std=gnu99 -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith"
17862 # -Wundef -Wbad-function-cast -Wmissing-declarations -Wconversion -Winline"
17863 if test "$ac_arg_gcc_opt" = "N" ; then
17864 temp_CFLAGS
=`echo $CFLAGS | sed "s/O2/O0/"`
17865 CFLAGS
=$temp_CFLAGS
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Compiler optimisations switched off. ***" >&5
17867 $as_echo "$as_me: WARNING: *** Compiler optimisations switched off. ***" >&2;}
17870 # Disable -Wall for Apple Darwin/Rhapsody.
17871 # System headers on these systems are broken.
17872 case "$target_os" in
17873 darwin
* | rhapsody
*)
17874 temp_CFLAGS
=`echo $CFLAGS | sed "s/-Wall//"`
17875 CFLAGS
=$temp_CFLAGS
17878 linux
*|kfreebsd
*-gnu*|gnu
*)
17879 SHLIB_VERSION_ARG
="-Wl,--version-script=Version_script"
17884 if test x
$ac_arg_gcc_pipe != "xN" ; then
17885 CFLAGS
="$CFLAGS -pipe"
17888 if test x
$ac_arg_gcc_werror = "xyes" ; then
17889 CFLAGS
="-Werror $CFLAGS"
17893 $as_echo "#define COMPILER_IS_GCC 1" >>confdefs.h
17895 GCC_MAJOR_VERSION
=`$CC -dumpversion | sed "s/\..*//"`
17897 cat >>confdefs.h
<<_ACEOF
17898 #define GCC_MAJOR_VERSION ${GCC_MAJOR_VERSION}
17903 #====================================================================================
17904 # Find known target OS.
17906 OS_SPECIFIC_INCLUDES
=""
17909 case "$target_os" in
17910 darwin
* | rhapsody
*)
17911 OS_SPECIFIC_INCLUDES
="-fpascal-strings -I/Developer/Headers/FlatCarbon"
17912 OS_SPECIFIC_LINKS
="-framework CoreAudio"
17915 OS_SPECIFIC_LINKS
="-lwinmm"
17919 OS_SPECIFIC_INCLUDES
=""
17920 OS_SPECIFIC_LINKS
=""
17924 htmldocdir
=$prefix/share
/doc
/libsamplerate0-dev
/html
17926 if test $prefix = "NONE" ; then
17927 htmldocdir
=/usr
/local
/share
/doc
/libsamplerate0-dev
/html
17929 htmldocdir
=$prefix/share
/doc
/libsamplerate0-dev
/html
17932 #====================================================================================
17933 # Now use the information from the checking stage.
17936 cat >>confdefs.h
<<_ACEOF
17937 #define OS_IS_WIN32 ${os_is_win32}
17961 ac_config_files
="$ac_config_files Makefile M4/Makefile src/Version_script Win32/Makefile Win32/Makefile.mingw src/Makefile examples/Makefile tests/Makefile doc/Makefile libsamplerate.spec samplerate.pc"
17963 cat >confcache
<<\_ACEOF
17964 # This file is a shell script that caches the results of configure
17965 # tests run on this system so they can be shared between configure
17966 # scripts and configure runs, see configure's option --config-cache.
17967 # It is not useful on other systems. If it contains results you don't
17968 # want to keep, you may remove or edit it.
17970 # config.status only pays attention to the cache file if you give it
17971 # the --recheck option to rerun configure.
17973 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17974 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17975 # following values.
17979 # The following way of writing the cache mishandles newlines in values,
17980 # but we know of no workaround that is simple, portable, and efficient.
17981 # So, we kill variables containing newlines.
17982 # Ultrix sh set writes to stderr and can't be redirected directly,
17983 # and sets the high bit in the cache file unless we assign to the vars.
17985 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17986 eval ac_val
=\$
$ac_var
17990 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17991 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17994 _ | IFS | as_nl
) ;; #(
17995 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17996 *) { eval $ac_var=; unset $ac_var;} ;;
18002 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18003 *${as_nl}ac_space
=\
*)
18004 # `set' does not quote correctly, so add quotes: double-quote
18005 # substitution turns \\\\ into \\, and sed turns \\ into \.
18008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18011 # `set' quotes correctly as required by POSIX, so do not add quotes.
18012 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18021 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18023 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18025 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18026 if test -w "$cache_file"; then
18027 if test "x$cache_file" != "x/dev/null"; then
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18029 $as_echo "$as_me: updating cache $cache_file" >&6;}
18030 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18031 cat confcache
>"$cache_file"
18033 case $cache_file in #(
18035 mv -f confcache
"$cache_file"$$
&&
18036 mv -f "$cache_file"$$
"$cache_file" ;; #(
18038 mv -f confcache
"$cache_file" ;;
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18044 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18049 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18050 # Let make expand exec_prefix.
18051 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18053 DEFS
=-DHAVE_CONFIG_H
18058 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18059 # 1. Remove the extension, and $U if already installed.
18060 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18061 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18062 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18063 # will be set to the directory where LIBOBJS objects are built.
18064 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18065 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18067 LIBOBJS
=$ac_libobjs
18069 LTLIBOBJS
=$ac_ltlibobjs
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18073 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18074 if test -n "$am_sleep_pid"; then
18075 # Hide warnings about reused PIDs.
18076 wait $am_sleep_pid 2>/dev
/null
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18079 $as_echo "done" >&6; }
18080 if test -n "$EXEEXT"; then
18082 am__EXEEXT_FALSE
='#'
18084 am__EXEEXT_TRUE
='#'
18088 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18089 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18092 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18093 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18096 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18097 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
18098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18101 : "${CONFIG_STATUS=./config.status}"
18103 ac_clean_files_save
=$ac_clean_files
18104 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18106 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18108 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18110 # Generated by $as_me.
18111 # Run this file to recreate the current configuration.
18112 # Compiler output produced by configure, useful for debugging
18113 # configure, is in config.log if it exists.
18116 ac_cs_recheck=false
18119 SHELL=\${CONFIG_SHELL-$SHELL}
18122 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18123 ## -------------------- ##
18124 ## M4sh Initialization. ##
18125 ## -------------------- ##
18127 # Be more Bourne compatible
18128 DUALCASE
=1; export DUALCASE
# for MKS sh
18129 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18132 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18133 # is contrary to our usage. Disable this feature.
18134 alias -g '${1+"$@"}'='"$@"'
18135 setopt NO_GLOB_SUBST
18137 case `(set -o) 2>/dev/null` in #(
18149 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18150 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18151 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18152 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18153 # Prefer a ksh shell builtin over an external printf program on Solaris,
18154 # but without wasting forks for bash or zsh.
18155 if test -z "$BASH_VERSION$ZSH_VERSION" \
18156 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18157 as_echo='print
-r --'
18158 as_echo_n='print
-rn --'
18159 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18160 as_echo='printf %s
\n'
18161 as_echo_n='printf %s
'
18163 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18164 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18165 as_echo_n='/usr
/ucb
/echo -n'
18167 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18168 as_echo_n_body='eval
18172 expr "X$arg" : "X\\(.*\\)$as_nl";
18173 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18175 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18177 export as_echo_n_body
18178 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18180 export as_echo_body
18181 as_echo='sh
-c $as_echo_body as_echo
'
18184 # The user is always right.
18185 if test "${PATH_SEPARATOR+set}" != set; then
18187 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18188 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18195 # We need space, tab and new line, in precisely that order. Quoting is
18196 # there to prevent editors from complaining about space-tab.
18197 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18198 # splitting by setting IFS to empty value.)
18201 # Find who we are. Look in the path if we contain no directory separator.
18204 *[\\/]* ) as_myself=$0 ;;
18205 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18206 for as_dir in $PATH
18209 test -z "$as_dir" && as_dir=.
18210 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18216 # We did not find ourselves, most probably we were run as `sh COMMAND'
18217 # in which case we are not to be found in the path.
18218 if test "x$as_myself" = x
; then
18221 if test ! -f "$as_myself"; then
18222 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18226 # Unset variables that we do not need and which cause bugs (e.g. in
18227 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18228 # suppresses any "Segmentation fault" message there. '((' could
18229 # trigger a bug in pdksh 5.2.14.
18230 for as_var
in BASH_ENV ENV MAIL MAILPATH
18231 do eval test x\
${$as_var+set} = xset \
18232 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18245 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18248 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18249 # ----------------------------------------
18250 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18251 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18252 # script with STATUS, using 1 if that was 0.
18255 as_status
=$1; test $as_status -eq 0 && as_status
=1
18257 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18258 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18260 $as_echo "$as_me: error: $2" >&2
18261 as_fn_exit
$as_status
18265 # as_fn_set_status STATUS
18266 # -----------------------
18267 # Set $? to STATUS, without forking.
18268 as_fn_set_status
()
18271 } # as_fn_set_status
18273 # as_fn_exit STATUS
18274 # -----------------
18275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18279 as_fn_set_status
$1
18285 # Portably unset VAR.
18288 { eval $1=; unset $1;}
18290 as_unset
=as_fn_unset
18291 # as_fn_append VAR VALUE
18292 # ----------------------
18293 # Append the text in VALUE to the end of the definition contained in VAR. Take
18294 # advantage of any shell optimizations that allow amortized linear growth over
18295 # repeated appends, instead of the typical quadratic growth present in naive
18297 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18298 eval 'as_fn_append ()
18309 # as_fn_arith ARG...
18310 # ------------------
18311 # Perform arithmetic evaluation on the ARGs, and store the result in the
18312 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18313 # must be portable across $(()) and expr.
18314 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18315 eval 'as_fn_arith ()
18322 as_val
=`expr "$@" || test $? -eq 1`
18327 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18328 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18334 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18335 as_basename
=basename
18340 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18346 as_me
=`$as_basename -- "$0" ||
18347 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18348 X"$0" : 'X\(//\)$' \| \
18349 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18351 sed '/^.*\/\([^/][^/]*\)\/*$/{
18365 # Avoid depending upon Character Ranges.
18366 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18367 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18368 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18369 as_cr_digits
='0123456789'
18370 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18372 ECHO_C
= ECHO_N
= ECHO_T
=
18373 case `echo -n x` in #(((((
18375 case `echo 'xy\c'` in
18376 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18378 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18385 rm -f conf$$ conf$$.exe conf$$.
file
18386 if test -d conf$$.dir
; then
18387 rm -f conf$$.dir
/conf$$.
file
18390 mkdir conf$$.dir
2>/dev
/null
18392 if (echo >conf$$.
file) 2>/dev
/null
; then
18393 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18395 # ... but there are two gotchas:
18396 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18397 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18398 # In both cases, we have to default to `cp -pR'.
18399 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18401 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18409 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18410 rmdir conf$$.dir
2>/dev
/null
18415 # Create "$as_dir" as a directory, including parents if necessary.
18420 -*) as_dir
=.
/$as_dir;;
18422 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18426 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18427 *) as_qdir
=$as_dir;;
18429 as_dirs
="'$as_qdir' $as_dirs"
18430 as_dir
=`$as_dirname -- "$as_dir" ||
18431 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18432 X"$as_dir" : 'X\(//\)[^/]' \| \
18433 X"$as_dir" : 'X\(//\)$' \| \
18434 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18435 $as_echo X"$as_dir" |
18436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18440 /^X\(\/\/\)[^/].*/{
18453 test -d "$as_dir" && break
18455 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18456 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18460 if mkdir
-p .
2>/dev
/null
; then
18461 as_mkdir_p
='mkdir -p "$as_dir"'
18463 test -d .
/-p && rmdir .
/-p
18468 # as_fn_executable_p FILE
18469 # -----------------------
18470 # Test if FILE is an executable regular file.
18471 as_fn_executable_p
()
18473 test -f "$1" && test -x "$1"
18474 } # as_fn_executable_p
18475 as_test_x
='test -x'
18476 as_executable_p
=as_fn_executable_p
18478 # Sed expression to map a string onto a valid CPP name.
18479 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18481 # Sed expression to map a string onto a valid variable name.
18482 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18486 ## ----------------------------------- ##
18487 ## Main body of $CONFIG_STATUS script. ##
18488 ## ----------------------------------- ##
18490 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18493 # Save the log message, to keep $0 and so on meaningful, and to
18494 # report actual input values of CONFIG_FILES etc. instead of their
18495 # values after options handling.
18497 This file was extended by libsamplerate $as_me 0.1.9, which was
18498 generated by GNU Autoconf 2.69. Invocation command line was
18500 CONFIG_FILES = $CONFIG_FILES
18501 CONFIG_HEADERS = $CONFIG_HEADERS
18502 CONFIG_LINKS = $CONFIG_LINKS
18503 CONFIG_COMMANDS = $CONFIG_COMMANDS
18506 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18511 case $ac_config_files in *"
18512 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18515 case $ac_config_headers in *"
18516 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18521 # Files that config.status was made for.
18522 config_files="$ac_config_files"
18523 config_headers="$ac_config_headers"
18524 config_commands="$ac_config_commands"
18528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18530 \`$as_me' instantiates files and other configuration actions
18531 from templates according to the current configuration. Unless the files
18532 and actions are specified as TAGs, all are instantiated by default.
18534 Usage: $0 [OPTION]... [TAG]...
18536 -h, --help print this help, then exit
18537 -V, --version print version number and configuration settings, then exit
18538 --config print configuration, then exit
18539 -q, --quiet, --silent
18540 do not print progress messages
18541 -d, --debug don't remove temporary files
18542 --recheck update $as_me by reconfiguring in the same conditions
18543 --file=FILE[:TEMPLATE]
18544 instantiate the configuration file FILE
18545 --header=FILE[:TEMPLATE]
18546 instantiate the configuration header FILE
18548 Configuration files:
18551 Configuration headers:
18554 Configuration commands:
18557 Report bugs to <erikd@mega-nerd.com>.
18558 libsamplerate home page: <http://www.mega-nerd.com/libsamplerate/>."
18561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18562 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18564 libsamplerate config.status 0.1.9
18565 configured by $0, generated by GNU Autoconf 2.69,
18566 with options \\"\$ac_cs_config\\"
18568 Copyright (C) 2012 Free Software Foundation, Inc.
18569 This config.status script is free software; the Free Software Foundation
18570 gives unlimited permission to copy, distribute and modify it."
18577 test -n "\$AWK" || AWK=awk
18580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18581 # The default lists apply if the user does not specify any file.
18587 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18588 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18592 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18604 # Handling of the options.
18605 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18607 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18608 $as_echo "$ac_cs_version"; exit ;;
18609 --config |
--confi |
--conf |
--con |
--co |
--c )
18610 $as_echo "$ac_cs_config"; exit ;;
18611 --debug |
--debu |
--deb |
--de |
--d |
-d )
18613 --file |
--fil |
--fi |
--f )
18616 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18617 '') as_fn_error $?
"missing file argument" ;;
18619 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18620 ac_need_defaults
=false
;;
18621 --header |
--heade |
--head |
--hea )
18624 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18626 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18627 ac_need_defaults
=false
;;
18629 # Conflict between --help and --header
18630 as_fn_error $?
"ambiguous option: \`$1'
18631 Try \`$0 --help' for more information.";;
18632 --help |
--hel |
-h )
18633 $as_echo "$ac_cs_usage"; exit ;;
18634 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18635 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18638 # This is an error.
18639 -*) as_fn_error $?
"unrecognized option: \`$1'
18640 Try \`$0 --help' for more information." ;;
18642 *) as_fn_append ac_config_targets
" $1"
18643 ac_need_defaults
=false
;;
18649 ac_configure_extra_args
=
18651 if $ac_cs_silent; then
18653 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18658 if \$ac_cs_recheck; then
18659 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18661 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18662 CONFIG_SHELL='$SHELL'
18663 export CONFIG_SHELL
18668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18673 ## Running $as_me. ##
18679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18683 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18686 # The HP-UX ksh and POSIX shell print the target directory to stdout
18687 # if CDPATH is set.
18688 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18690 sed_quote_subst='$sed_quote_subst'
18691 double_quote_subst='$double_quote_subst'
18692 delay_variable_subst='$delay_variable_subst'
18693 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18694 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18695 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18696 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18697 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18698 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18699 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18700 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18701 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18702 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18703 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18704 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18705 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18706 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18707 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18708 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18709 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18710 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18711 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18712 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18713 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18714 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18715 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18716 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18717 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18718 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18719 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18720 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18721 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18722 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18723 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18724 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18725 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18726 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18727 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18728 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18729 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18730 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18731 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18732 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18733 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18734 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18735 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18736 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18737 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18738 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18739 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18740 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18741 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18742 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18743 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18744 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18745 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18746 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18747 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18748 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18749 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18750 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18751 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"`'
18752 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18753 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18754 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18755 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18756 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18757 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18758 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18759 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18760 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18761 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18762 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18763 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18764 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18765 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18766 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18767 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18768 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18769 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18770 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18771 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18772 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18773 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18774 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18775 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18776 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18777 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18778 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18779 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18780 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18781 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18782 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18783 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18784 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18785 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18786 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18787 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18788 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18789 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18790 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18791 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18792 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18793 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18794 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18795 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18796 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18797 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18798 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18799 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18800 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18801 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18802 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18803 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18804 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18805 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18806 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18807 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18808 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18809 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18810 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18811 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18812 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18813 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18814 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18815 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18816 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18817 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18818 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18819 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18820 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18821 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18822 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18823 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18824 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18825 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18826 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18827 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18828 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18829 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18830 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18831 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18832 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18833 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18834 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18835 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
18836 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18837 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
18838 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18839 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
18840 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18841 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
18842 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18843 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
18844 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18845 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
18846 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18847 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
18848 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18849 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
18850 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18851 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
18852 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18853 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
18854 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18855 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
18856 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18857 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
18858 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18859 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
18860 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18861 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
18862 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18863 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
18864 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18865 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
18866 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18867 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
18868 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18869 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
18870 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18871 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
18872 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18873 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
18874 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18875 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
18876 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18877 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
18878 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18879 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
18880 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18881 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
18882 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18883 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
18884 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18885 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
18886 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18887 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
18888 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18889 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
18890 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18891 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
18892 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18893 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
18894 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18895 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
18896 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18897 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
18898 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18899 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
18900 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18901 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
18902 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18903 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
18904 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18905 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
18906 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18907 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
18908 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18909 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
18910 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18911 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
18912 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18913 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
18914 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18915 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
18916 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18917 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
18918 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18919 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
18920 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18921 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
18922 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18923 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
18924 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18925 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
18926 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18927 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
18928 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18929 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
18932 LTCFLAGS='$LTCFLAGS'
18933 compiler='$compiler_DEFAULT'
18935 # A function that is used when there is no print builtin or printf.
18936 func_fallback_echo ()
18938 eval 'cat <<_LTECHO_EOF
18943 # Quote evaled strings.
18958 deplibs_check_method \
18963 sharedlib_from_linklib_cmd \
18966 archiver_list_spec \
18972 lt_cv_sys_global_symbol_pipe \
18973 lt_cv_sys_global_symbol_to_cdecl \
18974 lt_cv_sys_global_symbol_to_import \
18975 lt_cv_sys_global_symbol_to_c_name_address \
18976 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18977 lt_cv_nm_interface \
18978 nm_file_list_spec \
18979 lt_cv_truncate_bin \
18980 lt_prog_compiler_no_builtin_flag \
18981 lt_prog_compiler_pic \
18982 lt_prog_compiler_wl \
18983 lt_prog_compiler_static \
18984 lt_cv_prog_compiler_c_o \
18993 export_dynamic_flag_spec \
18994 whole_archive_flag_spec \
18995 compiler_needs_object \
18997 allow_undefined_flag \
18998 no_undefined_flag \
18999 hardcode_libdir_flag_spec \
19000 hardcode_libdir_separator \
19004 variables_saved_for_relink \
19006 library_names_spec \
19008 install_override_mode \
19012 compiler_lib_search_dirs \
19017 compiler_lib_search_path \
19024 lt_prog_compiler_no_builtin_flag_CXX \
19025 lt_prog_compiler_no_builtin_flag_RC \
19026 lt_prog_compiler_pic_CXX \
19027 lt_prog_compiler_pic_RC \
19028 lt_prog_compiler_wl_CXX \
19029 lt_prog_compiler_wl_RC \
19030 lt_prog_compiler_static_CXX \
19031 lt_prog_compiler_static_RC \
19032 lt_cv_prog_compiler_c_o_CXX \
19033 lt_cv_prog_compiler_c_o_RC \
19034 export_dynamic_flag_spec_CXX \
19035 export_dynamic_flag_spec_RC \
19036 whole_archive_flag_spec_CXX \
19037 whole_archive_flag_spec_RC \
19038 compiler_needs_object_CXX \
19039 compiler_needs_object_RC \
19042 allow_undefined_flag_CXX \
19043 allow_undefined_flag_RC \
19044 no_undefined_flag_CXX \
19045 no_undefined_flag_RC \
19046 hardcode_libdir_flag_spec_CXX \
19047 hardcode_libdir_flag_spec_RC \
19048 hardcode_libdir_separator_CXX \
19049 hardcode_libdir_separator_RC \
19050 exclude_expsyms_CXX \
19051 exclude_expsyms_RC \
19052 include_expsyms_CXX \
19053 include_expsyms_RC \
19054 file_list_spec_CXX \
19055 file_list_spec_RC \
19056 compiler_lib_search_dirs_CXX \
19057 compiler_lib_search_dirs_RC \
19058 predep_objects_CXX \
19059 predep_objects_RC \
19060 postdep_objects_CXX \
19061 postdep_objects_RC \
19066 compiler_lib_search_path_CXX \
19067 compiler_lib_search_path_RC; do
19068 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19069 *[\\\\\\\`\\"\\\$]*)
19070 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19073 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19078 # Double-quote double-evaled strings.
19079 for var in reload_cmds \
19080 old_postinstall_cmds \
19081 old_postuninstall_cmds \
19083 extract_expsyms_cmds \
19084 old_archive_from_new_cmds \
19085 old_archive_from_expsyms_cmds \
19087 archive_expsym_cmds \
19089 module_expsym_cmds \
19090 export_symbols_cmds \
19094 postuninstall_cmds \
19096 sys_lib_search_path_spec \
19097 configure_time_dlsearch_path \
19098 configure_time_lt_sys_library_path \
19101 old_archive_cmds_CXX \
19102 old_archive_cmds_RC \
19103 old_archive_from_new_cmds_CXX \
19104 old_archive_from_new_cmds_RC \
19105 old_archive_from_expsyms_cmds_CXX \
19106 old_archive_from_expsyms_cmds_RC \
19109 archive_expsym_cmds_CXX \
19110 archive_expsym_cmds_RC \
19113 module_expsym_cmds_CXX \
19114 module_expsym_cmds_RC \
19115 export_symbols_cmds_CXX \
19116 export_symbols_cmds_RC \
19119 postlink_cmds_CXX \
19120 postlink_cmds_RC; do
19121 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19122 *[\\\\\\\`\\"\\\$]*)
19123 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19126 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19131 ac_aux_dir='$ac_aux_dir'
19133 # See if we are running on zsh, and set the options that allow our
19134 # commands through without removal of \ escapes INIT.
19135 if test -n "\${ZSH_VERSION+set}"; then
19136 setopt NO_GLOB_SUBST
19154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19156 # Handling of arguments.
19157 for ac_config_target
in $ac_config_targets
19159 case $ac_config_target in
19160 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
19161 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19162 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19163 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19164 "M4/Makefile") CONFIG_FILES
="$CONFIG_FILES M4/Makefile" ;;
19165 "src/Version_script") CONFIG_FILES
="$CONFIG_FILES src/Version_script" ;;
19166 "Win32/Makefile") CONFIG_FILES
="$CONFIG_FILES Win32/Makefile" ;;
19167 "Win32/Makefile.mingw") CONFIG_FILES
="$CONFIG_FILES Win32/Makefile.mingw" ;;
19168 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
19169 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
19170 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
19171 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
19172 "libsamplerate.spec") CONFIG_FILES
="$CONFIG_FILES libsamplerate.spec" ;;
19173 "samplerate.pc") CONFIG_FILES
="$CONFIG_FILES samplerate.pc" ;;
19175 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19180 # If the user did not use the arguments to specify the items to instantiate,
19181 # then the envvar interface is used. Set only those that are not.
19182 # We use the long form for the default assignment because of an extremely
19183 # bizarre bug on SunOS 4.1.3.
19184 if $ac_need_defaults; then
19185 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19186 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19187 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19190 # Have a temporary directory for convenience. Make it in the build tree
19191 # simply because there is no reason against having it here, and in addition,
19192 # creating and moving files from /tmp can sometimes cause problems.
19193 # Hook for its removal unless debugging.
19194 # Note that there is a small window in which the directory will not be cleaned:
19195 # after its creation but before its name has been assigned to `$tmp'.
19199 trap 'exit_status=$?
19200 : "${ac_tmp:=$tmp}"
19201 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19203 trap 'as_fn_exit 1' 1 2 13 15
19205 # Create a (secure) tmp directory for tmp files.
19208 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19212 tmp
=.
/conf$$
-$RANDOM
19213 (umask 077 && mkdir
"$tmp")
19214 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19217 # Set up the scripts for CONFIG_FILES section.
19218 # No need to generate them if there are no CONFIG_FILES.
19219 # This happens for instance with `./config.status config.h'.
19220 if test -n "$CONFIG_FILES"; then
19223 ac_cr
=`echo X | tr X '\015'`
19224 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19225 # But we know of no other shell where ac_cr would be empty at this
19226 # point, so we can use a bashism as a fallback.
19227 if test "x$ac_cr" = x
; then
19228 eval ac_cr
=\$
\'\\r
\'
19230 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19231 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19234 ac_cs_awk_cr
=$ac_cr
19237 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19242 echo "cat >conf$$subs.awk <<_ACEOF" &&
19243 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19245 } >conf$$subs.sh ||
19246 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19247 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19249 for ac_last_try in false false false false false :; do
19250 . ./conf$$subs.sh ||
19251 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19253 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19254 if test $ac_delim_n = $ac_delim_num; then
19256 elif $ac_last_try; then
19257 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19259 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19262 rm -f conf$$subs.sh
19264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19265 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19269 s/^/S["/; s
/!.
*/"]=/
19279 s/\(.\{148\}\)..*/\1/
19281 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19286 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19293 s/\(.\{148\}\)..*/\1/
19295 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19299 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19304 ' <conf$$subs.awk | sed '
19309 ' >>$CONFIG_STATUS || ac_write_fail=1
19310 rm -f conf$$subs.awk
19311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19313 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19314 for (key in S) S_is_set[key] = 1
19320 nfields = split(line, field, "@
")
19322 len = length(field[1])
19323 for (i = 2; i < nfields; i++) {
19325 keylen = length(key)
19326 if (S_is_set[key]) {
19328 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19329 len += length(value) + length(field[++i])
19340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19341 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19342 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19345 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19346 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19349 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19350 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19351 # trailing colons and then remove the whole line if VPATH becomes empty
19352 # (actually we leave an empty line to preserve line numbers).
19353 if test "x
$srcdir" = x.; then
19354 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19373 fi # test -n "$CONFIG_FILES"
19375 # Set up the scripts for CONFIG_HEADERS section.
19376 # No need to generate them if there are no CONFIG_HEADERS.
19377 # This happens for instance with `./config.status Makefile'.
19378 if test -n "$CONFIG_HEADERS"; then
19379 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19383 # Transform confdefs.h into an awk script `defines.awk', embedded as
19384 # here-document in config.status, that substitutes the proper values into
19385 # config.h.in to produce config.h.
19387 # Create a delimiter string that does not exist in confdefs.h, to ease
19388 # handling of long lines.
19390 for ac_last_try in false false :; do
19391 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19392 if test -z "$ac_tt"; then
19394 elif $ac_last_try; then
19395 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19397 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19401 # For the awk script, D is an array of macro values keyed by name,
19402 # likewise P contains macro parameters if any. Preserve backslash
19403 # newline sequences.
19405 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19407 s/.\{148\}/&'"$ac_delim"'/g
19410 s/^[ ]*#[ ]*define[ ][ ]*/ /
19417 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19419 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19423 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19424 D["\
1"]=" \
3\\\\\\n
"\\/p
19426 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19431 s/.\{148\}/&'"$ac_delim"'/g
19436 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19439 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19441 ' <confdefs.h | sed '
19442 s/'"$ac_delim"'/"\\\
19443 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19446 for (key in D) D_is_set[key] = 1
19449 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19451 split(line, arg, " ")
19452 if (arg[1] == "#") {
19456 defundef
= substr
(arg
[1], 2)
19459 split(mac1
, mac2
, "(") #)
19461 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19462 if (D_is_set
[macro
]) {
19463 # Preserve the white space surrounding the "#".
19464 print prefix
"define", macro P
[macro
] D
[macro
]
19467 # Replace #undef with comments. This is necessary, for example,
19468 # in the case of _POSIX_SOURCE, which is predefined and required
19469 # on some systems where configure will not decide to define it.
19470 if (defundef
== "undef") {
19471 print
"/*", prefix defundef
, macro
, "*/"
19479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19480 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19481 fi # test -n "$CONFIG_HEADERS"
19484 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19489 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19491 case $ac_mode$ac_tag in
19493 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19494 :[FH
]-) ac_tag
=-:-;;
19495 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19512 -) ac_f
="$ac_tmp/stdin";;
19513 *) # Look for the file first in the build tree, then in the source tree
19514 # (if the path is not absolute). The absolute path cannot be DOS-style,
19515 # because $ac_f cannot contain `:'.
19519 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19521 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19523 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19524 as_fn_append ac_file_inputs
" '$ac_f'"
19527 # Let's still pretend it is `configure' which instantiates (i.e., don't
19528 # use $as_me), people would be surprised to read:
19529 # /* config.h. Generated by config.status. */
19530 configure_input
='Generated from '`
19531 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19533 if test x
"$ac_file" != x-
; then
19534 configure_input
="$ac_file. $configure_input"
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19536 $as_echo "$as_me: creating $ac_file" >&6;}
19538 # Neutralize special characters interpreted by sed in replacement strings.
19539 case $configure_input in #(
19540 *\
&* |
*\|
* |
*\\* )
19541 ac_sed_conf_input
=`$as_echo "$configure_input" |
19542 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19543 *) ac_sed_conf_input
=$configure_input;;
19547 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19548 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19553 ac_dir
=`$as_dirname -- "$ac_file" ||
19554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19555 X"$ac_file" : 'X\(//\)[^/]' \| \
19556 X"$ac_file" : 'X\(//\)$' \| \
19557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19558 $as_echo X"$ac_file" |
19559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19563 /^X\(\/\/\)[^/].*/{
19576 as_dir
="$ac_dir"; as_fn_mkdir_p
19580 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19582 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19583 # A ".." for each directory in $ac_dir_suffix.
19584 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19585 case $ac_top_builddir_sub in
19586 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19587 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19590 ac_abs_top_builddir
=$ac_pwd
19591 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19592 # for backward compatibility:
19593 ac_top_builddir
=$ac_top_build_prefix
19596 .
) # We are building in place.
19598 ac_top_srcdir
=$ac_top_builddir_sub
19599 ac_abs_top_srcdir
=$ac_pwd ;;
19600 [\\/]* | ?
:[\\/]* ) # Absolute name.
19601 ac_srcdir
=$srcdir$ac_dir_suffix;
19602 ac_top_srcdir
=$srcdir
19603 ac_abs_top_srcdir
=$srcdir ;;
19604 *) # Relative name.
19605 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19606 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19607 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19609 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19619 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19620 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19622 ac_MKDIR_P
=$MKDIR_P
19624 [\\/$
]* | ?
:[\\/]* ) ;;
19625 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19630 # If the template does not know about datarootdir, expand it.
19631 # FIXME: This hack should be removed a few years after 2.60.
19632 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19643 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19644 *datarootdir
*) ac_datarootdir_seen
=yes;;
19645 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19647 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19650 ac_datarootdir_hack='
19651 s&@datadir@&$datadir&g
19652 s&@docdir@&$docdir&g
19653 s&@infodir@&$infodir&g
19654 s&@localedir@&$localedir&g
19655 s&@mandir@&$mandir&g
19656 s&\\\${datarootdir}&$datarootdir&g' ;;
19660 # Neutralize VPATH when `$srcdir' = `.'.
19661 # Shell code in configure.ac might set extrasub.
19662 # FIXME: do we really want to maintain this feature?
19663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19664 ac_sed_extra="$ac_vpsub
19667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19669 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19670 s|@configure_input@|
$ac_sed_conf_input|
;t t
19671 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19672 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19673 s
&@srcdir@
&$ac_srcdir&;t t
19674 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19675 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19676 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19677 s
&@builddir@
&$ac_builddir&;t t
19678 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19679 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19680 s
&@INSTALL@
&$ac_INSTALL&;t t
19681 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19682 $ac_datarootdir_hack
19684 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19685 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19687 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19688 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19689 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19690 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19692 which seems to be undefined. Please make sure it is defined" >&5
19693 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19694 which seems to be undefined. Please make sure it is defined" >&2;}
19696 rm -f "$ac_tmp/stdin"
19698 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19699 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19701 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19707 if test x"$ac_file" != x-; then
19709 $as_echo "/* $configure_input */" \
19710 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19711 } >"$ac_tmp/config.h" \
19712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19713 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19715 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19718 mv "$ac_tmp/config.h" "$ac_file" \
19719 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19722 $as_echo "/* $configure_input */" \
19723 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19724 || as_fn_error $? "could not create -" "$LINENO" 5
19726 # Compute "$ac_file"'s index
in $config_headers.
19729 for _am_header
in $config_headers :; do
19730 case $_am_header in
19731 $_am_arg |
$_am_arg:* )
19734 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19737 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19738 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19739 X"$_am_arg" : 'X\(//\)[^/]' \| \
19740 X"$_am_arg" : 'X\(//\)$' \| \
19741 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19742 $as_echo X"$_am_arg" |
19743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19747 /^X\(\/\/\)[^/].*/{
19759 s/.*/./; q'`/stamp-h
$_am_stamp_count
19762 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19763 $as_echo "$as_me: executing $ac_file commands" >&6;}
19768 case $ac_file$ac_mode in
19769 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19770 # Older Autoconf quotes --file arguments for eval, but not when files
19771 # are listed without --file. Let's play safe and only enable the eval
19772 # if we detect the quoting.
19773 case $CONFIG_FILES in
19774 *\'*) eval set x
"$CONFIG_FILES" ;;
19775 *) set x
$CONFIG_FILES ;;
19780 # Strip MF so we end up with the name of the file.
19781 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19782 # Check whether this is an Automake generated Makefile or not.
19783 # We used to match only the files named 'Makefile.in', but
19784 # some people rename them; so instead we look at the file content.
19785 # Grep'ing the first line is not enough: some people post-process
19786 # each Makefile.in and add a new line on top of each file to say so.
19787 # Grep'ing the whole file is not good either: AIX grep has a line
19788 # limit of 2048, but all sed's we know have understand at least 4000.
19789 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19790 dirpart
=`$as_dirname -- "$mf" ||
19791 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19792 X"$mf" : 'X\(//\)[^/]' \| \
19793 X"$mf" : 'X\(//\)$' \| \
19794 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19800 /^X\(\/\/\)[^/].*/{
19816 # Extract the definition of DEPDIR, am__include, and am__quote
19817 # from the Makefile without running 'make'.
19818 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19819 test -z "$DEPDIR" && continue
19820 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19821 test -z "$am__include" && continue
19822 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19823 # Find all dependency output files, they are included files with
19824 # $(DEPDIR) in their names. We invoke sed twice because it is the
19825 # simplest approach to changing $(DEPDIR) to its actual value in the
19827 for file in `sed -n "
19828 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19829 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19830 # Make sure the directory exists.
19831 test -f "$dirpart/$file" && continue
19832 fdir
=`$as_dirname -- "$file" ||
19833 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19834 X"$file" : 'X\(//\)[^/]' \| \
19835 X"$file" : 'X\(//\)$' \| \
19836 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19837 $as_echo X"$file" |
19838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19842 /^X\(\/\/\)[^/].*/{
19855 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19856 # echo "creating $dirpart/$file"
19857 echo '# dummy' > "$dirpart/$file"
19864 # See if we are running on zsh, and set the options that allow our
19865 # commands through without removal of \ escapes.
19866 if test -n "${ZSH_VERSION+set}"; then
19867 setopt NO_GLOB_SUBST
19871 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19874 cat <<_LT_EOF >> "$cfgfile"
19876 # Generated automatically by $as_me ($PACKAGE) $VERSION
19877 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19879 # Provide generalized library-building support services.
19880 # Written by Gordon Matzigkeit, 1996
19882 # Copyright (C) 2014 Free Software Foundation, Inc.
19883 # This is free software; see the source for copying conditions. There is NO
19884 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19886 # GNU Libtool is free software; you can redistribute it and/or modify
19887 # it under the terms of the GNU General Public License as published by
19888 # the Free Software Foundation; either version 2 of of the License, or
19889 # (at your option) any later version.
19891 # As a special exception to the GNU General Public License, if you
19892 # distribute this file as part of a program or library that is built
19893 # using GNU Libtool, you may include this file under the same
19894 # distribution terms that you use for the rest of that program.
19896 # GNU Libtool is distributed in the hope that it will be useful, but
19897 # WITHOUT ANY WARRANTY; without even the implied warranty of
19898 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19899 # GNU General Public License for more details.
19901 # You should have received a copy of the GNU General Public License
19902 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19905 # The names of the tagged configurations supported by this script.
19906 available_tags='CXX RC '
19908 # Configured defaults for sys_lib_dlsearch_path munging.
19909 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19911 # ### BEGIN LIBTOOL CONFIG
19913 # Which release of libtool.m4 was used?
19914 macro_version=$macro_version
19915 macro_revision=$macro_revision
19917 # Whether or not to build shared libraries.
19918 build_libtool_libs=$enable_shared
19920 # Whether or not to build static libraries.
19921 build_old_libs=$enable_static
19923 # What type of objects to build.
19926 # Whether or not to optimize for fast installation.
19927 fast_install=$enable_fast_install
19929 # Shared archive member basename,for filename based shared library versioning on AIX.
19930 shared_archive_member_spec=$shared_archive_member_spec
19932 # Shell to use when invoking shell scripts.
19935 # An echo program that protects backslashes.
19938 # The PATH separator for the build system.
19939 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19942 host_alias=$host_alias
19946 # The build system.
19947 build_alias=$build_alias
19951 # A sed program that does not truncate output.
19954 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19955 Xsed="\$SED -e 1s/^X//"
19957 # A grep program that handles long lines.
19963 # A literal string matcher.
19966 # A BSD- or MS-compatible name lister.
19969 # Whether we need soft or hard links.
19972 # What is the maximum length of a command?
19973 max_cmd_len=$max_cmd_len
19975 # Object file suffix (normally "o").
19978 # Executable file suffix (normally "").
19981 # whether the shell understands "unset".
19984 # turn spaces into newlines.
19987 # turn newlines into spaces.
19990 # convert \$build file names to \$host format.
19991 to_host_file_cmd=$lt_cv_to_host_file_cmd
19993 # convert \$build files to toolchain format.
19994 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19996 # An object symbol dumper.
19997 OBJDUMP=$lt_OBJDUMP
19999 # Method to check whether dependent libraries are shared objects.
20000 deplibs_check_method=$lt_deplibs_check_method
20002 # Command to use when deplibs_check_method = "file_magic".
20003 file_magic_cmd=$lt_file_magic_cmd
20005 # How to find potential files when deplibs_check_method = "file_magic".
20006 file_magic_glob=$lt_file_magic_glob
20008 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20009 want_nocaseglob=$lt_want_nocaseglob
20011 # DLL creation program.
20012 DLLTOOL=$lt_DLLTOOL
20014 # Command to associate shared and link libraries.
20015 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20020 # Flags to create an archive.
20021 AR_FLAGS=$lt_AR_FLAGS
20023 # How to feed a file listing to the archiver.
20024 archiver_list_spec=$lt_archiver_list_spec
20026 # A symbol stripping program.
20029 # Commands used to install an old-style archive.
20031 old_postinstall_cmds=$lt_old_postinstall_cmds
20032 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20034 # Whether to use a lock for old archive extraction.
20035 lock_old_archive_extraction=$lock_old_archive_extraction
20040 # LTCC compiler flags.
20041 LTCFLAGS=$lt_CFLAGS
20043 # Take the output of nm and produce a listing of raw symbols and C names.
20044 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20046 # Transform the output of nm in a proper C declaration.
20047 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20049 # Transform the output of nm into a list of symbols to manually relocate.
20050 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20052 # Transform the output of nm in a C name address pair.
20053 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20055 # Transform the output of nm in a C name address pair when lib prefix is needed.
20056 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20058 # The name lister interface.
20059 nm_interface=$lt_lt_cv_nm_interface
20061 # Specify filename containing input files for \$NM.
20062 nm_file_list_spec=$lt_nm_file_list_spec
20064 # The root where to search for dependent libraries,and where our libraries should be installed.
20065 lt_sysroot=$lt_sysroot
20067 # Command to truncate a binary pipe.
20068 lt_truncate_bin=$lt_lt_cv_truncate_bin
20070 # The name of the directory that contains temporary libtool files.
20073 # Used to examine libraries when file_magic_cmd begins with "file".
20074 MAGIC_CMD=$MAGIC_CMD
20076 # Must we lock files when doing compilation?
20077 need_locks=$lt_need_locks
20080 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20082 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20083 DSYMUTIL=$lt_DSYMUTIL
20085 # Tool to change global to local symbols on Mac OS X.
20088 # Tool to manipulate fat objects and archives on Mac OS X.
20091 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20094 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20095 OTOOL64=$lt_OTOOL64
20097 # Old archive suffix (normally "a").
20100 # Shared library suffix (normally ".so").
20101 shrext_cmds=$lt_shrext_cmds
20103 # The commands to extract the exported symbol list from a shared archive.
20104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20106 # Variables whose values should be saved in libtool wrapper scripts and
20107 # restored at link time.
20108 variables_saved_for_relink=$lt_variables_saved_for_relink
20110 # Do we need the "lib" prefix for modules?
20111 need_lib_prefix=$need_lib_prefix
20113 # Do we need a version for libraries?
20114 need_version=$need_version
20116 # Library versioning type.
20117 version_type=$version_type
20119 # Shared library runtime path variable.
20120 runpath_var=$runpath_var
20122 # Shared library path variable.
20123 shlibpath_var=$shlibpath_var
20125 # Is shlibpath searched before the hard-coded library search path?
20126 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20128 # Format of library name prefix.
20129 libname_spec=$lt_libname_spec
20131 # List of archive names. First name is the real one, the rest are links.
20132 # The last name is the one that the linker finds with -lNAME
20133 library_names_spec=$lt_library_names_spec
20135 # The coded name of the library, if different from the real name.
20136 soname_spec=$lt_soname_spec
20138 # Permission mode override for installation of shared libraries.
20139 install_override_mode=$lt_install_override_mode
20141 # Command to use after installation of a shared archive.
20142 postinstall_cmds=$lt_postinstall_cmds
20144 # Command to use after uninstallation of a shared archive.
20145 postuninstall_cmds=$lt_postuninstall_cmds
20147 # Commands used to finish a libtool library installation in a directory.
20148 finish_cmds=$lt_finish_cmds
20150 # As "finish_cmds", except a single script fragment to be evaled but
20152 finish_eval=$lt_finish_eval
20154 # Whether we should hardcode library paths into libraries.
20155 hardcode_into_libs=$hardcode_into_libs
20157 # Compile-time system search path for libraries.
20158 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20160 # Detected run-time system search path for libraries.
20161 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20163 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20164 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20166 # Whether dlopen is supported.
20167 dlopen_support=$enable_dlopen
20169 # Whether dlopen of programs is supported.
20170 dlopen_self=$enable_dlopen_self
20172 # Whether dlopen of statically linked programs is supported.
20173 dlopen_self_static=$enable_dlopen_self_static
20175 # Commands to strip libraries.
20176 old_striplib=$lt_old_striplib
20177 striplib=$lt_striplib
20180 # The linker used to build libraries.
20183 # How to create reloadable object files.
20184 reload_flag=$lt_reload_flag
20185 reload_cmds=$lt_reload_cmds
20187 # Commands used to build an old-style archive.
20188 old_archive_cmds=$lt_old_archive_cmds
20190 # A language specific compiler.
20193 # Is the compiler the GNU compiler?
20196 # Compiler flag to turn off builtin functions.
20197 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20199 # Additional compiler flags for building library objects.
20200 pic_flag=$lt_lt_prog_compiler_pic
20202 # How to pass a linker flag through the compiler.
20203 wl=$lt_lt_prog_compiler_wl
20205 # Compiler flag to prevent dynamic linking.
20206 link_static_flag=$lt_lt_prog_compiler_static
20208 # Does compiler simultaneously support -c and -o options?
20209 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20211 # Whether or not to add -lc for building shared libraries.
20212 build_libtool_need_lc=$archive_cmds_need_lc
20214 # Whether or not to disallow shared libs when runtime libs are static.
20215 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20217 # Compiler flag to allow reflexive dlopens.
20218 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20220 # Compiler flag to generate shared objects directly from archives.
20221 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20223 # Whether the compiler copes with passing no objects directly.
20224 compiler_needs_object=$lt_compiler_needs_object
20226 # Create an old-style archive from a shared archive.
20227 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20229 # Create a temporary old-style archive to link instead of a shared archive.
20230 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20232 # Commands used to build a shared archive.
20233 archive_cmds=$lt_archive_cmds
20234 archive_expsym_cmds=$lt_archive_expsym_cmds
20236 # Commands used to build a loadable module if different from building
20237 # a shared archive.
20238 module_cmds=$lt_module_cmds
20239 module_expsym_cmds=$lt_module_expsym_cmds
20241 # Whether we are building with GNU ld or not.
20242 with_gnu_ld=$lt_with_gnu_ld
20244 # Flag that allows shared libraries with undefined symbols to be built.
20245 allow_undefined_flag=$lt_allow_undefined_flag
20247 # Flag that enforces no undefined symbols.
20248 no_undefined_flag=$lt_no_undefined_flag
20250 # Flag to hardcode \$libdir into a binary during linking.
20251 # This must work even if \$libdir does not exist
20252 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20254 # Whether we need a single "-rpath" flag with a separated argument.
20255 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20257 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20258 # DIR into the resulting binary.
20259 hardcode_direct=$hardcode_direct
20261 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20262 # DIR into the resulting binary and the resulting library dependency is
20263 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20264 # library is relocated.
20265 hardcode_direct_absolute=$hardcode_direct_absolute
20267 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20268 # into the resulting binary.
20269 hardcode_minus_L=$hardcode_minus_L
20271 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20272 # into the resulting binary.
20273 hardcode_shlibpath_var=$hardcode_shlibpath_var
20275 # Set to "yes" if building a shared library automatically hardcodes DIR
20276 # into the library and all subsequent libraries and executables linked
20278 hardcode_automatic=$hardcode_automatic
20280 # Set to yes if linker adds runtime paths of dependent libraries
20281 # to runtime path list.
20282 inherit_rpath=$inherit_rpath
20284 # Whether libtool must link a program against all its dependency libraries.
20285 link_all_deplibs=$link_all_deplibs
20287 # Set to "yes" if exported symbols are required.
20288 always_export_symbols=$always_export_symbols
20290 # The commands to list exported symbols.
20291 export_symbols_cmds=$lt_export_symbols_cmds
20293 # Symbols that should not be listed in the preloaded symbols.
20294 exclude_expsyms=$lt_exclude_expsyms
20296 # Symbols that must always be exported.
20297 include_expsyms=$lt_include_expsyms
20299 # Commands necessary for linking programs (against libraries) with templates.
20300 prelink_cmds=$lt_prelink_cmds
20302 # Commands necessary for finishing linking programs.
20303 postlink_cmds=$lt_postlink_cmds
20305 # Specify filename containing input files.
20306 file_list_spec=$lt_file_list_spec
20308 # How to hardcode a shared library path into an executable.
20309 hardcode_action=$hardcode_action
20311 # The directories searched by this compiler when creating a shared library.
20312 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20314 # Dependencies to place before and after the objects being linked to
20315 # create a shared library.
20316 predep_objects=$lt_predep_objects
20317 postdep_objects=$lt_postdep_objects
20318 predeps=$lt_predeps
20319 postdeps=$lt_postdeps
20321 # The library search path used internally by the compiler when linking
20322 # a shared library.
20323 compiler_lib_search_path=$lt_compiler_lib_search_path
20325 # ### END LIBTOOL CONFIG
20329 cat <<'_LT_EOF' >> "$cfgfile"
20331 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20333 # func_munge_path_list VARIABLE PATH
20334 # -----------------------------------
20335 # VARIABLE is name of variable containing _space_ separated list of
20336 # directories to be munged by the contents of PATH, which is string
20339 # string "DIR[ DIR]" will be prepended to VARIABLE
20341 # string "DIR[ DIR]" will be appended to VARIABLE
20342 # "DIRP[:DIRP]::[DIRA:]DIRA"
20343 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20344 # "DIRA[ DIRA]" will be appended to VARIABLE
20346 # VARIABLE will be replaced by "DIR[ DIR]"
20347 func_munge_path_list ()
20353 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20356 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20359 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20360 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20363 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20369 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
20370 func_cc_basename ()
20372 for cc_temp in $*""; do
20374 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20375 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20380 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20384 # ### END FUNCTIONS SHARED WITH CONFIGURE
20390 cat <<\_LT_EOF
>> "$cfgfile"
20391 # AIX sometimes has problems with the GCC collect2 program. For some
20392 # reason, if we set the COLLECT_NAMES environment variable, the problems
20393 # vanish in a puff of smoke.
20394 if test set != "${COLLECT_NAMES+set}"; then
20396 export COLLECT_NAMES
20403 ltmain
=$ac_aux_dir/ltmain.sh
20406 # We use sed instead of cat because bash on DJGPP gets confused if
20407 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20408 # text mode, it properly converts lines to CR/LF. This bash problem
20409 # is reportedly fixed, but why not run on old versions too?
20410 sed '$q' "$ltmain" >> "$cfgfile" \
20411 ||
(rm -f "$cfgfile"; exit 1)
20413 mv -f "$cfgfile" "$ofile" ||
20414 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20418 cat <<_LT_EOF >> "$ofile"
20420 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20422 # The linker used to build libraries.
20425 # How to create reloadable object files.
20426 reload_flag=$lt_reload_flag_CXX
20427 reload_cmds=$lt_reload_cmds_CXX
20429 # Commands used to build an old-style archive.
20430 old_archive_cmds=$lt_old_archive_cmds_CXX
20432 # A language specific compiler.
20433 CC=$lt_compiler_CXX
20435 # Is the compiler the GNU compiler?
20438 # Compiler flag to turn off builtin functions.
20439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20441 # Additional compiler flags for building library objects.
20442 pic_flag=$lt_lt_prog_compiler_pic_CXX
20444 # How to pass a linker flag through the compiler.
20445 wl=$lt_lt_prog_compiler_wl_CXX
20447 # Compiler flag to prevent dynamic linking.
20448 link_static_flag=$lt_lt_prog_compiler_static_CXX
20450 # Does compiler simultaneously support -c and -o options?
20451 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20453 # Whether or not to add -lc for building shared libraries.
20454 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20456 # Whether or not to disallow shared libs when runtime libs are static.
20457 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20459 # Compiler flag to allow reflexive dlopens.
20460 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20462 # Compiler flag to generate shared objects directly from archives.
20463 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20465 # Whether the compiler copes with passing no objects directly.
20466 compiler_needs_object=$lt_compiler_needs_object_CXX
20468 # Create an old-style archive from a shared archive.
20469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20471 # Create a temporary old-style archive to link instead of a shared archive.
20472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20474 # Commands used to build a shared archive.
20475 archive_cmds=$lt_archive_cmds_CXX
20476 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20478 # Commands used to build a loadable module if different from building
20479 # a shared archive.
20480 module_cmds=$lt_module_cmds_CXX
20481 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20483 # Whether we are building with GNU ld or not.
20484 with_gnu_ld=$lt_with_gnu_ld_CXX
20486 # Flag that allows shared libraries with undefined symbols to be built.
20487 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20489 # Flag that enforces no undefined symbols.
20490 no_undefined_flag=$lt_no_undefined_flag_CXX
20492 # Flag to hardcode \$libdir into a binary during linking.
20493 # This must work even if \$libdir does not exist
20494 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20496 # Whether we need a single "-rpath" flag with a separated argument.
20497 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20499 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20500 # DIR into the resulting binary.
20501 hardcode_direct=$hardcode_direct_CXX
20503 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20504 # DIR into the resulting binary and the resulting library dependency is
20505 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20506 # library is relocated.
20507 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20509 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20510 # into the resulting binary.
20511 hardcode_minus_L=$hardcode_minus_L_CXX
20513 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20514 # into the resulting binary.
20515 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20517 # Set to "yes" if building a shared library automatically hardcodes DIR
20518 # into the library and all subsequent libraries and executables linked
20520 hardcode_automatic=$hardcode_automatic_CXX
20522 # Set to yes if linker adds runtime paths of dependent libraries
20523 # to runtime path list.
20524 inherit_rpath=$inherit_rpath_CXX
20526 # Whether libtool must link a program against all its dependency libraries.
20527 link_all_deplibs=$link_all_deplibs_CXX
20529 # Set to "yes" if exported symbols are required.
20530 always_export_symbols=$always_export_symbols_CXX
20532 # The commands to list exported symbols.
20533 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20535 # Symbols that should not be listed in the preloaded symbols.
20536 exclude_expsyms=$lt_exclude_expsyms_CXX
20538 # Symbols that must always be exported.
20539 include_expsyms=$lt_include_expsyms_CXX
20541 # Commands necessary for linking programs (against libraries) with templates.
20542 prelink_cmds=$lt_prelink_cmds_CXX
20544 # Commands necessary for finishing linking programs.
20545 postlink_cmds=$lt_postlink_cmds_CXX
20547 # Specify filename containing input files.
20548 file_list_spec=$lt_file_list_spec_CXX
20550 # How to hardcode a shared library path into an executable.
20551 hardcode_action=$hardcode_action_CXX
20553 # The directories searched by this compiler when creating a shared library.
20554 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20556 # Dependencies to place before and after the objects being linked to
20557 # create a shared library.
20558 predep_objects=$lt_predep_objects_CXX
20559 postdep_objects=$lt_postdep_objects_CXX
20560 predeps=$lt_predeps_CXX
20561 postdeps=$lt_postdeps_CXX
20563 # The library search path used internally by the compiler when linking
20564 # a shared library.
20565 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20567 # ### END LIBTOOL TAG CONFIG: CXX
20571 cat <<_LT_EOF >> "$ofile"
20573 # ### BEGIN LIBTOOL TAG CONFIG: RC
20575 # The linker used to build libraries.
20578 # How to create reloadable object files.
20579 reload_flag=$lt_reload_flag_RC
20580 reload_cmds=$lt_reload_cmds_RC
20582 # Commands used to build an old-style archive.
20583 old_archive_cmds=$lt_old_archive_cmds_RC
20585 # A language specific compiler.
20588 # Is the compiler the GNU compiler?
20591 # Compiler flag to turn off builtin functions.
20592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20594 # Additional compiler flags for building library objects.
20595 pic_flag=$lt_lt_prog_compiler_pic_RC
20597 # How to pass a linker flag through the compiler.
20598 wl=$lt_lt_prog_compiler_wl_RC
20600 # Compiler flag to prevent dynamic linking.
20601 link_static_flag=$lt_lt_prog_compiler_static_RC
20603 # Does compiler simultaneously support -c and -o options?
20604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20606 # Whether or not to add -lc for building shared libraries.
20607 build_libtool_need_lc=$archive_cmds_need_lc_RC
20609 # Whether or not to disallow shared libs when runtime libs are static.
20610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20612 # Compiler flag to allow reflexive dlopens.
20613 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20615 # Compiler flag to generate shared objects directly from archives.
20616 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20618 # Whether the compiler copes with passing no objects directly.
20619 compiler_needs_object=$lt_compiler_needs_object_RC
20621 # Create an old-style archive from a shared archive.
20622 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20624 # Create a temporary old-style archive to link instead of a shared archive.
20625 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20627 # Commands used to build a shared archive.
20628 archive_cmds=$lt_archive_cmds_RC
20629 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20631 # Commands used to build a loadable module if different from building
20632 # a shared archive.
20633 module_cmds=$lt_module_cmds_RC
20634 module_expsym_cmds=$lt_module_expsym_cmds_RC
20636 # Whether we are building with GNU ld or not.
20637 with_gnu_ld=$lt_with_gnu_ld_RC
20639 # Flag that allows shared libraries with undefined symbols to be built.
20640 allow_undefined_flag=$lt_allow_undefined_flag_RC
20642 # Flag that enforces no undefined symbols.
20643 no_undefined_flag=$lt_no_undefined_flag_RC
20645 # Flag to hardcode \$libdir into a binary during linking.
20646 # This must work even if \$libdir does not exist
20647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20649 # Whether we need a single "-rpath" flag with a separated argument.
20650 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20652 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20653 # DIR into the resulting binary.
20654 hardcode_direct=$hardcode_direct_RC
20656 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20657 # DIR into the resulting binary and the resulting library dependency is
20658 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20659 # library is relocated.
20660 hardcode_direct_absolute=$hardcode_direct_absolute_RC
20662 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20663 # into the resulting binary.
20664 hardcode_minus_L=$hardcode_minus_L_RC
20666 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20667 # into the resulting binary.
20668 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20670 # Set to "yes" if building a shared library automatically hardcodes DIR
20671 # into the library and all subsequent libraries and executables linked
20673 hardcode_automatic=$hardcode_automatic_RC
20675 # Set to yes if linker adds runtime paths of dependent libraries
20676 # to runtime path list.
20677 inherit_rpath=$inherit_rpath_RC
20679 # Whether libtool must link a program against all its dependency libraries.
20680 link_all_deplibs=$link_all_deplibs_RC
20682 # Set to "yes" if exported symbols are required.
20683 always_export_symbols=$always_export_symbols_RC
20685 # The commands to list exported symbols.
20686 export_symbols_cmds=$lt_export_symbols_cmds_RC
20688 # Symbols that should not be listed in the preloaded symbols.
20689 exclude_expsyms=$lt_exclude_expsyms_RC
20691 # Symbols that must always be exported.
20692 include_expsyms=$lt_include_expsyms_RC
20694 # Commands necessary for linking programs (against libraries) with templates.
20695 prelink_cmds=$lt_prelink_cmds_RC
20697 # Commands necessary for finishing linking programs.
20698 postlink_cmds=$lt_postlink_cmds_RC
20700 # Specify filename containing input files.
20701 file_list_spec=$lt_file_list_spec_RC
20703 # How to hardcode a shared library path into an executable.
20704 hardcode_action=$hardcode_action_RC
20706 # The directories searched by this compiler when creating a shared library.
20707 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20709 # Dependencies to place before and after the objects being linked to
20710 # create a shared library.
20711 predep_objects=$lt_predep_objects_RC
20712 postdep_objects=$lt_postdep_objects_RC
20713 predeps=$lt_predeps_RC
20714 postdeps=$lt_postdeps_RC
20716 # The library search path used internally by the compiler when linking
20717 # a shared library.
20718 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20720 # ### END LIBTOOL TAG CONFIG: RC
20731 ac_clean_files
=$ac_clean_files_save
20733 test $ac_write_fail = 0 ||
20734 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20737 # configure is writing to config.log, and then calls config.status.
20738 # config.status does its own redirection, appending to config.log.
20739 # Unfortunately, on DOS this fails, as config.log is still kept open
20740 # by configure, so config.status won't be able to write to it; its
20741 # output is simply discarded. So we exec the FD to /dev/null,
20742 # effectively closing config.log, so it can be properly (re)opened and
20743 # appended to by config.status. When coming back to configure, we
20744 # need to make the FD available again.
20745 if test "$no_create" != yes; then
20747 ac_config_status_args
=
20748 test "$silent" = yes &&
20749 ac_config_status_args
="$ac_config_status_args --quiet"
20751 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20753 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20754 # would make configure fail if this is the last instruction.
20755 $ac_cs_success || as_fn_exit
1
20757 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20759 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20763 #====================================================================================
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20766 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=-
20768 Configuration summary :
20770 Version : ..................... ${VERSION}
20772 Host CPU : .................... ${host_cpu}
20773 Host Vendor : ................. ${host_vendor}
20774 Host OS : ..................... ${host_os}
20777 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=-
20779 Configuration summary :
20781 Version : ..................... ${VERSION}
20783 Host CPU : .................... ${host_cpu}
20784 Host Vendor : ................. ${host_vendor}
20785 Host OS : ..................... ${host_os}
20788 if test x
$ac_cv_c_compiler_gnu = xyes
; then
20789 echo -e " Tools :\n"
20790 echo " Compiler is GCC : ............. ${ac_cv_c_compiler_gnu}"
20791 echo " GCC major version : ........... ${GCC_MAJOR_VERSION}"
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20795 Extra tools required for testing and examples :
20797 Have FFTW : ................... ${ac_cv_fftw3}" >&5
20799 Extra tools required for testing and examples :
20801 Have FFTW : ................... ${ac_cv_fftw3}" >&6; }
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Have libsndfile : ............. ${ac_cv_sndfile}" >&5
20804 $as_echo " Have libsndfile : ............. ${ac_cv_sndfile}" >&6; }
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Have ALSA : ................... ${ac_cv_header_alsa_asoundlib_h}
20807 $as_echo " Have ALSA : ................... ${ac_cv_header_alsa_asoundlib_h}
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Installation directories :
20812 Library directory : ........... ${prefix}/lib
20813 Program directory : ........... ${prefix}/bin
20814 Pkgconfig directory : ......... ${prefix}/lib/pkgconfig
20816 $as_echo " Installation directories :
20818 Library directory : ........... ${prefix}/lib
20819 Program directory : ........... ${prefix}/bin
20820 Pkgconfig directory : ......... ${prefix}/lib/pkgconfig
20823 if test x
$prefix != "x/usr" ; then
20824 echo "Compiling some other packages against ${PACKAGE} may require "
20825 echo -e "the addition of \"${prefix}/lib/pkgconfig\" to the "
20826 echo -e "PKG_CONFIG_PATH environment variable.\n"