2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libsndfile 1.0.25.
5 # Report bugs to <sndfile@mega-nerd.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: sndfile@mega-nerd.com about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
571 PACKAGE_NAME
='libsndfile'
572 PACKAGE_TARNAME
='libsndfile'
573 PACKAGE_VERSION
='1.0.25'
574 PACKAGE_STRING
='libsndfile 1.0.25'
575 PACKAGE_BUGREPORT
='sndfile@mega-nerd.com'
576 PACKAGE_URL
='http://www.mega-nerd.com/libsndfile/'
578 ac_unique_file
="src/sndfile.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
637 USE_WIN_VERSION_FILE_FALSE
638 USE_WIN_VERSION_FILE_TRUE
656 OCTAVE_CONFIG_VERSION
665 BUILD_OCTAVE_MOD_FALSE
666 BUILD_OCTAVE_MOD_TRUE
671 ENABLE_TEST_COVERAGE_FALSE
672 ENABLE_TEST_COVERAGE_TRUE
673 LINUX_MINGW_CROSS_TEST_FALSE
674 LINUX_MINGW_CROSS_TEST_TRUE
734 INSTALL_STRIP_PROGRAM
788 program_transform_name
801 enable_option_checking
803 enable_dependency_tracking
827 ac_precious_vars
='build_alias
857 # Initialize some variables set by options.
859 ac_init_version
=false
860 ac_unrecognized_opts
=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
871 program_transform_name
=s
,x
,x
,
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir
='${exec_prefix}/bin'
886 sbindir
='${exec_prefix}/sbin'
887 libexecdir
='${exec_prefix}/libexec'
888 datarootdir
='${prefix}/share'
889 datadir
='${datarootdir}'
890 sysconfdir
='${prefix}/etc'
891 sharedstatedir
='${prefix}/com'
892 localstatedir
='${prefix}/var'
893 includedir
='${prefix}/include'
894 oldincludedir
='/usr/include'
895 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
896 infodir
='${datarootdir}/info'
901 libdir
='${exec_prefix}/lib'
902 localedir
='${datarootdir}/locale'
903 mandir
='${datarootdir}/man'
909 # If the previous option needs an argument, assign it.
910 if test -n "$ac_prev"; then
911 eval $ac_prev=\
$ac_option
917 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
928 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
930 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
933 -build |
--build |
--buil |
--bui |
--bu)
934 ac_prev
=build_alias
;;
935 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
936 build_alias
=$ac_optarg ;;
938 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
939 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
940 ac_prev
=cache_file
;;
941 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
942 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
943 cache_file
=$ac_optarg ;;
946 cache_file
=config.cache
;;
948 -datadir |
--datadir |
--datadi |
--datad)
950 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
951 datadir
=$ac_optarg ;;
953 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
954 |
--dataroo |
--dataro |
--datar)
955 ac_prev
=datarootdir
;;
956 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
957 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
958 datarootdir
=$ac_optarg ;;
960 -disable-* |
--disable-*)
961 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
964 as_fn_error $?
"invalid feature name: $ac_useropt"
965 ac_useropt_orig
=$ac_useropt
966 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep
=', ';;
974 eval enable_
$ac_useropt=no
;;
976 -docdir |
--docdir |
--docdi |
--doc |
--do)
978 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
981 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
983 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
986 -enable-* |
--enable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 as_fn_error $?
"invalid feature name: $ac_useropt"
991 ac_useropt_orig
=$ac_useropt
992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep
=', ';;
1000 eval enable_
$ac_useropt=\
$ac_optarg ;;
1002 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1003 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1004 |
--exec |
--exe |
--ex)
1005 ac_prev
=exec_prefix
;;
1006 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1007 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1008 |
--exec=* |
--exe=* |
--ex=*)
1009 exec_prefix
=$ac_optarg ;;
1011 -gas |
--gas |
--ga |
--g)
1012 # Obsolete; use --with-gas.
1015 -help |
--help |
--hel |
--he |
-h)
1016 ac_init_help
=long
;;
1017 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1018 ac_init_help
=recursive
;;
1019 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1020 ac_init_help
=short
;;
1022 -host |
--host |
--hos |
--ho)
1023 ac_prev
=host_alias
;;
1024 -host=* |
--host=* |
--hos=* |
--ho=*)
1025 host_alias
=$ac_optarg ;;
1027 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1029 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1031 htmldir
=$ac_optarg ;;
1033 -includedir |
--includedir |
--includedi |
--included |
--include \
1034 |
--includ |
--inclu |
--incl |
--inc)
1035 ac_prev
=includedir
;;
1036 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1037 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1038 includedir
=$ac_optarg ;;
1040 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1042 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1043 infodir
=$ac_optarg ;;
1045 -libdir |
--libdir |
--libdi |
--libd)
1047 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1048 libdir
=$ac_optarg ;;
1050 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1051 |
--libexe |
--libex |
--libe)
1052 ac_prev
=libexecdir
;;
1053 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1054 |
--libexe=* |
--libex=* |
--libe=*)
1055 libexecdir
=$ac_optarg ;;
1057 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1058 ac_prev
=localedir
;;
1059 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1060 localedir
=$ac_optarg ;;
1062 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1063 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1064 ac_prev
=localstatedir
;;
1065 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1066 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1067 localstatedir
=$ac_optarg ;;
1069 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1071 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1072 mandir
=$ac_optarg ;;
1074 -nfp |
--nfp |
--nf)
1075 # Obsolete; use --without-fp.
1078 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1079 |
--no-cr |
--no-c |
-n)
1082 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1083 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1086 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1087 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1088 |
--oldin |
--oldi |
--old |
--ol |
--o)
1089 ac_prev
=oldincludedir
;;
1090 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1091 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1092 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1093 oldincludedir
=$ac_optarg ;;
1095 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1097 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1098 prefix
=$ac_optarg ;;
1100 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1101 |
--program-pre |
--program-pr |
--program-p)
1102 ac_prev
=program_prefix
;;
1103 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1104 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1105 program_prefix
=$ac_optarg ;;
1107 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1108 |
--program-suf |
--program-su |
--program-s)
1109 ac_prev
=program_suffix
;;
1110 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1111 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1112 program_suffix
=$ac_optarg ;;
1114 -program-transform-name |
--program-transform-name \
1115 |
--program-transform-nam |
--program-transform-na \
1116 |
--program-transform-n |
--program-transform- \
1117 |
--program-transform |
--program-transfor \
1118 |
--program-transfo |
--program-transf \
1119 |
--program-trans |
--program-tran \
1120 |
--progr-tra |
--program-tr |
--program-t)
1121 ac_prev
=program_transform_name
;;
1122 -program-transform-name=* |
--program-transform-name=* \
1123 |
--program-transform-nam=* |
--program-transform-na=* \
1124 |
--program-transform-n=* |
--program-transform-=* \
1125 |
--program-transform=* |
--program-transfor=* \
1126 |
--program-transfo=* |
--program-transf=* \
1127 |
--program-trans=* |
--program-tran=* \
1128 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1129 program_transform_name
=$ac_optarg ;;
1131 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1133 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1134 pdfdir
=$ac_optarg ;;
1136 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1138 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1141 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1142 |
-silent |
--silent |
--silen |
--sile |
--sil)
1145 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1147 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1149 sbindir
=$ac_optarg ;;
1151 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1152 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1153 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1155 ac_prev
=sharedstatedir
;;
1156 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1157 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1158 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1160 sharedstatedir
=$ac_optarg ;;
1162 -site |
--site |
--sit)
1164 -site=* |
--site=* |
--sit=*)
1167 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1169 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1170 srcdir
=$ac_optarg ;;
1172 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1173 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1174 ac_prev
=sysconfdir
;;
1175 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1176 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1177 sysconfdir
=$ac_optarg ;;
1179 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1180 ac_prev
=target_alias
;;
1181 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1182 target_alias
=$ac_optarg ;;
1184 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1187 -version |
--version |
--versio |
--versi |
--vers |
-V)
1188 ac_init_version
=: ;;
1191 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=\
$ac_optarg ;;
1206 -without-* |
--without-*)
1207 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1210 as_fn_error $?
"invalid package name: $ac_useropt"
1211 ac_useropt_orig
=$ac_useropt
1212 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep
=', ';;
1220 eval with_
$ac_useropt=no
;;
1223 # Obsolete; use --with-x.
1226 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1227 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1228 ac_prev
=x_includes
;;
1229 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1230 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1231 x_includes
=$ac_optarg ;;
1233 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1234 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1235 ac_prev
=x_libraries
;;
1236 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1237 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1238 x_libraries
=$ac_optarg ;;
1240 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1245 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1249 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1251 eval $ac_envvar=\
$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 if test -n "$ac_prev"; then
1266 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error $?
"missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1273 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val
=\$
$ac_var
1285 # Remove trailing slashes.
1288 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\
$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1296 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target
=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x
; then
1308 if test "x$build_alias" = x
; then
1309 cross_compiling
=maybe
1310 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used" >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error $?
"working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error $?
"pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures libsndfile 1.0.25 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking ...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/libsndfile]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive
) echo "Configuration of libsndfile 1.0.25:";;
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1477 --disable-silent-rules verbose build output (undo: `make V
=0')
1478 --disable-dependency-tracking speeds up one-time build
1479 --enable-dependency-tracking do not reject slow dependency extractors
1480 --enable-shared[=PKGS] build shared libraries [default=yes]
1481 --enable-static[=PKGS] build static libraries [default=yes]
1482 --enable-fast-install[=PKGS]
1483 optimize for fast installation [default=yes]
1484 --disable-libtool-lock avoid locking (might break parallel builds)
1485 --enable-experimental enable experimental code
1486 --enable-gcc-werror enable -Werror in all Makefiles
1487 --disable-gcc-pipe disable gcc -pipe option
1488 --disable-gcc-opt disable gcc optimisations
1489 --disable-cpu-clip disable tricky cpu specific clipper
1490 --enable-bow-docs enable black-on-white html docs
1491 --disable-sqlite disable use of sqlite
1492 --disable-alsa disable use of ALSA
1493 --disable-external-libs disable use of FLAC, Ogg and Vorbis [[default=no]]
1494 --enable-octave disable building of GNU Octave module
1495 --enable-test-coverage enable test coverage
1496 --disable-largefile omit support for large files
1499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1501 --with-pic try to use only PIC/non-PIC objects [default=use
1503 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1504 --with-sysroot=DIR Search for dependent libraries within DIR
1505 (or the compiler's sysroot
if not specified
).
1506 --with-octave choose the octave version
1507 --with-mkoctfile choose the mkoctfile version
1508 --with-octave-config choose the octave-config version
1510 Some influential environment variables
:
1511 CC C compiler
command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1514 nonstandard directory
<lib dir
>
1515 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1516 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1517 you have headers
in a nonstandard directory
<include dir
>
1518 CXX C
++ compiler
command
1519 CXXFLAGS C
++ compiler flags
1521 CXXCPP C
++ preprocessor
1522 PKG_CONFIG path to pkg-config utility
1524 directories to add to pkg-config
's search path
1526 path overriding pkg-config's built-in search path
1527 FLAC_CFLAGS C compiler flags
for FLAC
, overriding pkg-config
1528 FLAC_LIBS linker flags
for FLAC
, overriding pkg-config
1529 OGG_CFLAGS C compiler flags
for OGG
, overriding pkg-config
1530 OGG_LIBS linker flags
for OGG
, overriding pkg-config
1532 C compiler flags
for SPEEX
, overriding pkg-config
1533 SPEEX_LIBS linker flags
for SPEEX
, overriding pkg-config
1535 C compiler flags
for VORBIS
, overriding pkg-config
1536 VORBIS_LIBS linker flags
for VORBIS
, overriding pkg-config
1538 C compiler flags
for VORBISENC
, overriding pkg-config
1540 linker flags
for VORBISENC
, overriding pkg-config
1542 C compiler flags
for SQLITE3
, overriding pkg-config
1544 linker flags
for SQLITE3
, overriding pkg-config
1546 Use these variables to override the choices made by
`configure' or to help
1547 it to find libraries and programs with nonstandard names/locations.
1549 Report bugs to <sndfile@mega-nerd.com>.
1550 libsndfile home page: <http://www.mega-nerd.com/libsndfile/>.
1555 if test "$ac_init_help" = "recursive"; then
1556 # If there are subdirs, report their specific --help.
1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1558 test -d "$ac_dir" ||
1559 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1567 # A ".." for each directory in $ac_dir_suffix.
1568 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1569 case $ac_top_builddir_sub in
1570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1574 ac_abs_top_builddir=$ac_pwd
1575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1576 # for backward compatibility:
1577 ac_top_builddir=$ac_top_build_prefix
1580 .) # We are building in place.
1582 ac_top_srcdir=$ac_top_builddir_sub
1583 ac_abs_top_srcdir=$ac_pwd ;;
1584 [\\/]* | ?:[\\/]* ) # Absolute name.
1585 ac_srcdir=$srcdir$ac_dir_suffix;
1586 ac_top_srcdir=$srcdir
1587 ac_abs_top_srcdir=$srcdir ;;
1589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1590 ac_top_srcdir=$ac_top_build_prefix$srcdir
1591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1595 cd "$ac_dir" || { ac_status=$?; continue; }
1596 # Check for guested configure.
1597 if test -f "$ac_srcdir/configure.gnu"; then
1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1600 elif test -f "$ac_srcdir/configure"; then
1602 $SHELL "$ac_srcdir/configure" --help=recursive
1604 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1606 cd "$ac_pwd" || { ac_status=$?; break; }
1610 test -n "$ac_init_help" && exit $ac_status
1611 if $ac_init_version; then
1613 libsndfile configure 1.0.25
1614 generated by GNU Autoconf 2.68
1616 Copyright (C) 2010 Free Software Foundation, Inc.
1617 This configure script is free software; the Free Software Foundation
1618 gives unlimited permission to copy, distribute and modify it.
1623 ## ------------------------ ##
1624 ## Autoconf initialization. ##
1625 ## ------------------------ ##
1627 # ac_fn_c_try_compile LINENO
1628 # --------------------------
1629 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1630 ac_fn_c_try_compile ()
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 rm -f conftest.$ac_objext
1634 if { { ac_try="$ac_compile"
1636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1637 *) ac_try_echo
=$ac_try;;
1639 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_compile") 2>conftest.err
1643 if test -s conftest.err
; then
1644 grep -v '^ *+' conftest.err
>conftest.er1
1645 cat conftest.er1
>&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && {
1650 test -z "$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1652 } && test -s conftest.
$ac_objext; then :
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.
$ac_ext >&5
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status
$ac_retval
1663 } # ac_fn_c_try_compile
1665 # ac_fn_cxx_try_compile LINENO
1666 # ----------------------------
1667 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1668 ac_fn_cxx_try_compile
()
1670 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1671 rm -f conftest.
$ac_objext
1672 if { { ac_try
="$ac_compile"
1674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_compile") 2>conftest.err
1681 if test -s conftest.err; then
1682 grep -v '^ *+' conftest.err >conftest.er1
1683 cat conftest.er1 >&5
1684 mv -f conftest.er1 conftest.err
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && {
1688 test -z "$ac_cxx_werror_flag" ||
1689 test ! -s conftest.err
1690 } && test -s conftest.$ac_objext; then :
1693 $as_echo "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1701 } # ac_fn_cxx_try_compile
1703 # ac_fn_c_try_link LINENO
1704 # -----------------------
1705 # Try to link conftest.$ac_ext, and return whether this succeeded.
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext conftest$ac_exeext
1710 if { { ac_try="$ac_link"
1712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1713 *) ac_try_echo
=$ac_try;;
1715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_link") 2>conftest.err
1719 if test -s conftest.err
; then
1720 grep -v '^ *+' conftest.err
>conftest.er1
1721 cat conftest.er1
>&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest
$ac_exeext && {
1729 test "$cross_compiling" = yes ||
1730 $as_test_x conftest
$ac_exeext
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.
$ac_ext >&5
1739 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1740 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1741 # interfere with the next link command; also delete a directory that is
1742 # left behind by Apple's compiler. We do this before executing the actions.
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status
$ac_retval
1747 } # ac_fn_c_try_link
1749 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1750 # -------------------------------------------------------
1751 # Tests whether HEADER exists and can be compiled using the include files in
1752 # INCLUDES, setting the cache variable VAR accordingly.
1753 ac_fn_c_check_header_compile
()
1755 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \
${$3+:} false
; then :
1759 $as_echo_n "(cached) " >&6
1761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1766 if ac_fn_c_try_compile
"$LINENO"; then :
1771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_c_check_header_compile
1780 # ac_fn_c_try_cpp LINENO
1781 # ----------------------
1782 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1785 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1786 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } > conftest.i && {
1802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status $ac_retval
1817 # ac_fn_c_try_run LINENO
1818 # ----------------------
1819 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1820 # that executables *can* be run.
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 if { { ac_try="$ac_link"
1826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1827 *) ac_try_echo
=$ac_try;;
1829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_link") 2>&5
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1835 { { case "(($ac_try" in
1836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_try") 2>&5
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; }; }; then :
1847 $as_echo "$as_me: program exited with status $ac_status" >&5
1848 $as_echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.$ac_ext >&5
1851 ac_retval=$ac_status
1853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status $ac_retval
1859 # ac_fn_c_check_func LINENO FUNC VAR
1860 # ----------------------------------
1861 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1862 ac_fn_c_check_func ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868 $as_echo_n "(cached) " >&6
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1872 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1874 #define $2 innocuous_$2
1876 /* System header to define __stub macros and hopefully few prototypes,
1877 which can conflict with char $2 (); below.
1878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1879 <limits.h> exists even on freestanding compilers. */
1882 # include <limits.h>
1884 # include <assert.h>
1889 /* Override any GCC internal prototype to avoid an error.
1890 Use char because int might match the return type of a GCC
1891 builtin and then its argument prototype would still apply. */
1896 /* The GNU C library defines this for functions which it implements
1897 to always fail with ENOSYS. Some functions are actually named
1898 something starting with __ and the normal name is an alias. */
1899 #if defined __stub_$2 || defined __stub___$2
1911 if ac_fn_c_try_link "$LINENO"; then :
1916 rm -f core conftest.err conftest.$ac_objext \
1917 conftest$ac_exeext conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 } # ac_fn_c_check_func
1926 # ac_fn_cxx_try_cpp LINENO
1927 # ------------------------
1928 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1929 ac_fn_cxx_try_cpp ()
1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932 if { { ac_try="$ac_cpp conftest.$ac_ext"
1934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1935 *) ac_try_echo
=$ac_try;;
1937 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1941 if test -s conftest.err
; then
1942 grep -v '^ *+' conftest.err
>conftest.er1
1943 cat conftest.er1
>&5
1944 mv -f conftest.er1 conftest.err
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } > conftest.i
&& {
1948 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1949 test ! -s conftest.err
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.
$ac_ext >&5
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 as_fn_set_status
$ac_retval
1961 } # ac_fn_cxx_try_cpp
1963 # ac_fn_cxx_try_link LINENO
1964 # -------------------------
1965 # Try to link conftest.$ac_ext, and return whether this succeeded.
1966 ac_fn_cxx_try_link
()
1968 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1969 rm -f conftest.
$ac_objext conftest
$ac_exeext
1970 if { { ac_try
="$ac_link"
1972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977 (eval "$ac_link") 2>conftest.err
1979 if test -s conftest.err; then
1980 grep -v '^ *+' conftest.err >conftest.er1
1981 cat conftest.er1 >&5
1982 mv -f conftest.er1 conftest.err
1984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1985 test $ac_status = 0; } && {
1986 test -z "$ac_cxx_werror_flag" ||
1987 test ! -s conftest.err
1988 } && test -s conftest$ac_exeext && {
1989 test "$cross_compiling" = yes ||
1990 $as_test_x conftest$ac_exeext
1994 $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1999 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2000 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2001 # interfere with the next link command; also delete a directory that is
2002 # left behind by Apple's compiler. We do this before executing the actions.
2003 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 as_fn_set_status $ac_retval
2007 } # ac_fn_cxx_try_link
2009 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2010 # -------------------------------------------------------
2011 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2012 # the include files in INCLUDES and setting the cache variable VAR
2014 ac_fn_c_check_header_mongrel ()
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 if eval \${$3+:} false; then :
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \${$3+:} false; then :
2021 $as_echo_n "(cached) " >&6
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025 $as_echo "$ac_res" >&6; }
2027 # Is the header compilable?
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2029 $as_echo_n "checking $2 usability... " >&6; }
2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h. */
2035 if ac_fn_c_try_compile "$LINENO"; then :
2036 ac_header_compiler=yes
2038 ac_header_compiler=no
2040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2042 $as_echo "$ac_header_compiler" >&6; }
2044 # Is the header present?
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2046 $as_echo_n "checking $2 presence... " >&6; }
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2051 if ac_fn_c_try_cpp "$LINENO"; then :
2052 ac_header_preproc=yes
2054 ac_header_preproc=no
2056 rm -f conftest.err conftest.i conftest.$ac_ext
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2058 $as_echo "$ac_header_preproc" >&6; }
2060 # So? What about this header?
2061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2064 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2066 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2070 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2072 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2074 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2076 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2078 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2079 ( $as_echo "## ------------------------------------ ##
2080 ## Report this to sndfile@mega-nerd.com ##
2081 ## ------------------------------------ ##"
2082 ) | sed "s/^/$as_me: WARNING: /" >&2
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if eval \${$3+:} false; then :
2088 $as_echo_n "(cached) " >&6
2090 eval "$3=\$ac_header_compiler"
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_header_mongrel
2100 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2101 # ---------------------------------------------
2102 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2104 ac_fn_c_check_decl ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2108 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2110 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2111 if eval \${$3+:} false; then :
2112 $as_echo_n "(cached) " >&6
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2120 #ifndef $as_decl_name
2122 (void) $as_decl_use;
2124 (void) $as_decl_name;
2132 if ac_fn_c_try_compile "$LINENO"; then :
2137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2141 $as_echo "$ac_res" >&6; }
2142 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144 } # ac_fn_c_check_decl
2146 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2147 # --------------------------------------------
2148 # Tries to find the compile-time value of EXPR in a program that includes
2149 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2151 ac_fn_c_compute_int ()
2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154 if test "$cross_compiling" = yes; then
2155 # Depending upon the size, compute the lo and hi bounds.
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2162 static int test_array [1 - 2 * !(($2) >= 0)];
2169 if ac_fn_c_try_compile "$LINENO"; then :
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2178 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2185 if ac_fn_c_try_compile "$LINENO"; then :
2186 ac_hi=$ac_mid; break
2188 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2189 if test $ac_lo -le $ac_mid; then
2193 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2204 static int test_array [1 - 2 * !(($2) < 0)];
2211 if ac_fn_c_try_compile "$LINENO"; then :
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2220 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2227 if ac_fn_c_try_compile "$LINENO"; then :
2228 ac_lo=$ac_mid; break
2230 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2231 if test $ac_mid -le $ac_hi; then
2235 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2245 # Binary search between lo and hi bounds.
2246 while test "x$ac_lo" != "x$ac_hi"; do
2247 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2254 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2261 if ac_fn_c_try_compile "$LINENO"; then :
2264 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2269 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2276 static long int longval () { return $2; }
2277 static unsigned long int ulongval () { return $2; }
2284 FILE *f = fopen ("conftest.val", "w");
2289 long int i = longval ();
2292 fprintf (f, "%ld", i);
2296 unsigned long int i = ulongval ();
2299 fprintf (f, "%lu", i);
2301 /* Do not output a trailing newline, as this causes \r\n confusion
2302 on some platforms. */
2303 return ferror (f) || fclose (f) != 0;
2309 if ac_fn_c_try_run "$LINENO"; then :
2310 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2315 conftest.$ac_objext conftest.beam conftest.$ac_ext
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 as_fn_set_status $ac_retval
2322 } # ac_fn_c_compute_int
2324 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2325 # -------------------------------------------
2326 # Tests whether TYPE exists after having included INCLUDES, setting cache
2327 # variable VAR accordingly.
2328 ac_fn_c_check_type ()
2330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2332 $as_echo_n "checking for $2... " >&6; }
2333 if eval \${$3+:} false; then :
2334 $as_echo_n "(cached) " >&6
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351 /* end confdefs.h. */
2362 if ac_fn_c_try_compile "$LINENO"; then :
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2373 $as_echo "$ac_res" >&6; }
2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 } # ac_fn_c_check_type
2377 cat >config.log <<_ACEOF
2378 This file contains any messages produced by compilers while
2379 running configure, to aid debugging if configure makes a mistake.
2381 It was created by libsndfile $as_me 1.0.25, which was
2382 generated by GNU Autoconf 2.68. Invocation command line was
2394 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2395 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2396 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2397 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2398 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2400 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2401 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2403 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2404 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2405 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2406 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2407 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2408 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2409 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 $as_echo "PATH: $as_dir"
2434 # Keep a trace of the command line.
2435 # Strip out --no-create and --no-recursion so they do not pile up.
2436 # Strip out --silent because we don't want to record it for future runs.
2437 # Also quote any args containing shell meta-characters.
2438 # Make two passes to allow for proper duplicate-argument suppression.
2442 ac_must_keep_next=false
2448 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2450 | -silent | --silent | --silen | --sile | --sil)
2453 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2456 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2458 as_fn_append ac_configure_args1 " '$ac_arg'"
2459 if test $ac_must_keep_next = true; then
2460 ac_must_keep_next=false # Got value, back to normal.
2463 *=* | --config-cache | -C | -disable-* | --disable-* \
2464 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2465 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2466 | -with-* | --with-* | -without-* | --without-* | --x)
2467 case "$ac_configure_args0 " in
2468 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2471 -* ) ac_must_keep_next=true ;;
2474 as_fn_append ac_configure_args " '$ac_arg'"
2479 { ac_configure_args0=; unset ac_configure_args0;}
2480 { ac_configure_args1=; unset ac_configure_args1;}
2482 # When interrupted or exit'd, cleanup temporary files, and complete
2483 # config.log. We remove comments because anyway the quotes in there
2484 # would cause problems or look ugly.
2485 # WARNING: Use '\'' to represent an apostrophe within the trap.
2486 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2487 trap 'exit_status=$?
2488 # Save into config.log some information that might help in debugging.
2492 $as_echo "## ---------------- ##
2493 ## Cache variables. ##
2494 ## ---------------- ##"
2496 # The following way of writing the cache mishandles newlines in values,
2498 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2499 eval ac_val=\$$ac_var
2503 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2507 _ | IFS | as_nl) ;; #(
2508 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2509 *) { eval $ac_var=; unset $ac_var;} ;;
2514 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2515 *${as_nl}ac_space=\ *)
2517 "s/'\''/'\''\\\\'\'''\''/g;
2518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2528 $as_echo "## ----------------- ##
2529 ## Output variables. ##
2530 ## ----------------- ##"
2532 for ac_var in $ac_subst_vars
2534 eval ac_val=\$$ac_var
2536 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2538 $as_echo "$ac_var='\''$ac_val'\''"
2542 if test -n "$ac_subst_files"; then
2543 $as_echo "## ------------------- ##
2544 ## File substitutions. ##
2545 ## ------------------- ##"
2547 for ac_var in $ac_subst_files
2549 eval ac_val=\$$ac_var
2551 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2553 $as_echo "$ac_var='\''$ac_val'\''"
2558 if test -s confdefs.h; then
2559 $as_echo "## ----------- ##
2566 test "$ac_signal" != 0 &&
2567 $as_echo "$as_me: caught signal $ac_signal"
2568 $as_echo "$as_me: exit $exit_status"
2570 rm -f core *.core core.conftest.* &&
2571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2574 for ac_signal in 1 2 13 15; do
2575 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2580 rm -f -r conftest* confdefs.h
2582 $as_echo "/* confdefs.h */" > confdefs.h
2584 # Predefined preprocessor variables.
2586 cat >>confdefs.h <<_ACEOF
2587 #define PACKAGE_NAME "$PACKAGE_NAME"
2590 cat >>confdefs.h <<_ACEOF
2591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2594 cat >>confdefs.h <<_ACEOF
2595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2598 cat >>confdefs.h <<_ACEOF
2599 #define PACKAGE_STRING "$PACKAGE_STRING"
2602 cat >>confdefs.h <<_ACEOF
2603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2606 cat >>confdefs.h <<_ACEOF
2607 #define PACKAGE_URL "$PACKAGE_URL"
2611 # Let the site file select an alternate cache file if it wants to.
2612 # Prefer an explicitly selected file to automatically selected ones.
2615 if test -n "$CONFIG_SITE"; then
2616 # We do not want a PATH search for config.site.
2617 case $CONFIG_SITE in #((
2618 -*) ac_site_file1=./$CONFIG_SITE;;
2619 */*) ac_site_file1=$CONFIG_SITE;;
2620 *) ac_site_file1=./$CONFIG_SITE;;
2622 elif test "x$prefix" != xNONE; then
2623 ac_site_file1=$prefix/share/config.site
2624 ac_site_file2=$prefix/etc/config.site
2626 ac_site_file1=$ac_default_prefix/share/config.site
2627 ac_site_file2=$ac_default_prefix/etc/config.site
2629 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2631 test "x$ac_site_file" = xNONE && continue
2632 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2635 sed 's/^/| /' "$ac_site_file" >&5
2637 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 as_fn_error $? "failed to load site
script $ac_site_file
2640 See \
`config.log' for more details" "$LINENO" 5; }
2644 if test -r "$cache_file"; then
2645 # Some versions of bash will fail to source /dev/null (special files
2646 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2647 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2649 $as_echo "$as_me: loading cache $cache_file" >&6;}
2651 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2652 *) . "./$cache_file";;
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2657 $as_echo "$as_me: creating cache $cache_file" >&6;}
2661 # Check that the precious variables saved in the cache have kept the same
2663 ac_cache_corrupted=false
2664 for ac_var in $ac_precious_vars; do
2665 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2666 eval ac_new_set=\$ac_env_${ac_var}_set
2667 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2668 eval ac_new_val=\$ac_env_${ac_var}_value
2669 case $ac_old_set,$ac_new_set in
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2672 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2673 ac_cache_corrupted=: ;;
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2676 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2677 ac_cache_corrupted=: ;;
2680 if test "x$ac_old_val" != "x$ac_new_val"; then
2681 # differences in whitespace do not lead to failure.
2682 ac_old_val_w=`echo x
$ac_old_val`
2683 ac_new_val_w=`echo x
$ac_new_val`
2684 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2686 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2687 ac_cache_corrupted=:
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2690 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2691 eval $ac_var=\$ac_old_val
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2694 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2696 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2699 # Pass precious variables to config.status.
2700 if test "$ac_new_set" = set; then
2702 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2703 *) ac_arg=$ac_var=$ac_new_val ;;
2705 case " $ac_configure_args " in
2706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2707 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2711 if $ac_cache_corrupted; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2716 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2718 ## -------------------- ##
2719 ## Main body of script. ##
2720 ## -------------------- ##
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2730 # Put config stuff in Cfg.
2732 for ac_dir in Cfg "$srcdir"/Cfg; do
2733 if test -f "$ac_dir/install-sh"; then
2735 ac_install_sh="$ac_aux_dir/install-sh -c"
2737 elif test -f "$ac_dir/install.sh"; then
2739 ac_install_sh="$ac_aux_dir/install.sh -c"
2741 elif test -f "$ac_dir/shtool"; then
2743 ac_install_sh="$ac_aux_dir/shtool install -c"
2747 if test -z "$ac_aux_dir"; then
2748 as_fn_error $? "cannot find install-sh, install.sh, or shtool in Cfg \"$srcdir\"/Cfg" "$LINENO" 5
2751 # These three variables are undocumented and unsupported,
2752 # and are intended to be withdrawn in a future Autoconf release.
2753 # They can cause serious problems if a builder's source tree is in a directory
2754 # whose full name contains unusual characters.
2755 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2756 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2757 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2762 # Make sure we can run config.sub.
2763 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2764 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2767 $as_echo_n "checking build system type... " >&6; }
2768 if ${ac_cv_build+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 ac_build_alias=$build_alias
2772 test "x$ac_build_alias" = x &&
2773 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2774 test "x$ac_build_alias" = x &&
2775 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2776 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2777 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2781 $as_echo "$ac_cv_build" >&6; }
2782 case $ac_cv_build in
2784 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2787 ac_save_IFS=$IFS; IFS='-'
2793 # Remember, the first character of IFS is used to create $*,
2794 # except with old shells:
2797 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2801 $as_echo_n "checking host system type... " >&6; }
2802 if ${ac_cv_host+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test "x$host_alias" = x; then
2806 ac_cv_host=$ac_cv_build
2808 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2809 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2814 $as_echo "$ac_cv_host" >&6; }
2817 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2820 ac_save_IFS=$IFS; IFS='-'
2826 # Remember, the first character of IFS is used to create $*,
2827 # except with old shells:
2830 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2834 $as_echo_n "checking target system type... " >&6; }
2835 if ${ac_cv_target+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 if test "x$target_alias" = x; then
2839 ac_cv_target=$ac_cv_host
2841 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2842 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2847 $as_echo "$ac_cv_target" >&6; }
2848 case $ac_cv_target in
2850 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2852 target=$ac_cv_target
2853 ac_save_IFS=$IFS; IFS='-'
2859 # Remember, the first character of IFS is used to create $*,
2860 # except with old shells:
2863 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2866 # The aliases save the names the user supplied, while $host etc.
2867 # will get canonicalized.
2868 test -n "$target_alias" &&
2869 test "$program_prefix$program_suffix$program_transform_name" = \
2871 program_prefix=${target_alias}-
2874 ac_config_headers="$ac_config_headers src/config.h"
2877 am__api_version='1.11'
2879 # Find a good install program. We prefer a C program (faster),
2880 # so one script is as good as another. But avoid the broken or
2881 # incompatible versions:
2882 # SysV /etc/install, /usr/sbin/install
2883 # SunOS /usr/etc/install
2884 # IRIX /sbin/install
2886 # AmigaOS /C/install, which installs bootblocks on floppy discs
2887 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2888 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2889 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2890 # OS/2's system install, which has a completely different semantic
2891 # ./install, which can be erroneously created by make from ./install.sh.
2892 # Reject install programs that cannot install multiple files.
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2894 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2895 if test -z "$INSTALL"; then
2896 if ${ac_cv_path_install+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir=.
2904 # Account for people who put trailing slashes in PATH elements.
2905 case $as_dir/ in #((
2906 ./ | .// | /[cC]/* | \
2907 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2908 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2911 # OSF1 and SCO ODT 3.0 have their own names for install.
2912 # Don't use installbsd from OSF since it installs stuff as root
2914 for ac_prog in ginstall scoinst install; do
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2917 if test $ac_prog = install &&
2918 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2919 # AIX install. It has an incompatible calling convention.
2921 elif test $ac_prog = install &&
2922 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2923 # program-specific install script used by HP pwplus--don't use.
2926 rm -rf conftest.one conftest.two conftest.dir
2927 echo one > conftest.one
2928 echo two > conftest.two
2930 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2931 test -s conftest.one && test -s conftest.two &&
2932 test -s conftest.dir/conftest.one &&
2933 test -s conftest.dir/conftest.two
2935 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2948 rm -rf conftest.one conftest.two conftest.dir
2951 if test "${ac_cv_path_install+set}" = set; then
2952 INSTALL=$ac_cv_path_install
2954 # As a last resort, use the slow shell script. Don't cache a
2955 # value for INSTALL within a source directory, because that will
2956 # break other packages using the cache if that directory is
2957 # removed, or if the value is a relative name.
2958 INSTALL=$ac_install_sh
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2962 $as_echo "$INSTALL" >&6; }
2964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2965 # It thinks the first close brace ends the variable substitution.
2966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2970 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2973 $as_echo_n "checking whether build environment is sane... " >&6; }
2976 echo timestamp > conftest.file
2977 # Reject unsafe characters in $srcdir or the absolute working directory
2978 # name. Accept space and tab only in the latter.
2982 *[\\\"\#\$\&\'\`$am_lf]*)
2983 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2986 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2987 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2990 # Do `set' in a subshell so we don't clobber the current shell's
2991 # arguments. Must try -L first in case configure is actually a
2992 # symlink; some systems play weird games with the mod time of symlinks
2993 # (eg FreeBSD returns the mod time of the symlink's containing
2996 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2997 if test "$*" = "X"; then
2999 set X
`ls -t "$srcdir/configure" conftest.file`
3002 if test "$*" != "X $srcdir/configure conftest.file" \
3003 && test "$*" != "X conftest.file $srcdir/configure"; then
3005 # If neither matched, then we have a broken ls. This can happen
3006 # if, for instance, CONFIG_SHELL is bash and it inherits a
3007 # broken ls alias from the environment. This has actually
3008 # happened. Such a system could not be considered "sane".
3009 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3010 alias in your environment" "$LINENO" 5
3013 test "$2" = conftest.
file
3019 as_fn_error $?
"newly created file is older than distributed files!
3020 Check your system clock" "$LINENO" 5
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3023 $as_echo "yes" >&6; }
3024 test "$program_prefix" != NONE
&&
3025 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3026 # Use a double $ so make ignores it.
3027 test "$program_suffix" != NONE
&&
3028 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3029 # Double any \ or $.
3030 # By default was `s,x,x', remove it if useless.
3031 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3032 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3034 # expand $ac_aux_dir to an absolute path
3035 am_aux_dir
=`cd $ac_aux_dir && pwd`
3037 if test x
"${MISSING+set}" != xset
; then
3040 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3042 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3045 # Use eval to expand $SHELL
3046 if eval "$MISSING --run true"; then
3047 am_missing_run
="$MISSING --run "
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3051 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3054 if test x
"${install_sh}" != xset
; then
3057 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3059 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3063 # Installed binaries are usually stripped using `strip' when the user
3064 # run `make install-strip'. However `strip' might not be the right
3065 # tool to use in cross-compilation environments, therefore Automake
3066 # will honor the `STRIP' environment variable to overrule this program.
3067 if test "$cross_compiling" != no
; then
3068 if test -n "$ac_tool_prefix"; then
3069 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3070 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_STRIP+:} false
; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$STRIP"; then
3077 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir
=.
3084 for ac_exec_ext
in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 STRIP
=$ac_cv_prog_STRIP
3097 if test -n "$STRIP"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3099 $as_echo "$STRIP" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3107 if test -z "$ac_cv_prog_STRIP"; then
3109 # Extract the first word of "strip", so it can be a program name with args.
3110 set dummy strip
; ac_word
=$2
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3112 $as_echo_n "checking for $ac_word... " >&6; }
3113 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3114 $as_echo_n "(cached) " >&6
3116 if test -n "$ac_ct_STRIP"; then
3117 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3123 test -z "$as_dir" && as_dir
=.
3124 for ac_exec_ext
in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126 ac_cv_prog_ac_ct_STRIP
="strip"
3127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3137 if test -n "$ac_ct_STRIP"; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3139 $as_echo "$ac_ct_STRIP" >&6; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142 $as_echo "no" >&6; }
3145 if test "x$ac_ct_STRIP" = x
; then
3148 case $cross_compiling:$ac_tool_warned in
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3152 ac_tool_warned
=yes ;;
3157 STRIP
="$ac_cv_prog_STRIP"
3161 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3164 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3165 if test -z "$MKDIR_P"; then
3166 if ${ac_cv_path_mkdir+:} false
; then :
3167 $as_echo_n "(cached) " >&6
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3170 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_prog
in mkdir gmkdir
; do
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3177 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3178 'mkdir (GNU coreutils) '* | \
3179 'mkdir (coreutils) '* | \
3180 'mkdir (fileutils) '4.1*)
3181 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3191 test -d .
/--version && rmdir .
/--version
3192 if test "${ac_cv_path_mkdir+set}" = set; then
3193 MKDIR_P
="$ac_cv_path_mkdir -p"
3195 # As a last resort, use the slow shell script. Don't cache a
3196 # value for MKDIR_P within a source directory, because that will
3197 # break other packages using the cache if that directory is
3198 # removed, or if the value is a relative name.
3199 MKDIR_P
="$ac_install_sh -d"
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3203 $as_echo "$MKDIR_P" >&6; }
3207 [\\/$
]* | ?
:[\\/]*) ;;
3208 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3211 for ac_prog
in gawk mawk nawk
awk
3213 # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy
$ac_prog; ac_word
=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_AWK+:} false
; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$AWK"; then
3221 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_AWK
="$ac_prog"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 if test -n "$AWK"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3243 $as_echo "$AWK" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3250 test -n "$AWK" && break
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3254 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3256 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3257 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 cat >conftest.
make <<\_ACEOF
3263 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3265 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3268 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3270 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3274 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3276 $as_echo "yes" >&6; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3281 SET_MAKE
="MAKE=${MAKE-make}"
3284 rm -rf .tst
2>/dev
/null
3285 mkdir .tst
2>/dev
/null
3286 if test -d .tst
; then
3291 rmdir .tst
2>/dev
/null
3293 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3294 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3295 # is not polluted with repeated "-I."
3296 am__isrc
=' -I$(srcdir)'
3297 # test to see if srcdir already configured
3298 if test -f $srcdir/config.status
; then
3299 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3303 # test whether we have cygpath
3304 if test -z "$CYGPATH_W"; then
3305 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3306 CYGPATH_W
='cygpath -w'
3313 # Define the identity of the package.
3314 PACKAGE
=$PACKAGE_NAME
3315 VERSION
=$PACKAGE_VERSION
3318 cat >>confdefs.h
<<_ACEOF
3319 #define PACKAGE "$PACKAGE"
3323 cat >>confdefs.h
<<_ACEOF
3324 #define VERSION "$VERSION"
3327 # Some tools Automake needs.
3329 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3332 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3335 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3338 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3341 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3343 # We need awk for the "check" target. The system "awk" is bad on
3345 # Always define AMTAR for backward compatibility.
3347 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3349 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3355 # Check whether --enable-silent-rules was given.
3356 if test "${enable_silent_rules+set}" = set; then :
3357 enableval
=$enable_silent_rules;
3360 case $enable_silent_rules in
3361 yes) AM_DEFAULT_VERBOSITY
=0;;
3362 no
) AM_DEFAULT_VERBOSITY
=1;;
3363 *) AM_DEFAULT_VERBOSITY
=0;;
3368 ACLOCAL_AMFLAGS="-I M4"
3372 ac_cpp='$CPP $CPPFLAGS'
3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3374 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3381 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 if test -n "$ac_tool_prefix"; then
3384 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3385 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if ${ac_cv_prog_CC+:} false; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$CC"; then
3392 ac_cv_prog_CC="$CC" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 if test -n "$CC"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3414 $as_echo "$CC" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3422 if test -z "$ac_cv_prog_CC"; then
3424 # Extract the first word of "gcc", so it can be a program name with args.
3425 set dummy gcc; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 if test -n "$ac_ct_CC"; then
3432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3441 ac_cv_prog_ac_ct_CC="gcc"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3452 if test -n "$ac_ct_CC"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3454 $as_echo "$ac_ct_CC" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3460 if test "x$ac_ct_CC" = x; then
3463 case $cross_compiling:$ac_tool_warned in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3467 ac_tool_warned=yes ;;
3475 if test -z "$CC"; then
3476 if test -n "$ac_tool_prefix"; then
3477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3478 set dummy ${ac_tool_prefix}cc; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if ${ac_cv_prog_CC+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC="$CC" # Let the user override the test.
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3494 ac_cv_prog_CC="${ac_tool_prefix}cc"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 if test -n "$CC"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507 $as_echo "$CC" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3516 if test -z "$CC"; then
3517 # Extract the first word of "cc", so it can be a program name with args.
3518 set dummy cc; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if ${ac_cv_prog_CC+:} false; then :
3522 $as_echo_n "(cached) " >&6
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC="$CC" # Let the user override the test.
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir=.
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3536 ac_prog_rejected=yes
3540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 if test $ac_prog_rejected = yes; then
3548 # We found a bogon in the path, so make sure we never use it.
3549 set dummy $ac_cv_prog_CC
3551 if test $# != 0; then
3552 # We chose a different compiler from the bogus one.
3553 # However, it has the same basename, so the bogon will be chosen
3554 # first if we set CC to just the basename; use the full file name.
3556 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3562 if test -n "$CC"; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3564 $as_echo "$CC" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3572 if test -z "$CC"; then
3573 if test -n "$ac_tool_prefix"; then
3574 for ac_prog in cl.exe
3576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if ${ac_cv_prog_CC+:} false; then :
3581 $as_echo_n "(cached) " >&6
3583 if test -n "$CC"; then
3584 ac_cv_prog_CC="$CC" # Let the user override the test.
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 if test -n "$CC"; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3606 $as_echo "$CC" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3613 test -n "$CC" && break
3616 if test -z "$CC"; then
3618 for ac_prog in cl.exe
3620 # Extract the first word of "$ac_prog", so it can be a program name with args.
3621 set dummy $ac_prog; ac_word=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3625 $as_echo_n "(cached) " >&6
3627 if test -n "$ac_ct_CC"; then
3628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir=.
3635 for ac_exec_ext in '' $ac_executable_extensions; do
3636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3637 ac_cv_prog_ac_ct_CC="$ac_prog"
3638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3648 if test -n "$ac_ct_CC"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3650 $as_echo "$ac_ct_CC" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3657 test -n "$ac_ct_CC" && break
3660 if test "x$ac_ct_CC" = x; then
3663 case $cross_compiling:$ac_tool_warned in
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3667 ac_tool_warned=yes ;;
3676 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3678 as_fn_error $? "no acceptable C compiler found in \$PATH
3679 See \`config.log
' for more details" "$LINENO" 5; }
3681 # Provide some information about the compiler.
3682 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3685 for ac_option in --version -v -V -qversion; do
3686 { { ac_try="$ac_compiler $ac_option >&5"
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3692 $as_echo "$ac_try_echo"; } >&5
3693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3695 if test -s conftest.err; then
3697 ... rest of stderr output deleted ...
3698 10q
' conftest.err >conftest.er1
3699 cat conftest.er1 >&5
3701 rm -f conftest.er1 conftest.err
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 ac_clean_files_save=$ac_clean_files
3718 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3719 # Try to create an executable without -o first, disregard a.out.
3720 # It will help us diagnose broken compilers, and finding out an intuition
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3723 $as_echo_n "checking whether the C compiler works... " >&6; }
3724 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3726 # The possible output files:
3727 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3730 for ac_file in $ac_files
3733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3734 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3739 if { { ac_try="$ac_link_default"
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
3746 (eval "$ac_link_default") 2>&5
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }; then :
3750 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3751 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3752 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3753 # so that the user can short-circuit this test for compilers unknown to
3755 for ac_file
in $ac_files ''
3757 test -f "$ac_file" ||
continue
3759 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3762 # We found the default executable, but exeext='' is most
3766 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3768 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3770 # We set ac_cv_exeext here because the later test for it is not
3771 # safe: cross compilers may not add the suffix if given an `-o'
3772 # argument, so we may need to know it at that point already.
3773 # Even if this section looks crufty: it has the advantage of
3780 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3785 if test -z "$ac_file"; then :
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3788 $as_echo "$as_me: failed program was:" >&5
3789 sed 's/^/| /' conftest.
$ac_ext >&5
3791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793 as_fn_error
77 "C compiler cannot create executables
3794 See \`config.log' for more details" "$LINENO" 5; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3797 $as_echo "yes" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3800 $as_echo_n "checking for C compiler default output file name... " >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3802 $as_echo "$ac_file" >&6; }
3803 ac_exeext
=$ac_cv_exeext
3805 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3806 ac_clean_files
=$ac_clean_files_save
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3808 $as_echo_n "checking for suffix of executables... " >&6; }
3809 if { { ac_try
="$ac_link"
3811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_link") 2>&5
3818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3819 test $ac_status = 0; }; then :
3820 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3821 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3822 # work properly (i.e., refer to `conftest.exe'), while it won't with
3824 for ac_file
in conftest.exe conftest conftest.
*; do
3825 test -f "$ac_file" ||
continue
3827 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3828 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3837 See \`config.log' for more details" "$LINENO" 5; }
3839 rm -f conftest conftest
$ac_cv_exeext
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3841 $as_echo "$ac_cv_exeext" >&6; }
3843 rm -f conftest.
$ac_ext
3844 EXEEXT
=$ac_cv_exeext
3846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3852 FILE *f = fopen ("conftest.out", "w");
3853 return ferror (f) || fclose (f) != 0;
3859 ac_clean_files
="$ac_clean_files conftest.out"
3860 # Check that the compiler produces executables we can run. If not, either
3861 # the compiler is broken, or we cross compile.
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3863 $as_echo_n "checking whether we are cross compiling... " >&6; }
3864 if test "$cross_compiling" != yes; then
3865 { { ac_try
="$ac_link"
3867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link") 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }
3876 if { ac_try='./conftest$ac_cv_exeext'
3877 { { case "(($ac_try" in
3878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3879 *) ac_try_echo
=$ac_try;;
3881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_try") 2>&5
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }; }; then
3889 if test "$cross_compiling" = maybe
; then
3892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3894 as_fn_error $?
"cannot run C compiled programs.
3895 If you meant to cross compile, use \`--host'.
3896 See \`config.log' for more details" "$LINENO" 5; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3901 $as_echo "$cross_compiling" >&6; }
3903 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3904 ac_clean_files
=$ac_clean_files_save
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3906 $as_echo_n "checking for suffix of object files... " >&6; }
3907 if ${ac_cv_objext+:} false
; then :
3908 $as_echo_n "(cached) " >&6
3910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 rm -f conftest.o conftest.obj
3922 if { { ac_try
="$ac_compile"
3924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_compile") 2>&5
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 for ac_file in conftest.o conftest.obj conftest.*; do
3934 test -f "$ac_file" || continue;
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3937 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3942 $as_echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5
3945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3948 See \
`config.log' for more details" "$LINENO" 5; }
3950 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3953 $as_echo "$ac_cv_objext" >&6; }
3954 OBJEXT=$ac_cv_objext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3957 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3958 if ${ac_cv_c_compiler_gnu+:} false; then :
3959 $as_echo_n "(cached) " >&6
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3985 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3986 if test $ac_compiler_gnu = yes; then
3991 ac_test_CFLAGS=${CFLAGS+set}
3992 ac_save_CFLAGS=$CFLAGS
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3994 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3995 if ${ac_cv_prog_cc_g+:} false; then :
3996 $as_echo_n "(cached) " >&6
3998 ac_save_c_werror_flag=$ac_c_werror_flag
3999 ac_c_werror_flag=yes
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4013 if ac_fn_c_try_compile "$LINENO"; then :
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4028 if ac_fn_c_try_compile "$LINENO"; then :
4031 ac_c_werror_flag=$ac_save_c_werror_flag
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4044 if ac_fn_c_try_compile "$LINENO"; then :
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 ac_c_werror_flag=$ac_save_c_werror_flag
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4055 $as_echo "$ac_cv_prog_cc_g" >&6; }
4056 if test "$ac_test_CFLAGS" = set; then
4057 CFLAGS=$ac_save_CFLAGS
4058 elif test $ac_cv_prog_cc_g = yes; then
4059 if test "$GCC" = yes; then
4065 if test "$GCC" = yes; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4072 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4073 if ${ac_cv_prog_cc_c89+:} false; then :
4074 $as_echo_n "(cached) " >&6
4076 ac_cv_prog_cc_c89=no
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4082 #include <sys/types.h>
4083 #include <sys/stat.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
4167 DEPDIR="${am__leading_dot}deps"
4169 ac_config_commands="$ac_config_commands depfiles"
4172 am_make=${MAKE-make}
4173 cat > confinc << 'END'
4175 @echo this is the am__doit target
4178 # If we don't find an include directive, just comment out the code.
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4180 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4184 # First try GNU make style include.
4185 echo "include confinc" > confmf
4186 # Ignore all kinds of additional output from `make'.
4187 case `$am_make -s -f confmf 2> /dev/null` in #(
4188 *the\ am__doit\ target*)
4194 # Now try BSD make style include.
4195 if test "$am__include" = "#"; then
4196 echo '.include
"confinc"' > confmf
4197 case `$am_make -s -f confmf 2> /dev/null` in #(
4198 *the\ am__doit\ target*)
4199 am__include=.include
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4208 $as_echo "$_am_result" >&6; }
4209 rm -f confinc confmf
4211 # Check whether --enable-dependency-tracking was given.
4212 if test "${enable_dependency_tracking+set}" = set; then :
4213 enableval=$enable_dependency_tracking;
4216 if test "x$enable_dependency_tracking" != xno; then
4217 am_depcomp="$ac_aux_dir/depcomp"
4220 if test "x$enable_dependency_tracking" != xno
; then
4230 depcc
="$CC" am_compiler_list
=
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4233 $as_echo_n "checking dependency style of $depcc... " >&6; }
4234 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4235 $as_echo_n "(cached) " >&6
4237 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4238 # We make a subdir and do the tests there. Otherwise we can end up
4239 # making bogus files that we don't know about and never remove. For
4240 # instance it was reported that on HP-UX the gcc test will end up
4241 # making a dummy file named `D' -- because `-MD' means `put the output
4244 # Copy depcomp to subdir because otherwise we won't find it if we're
4245 # using a relative directory.
4246 cp "$am_depcomp" conftest.dir
4248 # We will build objects and dependencies in a subdirectory because
4249 # it helps to detect inapplicable dependency modes. For instance
4250 # both Tru64's cc and ICC support -MD to output dependencies as a
4251 # side effect of compilation, but ICC will put the dependencies in
4252 # the current directory while Tru64 will put them in the object
4256 am_cv_CC_dependencies_compiler_type
=none
4257 if test "$am_compiler_list" = ""; then
4258 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4261 case " $depcc " in #(
4262 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4265 for depmode
in $am_compiler_list; do
4266 # Setup a source with many dependencies, because some compilers
4267 # like to wrap large dependency lists on column 80 (with \), and
4268 # we should not choose a depcomp mode which is confused by this.
4270 # We need to recreate these files for each test, as the compiler may
4271 # overwrite some of them when testing with obscure command lines.
4272 # This happens at least with the AIX C compiler.
4274 for i
in 1 2 3 4 5 6; do
4275 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4276 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4277 # Solaris 8's {/usr,}/bin/sh.
4278 touch sub
/conftst
$i.h
4280 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4282 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4283 # mode. It turns out that the SunPro C++ compiler does not properly
4284 # handle `-M -o', and we need to detect this. Also, some Intel
4285 # versions had trouble with output in subdirs
4286 am__obj
=sub
/conftest.
${OBJEXT-o}
4287 am__minus_obj
="-o $am__obj"
4290 # This depmode causes a compiler race in universal mode.
4291 test "$am__universal" = false ||
continue
4294 # after this tag, mechanisms are not by side-effect, so they'll
4295 # only be used when explicitly requested
4296 if test "x$enable_dependency_tracking" = xyes
; then
4302 msvisualcpp | msvcmsys
)
4303 # This compiler won't grok `-c -o', but also, the minuso test has
4304 # not run yet. These depmodes are late enough in the game, and
4305 # so weak that their functioning should not be impacted.
4306 am__obj
=conftest.
${OBJEXT-o}
4311 if depmode
=$depmode \
4312 source=sub
/conftest.c object
=$am__obj \
4313 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4314 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4315 >/dev
/null
2>conftest.err
&&
4316 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4317 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4318 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4319 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4320 # icc doesn't choke on unknown options, it will just issue warnings
4321 # or remarks (even with -Werror). So we grep stderr for any message
4322 # that says an option was ignored or not supported.
4323 # When given -MP, icc 7.0 and 7.1 complain thusly:
4324 # icc: Command line warning: ignoring option '-M'; no argument required
4325 # The diagnosis changed in icc 8.0:
4326 # icc: Command line remark: option '-MP' not supported
4327 if (grep 'ignoring option' conftest.err ||
4328 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4329 am_cv_CC_dependencies_compiler_type
=$depmode
4338 am_cv_CC_dependencies_compiler_type
=none
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4343 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4344 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4347 test "x$enable_dependency_tracking" != xno \
4348 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4350 am__fastdepCC_FALSE
='#'
4352 am__fastdepCC_TRUE
='#'
4353 am__fastdepCC_FALSE
=
4357 if test "x$CC" != xcc
; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4359 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4362 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4364 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4365 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4366 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
4367 $as_echo_n "(cached) " >&6
4369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4380 # Make sure it works both with $CC and with simple cc.
4381 # We do the test twice because some compilers refuse to overwrite an
4382 # existing .o file with -o, though they will create one.
4383 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4385 if { { case "(($ac_try" in
4386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390 $as_echo "$ac_try_echo"; } >&5
4391 (eval "$ac_try") 2>&5
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; } &&
4395 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4397 *) ac_try_echo
=$ac_try;;
4399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4400 $as_echo "$ac_try_echo"; } >&5
4401 (eval "$ac_try") 2>&5
4403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4404 test $ac_status = 0; };
4406 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4407 if test "x$CC" != xcc
; then
4408 # Test first that cc exists at all.
4409 if { ac_try
='cc -c conftest.$ac_ext >&5'
4410 { { case "(($ac_try" in
4411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_try") 2>&5
4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4419 test $ac_status = 0; }; }; then
4420 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4422 if { { case "(($ac_try" in
4423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4424 *) ac_try_echo
=$ac_try;;
4426 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4427 $as_echo "$ac_try_echo"; } >&5
4428 (eval "$ac_try") 2>&5
4430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4431 test $ac_status = 0; } &&
4432 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4437 $as_echo "$ac_try_echo"; } >&5
4438 (eval "$ac_try") 2>&5
4440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4441 test $ac_status = 0; };
4446 # cc exists but doesn't like -o.
4447 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4452 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4454 rm -f core conftest*
4457 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4459 $as_echo "yes" >&6; }
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4464 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4468 # FIXME: we rely on the cache variable name because
4469 # there is no other way.
4471 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4472 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4473 if test "$am_t" != yes; then
4474 # Losing compiler, so override with the script.
4475 # FIXME: It is wrong to rewrite CC.
4476 # But if we don't then we get into trouble of one sort or another.
4477 # A longer-term fix would be to have automake use am__CC in this case,
4478 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4479 CC="$am_aux_dir/compile $CC"
4484 ac_cpp='$CXXCPP $CPPFLAGS'
4485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4488 if test -z "$CXX"; then
4489 if test -n "$CCC"; then
4492 if test -n "$ac_tool_prefix"; then
4493 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if ${ac_cv_prog_CXX+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 if test -n "$CXX"; then
4503 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir=.
4510 for ac_exec_ext in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 if test -n "$CXX"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4525 $as_echo "$CXX" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4532 test -n "$CXX" && break
4535 if test -z "$CXX"; then
4537 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4539 # Extract the first word of "$ac_prog", so it can be a program name with args.
4540 set dummy $ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$ac_ct_CXX"; then
4547 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_ac_ct_CXX="$ac_prog"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4567 if test -n "$ac_ct_CXX"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4569 $as_echo "$ac_ct_CXX" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$ac_ct_CXX" && break
4579 if test "x$ac_ct_CXX" = x; then
4582 case $cross_compiling:$ac_tool_warned in
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586 ac_tool_warned=yes ;;
4594 # Provide some information about the compiler.
4595 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4598 for ac_option in --version -v -V -qversion; do
4599 { { ac_try="$ac_compiler $ac_option >&5"
4601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4602 *) ac_try_echo
=$ac_try;;
4604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4605 $as_echo "$ac_try_echo"; } >&5
4606 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4608 if test -s conftest.err
; then
4610 ... rest of stderr output deleted ...
4611 10q' conftest.err
>conftest.er1
4612 cat conftest.er1
>&5
4614 rm -f conftest.er1 conftest.err
4615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616 test $ac_status = 0; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4620 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4621 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4622 $as_echo_n "(cached) " >&6
4624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4638 if ac_fn_cxx_try_compile
"$LINENO"; then :
4643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4644 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4648 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4649 if test $ac_compiler_gnu = yes; then
4654 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4655 ac_save_CXXFLAGS
=$CXXFLAGS
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4657 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4658 if ${ac_cv_prog_cxx_g+:} false
; then :
4659 $as_echo_n "(cached) " >&6
4661 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4662 ac_cxx_werror_flag
=yes
4665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4676 if ac_fn_cxx_try_compile
"$LINENO"; then :
4677 ac_cv_prog_cxx_g
=yes
4680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4691 if ac_fn_cxx_try_compile
"$LINENO"; then :
4694 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4707 if ac_fn_cxx_try_compile
"$LINENO"; then :
4708 ac_cv_prog_cxx_g
=yes
4710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4715 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4718 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4719 if test "$ac_test_CXXFLAGS" = set; then
4720 CXXFLAGS
=$ac_save_CXXFLAGS
4721 elif test $ac_cv_prog_cxx_g = yes; then
4722 if test "$GXX" = yes; then
4728 if test "$GXX" = yes; then
4735 ac_cpp
='$CPP $CPPFLAGS'
4736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4740 depcc
="$CXX" am_compiler_list
=
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4743 $as_echo_n "checking dependency style of $depcc... " >&6; }
4744 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4748 # We make a subdir and do the tests there. Otherwise we can end up
4749 # making bogus files that we don't know about and never remove. For
4750 # instance it was reported that on HP-UX the gcc test will end up
4751 # making a dummy file named `D' -- because `-MD' means `put the output
4754 # Copy depcomp to subdir because otherwise we won't find it if we're
4755 # using a relative directory.
4756 cp "$am_depcomp" conftest.dir
4758 # We will build objects and dependencies in a subdirectory because
4759 # it helps to detect inapplicable dependency modes. For instance
4760 # both Tru64's cc and ICC support -MD to output dependencies as a
4761 # side effect of compilation, but ICC will put the dependencies in
4762 # the current directory while Tru64 will put them in the object
4766 am_cv_CXX_dependencies_compiler_type
=none
4767 if test "$am_compiler_list" = ""; then
4768 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4771 case " $depcc " in #(
4772 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4775 for depmode
in $am_compiler_list; do
4776 # Setup a source with many dependencies, because some compilers
4777 # like to wrap large dependency lists on column 80 (with \), and
4778 # we should not choose a depcomp mode which is confused by this.
4780 # We need to recreate these files for each test, as the compiler may
4781 # overwrite some of them when testing with obscure command lines.
4782 # This happens at least with the AIX C compiler.
4784 for i
in 1 2 3 4 5 6; do
4785 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4786 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4787 # Solaris 8's {/usr,}/bin/sh.
4788 touch sub
/conftst
$i.h
4790 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4792 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4793 # mode. It turns out that the SunPro C++ compiler does not properly
4794 # handle `-M -o', and we need to detect this. Also, some Intel
4795 # versions had trouble with output in subdirs
4796 am__obj
=sub
/conftest.
${OBJEXT-o}
4797 am__minus_obj
="-o $am__obj"
4800 # This depmode causes a compiler race in universal mode.
4801 test "$am__universal" = false ||
continue
4804 # after this tag, mechanisms are not by side-effect, so they'll
4805 # only be used when explicitly requested
4806 if test "x$enable_dependency_tracking" = xyes
; then
4812 msvisualcpp | msvcmsys
)
4813 # This compiler won't grok `-c -o', but also, the minuso test has
4814 # not run yet. These depmodes are late enough in the game, and
4815 # so weak that their functioning should not be impacted.
4816 am__obj
=conftest.
${OBJEXT-o}
4821 if depmode
=$depmode \
4822 source=sub
/conftest.c object
=$am__obj \
4823 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4824 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4825 >/dev
/null
2>conftest.err
&&
4826 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4827 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4828 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4829 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4830 # icc doesn't choke on unknown options, it will just issue warnings
4831 # or remarks (even with -Werror). So we grep stderr for any message
4832 # that says an option was ignored or not supported.
4833 # When given -MP, icc 7.0 and 7.1 complain thusly:
4834 # icc: Command line warning: ignoring option '-M'; no argument required
4835 # The diagnosis changed in icc 8.0:
4836 # icc: Command line remark: option '-MP' not supported
4837 if (grep 'ignoring option' conftest.err ||
4838 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4839 am_cv_CXX_dependencies_compiler_type
=$depmode
4848 am_cv_CXX_dependencies_compiler_type
=none
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4853 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4854 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4857 test "x$enable_dependency_tracking" != xno \
4858 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4859 am__fastdepCXX_TRUE
=
4860 am__fastdepCXX_FALSE
='#'
4862 am__fastdepCXX_TRUE
='#'
4863 am__fastdepCXX_FALSE
=
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4868 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4869 if ${ac_cv_path_SED+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4872 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4873 for ac_i
in 1 2 3 4 5 6 7; do
4874 ac_script
="$ac_script$as_nl$ac_script"
4876 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4877 { ac_script
=; unset ac_script
;}
4878 if test -z "$SED"; then
4879 ac_path_SED_found
=false
4880 # Loop through the user's path and test for each of PROGNAME-LIST
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for ac_prog
in sed gsed
; do
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4889 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4890 # Check for GNU ac_path_SED and select it if it is found.
4891 # Check for GNU $ac_path_SED
4892 case `"$ac_path_SED" --version 2>&1` in
4894 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4897 $as_echo_n 0123456789 >"conftest.in"
4900 cat "conftest.in" "conftest.in" >"conftest.tmp"
4901 mv "conftest.tmp" "conftest.in"
4902 cp "conftest.in" "conftest.nl"
4903 $as_echo '' >> "conftest.nl"
4904 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4905 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4906 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4907 if test $ac_count -gt ${ac_path_SED_max-0}; then
4908 # Best one so far, save it but keep looking for a better one
4909 ac_cv_path_SED
="$ac_path_SED"
4910 ac_path_SED_max
=$ac_count
4912 # 10*(2^10) chars as input seems more than enough
4913 test $ac_count -gt 10 && break
4915 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4918 $ac_path_SED_found && break 3
4923 if test -z "$ac_cv_path_SED"; then
4924 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4932 $as_echo "$ac_cv_path_SED" >&6; }
4933 SED
="$ac_cv_path_SED"
4937 # Do not check for F77.
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4942 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4948 macro_revision
='1.3293'
4962 ltmain
="$ac_aux_dir/ltmain.sh"
4964 # Backslashify metacharacters that are still active within
4965 # double-quoted strings.
4966 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4968 # Same as above, but do not quote variable references.
4969 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4971 # Sed substitution to delay expansion of an escaped shell variable in a
4972 # double_quote_subst'ed string.
4973 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4975 # Sed substitution to delay expansion of an escaped single quote.
4976 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4978 # Sed substitution to avoid accidental globbing in evaled expressions
4979 no_glob_subst
='s/\*/\\\*/g'
4981 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4982 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4983 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4986 $as_echo_n "checking how to print strings... " >&6; }
4987 # Test print first, because it will be a builtin if present.
4988 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4989 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4991 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4994 # Use this function as a fallback that always works.
4995 func_fallback_echo ()
4997 eval 'cat <<_LTECHO_EOF
5001 ECHO='func_fallback_echo
'
5004 # func_echo_all arg...
5005 # Invoke $ECHO with all args, space-separated.
5012 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5013 $as_echo "printf" >&6; } ;;
5014 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5015 $as_echo "print -r" >&6; } ;;
5016 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5017 $as_echo "cat" >&6; } ;;
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5034 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5035 if ${ac_cv_path_SED+:} false; then :
5036 $as_echo_n "(cached) " >&6
5038 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5039 for ac_i in 1 2 3 4 5 6 7; do
5040 ac_script="$ac_script$as_nl$ac_script"
5042 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5043 { ac_script=; unset ac_script;}
5044 if test -z "$SED"; then
5045 ac_path_SED_found=false
5046 # Loop through the user's path and
test for each of PROGNAME-LIST
5047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir
=.
5052 for ac_prog
in sed gsed
; do
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5055 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5056 # Check for GNU ac_path_SED and select it if it is found.
5057 # Check for GNU $ac_path_SED
5058 case `"$ac_path_SED" --version 2>&1` in
5060 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5063 $as_echo_n 0123456789 >"conftest.in"
5066 cat "conftest.in" "conftest.in" >"conftest.tmp"
5067 mv "conftest.tmp" "conftest.in"
5068 cp "conftest.in" "conftest.nl"
5069 $as_echo '' >> "conftest.nl"
5070 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5071 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5072 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5073 if test $ac_count -gt ${ac_path_SED_max-0}; then
5074 # Best one so far, save it but keep looking for a better one
5075 ac_cv_path_SED
="$ac_path_SED"
5076 ac_path_SED_max
=$ac_count
5078 # 10*(2^10) chars as input seems more than enough
5079 test $ac_count -gt 10 && break
5081 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5084 $ac_path_SED_found && break 3
5089 if test -z "$ac_cv_path_SED"; then
5090 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5098 $as_echo "$ac_cv_path_SED" >&6; }
5099 SED
="$ac_cv_path_SED"
5102 test -z "$SED" && SED
=sed
5103 Xsed
="$SED -e 1s/^X//"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5116 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5117 if ${ac_cv_path_GREP+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -z "$GREP"; then
5121 ac_path_GREP_found
=false
5122 # Loop through the user's path and test for each of PROGNAME-LIST
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_prog
in grep ggrep
; do
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5131 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5132 # Check for GNU ac_path_GREP and select it if it is found.
5133 # Check for GNU $ac_path_GREP
5134 case `"$ac_path_GREP" --version 2>&1` in
5136 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5139 $as_echo_n 0123456789 >"conftest.in"
5142 cat "conftest.in" "conftest.in" >"conftest.tmp"
5143 mv "conftest.tmp" "conftest.in"
5144 cp "conftest.in" "conftest.nl"
5145 $as_echo 'GREP' >> "conftest.nl"
5146 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5147 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5148 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5149 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5150 # Best one so far, save it but keep looking for a better one
5151 ac_cv_path_GREP
="$ac_path_GREP"
5152 ac_path_GREP_max
=$ac_count
5154 # 10*(2^10) chars as input seems more than enough
5155 test $ac_count -gt 10 && break
5157 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5160 $ac_path_GREP_found && break 3
5165 if test -z "$ac_cv_path_GREP"; then
5166 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5169 ac_cv_path_GREP
=$GREP
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5174 $as_echo "$ac_cv_path_GREP" >&6; }
5175 GREP
="$ac_cv_path_GREP"
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5179 $as_echo_n "checking for egrep... " >&6; }
5180 if ${ac_cv_path_EGREP+:} false
; then :
5181 $as_echo_n "(cached) " >&6
5183 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5184 then ac_cv_path_EGREP
="$GREP -E"
5186 if test -z "$EGREP"; then
5187 ac_path_EGREP_found
=false
5188 # Loop through the user's path and test for each of PROGNAME-LIST
5189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5190 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5193 test -z "$as_dir" && as_dir
=.
5194 for ac_prog
in egrep; do
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5197 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5198 # Check for GNU ac_path_EGREP and select it if it is found.
5199 # Check for GNU $ac_path_EGREP
5200 case `"$ac_path_EGREP" --version 2>&1` in
5202 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5205 $as_echo_n 0123456789 >"conftest.in"
5208 cat "conftest.in" "conftest.in" >"conftest.tmp"
5209 mv "conftest.tmp" "conftest.in"
5210 cp "conftest.in" "conftest.nl"
5211 $as_echo 'EGREP' >> "conftest.nl"
5212 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5213 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5214 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5215 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5216 # Best one so far, save it but keep looking for a better one
5217 ac_cv_path_EGREP
="$ac_path_EGREP"
5218 ac_path_EGREP_max
=$ac_count
5220 # 10*(2^10) chars as input seems more than enough
5221 test $ac_count -gt 10 && break
5223 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5226 $ac_path_EGREP_found && break 3
5231 if test -z "$ac_cv_path_EGREP"; then
5232 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5235 ac_cv_path_EGREP
=$EGREP
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5241 $as_echo "$ac_cv_path_EGREP" >&6; }
5242 EGREP
="$ac_cv_path_EGREP"
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5246 $as_echo_n "checking for fgrep... " >&6; }
5247 if ${ac_cv_path_FGREP+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5251 then ac_cv_path_FGREP
="$GREP -F"
5253 if test -z "$FGREP"; then
5254 ac_path_FGREP_found
=false
5255 # Loop through the user's path and test for each of PROGNAME-LIST
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_prog
in fgrep
; do
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5264 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5265 # Check for GNU ac_path_FGREP and select it if it is found.
5266 # Check for GNU $ac_path_FGREP
5267 case `"$ac_path_FGREP" --version 2>&1` in
5269 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5272 $as_echo_n 0123456789 >"conftest.in"
5275 cat "conftest.in" "conftest.in" >"conftest.tmp"
5276 mv "conftest.tmp" "conftest.in"
5277 cp "conftest.in" "conftest.nl"
5278 $as_echo 'FGREP' >> "conftest.nl"
5279 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5280 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5281 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5282 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5283 # Best one so far, save it but keep looking for a better one
5284 ac_cv_path_FGREP
="$ac_path_FGREP"
5285 ac_path_FGREP_max
=$ac_count
5287 # 10*(2^10) chars as input seems more than enough
5288 test $ac_count -gt 10 && break
5290 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5293 $ac_path_FGREP_found && break 3
5298 if test -z "$ac_cv_path_FGREP"; then
5299 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5302 ac_cv_path_FGREP
=$FGREP
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5308 $as_echo "$ac_cv_path_FGREP" >&6; }
5309 FGREP
="$ac_cv_path_FGREP"
5312 test -z "$GREP" && GREP
=grep
5332 # Check whether --with-gnu-ld was given.
5333 if test "${with_gnu_ld+set}" = set; then :
5334 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5340 if test "$GCC" = yes; then
5341 # Check if gcc -print-prog-name=ld gives a path.
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5343 $as_echo_n "checking for ld used by $CC... " >&6; }
5346 # gcc leaves a trailing carriage return which upsets mingw
5347 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5349 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5352 # Accept absolute paths.
5354 re_direlt
='/[^/][^/]*/\.\./'
5355 # Canonicalize the pathname of ld
5356 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5357 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5358 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5360 test -z "$LD" && LD
="$ac_prog"
5363 # If it fails, then pretend we aren't using GCC.
5367 # If it is relative, then search for the first ld in PATH.
5371 elif test "$with_gnu_ld" = yes; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5373 $as_echo_n "checking for GNU ld... " >&6; }
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5376 $as_echo_n "checking for non-GNU ld... " >&6; }
5378 if ${lt_cv_path_LD+:} false
; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -z "$LD"; then
5382 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5383 for ac_dir
in $PATH; do
5385 test -z "$ac_dir" && ac_dir
=.
5386 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5387 lt_cv_path_LD
="$ac_dir/$ac_prog"
5388 # Check to see if the program is GNU ld. I'd rather use --version,
5389 # but apparently some variants of GNU ld only accept -v.
5390 # Break only if it was the GNU/non-GNU ld that we prefer.
5391 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5392 *GNU
* |
*'with BFD'*)
5393 test "$with_gnu_ld" != no
&& break
5396 test "$with_gnu_ld" != yes && break
5403 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5408 if test -n "$LD"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5410 $as_echo "$LD" >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5415 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5417 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5418 if ${lt_cv_prog_gnu_ld+:} false
; then :
5419 $as_echo_n "(cached) " >&6
5421 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5422 case `$LD -v 2>&1 </dev/null` in
5423 *GNU
* |
*'with BFD'*)
5424 lt_cv_prog_gnu_ld
=yes
5427 lt_cv_prog_gnu_ld
=no
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5432 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5433 with_gnu_ld
=$lt_cv_prog_gnu_ld
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5444 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5445 if ${lt_cv_path_NM+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$NM"; then
5449 # Let the user override the test.
5452 lt_nm_to_check
="${ac_tool_prefix}nm"
5453 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5454 lt_nm_to_check
="$lt_nm_to_check nm"
5456 for lt_tmp_nm
in $lt_nm_to_check; do
5457 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5458 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5460 test -z "$ac_dir" && ac_dir
=.
5461 tmp_nm
="$ac_dir/$lt_tmp_nm"
5462 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5463 # Check to see if the nm accepts a BSD-compat flag.
5464 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5465 # nm: unknown option "B" ignored
5466 # Tru64's nm complains that /dev/null is an invalid object file
5467 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5468 */dev
/null
* |
*'Invalid file or object type'*)
5469 lt_cv_path_NM
="$tmp_nm -B"
5473 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5475 lt_cv_path_NM
="$tmp_nm -p"
5479 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5480 continue # so that we can try to find one that supports BSD flags
5489 : ${lt_cv_path_NM=no}
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5493 $as_echo "$lt_cv_path_NM" >&6; }
5494 if test "$lt_cv_path_NM" != "no"; then
5497 # Didn't find any BSD compatible name lister, look for dumpbin.
5498 if test -n "$DUMPBIN"; then :
5499 # Let the user override the test.
5501 if test -n "$ac_tool_prefix"; then
5502 for ac_prog
in dumpbin
"link -dump"
5504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5505 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$DUMPBIN"; then
5512 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5521 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 DUMPBIN
=$ac_cv_prog_DUMPBIN
5532 if test -n "$DUMPBIN"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5534 $as_echo "$DUMPBIN" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5541 test -n "$DUMPBIN" && break
5544 if test -z "$DUMPBIN"; then
5545 ac_ct_DUMPBIN
=$DUMPBIN
5546 for ac_prog
in dumpbin
"link -dump"
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy
$ac_prog; ac_word
=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 if test -n "$ac_ct_DUMPBIN"; then
5556 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5576 if test -n "$ac_ct_DUMPBIN"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5578 $as_echo "$ac_ct_DUMPBIN" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5585 test -n "$ac_ct_DUMPBIN" && break
5588 if test "x$ac_ct_DUMPBIN" = x
; then
5591 case $cross_compiling:$ac_tool_warned in
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5595 ac_tool_warned
=yes ;;
5597 DUMPBIN
=$ac_ct_DUMPBIN
5601 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5603 DUMPBIN
="$DUMPBIN -symbols"
5611 if test "$DUMPBIN" != ":"; then
5615 test -z "$NM" && NM
=nm
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5623 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5624 if ${lt_cv_nm_interface+:} false
; then :
5625 $as_echo_n "(cached) " >&6
5627 lt_cv_nm_interface
="BSD nm"
5628 echo "int some_variable = 0;" > conftest.
$ac_ext
5629 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5630 (eval "$ac_compile" 2>conftest.err
)
5631 cat conftest.err
>&5
5632 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5633 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5634 cat conftest.err
>&5
5635 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5636 cat conftest.out
>&5
5637 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5638 lt_cv_nm_interface
="MS dumpbin"
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5643 $as_echo "$lt_cv_nm_interface" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5646 $as_echo_n "checking whether ln -s works... " >&6; }
5648 if test "$LN_S" = "ln -s"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5650 $as_echo "yes" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5653 $as_echo "no, using $LN_S" >&6; }
5656 # find the maximum length of command line arguments
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5658 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5659 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5660 $as_echo_n "(cached) " >&6
5667 # On DJGPP, this test can blow up pretty badly due to problems in libc
5668 # (any single argument exceeding 2000 bytes causes a buffer overrun
5669 # during glob expansion). Even if it were fixed, the result of this
5670 # check would be larger than it should be.
5671 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5675 # Under GNU Hurd, this test is not required because there is
5676 # no limit to the length of command line arguments.
5677 # Libtool will interpret -1 as no limit whatsoever
5678 lt_cv_sys_max_cmd_len
=-1;
5681 cygwin
* | mingw
* | cegcc
*)
5682 # On Win9x/ME, this test blows up -- it succeeds, but takes
5683 # about 5 minutes as the teststring grows exponentially.
5684 # Worse, since 9x/ME are not pre-emptively multitasking,
5685 # you end up with a "frozen" computer, even though with patience
5686 # the test eventually succeeds (with a max line length of 256k).
5687 # Instead, let's just punt: use the minimum linelength reported by
5688 # all of the supported platforms: 8192 (on NT/2K/XP).
5689 lt_cv_sys_max_cmd_len
=8192;
5693 # On MiNT this can take a long time and run out of memory.
5694 lt_cv_sys_max_cmd_len
=8192;
5698 # On AmigaOS with pdksh, this test takes hours, literally.
5699 # So we just punt and use a minimum line length of 8192.
5700 lt_cv_sys_max_cmd_len
=8192;
5703 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5704 # This has been around since 386BSD, at least. Likely further.
5705 if test -x /sbin
/sysctl
; then
5706 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5707 elif test -x /usr
/sbin
/sysctl
; then
5708 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5710 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5712 # And add a safety zone
5713 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5714 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5718 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5719 lt_cv_sys_max_cmd_len
=196608
5723 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5724 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5725 # nice to cause kernel panics so lets avoid the loop below.
5726 # First set a reasonable default.
5727 lt_cv_sys_max_cmd_len
=16384
5729 if test -x /sbin
/sysconfig
; then
5730 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5731 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5736 lt_cv_sys_max_cmd_len
=102400
5738 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5739 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5740 if test -n "$kargmax"; then
5741 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5743 lt_cv_sys_max_cmd_len
=32768
5747 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5748 if test -n "$lt_cv_sys_max_cmd_len"; then
5749 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5750 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5752 # Make teststring a little bigger before we do anything with it.
5753 # a 1K string should be a reasonable start.
5754 for i
in 1 2 3 4 5 6 7 8 ; do
5755 teststring
=$teststring$teststring
5757 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5758 # If test is not a shell built-in, we'll probably end up computing a
5759 # maximum length that is only half of the actual maximum length, but
5761 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5762 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5763 test $i != 17 # 1/2 MB should be enough
5766 teststring
=$teststring$teststring
5768 # Only check the string length outside the loop.
5769 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5771 # Add a significant safety factor because C++ compilers can tack on
5772 # massive amounts of additional arguments before passing them to the
5773 # linker. It appears as though 1/2 is a usable value.
5774 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5781 if test -n $lt_cv_sys_max_cmd_len ; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5783 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5786 $as_echo "none" >&6; }
5788 max_cmd_len
=$lt_cv_sys_max_cmd_len
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5800 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5801 # Try some XSI features
5804 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5806 && eval 'test $(( 1 + 1 )) -eq 2 \
5807 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5810 $as_echo "$xsi_shell" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5814 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5816 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5818 && lt_shell_append=yes
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5820 $as_echo "$lt_shell_append" >&6; }
5823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5833 # test EBCDIC or ASCII
5834 case `echo X|tr X '\101'` in
5835 A) # ASCII based system
5836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5837 lt_SP2NL='tr \040 \012'
5838 lt_NL2SP='tr \015\012 \040\040'
5840 *) # EBCDIC based system
5841 lt_SP2NL='tr \100 \n'
5842 lt_NL2SP='tr \r\n \100\100'
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5855 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5856 if ${lt_cv_to_host_file_cmd+:} false; then :
5857 $as_echo_n "(cached
) " >&6
5862 *-*-mingw* ) # actually msys
5863 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5866 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5868 * ) # otherwise, assume *nix
5869 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5875 *-*-mingw* ) # actually msys
5876 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5879 lt_cv_to_host_file_cmd=func_convert_file_noop
5881 * ) # otherwise, assume *nix
5882 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5886 * ) # unhandled hosts (and "normal
" native builds)
5887 lt_cv_to_host_file_cmd=func_convert_file_noop
5893 to_host_file_cmd=$lt_cv_to_host_file_cmd
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5895 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5902 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5903 if ${lt_cv_to_tool_file_cmd+:} false; then :
5904 $as_echo_n "(cached
) " >&6
5906 #assume ordinary cross tools, or native build.
5907 lt_cv_to_tool_file_cmd=func_convert_file_noop
5911 *-*-mingw* ) # actually msys
5912 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5920 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5922 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5929 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5930 if ${lt_cv_ld_reload_flag+:} false; then :
5931 $as_echo_n "(cached
) " >&6
5933 lt_cv_ld_reload_flag='-r'
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5936 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5937 reload_flag=$lt_cv_ld_reload_flag
5938 case $reload_flag in
5940 *) reload_flag=" $reload_flag" ;;
5942 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5944 cygwin* | mingw* | pw32* | cegcc*)
5945 if test "$GCC" != yes; then
5950 if test "$GCC" = yes; then
5951 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5953 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5966 if test -n "$ac_tool_prefix"; then
5967 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5968 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5970 $as_echo_n "checking
for $ac_word...
" >&6; }
5971 if ${ac_cv_prog_OBJDUMP+:} false; then :
5972 $as_echo_n "(cached
) " >&6
5974 if test -n "$OBJDUMP"; then
5975 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5994 OBJDUMP=$ac_cv_prog_OBJDUMP
5995 if test -n "$OBJDUMP"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5997 $as_echo "$OBJDUMP" >&6; }
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6000 $as_echo "no
" >&6; }
6005 if test -z "$ac_cv_prog_OBJDUMP"; then
6006 ac_ct_OBJDUMP=$OBJDUMP
6007 # Extract the first word of "objdump
", so it can be a program name with args.
6008 set dummy objdump; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6010 $as_echo_n "checking
for $ac_word...
" >&6; }
6011 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6012 $as_echo_n "(cached
) " >&6
6014 if test -n "$ac_ct_OBJDUMP"; then
6015 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6034 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6035 if test -n "$ac_ct_OBJDUMP"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6037 $as_echo "$ac_ct_OBJDUMP" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6040 $as_echo "no
" >&6; }
6043 if test "x
$ac_ct_OBJDUMP" = x; then
6046 case $cross_compiling:$ac_tool_warned in
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6049 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6050 ac_tool_warned=yes ;;
6052 OBJDUMP=$ac_ct_OBJDUMP
6055 OBJDUMP="$ac_cv_prog_OBJDUMP"
6058 test -z "$OBJDUMP" && OBJDUMP=objdump
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6069 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6070 if ${lt_cv_deplibs_check_method+:} false; then :
6071 $as_echo_n "(cached
) " >&6
6073 lt_cv_file_magic_cmd='$MAGIC_CMD'
6074 lt_cv_file_magic_test_file=
6075 lt_cv_deplibs_check_method='unknown'
6076 # Need to set the preceding variable on all platforms that support
6077 # interlibrary dependencies.
6078 # 'none' -- dependencies not supported.
6079 # `unknown' -- same as none, but documents that we really don't know.
6080 # 'pass_all' -- all dependencies passed with no checks.
6081 # 'test_compile' -- check by making test program.
6082 # 'file_magic [[regex]]' -- check by looking for files in library path
6083 # which responds to the $file_magic_cmd with a given extended regex.
6084 # If you have `file' or equivalent on your system and you're not sure
6085 # whether `pass_all' will *always* work, you probably want this one.
6089 lt_cv_deplibs_check_method=pass_all
6093 lt_cv_deplibs_check_method=pass_all
6097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6098 lt_cv_file_magic_cmd='/usr/bin/file -L'
6099 lt_cv_file_magic_test_file=/shlib/libc.so
6103 # func_win32_libid is a shell function defined in ltmain.sh
6104 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6105 lt_cv_file_magic_cmd='func_win32_libid'
6109 # Base MSYS/MinGW do not provide the 'file' command needed by
6110 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6111 # unless we find 'file', for example because we are cross-compiling.
6112 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6113 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6114 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6115 lt_cv_file_magic_cmd='func_win32_libid'
6117 # Keep this pattern in sync with the one in func_win32_libid.
6118 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6119 lt_cv_file_magic_cmd='$OBJDUMP -f'
6124 # use the weaker test based on 'objdump'. See mingw*.
6125 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6126 lt_cv_file_magic_cmd='$OBJDUMP -f'
6129 darwin* | rhapsody*)
6130 lt_cv_deplibs_check_method=pass_all
6133 freebsd* | dragonfly*)
6134 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6137 # Not sure whether the presence of OpenBSD here was a mistake.
6138 # Let's accept both of them until this is cleared up.
6139 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6140 lt_cv_file_magic_cmd=/usr/bin/file
6141 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6145 lt_cv_deplibs_check_method=pass_all
6150 lt_cv_deplibs_check_method=pass_all
6154 lt_cv_deplibs_check_method=pass_all
6157 hpux10.20* | hpux11*)
6158 lt_cv_file_magic_cmd=/usr/bin/file
6161 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6162 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6165 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]'
6166 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6169 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6170 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6176 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6177 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6180 irix5* | irix6* | nonstopux*)
6182 *-32|*"-32 ") libmagic=32-bit;;
6183 *-n32|*"-n32 ") libmagic=N32;;
6184 *-64|*"-64 ") libmagic=64-bit;;
6185 *) libmagic=never-match;;
6187 lt_cv_deplibs_check_method=pass_all
6190 # This must be Linux ELF.
6191 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6192 lt_cv_deplibs_check_method=pass_all
6195 netbsd* | netbsdelf*-gnu)
6196 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6205 lt_cv_file_magic_cmd=/usr/bin/file
6206 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6210 lt_cv_deplibs_check_method=pass_all
6214 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6221 osf3* | osf4* | osf5*)
6222 lt_cv_deplibs_check_method=pass_all
6226 lt_cv_deplibs_check_method=pass_all
6230 lt_cv_deplibs_check_method=pass_all
6233 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6234 lt_cv_deplibs_check_method=pass_all
6238 case $host_vendor in
6240 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]'
6241 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6244 lt_cv_deplibs_check_method=pass_all
6247 lt_cv_file_magic_cmd='/bin/file'
6248 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6251 lt_cv_file_magic_cmd='/bin/file'
6252 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6253 lt_cv_file_magic_test_file=/lib/libc.so
6256 lt_cv_deplibs_check_method=pass_all
6259 lt_cv_deplibs_check_method=pass_all
6265 lt_cv_deplibs_check_method=pass_all
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6271 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6275 if test "$build" = "$host"; then
6278 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6281 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6287 file_magic_cmd=$lt_cv_file_magic_cmd
6288 deplibs_check_method=$lt_cv_deplibs_check_method
6289 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6312 if test -n "$ac_tool_prefix"; then
6313 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6314 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6316 $as_echo_n "checking
for $ac_word...
" >&6; }
6317 if ${ac_cv_prog_DLLTOOL+:} false; then :
6318 $as_echo_n "(cached
) " >&6
6320 if test -n "$DLLTOOL"; then
6321 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6340 DLLTOOL=$ac_cv_prog_DLLTOOL
6341 if test -n "$DLLTOOL"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6343 $as_echo "$DLLTOOL" >&6; }
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6346 $as_echo "no
" >&6; }
6351 if test -z "$ac_cv_prog_DLLTOOL"; then
6352 ac_ct_DLLTOOL=$DLLTOOL
6353 # Extract the first word of "dlltool
", so it can be a program name with args.
6354 set dummy dlltool; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6356 $as_echo_n "checking
for $ac_word...
" >&6; }
6357 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6358 $as_echo_n "(cached
) " >&6
6360 if test -n "$ac_ct_DLLTOOL"; then
6361 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir=.
6368 for ac_exec_ext in '' $ac_executable_extensions; do
6369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6380 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6381 if test -n "$ac_ct_DLLTOOL"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6383 $as_echo "$ac_ct_DLLTOOL" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6386 $as_echo "no
" >&6; }
6389 if test "x
$ac_ct_DLLTOOL" = x; then
6392 case $cross_compiling:$ac_tool_warned in
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6395 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6396 ac_tool_warned=yes ;;
6398 DLLTOOL=$ac_ct_DLLTOOL
6401 DLLTOOL="$ac_cv_prog_DLLTOOL"
6404 test -z "$DLLTOOL" && DLLTOOL=dlltool
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6416 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6417 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6418 $as_echo_n "(cached
) " >&6
6420 lt_cv_sharedlib_from_linklib_cmd='unknown'
6423 cygwin* | mingw* | pw32* | cegcc*)
6424 # two different shell functions defined in ltmain.sh
6425 # decide which to use based on capabilities of $DLLTOOL
6426 case `$DLLTOOL --help 2>&1` in
6427 *--identify-strict*)
6428 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6431 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6436 # fallback: assume linklib IS sharedlib
6437 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6443 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6444 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6445 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6454 if test -n "$ac_tool_prefix"; then
6457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6460 $as_echo_n "checking
for $ac_word...
" >&6; }
6461 if ${ac_cv_prog_AR+:} false; then :
6462 $as_echo_n "(cached
) " >&6
6464 if test -n "$AR"; then
6465 ac_cv_prog_AR="$AR" # Let the user override the test.
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6485 if test -n "$AR"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6487 $as_echo "$AR" >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6490 $as_echo "no
" >&6; }
6494 test -n "$AR" && break
6497 if test -z "$AR"; then
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6504 $as_echo_n "checking
for $ac_word...
" >&6; }
6505 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6506 $as_echo_n "(cached
) " >&6
6508 if test -n "$ac_ct_AR"; then
6509 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6518 ac_cv_prog_ac_ct_AR="$ac_prog"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6528 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6529 if test -n "$ac_ct_AR"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6531 $as_echo "$ac_ct_AR" >&6; }
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6534 $as_echo "no
" >&6; }
6538 test -n "$ac_ct_AR" && break
6541 if test "x
$ac_ct_AR" = x; then
6544 case $cross_compiling:$ac_tool_warned in
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6547 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6548 ac_tool_warned=yes ;;
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6568 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6569 if ${lt_cv_ar_at_file+:} false; then :
6570 $as_echo_n "(cached
) " >&6
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 echo conftest.$ac_objext > conftest.lst
6586 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6587 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6588 (eval $lt_ar_try) 2>&5
6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6591 test $ac_status = 0; }
6592 if test "$ac_status" -eq 0; then
6593 # Ensure the archiver fails upon bogus file names.
6594 rm -f conftest.$ac_objext libconftest.a
6595 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6596 (eval $lt_ar_try) 2>&5
6598 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6599 test $ac_status = 0; }
6600 if test "$ac_status" -ne 0; then
6604 rm -f conftest.* libconftest.a
6607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6611 $as_echo "$lt_cv_ar_at_file" >&6; }
6613 if test "x
$lt_cv_ar_at_file" = xno; then
6616 archiver_list_spec=$lt_cv_ar_at_file
6625 if test -n "$ac_tool_prefix"; then
6626 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6627 set dummy ${ac_tool_prefix}strip; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6629 $as_echo_n "checking
for $ac_word...
" >&6; }
6630 if ${ac_cv_prog_STRIP+:} false; then :
6631 $as_echo_n "(cached
) " >&6
6633 if test -n "$STRIP"; then
6634 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6643 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6653 STRIP=$ac_cv_prog_STRIP
6654 if test -n "$STRIP"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6656 $as_echo "$STRIP" >&6; }
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6659 $as_echo "no
" >&6; }
6664 if test -z "$ac_cv_prog_STRIP"; then
6666 # Extract the first word of "strip
", so it can be a program name with args.
6667 set dummy strip; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6669 $as_echo_n "checking
for $ac_word...
" >&6; }
6670 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6671 $as_echo_n "(cached
) " >&6
6673 if test -n "$ac_ct_STRIP"; then
6674 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_prog_ac_ct_STRIP="strip
"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6693 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6694 if test -n "$ac_ct_STRIP"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6696 $as_echo "$ac_ct_STRIP" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6699 $as_echo "no
" >&6; }
6702 if test "x
$ac_ct_STRIP" = x; then
6705 case $cross_compiling:$ac_tool_warned in
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6708 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6709 ac_tool_warned=yes ;;
6714 STRIP="$ac_cv_prog_STRIP"
6717 test -z "$STRIP" && STRIP=:
6724 if test -n "$ac_tool_prefix"; then
6725 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6726 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6728 $as_echo_n "checking
for $ac_word...
" >&6; }
6729 if ${ac_cv_prog_RANLIB+:} false; then :
6730 $as_echo_n "(cached
) " >&6
6732 if test -n "$RANLIB"; then
6733 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6742 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6752 RANLIB=$ac_cv_prog_RANLIB
6753 if test -n "$RANLIB"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6755 $as_echo "$RANLIB" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6758 $as_echo "no
" >&6; }
6763 if test -z "$ac_cv_prog_RANLIB"; then
6764 ac_ct_RANLIB=$RANLIB
6765 # Extract the first word of "ranlib
", so it can be a program name with args.
6766 set dummy ranlib; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6768 $as_echo_n "checking
for $ac_word...
" >&6; }
6769 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6770 $as_echo_n "(cached
) " >&6
6772 if test -n "$ac_ct_RANLIB"; then
6773 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6793 if test -n "$ac_ct_RANLIB"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6795 $as_echo "$ac_ct_RANLIB" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6798 $as_echo "no
" >&6; }
6801 if test "x
$ac_ct_RANLIB" = x; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6807 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6808 ac_tool_warned=yes ;;
6810 RANLIB=$ac_ct_RANLIB
6813 RANLIB="$ac_cv_prog_RANLIB"
6816 test -z "$RANLIB" && RANLIB=:
6823 # Determine commands to create old-style static archives.
6824 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6825 old_postinstall_cmds='chmod 644 $oldlib'
6826 old_postuninstall_cmds=
6828 if test -n "$RANLIB"; then
6831 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6834 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6837 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6842 lock_old_archive_extraction=yes ;;
6844 lock_old_archive_extraction=no ;;
6885 # If no C compiler was specified, use CC.
6888 # If no C compiler flags were specified, use CFLAGS.
6889 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6891 # Allow CC to be a program name with arguments.
6895 # Check for command to grab the raw symbol name followed by C symbol from nm.
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6897 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6898 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6899 $as_echo_n "(cached
) " >&6
6902 # These are sane defaults that work on at least a few old systems.
6903 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6905 # Character class describing NM global symbol codes.
6906 symcode='[BCDEGRST]'
6908 # Regexp to match symbols that can be accessed directly from C.
6909 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6911 # Define system-specific variables.
6916 cygwin* | mingw* | pw32* | cegcc*)
6917 symcode='[ABCDGISTW]'
6920 if test "$host_cpu" = ia64; then
6921 symcode='[ABCDEGRST]'
6925 symcode='[BCDEGRST]'
6928 symcode='[BCDEGQRST]'
6939 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6947 # If we're using GNU nm, then use its standard symbol codes.
6948 case `$NM -V 2>&1` in
6949 *GNU* | *'with BFD'*)
6950 symcode='[ABCDGIRSTW]' ;;
6953 # Transform an extracted symbol line into a proper C declaration.
6954 # Some systems (esp. on ia64) link data and code symbols differently,
6955 # so use this general approach.
6956 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6958 # Transform an extracted symbol line into symbol name and symbol address
6959 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6960 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6962 # Handle CRLF in mingw tool chain
6966 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6970 # Try without a prefix underscore, then with it.
6971 for ac_symprfx in "" "_
"; do
6973 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6974 symxfrm="\\1 $ac_symprfx\\2 \\2"
6976 # Write the raw and C identifiers.
6977 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6978 # Fake it for dumpbin and say T for any non-static function
6979 # and D for any global variable.
6980 # Also find C++ and __fastcall symbols from MSVC++,
6981 # which start with @ or ?.
6982 lt_cv_sys_global_symbol_pipe="$AWK '"\
6983 " {last_section=section; section=\$ 3};"\
6984 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6985 " \$ 0!~/External *\|/{next};"\
6986 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6987 " {if(hide[section]) next};"\
6988 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6989 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6990 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6991 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6992 " ' prfx
=^
$ac_symprfx"
6994 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6996 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6998 # Check to see that the pipe works correctly.
7002 cat > conftest.$ac_ext <<_LT_EOF
7007 void nm_test_func(void);
7008 void nm_test_func(void){}
7012 int main(){nm_test_var='a';nm_test_func();return(0);}
7015 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7016 (eval $ac_compile) 2>&5
7018 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7019 test $ac_status = 0; }; then
7020 # Now try to grab the symbols.
7022 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7023 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7025 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7026 test $ac_status = 0; } && test -s "$nlist"; then
7027 # Try sorting and uniquifying the output.
7028 if sort "$nlist" | uniq > "$nlist"T; then
7029 mv -f "$nlist"T "$nlist"
7034 # Make sure that we snagged all the symbols we need.
7035 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7036 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7037 cat <<_LT_EOF > conftest.$ac_ext
7038 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7039 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7040 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7041 relocations are performed -- see ld's documentation on pseudo-relocs. */
7042 # define LT_DLSYM_CONST
7043 #elif defined(__osf__)
7044 /* This system does not cope well with relocations in const data. */
7045 # define LT_DLSYM_CONST
7047 # define LT_DLSYM_CONST const
7055 # Now generate the symbol file.
7056 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7058 cat <<_LT_EOF >> conftest.$ac_ext
7060 /* The mapping between symbol names and symbols. */
7061 LT_DLSYM_CONST struct {
7065 lt__PROGRAM__LTX_preloaded_symbols[] =
7067 { "@PROGRAM@
", (void *) 0 },
7069 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7070 cat <<\_LT_EOF >> conftest.$ac_ext
7074 /* This works around a problem in FreeBSD linker */
7075 #ifdef FREEBSD_WORKAROUND
7076 static const void *lt_preloaded_setup() {
7077 return lt__PROGRAM__LTX_preloaded_symbols;
7085 # Now try linking the two files.
7086 mv conftest.$ac_objext conftstm.$ac_objext
7087 lt_globsym_save_LIBS=$LIBS
7088 lt_globsym_save_CFLAGS=$CFLAGS
7089 LIBS="conftstm.
$ac_objext"
7090 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7091 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7092 (eval $ac_link) 2>&5
7094 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7095 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7098 LIBS=$lt_globsym_save_LIBS
7099 CFLAGS=$lt_globsym_save_CFLAGS
7101 echo "cannot
find nm_test_func
in $nlist" >&5
7104 echo "cannot
find nm_test_var
in $nlist" >&5
7107 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7110 echo "$progname: failed program was
:" >&5
7111 cat conftest.$ac_ext >&5
7113 rm -rf conftest* conftst*
7115 # Do not use the global_symbol_pipe unless it works.
7116 if test "$pipe_works" = yes; then
7119 lt_cv_sys_global_symbol_pipe=
7125 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7126 lt_cv_sys_global_symbol_to_cdecl=
7128 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7130 $as_echo "failed
" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7133 $as_echo "ok
" >&6; }
7136 # Response file support.
7137 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7138 nm_file_list_spec='@'
7139 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7140 nm_file_list_spec='@'
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7170 $as_echo_n "checking
for sysroot...
" >&6; }
7172 # Check whether --with-sysroot was given.
7173 if test "${with_sysroot+set}" = set; then :
7174 withval=$with_sysroot;
7181 case ${with_sysroot} in #(
7183 if test "$GCC" = yes; then
7184 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7188 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7194 $as_echo "${with_sysroot}" >&6; }
7195 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7200 $as_echo "${lt_sysroot:-no}" >&6; }
7206 # Check whether --enable-libtool-lock was given.
7207 if test "${enable_libtool_lock+set}" = set; then :
7208 enableval=$enable_libtool_lock;
7211 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7213 # Some flags need to be propagated to the compiler or linker for good
7217 # Find out which ABI we are using.
7218 echo 'int i;' > conftest.$ac_ext
7219 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7220 (eval $ac_compile) 2>&5
7222 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7223 test $ac_status = 0; }; then
7224 case `/usr/bin/file conftest.$ac_objext` in
7236 # Find out which ABI we are using.
7237 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7238 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7239 (eval $ac_compile) 2>&5
7241 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7242 test $ac_status = 0; }; then
7243 if test "$lt_cv_prog_gnu_ld" = yes; then
7244 case `/usr/bin/file conftest.$ac_objext` in
7246 LD="${LD-ld} -melf32bsmip"
7249 LD="${LD-ld} -melf32bmipn32"
7252 LD="${LD-ld} -melf64bmip"
7256 case `/usr/bin/file conftest.$ac_objext` in
7272 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7273 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7274 # Find out which ABI we are using.
7275 echo 'int i;' > conftest.$ac_ext
7276 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7277 (eval $ac_compile) 2>&5
7279 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7280 test $ac_status = 0; }; then
7281 case `/usr/bin/file conftest.o` in
7284 x86_64-*kfreebsd*-gnu)
7285 LD="${LD-ld} -m elf_i386_fbsd
"
7288 LD="${LD-ld} -m elf_i386
"
7290 ppc64-*linux*|powerpc64-*linux*)
7291 LD="${LD-ld} -m elf32ppclinux
"
7294 LD="${LD-ld} -m elf_s390
"
7297 LD="${LD-ld} -m elf32_sparc
"
7303 x86_64-*kfreebsd*-gnu)
7304 LD="${LD-ld} -m elf_x86_64_fbsd
"
7307 LD="${LD-ld} -m elf_x86_64
"
7309 ppc*-*linux*|powerpc*-*linux*)
7310 LD="${LD-ld} -m elf64ppc
"
7312 s390*-*linux*|s390*-*tpf*)
7313 LD="${LD-ld} -m elf64_s390
"
7316 LD="${LD-ld} -m elf64_sparc
"
7326 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7327 SAVE_CFLAGS="$CFLAGS"
7328 CFLAGS="$CFLAGS -belf"
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7330 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7331 if ${lt_cv_cc_needs_belf+:} false; then :
7332 $as_echo_n "(cached
) " >&6
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7351 if ac_fn_c_try_link "$LINENO"; then :
7352 lt_cv_cc_needs_belf=yes
7354 lt_cv_cc_needs_belf=no
7356 rm -f core conftest.err conftest.$ac_objext \
7357 conftest$ac_exeext conftest.$ac_ext
7359 ac_cpp='$CPP $CPPFLAGS'
7360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7366 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7367 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7368 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7369 CFLAGS="$SAVE_CFLAGS"
7373 # Find out which ABI we are using.
7374 echo 'int i;' > conftest.$ac_ext
7375 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7376 (eval $ac_compile) 2>&5
7378 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7379 test $ac_status = 0; }; then
7380 case `/usr/bin/file conftest.o` in
7382 case $lt_cv_prog_gnu_ld in
7383 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7385 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7397 need_locks="$enable_libtool_lock"
7399 if test -n "$ac_tool_prefix"; then
7400 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7401 set dummy ${ac_tool_prefix}mt; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7403 $as_echo_n "checking
for $ac_word...
" >&6; }
7404 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7405 $as_echo_n "(cached
) " >&6
7407 if test -n "$MANIFEST_TOOL"; then
7408 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7427 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7428 if test -n "$MANIFEST_TOOL"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7430 $as_echo "$MANIFEST_TOOL" >&6; }
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7433 $as_echo "no
" >&6; }
7438 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7439 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7440 # Extract the first word of "mt
", so it can be a program name with args.
7441 set dummy mt; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7443 $as_echo_n "checking
for $ac_word...
" >&6; }
7444 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7445 $as_echo_n "(cached
) " >&6
7447 if test -n "$ac_ct_MANIFEST_TOOL"; then
7448 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7467 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7468 if test -n "$ac_ct_MANIFEST_TOOL"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7470 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7473 $as_echo "no
" >&6; }
7476 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7479 case $cross_compiling:$ac_tool_warned in
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7482 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7483 ac_tool_warned=yes ;;
7485 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7488 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7491 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7493 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7494 if ${lt_cv_path_mainfest_tool+:} false; then :
7495 $as_echo_n "(cached
) " >&6
7497 lt_cv_path_mainfest_tool=no
7498 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7499 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7500 cat conftest.err >&5
7501 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7502 lt_cv_path_mainfest_tool=yes
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7507 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7508 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7518 rhapsody* | darwin*)
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7523 $as_echo_n "checking
for $ac_word...
" >&6; }
7524 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7525 $as_echo_n "(cached
) " >&6
7527 if test -n "$DSYMUTIL"; then
7528 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7547 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7548 if test -n "$DSYMUTIL"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7550 $as_echo "$DSYMUTIL" >&6; }
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7553 $as_echo "no
" >&6; }
7558 if test -z "$ac_cv_prog_DSYMUTIL"; then
7559 ac_ct_DSYMUTIL=$DSYMUTIL
7560 # Extract the first word of "dsymutil
", so it can be a program name with args.
7561 set dummy dsymutil; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7563 $as_echo_n "checking
for $ac_word...
" >&6; }
7564 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7565 $as_echo_n "(cached
) " >&6
7567 if test -n "$ac_ct_DSYMUTIL"; then
7568 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7587 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7588 if test -n "$ac_ct_DSYMUTIL"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7590 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7593 $as_echo "no
" >&6; }
7596 if test "x
$ac_ct_DSYMUTIL" = x; then
7599 case $cross_compiling:$ac_tool_warned in
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7602 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7603 ac_tool_warned=yes ;;
7605 DSYMUTIL=$ac_ct_DSYMUTIL
7608 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7615 $as_echo_n "checking
for $ac_word...
" >&6; }
7616 if ${ac_cv_prog_NMEDIT+:} false; then :
7617 $as_echo_n "(cached
) " >&6
7619 if test -n "$NMEDIT"; then
7620 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7639 NMEDIT=$ac_cv_prog_NMEDIT
7640 if test -n "$NMEDIT"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7642 $as_echo "$NMEDIT" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7645 $as_echo "no
" >&6; }
7650 if test -z "$ac_cv_prog_NMEDIT"; then
7651 ac_ct_NMEDIT=$NMEDIT
7652 # Extract the first word of "nmedit
", so it can be a program name with args.
7653 set dummy nmedit; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7655 $as_echo_n "checking
for $ac_word...
" >&6; }
7656 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7657 $as_echo_n "(cached
) " >&6
7659 if test -n "$ac_ct_NMEDIT"; then
7660 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7679 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7680 if test -n "$ac_ct_NMEDIT"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7682 $as_echo "$ac_ct_NMEDIT" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7685 $as_echo "no
" >&6; }
7688 if test "x
$ac_ct_NMEDIT" = x; then
7691 case $cross_compiling:$ac_tool_warned in
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7694 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7695 ac_tool_warned=yes ;;
7697 NMEDIT=$ac_ct_NMEDIT
7700 NMEDIT="$ac_cv_prog_NMEDIT"
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7707 $as_echo_n "checking
for $ac_word...
" >&6; }
7708 if ${ac_cv_prog_LIPO+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7711 if test -n "$LIPO"; then
7712 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7731 LIPO=$ac_cv_prog_LIPO
7732 if test -n "$LIPO"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7734 $as_echo "$LIPO" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7737 $as_echo "no
" >&6; }
7742 if test -z "$ac_cv_prog_LIPO"; then
7744 # Extract the first word of "lipo
", so it can be a program name with args.
7745 set dummy lipo; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7747 $as_echo_n "checking
for $ac_word...
" >&6; }
7748 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7749 $as_echo_n "(cached
) " >&6
7751 if test -n "$ac_ct_LIPO"; then
7752 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_LIPO="lipo
"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7771 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7772 if test -n "$ac_ct_LIPO"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7774 $as_echo "$ac_ct_LIPO" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7777 $as_echo "no
" >&6; }
7780 if test "x
$ac_ct_LIPO" = x; then
7783 case $cross_compiling:$ac_tool_warned in
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7786 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7787 ac_tool_warned=yes ;;
7792 LIPO="$ac_cv_prog_LIPO"
7795 if test -n "$ac_tool_prefix"; then
7796 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7797 set dummy ${ac_tool_prefix}otool; ac_word=$2
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7799 $as_echo_n "checking
for $ac_word...
" >&6; }
7800 if ${ac_cv_prog_OTOOL+:} false; then :
7801 $as_echo_n "(cached
) " >&6
7803 if test -n "$OTOOL"; then
7804 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 test -z "$as_dir" && as_dir=.
7811 for ac_exec_ext in '' $ac_executable_extensions; do
7812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7813 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7823 OTOOL=$ac_cv_prog_OTOOL
7824 if test -n "$OTOOL"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7826 $as_echo "$OTOOL" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7829 $as_echo "no
" >&6; }
7834 if test -z "$ac_cv_prog_OTOOL"; then
7836 # Extract the first word of "otool
", so it can be a program name with args.
7837 set dummy otool; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7839 $as_echo_n "checking
for $ac_word...
" >&6; }
7840 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7841 $as_echo_n "(cached
) " >&6
7843 if test -n "$ac_ct_OTOOL"; then
7844 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853 ac_cv_prog_ac_ct_OTOOL="otool
"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7863 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7864 if test -n "$ac_ct_OTOOL"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7866 $as_echo "$ac_ct_OTOOL" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7869 $as_echo "no
" >&6; }
7872 if test "x
$ac_ct_OTOOL" = x; then
7875 case $cross_compiling:$ac_tool_warned in
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7878 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7879 ac_tool_warned=yes ;;
7884 OTOOL="$ac_cv_prog_OTOOL"
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7891 $as_echo_n "checking
for $ac_word...
" >&6; }
7892 if ${ac_cv_prog_OTOOL64+:} false; then :
7893 $as_echo_n "(cached
) " >&6
7895 if test -n "$OTOOL64"; then
7896 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 OTOOL64=$ac_cv_prog_OTOOL64
7916 if test -n "$OTOOL64"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7918 $as_echo "$OTOOL64" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7926 if test -z "$ac_cv_prog_OTOOL64"; then
7927 ac_ct_OTOOL64=$OTOOL64
7928 # Extract the first word of "otool64
", so it can be a program name with args.
7929 set dummy otool64; ac_word=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7931 $as_echo_n "checking
for $ac_word...
" >&6; }
7932 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7933 $as_echo_n "(cached
) " >&6
7935 if test -n "$ac_ct_OTOOL64"; then
7936 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7955 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7956 if test -n "$ac_ct_OTOOL64"; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7958 $as_echo "$ac_ct_OTOOL64" >&6; }
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7961 $as_echo "no
" >&6; }
7964 if test "x
$ac_ct_OTOOL64" = x; then
7967 case $cross_compiling:$ac_tool_warned in
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7970 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7971 ac_tool_warned=yes ;;
7973 OTOOL64=$ac_ct_OTOOL64
7976 OTOOL64="$ac_cv_prog_OTOOL64"
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8006 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8007 if ${lt_cv_apple_cc_single_mod+:} false; then :
8008 $as_echo_n "(cached
) " >&6
8010 lt_cv_apple_cc_single_mod=no
8011 if test -z "${LT_MULTI_MODULE}"; then
8012 # By default we will add the -single_module flag. You can override
8013 # by either setting the environment variable LT_MULTI_MODULE
8014 # non-empty at configure time, or by adding -multi_module to the
8016 rm -rf libconftest.dylib*
8017 echo "int foo
(void
){return 1;}" > conftest.c
8018 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8019 -dynamiclib -Wl,-single_module conftest.c
" >&5
8020 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8021 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8023 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8024 lt_cv_apple_cc_single_mod=yes
8026 cat conftest.err >&5
8028 rm -rf libconftest.dylib*
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8033 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8035 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8036 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8037 $as_echo_n "(cached
) " >&6
8039 lt_cv_ld_exported_symbols_list=no
8040 save_LDFLAGS=$LDFLAGS
8041 echo "_main
" > conftest.sym
8042 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8054 if ac_fn_c_try_link "$LINENO"; then :
8055 lt_cv_ld_exported_symbols_list=yes
8057 lt_cv_ld_exported_symbols_list=no
8059 rm -f core conftest.err conftest.$ac_objext \
8060 conftest$ac_exeext conftest.$ac_ext
8061 LDFLAGS="$save_LDFLAGS"
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8065 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8067 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8068 if ${lt_cv_ld_force_load+:} false; then :
8069 $as_echo_n "(cached
) " >&6
8071 lt_cv_ld_force_load=no
8072 cat > conftest.c << _LT_EOF
8073 int forced_loaded() { return 2;}
8075 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8076 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8077 echo "$AR cru libconftest.a conftest.o
" >&5
8078 $AR cru libconftest.a conftest.o 2>&5
8079 echo "$RANLIB libconftest.a
" >&5
8080 $RANLIB libconftest.a 2>&5
8081 cat > conftest.c << _LT_EOF
8082 int main() { return 0;}
8084 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8085 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8087 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8088 lt_cv_ld_force_load=yes
8090 cat conftest.err >&5
8092 rm -f conftest.err libconftest.a conftest conftest.c
8093 rm -rf conftest.dSYM
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8097 $as_echo "$lt_cv_ld_force_load" >&6; }
8099 rhapsody* | darwin1.[012])
8100 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8102 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8103 darwin*) # darwin 5.x on
8104 # if running on 10.5 or later, the deployment target defaults
8105 # to the OS version, if on x86, and 10.4, the deployment
8106 # target defaults to 10.4. Don't you love it?
8107 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8108 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8109 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8111 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8113 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8117 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8118 _lt_dar_single_mod='$single_module'
8120 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8121 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8123 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8125 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8126 _lt_dsymutil='~$DSYMUTIL $lib || :'
8134 ac_cpp='$CPP $CPPFLAGS'
8135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8139 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8140 # On Suns, sometimes $CPP names a directory.
8141 if test -n "$CPP" && test -d "$CPP"; then
8144 if test -z "$CPP"; then
8145 if ${ac_cv_prog_CPP+:} false; then :
8146 $as_echo_n "(cached
) " >&6
8148 # Double quotes because CPP needs to be expanded
8149 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8152 for ac_c_preproc_warn_flag in '' yes
8154 # Use a header file that comes with gcc, so configuring glibc
8155 # with a fresh cross-compiler works.
8156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8157 # <limits.h> exists even on freestanding compilers.
8158 # On the NeXT, cc -E runs the code through the compiler's parser,
8159 # not just through cpp. "Syntax error
" is here to catch this case.
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8163 # include <limits.h>
8165 # include <assert.h>
8169 if ac_fn_c_try_cpp "$LINENO"; then :
8172 # Broken: fails on valid input.
8175 rm -f conftest.err conftest.i conftest.$ac_ext
8177 # OK, works on sane cases. Now check whether nonexistent headers
8178 # can be detected and how.
8179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8181 #include <ac_nonexistent.h>
8183 if ac_fn_c_try_cpp "$LINENO"; then :
8184 # Broken: success on invalid input.
8187 # Passes both tests.
8191 rm -f conftest.err conftest.i conftest.$ac_ext
8194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8195 rm -f conftest.i conftest.err conftest.$ac_ext
8196 if $ac_preproc_ok; then :
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8209 $as_echo "$CPP" >&6; }
8211 for ac_c_preproc_warn_flag in '' yes
8213 # Use a header file that comes with gcc, so configuring glibc
8214 # with a fresh cross-compiler works.
8215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8216 # <limits.h> exists even on freestanding compilers.
8217 # On the NeXT, cc -E runs the code through the compiler's parser,
8218 # not just through cpp. "Syntax error
" is here to catch this case.
8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8222 # include <limits.h>
8224 # include <assert.h>
8228 if ac_fn_c_try_cpp "$LINENO"; then :
8231 # Broken: fails on valid input.
8234 rm -f conftest.err conftest.i conftest.$ac_ext
8236 # OK, works on sane cases. Now check whether nonexistent headers
8237 # can be detected and how.
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8240 #include <ac_nonexistent.h>
8242 if ac_fn_c_try_cpp "$LINENO"; then :
8243 # Broken: success on invalid input.
8246 # Passes both tests.
8250 rm -f conftest.err conftest.i conftest.$ac_ext
8253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8254 rm -f conftest.i conftest.err conftest.$ac_ext
8255 if $ac_preproc_ok; then :
8258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8260 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8261 See \`config.log' for more details
" "$LINENO" 5; }
8265 ac_cpp='$CPP $CPPFLAGS'
8266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8272 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8273 if ${ac_cv_header_stdc+:} false; then :
8274 $as_echo_n "(cached
) " >&6
8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8291 if ac_fn_c_try_compile "$LINENO"; then :
8292 ac_cv_header_stdc=yes
8294 ac_cv_header_stdc=no
8296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8298 if test $ac_cv_header_stdc = yes; then
8299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8305 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8306 $EGREP "memchr
" >/dev/null 2>&1; then :
8309 ac_cv_header_stdc=no
8315 if test $ac_cv_header_stdc = yes; then
8316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8322 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8323 $EGREP "free
" >/dev/null 2>&1; then :
8326 ac_cv_header_stdc=no
8332 if test $ac_cv_header_stdc = yes; then
8333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8334 if test "$cross_compiling" = yes; then :
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8341 #if ((' ' & 0x0FF) == 0x020)
8342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8345 # define ISLOWER(c) \
8346 (('a' <= (c) && (c) <= 'i') \
8347 || ('j' <= (c) && (c) <= 'r') \
8348 || ('s' <= (c) && (c) <= 'z'))
8349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8357 for (i = 0; i < 256; i++)
8358 if (XOR (islower (i), ISLOWER (i))
8359 || toupper (i) != TOUPPER (i))
8364 if ac_fn_c_try_run "$LINENO"; then :
8367 ac_cv_header_stdc=no
8369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8370 conftest.$ac_objext conftest.beam conftest.$ac_ext
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8376 $as_echo "$ac_cv_header_stdc" >&6; }
8377 if test $ac_cv_header_stdc = yes; then
8379 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8384 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8385 inttypes.h stdint.h unistd.h
8387 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8388 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8390 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8391 cat >>confdefs.h
<<_ACEOF
8392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8400 for ac_header
in dlfcn.h
8402 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8404 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8405 cat >>confdefs.h
<<_ACEOF
8406 #define HAVE_DLFCN_H 1
8416 func_stripname_cnf
()
8419 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8420 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8422 } # func_stripname_cnf
8438 # Check whether --enable-shared was given.
8439 if test "${enable_shared+set}" = set; then :
8440 enableval
=$enable_shared; p
=${PACKAGE-default}
8442 yes) enable_shared
=yes ;;
8443 no
) enable_shared
=no
;;
8446 # Look at the argument we got. We use all the common list separators.
8447 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8448 for pkg
in $enableval; do
8450 if test "X$pkg" = "X$p"; then
8469 # Check whether --enable-static was given.
8470 if test "${enable_static+set}" = set; then :
8471 enableval
=$enable_static; p
=${PACKAGE-default}
8473 yes) enable_static
=yes ;;
8474 no
) enable_static
=no
;;
8477 # Look at the argument we got. We use all the common list separators.
8478 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8479 for pkg
in $enableval; do
8481 if test "X$pkg" = "X$p"; then
8501 # Check whether --with-pic was given.
8502 if test "${with_pic+set}" = set; then :
8503 withval
=$with_pic; pic_mode
="$withval"
8509 test -z "$pic_mode" && pic_mode
=default
8517 # Check whether --enable-fast-install was given.
8518 if test "${enable_fast_install+set}" = set; then :
8519 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8521 yes) enable_fast_install
=yes ;;
8522 no
) enable_fast_install
=no
;;
8524 enable_fast_install
=no
8525 # Look at the argument we got. We use all the common list separators.
8526 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8527 for pkg
in $enableval; do
8529 if test "X$pkg" = "X$p"; then
8530 enable_fast_install
=yes
8537 enable_fast_install
=yes
8550 # This can be used to rebuild libtool when needed
8551 LIBTOOL_DEPS
="$ltmain"
8553 # Always use our own libtool.
8554 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8581 test -z "$LN_S" && LN_S
="ln -s"
8596 if test -n "${ZSH_VERSION+set}" ; then
8597 setopt NO_GLOB_SUBST
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8601 $as_echo_n "checking for objdir... " >&6; }
8602 if ${lt_cv_objdir+:} false
; then :
8603 $as_echo_n "(cached) " >&6
8605 rm -f .libs
2>/dev
/null
8606 mkdir .libs
2>/dev
/null
8607 if test -d .libs
; then
8610 # MS-DOS does not allow filenames that begin with a dot.
8613 rmdir .libs
2>/dev
/null
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8616 $as_echo "$lt_cv_objdir" >&6; }
8617 objdir
=$lt_cv_objdir
8623 cat >>confdefs.h
<<_ACEOF
8624 #define LT_OBJDIR "$lt_cv_objdir/"
8632 # AIX sometimes has problems with the GCC collect2 program. For some
8633 # reason, if we set the COLLECT_NAMES environment variable, the problems
8634 # vanish in a puff of smoke.
8635 if test "X${COLLECT_NAMES+set}" != Xset
; then
8637 export COLLECT_NAMES
8644 can_build_shared
=yes
8646 # All known linkers require a `.a' archive for static linking (except MSVC,
8647 # which needs '.lib').
8650 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8653 old_CFLAGS
="$CFLAGS"
8655 # Set sane defaults for various variables
8656 test -z "$CC" && CC
=cc
8657 test -z "$LTCC" && LTCC
=$CC
8658 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8659 test -z "$LD" && LD
=ld
8660 test -z "$ac_objext" && ac_objext
=o
8662 for cc_temp
in $compiler""; do
8664 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8665 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8670 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8673 # Only perform the check for file, if the check method requires it
8674 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8675 case $deplibs_check_method in
8677 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8679 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8680 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8681 $as_echo_n "(cached) " >&6
8685 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8688 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8689 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8690 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8691 for ac_dir
in $ac_dummy; do
8693 test -z "$ac_dir" && ac_dir
=.
8694 if test -f $ac_dir/${ac_tool_prefix}file; then
8695 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8696 if test -n "$file_magic_test_file"; then
8697 case $deplibs_check_method in
8699 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8700 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8701 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8702 $EGREP "$file_magic_regex" > /dev
/null
; then
8707 *** Warning: the command libtool uses to detect shared libraries,
8708 *** $file_magic_cmd, produces output that libtool cannot recognize.
8709 *** The result is that libtool may fail to recognize shared libraries
8710 *** as such. This will affect the creation of libtool libraries that
8711 *** depend on shared libraries, but programs linked with such libtool
8712 *** libraries will work regardless of this problem. Nevertheless, you
8713 *** may want to report the problem to your system manager and/or to
8714 *** bug-libtool@gnu.org
8724 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8729 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8730 if test -n "$MAGIC_CMD"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8732 $as_echo "$MAGIC_CMD" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8742 if test -z "$lt_cv_path_MAGIC_CMD"; then
8743 if test -n "$ac_tool_prefix"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8745 $as_echo_n "checking for file... " >&6; }
8746 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8747 $as_echo_n "(cached) " >&6
8751 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8754 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8755 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8756 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8757 for ac_dir
in $ac_dummy; do
8759 test -z "$ac_dir" && ac_dir
=.
8760 if test -f $ac_dir/file; then
8761 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8762 if test -n "$file_magic_test_file"; then
8763 case $deplibs_check_method in
8765 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8766 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8767 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8768 $EGREP "$file_magic_regex" > /dev
/null
; then
8773 *** Warning: the command libtool uses to detect shared libraries,
8774 *** $file_magic_cmd, produces output that libtool cannot recognize.
8775 *** The result is that libtool may fail to recognize shared libraries
8776 *** as such. This will affect the creation of libtool libraries that
8777 *** depend on shared libraries, but programs linked with such libtool
8778 *** libraries will work regardless of this problem. Nevertheless, you
8779 *** may want to report the problem to your system manager and/or to
8780 *** bug-libtool@gnu.org
8790 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8795 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8796 if test -n "$MAGIC_CMD"; then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8798 $as_echo "$MAGIC_CMD" >&6; }
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8814 # Use C for the default configuration in the libtool script
8818 ac_cpp
='$CPP $CPPFLAGS'
8819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8824 # Source file extension for C test sources.
8827 # Object file extension for compiled C test sources.
8831 # Code to be used in simple compile tests
8832 lt_simple_compile_test_code
="int some_variable = 0;"
8834 # Code to be used in simple link tests
8835 lt_simple_link_test_code
='int main(){return(0);}'
8843 # If no C compiler was specified, use CC.
8846 # If no C compiler flags were specified, use CFLAGS.
8847 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8849 # Allow CC to be a program name with arguments.
8852 # Save the default compiler, since it gets overwritten when the other
8853 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8854 compiler_DEFAULT
=$CC
8856 # save warnings/boilerplate of simple test code
8857 ac_outfile
=conftest.
$ac_objext
8858 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8859 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8860 _lt_compiler_boilerplate
=`cat conftest.err`
8863 ac_outfile
=conftest.
$ac_objext
8864 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8865 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8866 _lt_linker_boilerplate
=`cat conftest.err`
8871 ## There is no encapsulation within the following macros, do not change
8872 ## the running order or otherwise move them around unless you know exactly
8873 ## what you are doing...
8874 if test -n "$compiler"; then
8876 lt_prog_compiler_no_builtin_flag
=
8878 if test "$GCC" = yes; then
8879 case $cc_basename in
8881 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8883 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8887 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8888 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8889 $as_echo_n "(cached) " >&6
8891 lt_cv_prog_compiler_rtti_exceptions
=no
8892 ac_outfile
=conftest.
$ac_objext
8893 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8894 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8895 # Insert the option either (1) after the last *FLAGS variable, or
8896 # (2) before a word containing "conftest.", or (3) at the end.
8897 # Note that $ac_compile itself does not contain backslashes and begins
8898 # with a dollar sign (not a hyphen), so the echo should work correctly.
8899 # The option is referenced via a variable to avoid confusing sed.
8900 lt_compile
=`echo "$ac_compile" | $SED \
8901 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8902 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8903 -e 's:$: $lt_compiler_flag:'`
8904 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8905 (eval "$lt_compile" 2>conftest.err
)
8907 cat conftest.err
>&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 if (exit $ac_status) && test -s "$ac_outfile"; then
8910 # The compiler can only warn and ignore the option if not recognized
8911 # So say no if there are warnings other than the usual output.
8912 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8913 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8914 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8915 lt_cv_prog_compiler_rtti_exceptions
=yes
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8922 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8924 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8925 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8937 lt_prog_compiler_wl
=
8938 lt_prog_compiler_pic
=
8939 lt_prog_compiler_static
=
8942 if test "$GCC" = yes; then
8943 lt_prog_compiler_wl
='-Wl,'
8944 lt_prog_compiler_static
='-static'
8948 # All AIX code is PIC.
8949 if test "$host_cpu" = ia64
; then
8950 # AIX 5 now supports IA64 processor
8951 lt_prog_compiler_static
='-Bstatic'
8958 # see comment about AmigaOS4 .so support
8959 lt_prog_compiler_pic
='-fPIC'
8962 # FIXME: we need at least 68020 code to build shared libraries, but
8963 # adding the `-m68020' flag to GCC prevents building anything better,
8965 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8970 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8971 # PIC is the default for these OSes.
8974 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8975 # This hack is so that the source file can tell whether it is being
8976 # built for inclusion in a dll (and should export symbols for example).
8977 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8978 # (--disable-auto-import) libraries
8979 lt_prog_compiler_pic
='-DDLL_EXPORT'
8982 darwin
* | rhapsody
*)
8983 # PIC is the default on this platform
8984 # Common symbols not allowed in MH_DYLIB files
8985 lt_prog_compiler_pic
='-fno-common'
8989 # PIC is the default for Haiku.
8990 # The "-static" flag exists, but is broken.
8991 lt_prog_compiler_static
=
8995 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8996 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8997 # sets the default TLS model and affects inlining.
9003 lt_prog_compiler_pic
='-fPIC'
9009 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9010 # Instead, we relocate shared libraries at runtime.
9014 # Just because we use GCC doesn't mean we suddenly get shared libraries
9015 # on systems that don't support them.
9016 lt_prog_compiler_can_build_shared
=no
9021 # QNX uses GNU C++, but need to define -shared option too, otherwise
9023 lt_prog_compiler_pic
='-fPIC -shared'
9027 if test -d /usr
/nec
; then
9028 lt_prog_compiler_pic
=-Kconform_pic
9033 lt_prog_compiler_pic
='-fPIC'
9037 case $cc_basename in
9038 nvcc
*) # Cuda Compiler Driver 2.2
9039 lt_prog_compiler_wl
='-Xlinker '
9040 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9044 # PORTME Check for flag to pass linker flags through the system compiler.
9047 lt_prog_compiler_wl
='-Wl,'
9048 if test "$host_cpu" = ia64
; then
9049 # AIX 5 now supports IA64 processor
9050 lt_prog_compiler_static
='-Bstatic'
9052 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9056 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9057 # This hack is so that the source file can tell whether it is being
9058 # built for inclusion in a dll (and should export symbols for example).
9059 lt_prog_compiler_pic
='-DDLL_EXPORT'
9062 hpux9
* | hpux10
* | hpux11
*)
9063 lt_prog_compiler_wl
='-Wl,'
9064 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9071 lt_prog_compiler_pic
='+Z'
9074 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9075 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9078 irix5
* | irix6
* | nonstopux
*)
9079 lt_prog_compiler_wl
='-Wl,'
9080 # PIC (with -KPIC) is the default.
9081 lt_prog_compiler_static
='-non_shared'
9084 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9085 case $cc_basename in
9086 # old Intel for x86_64 which still supported -KPIC.
9088 lt_prog_compiler_wl
='-Wl,'
9089 lt_prog_compiler_pic
='-KPIC'
9090 lt_prog_compiler_static
='-static'
9092 # icc used to be incompatible with GCC.
9093 # ICC 10 doesn't accept -KPIC any more.
9095 lt_prog_compiler_wl
='-Wl,'
9096 lt_prog_compiler_pic
='-fPIC'
9097 lt_prog_compiler_static
='-static'
9099 # Lahey Fortran 8.1.
9101 lt_prog_compiler_wl
='-Wl,'
9102 lt_prog_compiler_pic
='--shared'
9103 lt_prog_compiler_static
='--static'
9106 # NAG Fortran compiler
9107 lt_prog_compiler_wl
='-Wl,-Wl,,'
9108 lt_prog_compiler_pic
='-PIC'
9109 lt_prog_compiler_static
='-Bstatic'
9111 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9112 # Portland Group compilers (*not* the Pentium gcc compiler,
9113 # which looks to be a dead project)
9114 lt_prog_compiler_wl
='-Wl,'
9115 lt_prog_compiler_pic
='-fpic'
9116 lt_prog_compiler_static
='-Bstatic'
9119 lt_prog_compiler_wl
='-Wl,'
9120 # All Alpha code is PIC.
9121 lt_prog_compiler_static
='-non_shared'
9123 xl
* | bgxl
* | bgf
* | mpixl
*)
9124 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9125 lt_prog_compiler_wl
='-Wl,'
9126 lt_prog_compiler_pic
='-qpic'
9127 lt_prog_compiler_static
='-qstaticlink'
9130 case `$CC -V 2>&1 | sed 5q` in
9131 *Sun\ F
* |
*Sun
*Fortran
*)
9132 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9133 lt_prog_compiler_pic
='-KPIC'
9134 lt_prog_compiler_static
='-Bstatic'
9135 lt_prog_compiler_wl
=''
9139 lt_prog_compiler_pic
='-KPIC'
9140 lt_prog_compiler_static
='-Bstatic'
9141 lt_prog_compiler_wl
='-Wl,'
9149 lt_prog_compiler_pic
='-KPIC'
9150 lt_prog_compiler_static
='-Bstatic'
9154 # QNX uses GNU C++, but need to define -shared option too, otherwise
9156 lt_prog_compiler_pic
='-fPIC -shared'
9159 osf3
* | osf4
* | osf5
*)
9160 lt_prog_compiler_wl
='-Wl,'
9161 # All OSF/1 code is PIC.
9162 lt_prog_compiler_static
='-non_shared'
9166 lt_prog_compiler_static
='-non_shared'
9170 lt_prog_compiler_pic
='-KPIC'
9171 lt_prog_compiler_static
='-Bstatic'
9172 case $cc_basename in
9173 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9174 lt_prog_compiler_wl
='-Qoption ld ';;
9176 lt_prog_compiler_wl
='-Wl,';;
9181 lt_prog_compiler_wl
='-Qoption ld '
9182 lt_prog_compiler_pic
='-PIC'
9183 lt_prog_compiler_static
='-Bstatic'
9186 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9187 lt_prog_compiler_wl
='-Wl,'
9188 lt_prog_compiler_pic
='-KPIC'
9189 lt_prog_compiler_static
='-Bstatic'
9193 if test -d /usr
/nec
;then
9194 lt_prog_compiler_pic
='-Kconform_pic'
9195 lt_prog_compiler_static
='-Bstatic'
9199 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9200 lt_prog_compiler_wl
='-Wl,'
9201 lt_prog_compiler_pic
='-KPIC'
9202 lt_prog_compiler_static
='-Bstatic'
9206 lt_prog_compiler_wl
='-Wl,'
9207 lt_prog_compiler_can_build_shared
=no
9211 lt_prog_compiler_pic
='-pic'
9212 lt_prog_compiler_static
='-Bstatic'
9216 lt_prog_compiler_can_build_shared
=no
9222 # For platforms which do not support PIC, -DPIC is meaningless:
9224 lt_prog_compiler_pic
=
9227 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9232 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9233 if ${lt_cv_prog_compiler_pic+:} false
; then :
9234 $as_echo_n "(cached) " >&6
9236 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9239 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9240 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9243 # Check to make sure the PIC flag actually works.
9245 if test -n "$lt_prog_compiler_pic"; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9247 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9248 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9249 $as_echo_n "(cached) " >&6
9251 lt_cv_prog_compiler_pic_works
=no
9252 ac_outfile
=conftest.
$ac_objext
9253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9254 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9255 # Insert the option either (1) after the last *FLAGS variable, or
9256 # (2) before a word containing "conftest.", or (3) at the end.
9257 # Note that $ac_compile itself does not contain backslashes and begins
9258 # with a dollar sign (not a hyphen), so the echo should work correctly.
9259 # The option is referenced via a variable to avoid confusing sed.
9260 lt_compile
=`echo "$ac_compile" | $SED \
9261 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9263 -e 's:$: $lt_compiler_flag:'`
9264 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9265 (eval "$lt_compile" 2>conftest.err
)
9267 cat conftest.err
>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 if (exit $ac_status) && test -s "$ac_outfile"; then
9270 # The compiler can only warn and ignore the option if not recognized
9271 # So say no if there are warnings other than the usual output.
9272 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9273 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9274 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9275 lt_cv_prog_compiler_pic_works
=yes
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9282 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9284 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9285 case $lt_prog_compiler_pic in
9287 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9290 lt_prog_compiler_pic
=
9291 lt_prog_compiler_can_build_shared
=no
9307 # Check to make sure the static flag actually works.
9309 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9311 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9312 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9313 $as_echo_n "(cached) " >&6
9315 lt_cv_prog_compiler_static_works
=no
9316 save_LDFLAGS
="$LDFLAGS"
9317 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9318 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9319 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9320 # The linker can only warn and ignore the option if not recognized
9321 # So say no if there are warnings
9322 if test -s conftest.err
; then
9323 # Append any errors to the config.log.
9324 cat conftest.err
1>&5
9325 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9326 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9327 if diff conftest.exp conftest.er2
>/dev
/null
; then
9328 lt_cv_prog_compiler_static_works
=yes
9331 lt_cv_prog_compiler_static_works
=yes
9335 LDFLAGS
="$save_LDFLAGS"
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9339 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9341 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9344 lt_prog_compiler_static
=
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9354 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9355 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9356 $as_echo_n "(cached) " >&6
9358 lt_cv_prog_compiler_c_o
=no
9359 $RM -r conftest
2>/dev
/null
9363 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9365 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9366 # Insert the option either (1) after the last *FLAGS variable, or
9367 # (2) before a word containing "conftest.", or (3) at the end.
9368 # Note that $ac_compile itself does not contain backslashes and begins
9369 # with a dollar sign (not a hyphen), so the echo should work correctly.
9370 lt_compile
=`echo "$ac_compile" | $SED \
9371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9373 -e 's:$: $lt_compiler_flag:'`
9374 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9375 (eval "$lt_compile" 2>out
/conftest.err
)
9377 cat out
/conftest.err
>&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9381 # The compiler can only warn and ignore the option if not recognized
9382 # So say no if there are warnings
9383 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9384 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9385 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9386 lt_cv_prog_compiler_c_o
=yes
9391 # SGI C++ compiler will create directory out/ii_files/ for
9392 # template instantiation
9393 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9394 $RM out
/* && rmdir out
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9401 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9409 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9410 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9411 $as_echo_n "(cached) " >&6
9413 lt_cv_prog_compiler_c_o
=no
9414 $RM -r conftest
2>/dev
/null
9418 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9420 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9421 # Insert the option either (1) after the last *FLAGS variable, or
9422 # (2) before a word containing "conftest.", or (3) at the end.
9423 # Note that $ac_compile itself does not contain backslashes and begins
9424 # with a dollar sign (not a hyphen), so the echo should work correctly.
9425 lt_compile
=`echo "$ac_compile" | $SED \
9426 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9428 -e 's:$: $lt_compiler_flag:'`
9429 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9430 (eval "$lt_compile" 2>out
/conftest.err
)
9432 cat out
/conftest.err
>&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9436 # The compiler can only warn and ignore the option if not recognized
9437 # So say no if there are warnings
9438 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9439 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9440 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9441 lt_cv_prog_compiler_c_o
=yes
9446 # SGI C++ compiler will create directory out/ii_files/ for
9447 # template instantiation
9448 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9449 $RM out
/* && rmdir out
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9456 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9461 hard_links
="nottested"
9462 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9463 # do not overwrite the value of need_locks provided by the user
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9465 $as_echo_n "checking if we can lock with hard links... " >&6; }
9468 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9470 ln conftest.a conftest.b
2>&5 || hard_links
=no
9471 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9473 $as_echo "$hard_links" >&6; }
9474 if test "$hard_links" = no
; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9476 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9489 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9492 allow_undefined_flag
=
9493 always_export_symbols
=no
9495 archive_expsym_cmds
=
9496 compiler_needs_object
=no
9497 enable_shared_with_static_runtimes
=no
9498 export_dynamic_flag_spec
=
9499 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9500 hardcode_automatic
=no
9502 hardcode_direct_absolute
=no
9503 hardcode_libdir_flag_spec
=
9504 hardcode_libdir_flag_spec_ld
=
9505 hardcode_libdir_separator
=
9507 hardcode_shlibpath_var
=unsupported
9509 link_all_deplibs
=unknown
9512 old_archive_from_new_cmds
=
9513 old_archive_from_expsyms_cmds
=
9514 thread_safe_flag_spec
=
9515 whole_archive_flag_spec
=
9516 # include_expsyms should be a list of space-separated symbols to be *always*
9517 # included in the symbol list
9519 # exclude_expsyms can be an extended regexp of symbols to exclude
9520 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9521 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9522 # as well as any symbol that contains `d'.
9523 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9524 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9525 # platforms (ab)use it in PIC code, but their linkers get confused if
9526 # the symbol is explicitly referenced. Since portable code cannot
9527 # rely on this symbol name, it's probably fine to never include it in
9528 # preloaded symbol tables.
9529 # Exclude shared library initialization/finalization symbols.
9530 extract_expsyms_cmds
=
9533 cygwin
* | mingw
* | pw32
* | cegcc
*)
9534 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9535 # When not using gcc, we currently assume that we are using
9536 # Microsoft Visual C++.
9537 if test "$GCC" != yes; then
9542 # we just hope/assume this is gcc and not c89 (= MSVC++)
9548 linux
* | k
*bsd
*-gnu | gnu
*)
9555 # On some targets, GNU ld is compatible enough with the native linker
9556 # that we're better off using the native interface for both.
9557 lt_use_gnu_ld_interface
=no
9558 if test "$with_gnu_ld" = yes; then
9561 # The AIX port of GNU ld has always aspired to compatibility
9562 # with the native linker. However, as the warning in the GNU ld
9563 # block says, versions before 2.19.5* couldn't really create working
9564 # shared libraries, regardless of the interface used.
9565 case `$LD -v 2>&1` in
9566 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9567 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9568 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9570 lt_use_gnu_ld_interface
=yes
9575 lt_use_gnu_ld_interface
=yes
9580 if test "$lt_use_gnu_ld_interface" = yes; then
9581 # If archive_cmds runs LD, not CC, wlarc should be empty
9584 # Set some defaults for GNU ld with shared library support. These
9585 # are reset later if shared libraries are not supported. Putting them
9586 # here allows them to be overridden if necessary.
9587 runpath_var
=LD_RUN_PATH
9588 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9589 export_dynamic_flag_spec
='${wl}--export-dynamic'
9590 # ancient GNU ld didn't support --whole-archive et. al.
9591 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9592 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9594 whole_archive_flag_spec
=
9596 supports_anon_versioning
=no
9597 case `$LD -v 2>&1` in
9598 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9599 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9600 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9601 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9602 *\
2.11.
*) ;; # other 2.11 versions
9603 *) supports_anon_versioning
=yes ;;
9606 # See if GNU ld supports shared libraries.
9609 # On AIX/PPC, the GNU linker is very broken
9610 if test "$host_cpu" != ia64
; then
9614 *** Warning: the GNU linker, at least up to release 2.19, is reported
9615 *** to be unable to reliably create shared libraries on AIX.
9616 *** Therefore, libtool is disabling shared libraries support. If you
9617 *** really care for shared libraries, you may want to install binutils
9618 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9619 *** You will then need to restart the configuration process.
9628 # see comment about AmigaOS4 .so support
9629 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 archive_expsym_cmds
=''
9633 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)'
9634 hardcode_libdir_flag_spec
='-L$libdir'
9635 hardcode_minus_L
=yes
9641 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9642 allow_undefined_flag
=unsupported
9643 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9644 # support --undefined. This deserves some investigation. FIXME
9645 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9651 cygwin
* | mingw
* | pw32
* | cegcc
*)
9652 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9653 # as there is no search path for DLLs.
9654 hardcode_libdir_flag_spec
='-L$libdir'
9655 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9656 allow_undefined_flag
=unsupported
9657 always_export_symbols
=no
9658 enable_shared_with_static_runtimes
=yes
9659 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'
9660 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9662 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9663 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9664 # If the export-symbols file already is a .def file (1st line
9665 # is EXPORTS), use it as is; otherwise, prepend...
9666 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9667 cp $export_symbols $output_objdir/$soname.def;
9669 echo EXPORTS > $output_objdir/$soname.def;
9670 cat $export_symbols >> $output_objdir/$soname.def;
9672 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9679 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9680 link_all_deplibs
=yes
9685 hardcode_shlibpath_var
=no
9686 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9687 export_dynamic_flag_spec
='${wl}-E'
9688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9689 # Instead, shared libraries are loaded at an image base (0x10000000 by
9690 # default) and relocated if they conflict, which is a slow very memory
9691 # consuming and fragmenting process. To avoid this, we pick a random,
9692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9693 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9694 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9695 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'
9698 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9700 if test "$host_os" = linux-dietlibc
; then
9701 case $cc_basename in
9702 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9705 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9706 && test "$tmp_diet" = no
9708 tmp_addflag
=' $pic_flag'
9709 tmp_sharedflag
='-shared'
9710 case $cc_basename,$host_cpu in
9711 pgcc
*) # Portland Group C compiler
9712 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'
9713 tmp_addflag
=' $pic_flag'
9715 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9716 # Portland Group f77 and f90 compilers
9717 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'
9718 tmp_addflag
=' $pic_flag -Mnomain' ;;
9719 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9720 tmp_addflag
=' -i_dynamic' ;;
9721 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9722 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9723 ifc
* | ifort
*) # Intel Fortran compiler
9724 tmp_addflag
=' -nofor_main' ;;
9725 lf95
*) # Lahey Fortran 8.1
9726 whole_archive_flag_spec
=
9727 tmp_sharedflag
='--shared' ;;
9728 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9729 tmp_sharedflag
='-qmkshrobj'
9731 nvcc
*) # Cuda Compiler Driver 2.2
9732 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'
9733 compiler_needs_object
=yes
9736 case `$CC -V 2>&1 | sed 5q` in
9737 *Sun\ C
*) # Sun C 5.9
9738 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'
9739 compiler_needs_object
=yes
9740 tmp_sharedflag
='-G' ;;
9741 *Sun\ F
*) # Sun Fortran 8.3
9742 tmp_sharedflag
='-G' ;;
9744 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9746 if test "x$supports_anon_versioning" = xyes
; then
9747 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9749 echo "local: *; };" >> $output_objdir/$libname.ver~
9750 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9753 case $cc_basename in
9754 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9755 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9756 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9757 hardcode_libdir_flag_spec
=
9758 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9759 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9760 if test "x$supports_anon_versioning" = xyes
; then
9761 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9762 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9763 echo "local: *; };" >> $output_objdir/$libname.ver~
9764 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9773 netbsd
* | netbsdelf
*-gnu)
9774 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9775 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9778 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9779 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9784 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9788 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9789 *** create shared libraries on Solaris systems. Therefore, libtool
9790 *** is disabling shared libraries support. We urge you to upgrade GNU
9791 *** binutils to release 2.9.1 or newer. Another option is to modify
9792 *** your PATH or compiler configuration so that the native linker is
9793 *** used, and then restart.
9796 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9797 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9798 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9804 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9805 case `$LD -v 2>&1` in
9806 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9810 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9811 *** reliably create shared libraries on SCO systems. Therefore, libtool
9812 *** is disabling shared libraries support. We urge you to upgrade GNU
9813 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9814 *** your PATH or compiler configuration so that the native linker is
9815 *** used, and then restart.
9820 # For security reasons, it is highly recommended that you always
9821 # use absolute paths for naming shared libraries, and exclude the
9822 # DT_RUNPATH tag from executables and libraries. But doing so
9823 # requires that you compile everything twice, which is a pain.
9824 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9825 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9826 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9827 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9836 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_shlibpath_var
=no
9843 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9844 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9845 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9852 if test "$ld_shlibs" = no
; then
9854 hardcode_libdir_flag_spec
=
9855 export_dynamic_flag_spec
=
9856 whole_archive_flag_spec
=
9859 # PORTME fill in a description of your system's linker (not GNU ld)
9862 allow_undefined_flag
=unsupported
9863 always_export_symbols
=yes
9864 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'
9865 # Note: this linker hardcodes the directories in LIBPATH if there
9866 # are no directories specified by -L.
9867 hardcode_minus_L
=yes
9868 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9869 # Neither direct hardcoding nor static linking is supported with a
9871 hardcode_direct
=unsupported
9876 if test "$host_cpu" = ia64
; then
9877 # On IA64, the linker does run time linking by default, so we don't
9878 # have to do anything special.
9879 aix_use_runtimelinking
=no
9880 exp_sym_flag
='-Bexport'
9883 # If we're using GNU nm, then we don't want the "-C" option.
9884 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9885 # Also, AIX nm treats weak defined symbols like other global
9886 # defined symbols, whereas GNU nm marks them as "W".
9887 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9888 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9890 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9892 aix_use_runtimelinking
=no
9894 # Test if we are trying to use run time linking or normal
9895 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9896 # need to do runtime linking.
9897 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9898 for ld_flag
in $LDFLAGS; do
9899 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9900 aix_use_runtimelinking
=yes
9907 exp_sym_flag
='-bexport'
9908 no_entry_flag
='-bnoentry'
9911 # When large executables or shared objects are built, AIX ld can
9912 # have problems creating the table of contents. If linking a library
9913 # or program results in "error TOC overflow" add -mminimal-toc to
9914 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9915 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9919 hardcode_direct_absolute
=yes
9920 hardcode_libdir_separator
=':'
9921 link_all_deplibs
=yes
9922 file_list_spec
='${wl}-f,'
9924 if test "$GCC" = yes; then
9925 case $host_os in aix4.
[012]|aix4.
[012].
*)
9926 # We only want to do this on AIX 4.2 and lower, the check
9927 # below for broken collect2 doesn't work under 4.3+
9928 collect2name
=`${CC} -print-prog-name=collect2`
9929 if test -f "$collect2name" &&
9930 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9932 # We have reworked collect2
9935 # We have old collect2
9936 hardcode_direct
=unsupported
9937 # It fails to find uninstalled libraries when the uninstalled
9938 # path is not listed in the libpath. Setting hardcode_minus_L
9939 # to unsupported forces relinking
9940 hardcode_minus_L
=yes
9941 hardcode_libdir_flag_spec
='-L$libdir'
9942 hardcode_libdir_separator
=
9946 shared_flag
='-shared'
9947 if test "$aix_use_runtimelinking" = yes; then
9948 shared_flag
="$shared_flag "'${wl}-G'
9953 if test "$host_cpu" = ia64
; then
9954 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9955 # chokes on -Wl,-G. The following line is correct:
9958 if test "$aix_use_runtimelinking" = yes; then
9959 shared_flag
='${wl}-G'
9961 shared_flag
='${wl}-bM:SRE'
9966 export_dynamic_flag_spec
='${wl}-bexpall'
9967 # It seems that -bexpall does not export symbols beginning with
9968 # underscore (_), so it is better to generate a list of symbols to export.
9969 always_export_symbols
=yes
9970 if test "$aix_use_runtimelinking" = yes; then
9971 # Warning - without using the other runtime loading flags (-brtl),
9972 # -berok will link without error, but may produce a broken library.
9973 allow_undefined_flag
='-berok'
9974 # Determine the default libpath from the value encoded in an
9976 if test "${lt_cv_aix_libpath+set}" = set; then
9977 aix_libpath
=$lt_cv_aix_libpath
9979 if ${lt_cv_aix_libpath_+:} false
; then :
9980 $as_echo_n "(cached) " >&6
9982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9993 if ac_fn_c_try_link
"$LINENO"; then :
9995 lt_aix_libpath_sed
='
9996 /Import File Strings/,/^$/ {
9998 s/^0 *\([^ ]*\) *$/\1/
10002 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10003 # Check for a 64-bit object if we didn't find anything.
10004 if test -z "$lt_cv_aix_libpath_"; then
10005 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10008 rm -f core conftest.err conftest.
$ac_objext \
10009 conftest
$ac_exeext conftest.
$ac_ext
10010 if test -z "$lt_cv_aix_libpath_"; then
10011 lt_cv_aix_libpath_
="/usr/lib:/lib"
10016 aix_libpath
=$lt_cv_aix_libpath_
10019 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10020 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10022 if test "$host_cpu" = ia64
; then
10023 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10024 allow_undefined_flag
="-z nodefs"
10025 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"
10027 # Determine the default libpath from the value encoded in an
10028 # empty executable.
10029 if test "${lt_cv_aix_libpath+set}" = set; then
10030 aix_libpath
=$lt_cv_aix_libpath
10032 if ${lt_cv_aix_libpath_+:} false
; then :
10033 $as_echo_n "(cached) " >&6
10035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10046 if ac_fn_c_try_link
"$LINENO"; then :
10048 lt_aix_libpath_sed
='
10049 /Import File Strings/,/^$/ {
10051 s/^0 *\([^ ]*\) *$/\1/
10055 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10056 # Check for a 64-bit object if we didn't find anything.
10057 if test -z "$lt_cv_aix_libpath_"; then
10058 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10061 rm -f core conftest.err conftest.
$ac_objext \
10062 conftest
$ac_exeext conftest.
$ac_ext
10063 if test -z "$lt_cv_aix_libpath_"; then
10064 lt_cv_aix_libpath_
="/usr/lib:/lib"
10069 aix_libpath
=$lt_cv_aix_libpath_
10072 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10073 # Warning - without using the other run time loading flags,
10074 # -berok will link without error, but may produce a broken library.
10075 no_undefined_flag
=' ${wl}-bernotok'
10076 allow_undefined_flag
=' ${wl}-berok'
10077 if test "$with_gnu_ld" = yes; then
10078 # We only use this code for GNU lds that support --whole-archive.
10079 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10081 # Exported symbols can be pulled into shared objects from archives
10082 whole_archive_flag_spec
='$convenience'
10084 archive_cmds_need_lc
=yes
10085 # This is similar to how AIX traditionally builds its shared libraries.
10086 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10094 # see comment about AmigaOS4 .so support
10095 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096 archive_expsym_cmds
=''
10099 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)'
10100 hardcode_libdir_flag_spec
='-L$libdir'
10101 hardcode_minus_L
=yes
10107 export_dynamic_flag_spec
=-rdynamic
10110 cygwin
* | mingw
* | pw32
* | cegcc
*)
10111 # When not using gcc, we currently assume that we are using
10112 # Microsoft Visual C++.
10113 # hardcode_libdir_flag_spec is actually meaningless, as there is
10114 # no search path for DLLs.
10115 case $cc_basename in
10118 hardcode_libdir_flag_spec
=' '
10119 allow_undefined_flag
=unsupported
10120 always_export_symbols
=yes
10122 # Tell ltmain to make .lib files, not .a files.
10124 # Tell ltmain to make .dll files, not .so files.
10126 # FIXME: Setting linknames here is a bad hack.
10127 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10128 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10129 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10131 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10133 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10135 # The linker will not automatically build a static lib if we build a DLL.
10136 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10137 enable_shared_with_static_runtimes
=yes
10138 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10140 old_postinstall_cmds
='chmod 644 $oldlib'
10141 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10142 lt_tool_outputfile="@TOOL_OUTPUT@"~
10143 case $lt_outputfile in
10146 lt_outputfile="$lt_outputfile.exe"
10147 lt_tool_outputfile="$lt_tool_outputfile.exe"
10150 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10151 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10152 $RM "$lt_outputfile.manifest";
10156 # Assume MSVC wrapper
10157 hardcode_libdir_flag_spec
=' '
10158 allow_undefined_flag
=unsupported
10159 # Tell ltmain to make .lib files, not .a files.
10161 # Tell ltmain to make .dll files, not .so files.
10163 # FIXME: Setting linknames here is a bad hack.
10164 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10165 # The linker will automatically build a .lib file if we build a DLL.
10166 old_archive_from_new_cmds
='true'
10167 # FIXME: Should let the user specify the lib program.
10168 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10169 enable_shared_with_static_runtimes
=yes
10174 darwin
* | rhapsody
*)
10177 archive_cmds_need_lc
=no
10179 hardcode_automatic
=yes
10180 hardcode_shlibpath_var
=unsupported
10181 if test "$lt_cv_ld_force_load" = "yes"; then
10182 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\"`'
10184 whole_archive_flag_spec
=''
10186 link_all_deplibs
=yes
10187 allow_undefined_flag
="$_lt_dar_allow_undefined"
10188 case $cc_basename in
10189 ifort
*) _lt_dar_can_shared
=yes ;;
10190 *) _lt_dar_can_shared
=$GCC ;;
10192 if test "$_lt_dar_can_shared" = "yes"; then
10193 output_verbose_link_cmd
=func_echo_all
10194 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10195 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10196 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}"
10197 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}"
10206 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10207 hardcode_libdir_flag_spec
='-L$libdir'
10208 hardcode_shlibpath_var
=no
10215 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10216 # support. Future versions do this automatically, but an explicit c++rt0.o
10217 # does not break anything, and helps significantly (at the cost of a little
10220 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10221 hardcode_libdir_flag_spec
='-R$libdir'
10222 hardcode_direct
=yes
10223 hardcode_shlibpath_var
=no
10226 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10228 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10229 hardcode_direct
=yes
10230 hardcode_minus_L
=yes
10231 hardcode_shlibpath_var
=no
10234 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10235 freebsd
* | dragonfly
*)
10236 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10237 hardcode_libdir_flag_spec
='-R$libdir'
10238 hardcode_direct
=yes
10239 hardcode_shlibpath_var
=no
10243 if test "$GCC" = yes; then
10244 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10246 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10248 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10249 hardcode_libdir_separator
=:
10250 hardcode_direct
=yes
10252 # hardcode_minus_L: Not really in the search PATH,
10253 # but as the default location of the library.
10254 hardcode_minus_L
=yes
10255 export_dynamic_flag_spec
='${wl}-E'
10259 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10260 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10264 if test "$with_gnu_ld" = no
; then
10265 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10266 hardcode_libdir_flag_spec_ld
='+b $libdir'
10267 hardcode_libdir_separator
=:
10268 hardcode_direct
=yes
10269 hardcode_direct_absolute
=yes
10270 export_dynamic_flag_spec
='${wl}-E'
10271 # hardcode_minus_L: Not really in the search PATH,
10272 # but as the default location of the library.
10273 hardcode_minus_L
=yes
10278 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10281 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10284 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10287 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10293 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10296 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10300 # Older versions of the 11.00 compiler do not understand -b yet
10301 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10303 $as_echo_n "checking if $CC understands -b... " >&6; }
10304 if ${lt_cv_prog_compiler__b+:} false
; then :
10305 $as_echo_n "(cached) " >&6
10307 lt_cv_prog_compiler__b
=no
10308 save_LDFLAGS
="$LDFLAGS"
10309 LDFLAGS
="$LDFLAGS -b"
10310 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10311 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10312 # The linker can only warn and ignore the option if not recognized
10313 # So say no if there are warnings
10314 if test -s conftest.err
; then
10315 # Append any errors to the config.log.
10316 cat conftest.err
1>&5
10317 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10318 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10319 if diff conftest.exp conftest.er2
>/dev
/null
; then
10320 lt_cv_prog_compiler__b
=yes
10323 lt_cv_prog_compiler__b
=yes
10327 LDFLAGS
="$save_LDFLAGS"
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10331 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10333 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10334 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10342 if test "$with_gnu_ld" = no
; then
10343 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10344 hardcode_libdir_separator
=:
10349 hardcode_shlibpath_var
=no
10352 hardcode_direct
=yes
10353 hardcode_direct_absolute
=yes
10354 export_dynamic_flag_spec
='${wl}-E'
10356 # hardcode_minus_L: Not really in the search PATH,
10357 # but as the default location of the library.
10358 hardcode_minus_L
=yes
10364 irix5
* | irix6
* | nonstopux
*)
10365 if test "$GCC" = yes; then
10366 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'
10367 # Try to use the -exported_symbol ld option, if it does not
10368 # work, assume that -exports_file does not work either and
10369 # implicitly export all symbols.
10370 # This should be the same for all languages, so no per-tag cache variable.
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10372 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10373 if ${lt_cv_irix_exported_symbol+:} false
; then :
10374 $as_echo_n "(cached) " >&6
10376 save_LDFLAGS
="$LDFLAGS"
10377 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10380 int foo (void) { return 0; }
10382 if ac_fn_c_try_link
"$LINENO"; then :
10383 lt_cv_irix_exported_symbol
=yes
10385 lt_cv_irix_exported_symbol
=no
10387 rm -f core conftest.err conftest.
$ac_objext \
10388 conftest
$ac_exeext conftest.
$ac_ext
10389 LDFLAGS
="$save_LDFLAGS"
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10392 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10393 if test "$lt_cv_irix_exported_symbol" = yes; then
10394 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'
10397 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'
10398 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'
10400 archive_cmds_need_lc
='no'
10401 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10402 hardcode_libdir_separator
=:
10404 link_all_deplibs
=yes
10407 netbsd
* | netbsdelf
*-gnu)
10408 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10409 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10411 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10413 hardcode_libdir_flag_spec
='-R$libdir'
10414 hardcode_direct
=yes
10415 hardcode_shlibpath_var
=no
10419 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10420 hardcode_direct
=yes
10421 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10422 hardcode_libdir_separator
=:
10423 hardcode_shlibpath_var
=no
10430 if test -f /usr
/libexec
/ld.so
; then
10431 hardcode_direct
=yes
10432 hardcode_shlibpath_var
=no
10433 hardcode_direct_absolute
=yes
10434 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10435 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10436 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10437 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10438 export_dynamic_flag_spec
='${wl}-E'
10441 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10442 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10443 hardcode_libdir_flag_spec
='-R$libdir'
10446 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10447 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10457 hardcode_libdir_flag_spec
='-L$libdir'
10458 hardcode_minus_L
=yes
10459 allow_undefined_flag
=unsupported
10460 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10461 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10465 if test "$GCC" = yes; then
10466 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10467 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'
10469 allow_undefined_flag
=' -expect_unresolved \*'
10470 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'
10472 archive_cmds_need_lc
='no'
10473 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10474 hardcode_libdir_separator
=:
10477 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10478 if test "$GCC" = yes; then
10479 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10480 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'
10481 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10483 allow_undefined_flag
=' -expect_unresolved \*'
10484 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'
10485 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~
10486 $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'
10488 # Both c and cxx compiler support -rpath directly
10489 hardcode_libdir_flag_spec
='-rpath $libdir'
10491 archive_cmds_need_lc
='no'
10492 hardcode_libdir_separator
=:
10496 no_undefined_flag
=' -z defs'
10497 if test "$GCC" = yes; then
10499 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10500 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10501 $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'
10503 case `$CC -V 2>&1` in
10506 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10507 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10508 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10512 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10513 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10514 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10518 hardcode_libdir_flag_spec
='-R$libdir'
10519 hardcode_shlibpath_var
=no
10521 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10523 # The compiler driver will combine and reorder linker options,
10524 # but understands `-z linker_flag'. GCC discards it without `$wl',
10525 # but is careful enough not to reorder.
10526 # Supported since Solaris 2.6 (maybe 2.5.1?)
10527 if test "$GCC" = yes; then
10528 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10530 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10534 link_all_deplibs
=yes
10538 if test "x$host_vendor" = xsequent
; then
10539 # Use $CC to link under sequent, because it throws in some extra .o
10540 # files that make .init and .fini sections work.
10541 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10543 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10545 hardcode_libdir_flag_spec
='-L$libdir'
10546 hardcode_direct
=yes
10547 hardcode_minus_L
=yes
10548 hardcode_shlibpath_var
=no
10552 case $host_vendor in
10554 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10555 hardcode_direct
=yes # is this really true???
10558 ## LD is ld it makes a PLAMLIB
10559 ## CC just makes a GrossModule.
10560 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10561 reload_cmds
='$CC -r -o $output$reload_objs'
10565 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10566 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10569 runpath_var
='LD_RUN_PATH'
10570 hardcode_shlibpath_var
=no
10574 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10575 hardcode_shlibpath_var
=no
10576 export_dynamic_flag_spec
='-Bexport'
10580 if test -d /usr
/nec
; then
10581 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10582 hardcode_shlibpath_var
=no
10583 runpath_var
=LD_RUN_PATH
10584 hardcode_runpath_var
=yes
10589 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10590 no_undefined_flag
='${wl}-z,text'
10591 archive_cmds_need_lc
=no
10592 hardcode_shlibpath_var
=no
10593 runpath_var
='LD_RUN_PATH'
10595 if test "$GCC" = yes; then
10596 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10597 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10599 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10604 sysv5
* | sco3.2v5
* | sco5v6
*)
10605 # Note: We can NOT use -z defs as we might desire, because we do not
10606 # link with -lc, and that would cause any symbols used from libc to
10607 # always be unresolved, which means just about no library would
10608 # ever link correctly. If we're not using GNU ld we use -z text
10609 # though, which does catch some bad symbols but isn't as heavy-handed
10611 no_undefined_flag
='${wl}-z,text'
10612 allow_undefined_flag
='${wl}-z,nodefs'
10613 archive_cmds_need_lc
=no
10614 hardcode_shlibpath_var
=no
10615 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10616 hardcode_libdir_separator
=':'
10617 link_all_deplibs
=yes
10618 export_dynamic_flag_spec
='${wl}-Bexport'
10619 runpath_var
='LD_RUN_PATH'
10621 if test "$GCC" = yes; then
10622 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10626 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 hardcode_libdir_flag_spec
='-L$libdir'
10633 hardcode_shlibpath_var
=no
10641 if test x
$host_vendor = xsni
; then
10643 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10644 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10651 $as_echo "$ld_shlibs" >&6; }
10652 test "$ld_shlibs" = no
&& can_build_shared
=no
10654 with_gnu_ld
=$with_gnu_ld
10671 # Do we need to explicitly link libc?
10673 case "x$archive_cmds_need_lc" in
10675 # Assume -lc should be added
10676 archive_cmds_need_lc
=yes
10678 if test "$enable_shared" = yes && test "$GCC" = yes; then
10679 case $archive_cmds in
10681 # FIXME: we may have to deal with multi-command sequences.
10684 # Test whether the compiler implicitly links with -lc since on some
10685 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10686 # to ld, don't add -lc before -lgcc.
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10688 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10689 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10690 $as_echo_n "(cached) " >&6
10693 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10696 (eval $ac_compile) 2>&5
10698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10699 test $ac_status = 0; } 2>conftest.err
; then
10702 libobjs
=conftest.
$ac_objext
10704 wl
=$lt_prog_compiler_wl
10705 pic_flag
=$lt_prog_compiler_pic
10711 lt_save_allow_undefined_flag
=$allow_undefined_flag
10712 allow_undefined_flag
=
10713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10714 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10717 test $ac_status = 0; }
10719 lt_cv_archive_cmds_need_lc
=no
10721 lt_cv_archive_cmds_need_lc
=yes
10723 allow_undefined_flag
=$lt_save_allow_undefined_flag
10725 cat conftest.err
1>&5
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10731 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10732 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10896 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10898 if test "$GCC" = yes; then
10900 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10901 *) lt_awk_arg
="/^libraries:/" ;;
10904 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10905 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10907 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10908 case $lt_search_path_spec in
10910 # if the path contains ";" then we assume it to be the separator
10911 # otherwise default to the standard path separator (i.e. ":") - it is
10912 # assumed that no part of a normal pathname contains ";" but that should
10913 # okay in the real world where ";" in dirpaths is itself problematic.
10914 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10917 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10920 # Ok, now we have the path, separated by spaces, we can step through it
10921 # and add multilib dir if necessary.
10922 lt_tmp_lt_search_path_spec
=
10923 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10924 for lt_sys_path
in $lt_search_path_spec; do
10925 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10926 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10928 test -d "$lt_sys_path" && \
10929 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10932 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10933 BEGIN {RS=" "; FS="/|\n";} {
10936 for (lt_i = NF; lt_i > 0; lt_i--) {
10937 if ($lt_i != "" && $lt_i != ".") {
10938 if ($lt_i == "..") {
10941 if (lt_count == 0) {
10942 lt_foo="/" $lt_i lt_foo;
10949 if (lt_foo != "") { lt_freq[lt_foo]++; }
10950 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10952 # AWK program above erroneously prepends '/' to C:/dos/paths
10955 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10956 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10958 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10960 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10962 library_names_spec
=
10963 libname_spec
='lib$name'
10967 postuninstall_cmds
=
10971 shlibpath_overrides_runpath
=unknown
10973 dynamic_linker
="$host_os ld.so"
10974 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10975 need_lib_prefix
=unknown
10976 hardcode_into_libs
=no
10978 # when you set need_version to no, make sure it does not cause -set_version
10979 # flags to be left without arguments
10980 need_version
=unknown
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10986 shlibpath_var
=LIBPATH
10988 # AIX 3 has no versioning support, so we append a major version to the name.
10989 soname_spec
='${libname}${release}${shared_ext}$major'
10996 hardcode_into_libs
=yes
10997 if test "$host_cpu" = ia64
; then
10998 # AIX 5 supports IA64
10999 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11000 shlibpath_var
=LD_LIBRARY_PATH
11002 # With GCC up to 2.95.x, collect2 would create an import file
11003 # for dependence libraries. The import file would start with
11004 # the line `#! .'. This would cause the generated library to
11005 # depend on `.', always an invalid library. This was fixed in
11006 # development snapshots of GCC prior to 3.0.
11008 aix4 | aix4.
[01] | aix4.
[01].
*)
11009 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11011 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11014 can_build_shared
=no
11018 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11019 # soname into executable. Probably we can add versioning support to
11020 # collect2, so additional links can be useful in future.
11021 if test "$aix_use_runtimelinking" = yes; then
11022 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11023 # instead of lib<name>.a to let people know that these are not
11024 # typical AIX shared libraries.
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 # We preserve .a as extension for shared libraries through AIX4.2
11028 # and later when we are not doing run time linking.
11029 library_names_spec
='${libname}${release}.a $libname.a'
11030 soname_spec
='${libname}${release}${shared_ext}$major'
11032 shlibpath_var
=LIBPATH
11039 # Since July 2007 AmigaOS4 officially supports .so libraries.
11040 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 library_names_spec
='$libname.ixlibrary $libname.a'
11045 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11046 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11052 library_names_spec
='${libname}${shared_ext}'
11053 dynamic_linker
="$host_os ld.so"
11054 shlibpath_var
=LIBRARY_PATH
11060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 soname_spec
='${libname}${release}${shared_ext}$major'
11062 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11063 shlibpath_var
=LD_LIBRARY_PATH
11064 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11065 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11066 # the default ld.so.conf also contains /usr/contrib/lib and
11067 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11068 # libtool to hard-code these into programs
11071 cygwin
* | mingw
* | pw32
* | cegcc
*)
11072 version_type
=windows
11077 case $GCC,$cc_basename in
11080 library_names_spec
='$libname.dll.a'
11081 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11082 postinstall_cmds
='base_file=`basename \${file}`~
11083 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11084 dldir=$destdir/`dirname \$dlpath`~
11085 test -d \$dldir || mkdir -p \$dldir~
11086 $install_prog $dir/$dlname \$dldir/$dlname~
11087 chmod a+x \$dldir/$dlname~
11088 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11089 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11091 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11092 dlpath=$dir/\$dldll~
11094 shlibpath_overrides_runpath
=yes
11098 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11099 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11101 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11104 # MinGW DLLs use traditional 'lib' prefix
11105 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11108 # pw32 DLLs use 'pw' prefix rather than 'lib'
11109 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11112 dynamic_linker
='Win32 ld.exe'
11117 libname_spec
='$name'
11118 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11119 library_names_spec
='${libname}.dll.lib'
11123 sys_lib_search_path_spec
=
11126 for lt_path
in $LIB
11129 # Let DOS variable expansion print the short 8.3 style file name.
11130 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11131 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11134 # Convert to MSYS style.
11135 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11138 # Convert to unix form, then to dos form, then back to unix form
11139 # but this time dos style (no spaces!) so that the unix form looks
11140 # like /cygdrive/c/PROGRA~1:/cygdr...
11141 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11142 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11143 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11146 sys_lib_search_path_spec
="$LIB"
11147 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11148 # It is most probably a Windows format PATH.
11149 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11151 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11153 # FIXME: find the short name or the path components, as spaces are
11154 # common. (e.g. "Program Files" -> "PROGRA~1")
11158 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11159 postinstall_cmds
='base_file=`basename \${file}`~
11160 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11161 dldir=$destdir/`dirname \$dlpath`~
11162 test -d \$dldir || mkdir -p \$dldir~
11163 $install_prog $dir/$dlname \$dldir/$dlname'
11164 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11165 dlpath=$dir/\$dldll~
11167 shlibpath_overrides_runpath
=yes
11168 dynamic_linker
='Win32 link.exe'
11172 # Assume MSVC wrapper
11173 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11174 dynamic_linker
='Win32 ld.exe'
11177 # FIXME: first we should search . and the directory the executable is in
11181 darwin
* | rhapsody
*)
11182 dynamic_linker
="$host_os dyld"
11183 version_type
=darwin
11186 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11187 soname_spec
='${libname}${release}${major}$shared_ext'
11188 shlibpath_overrides_runpath
=yes
11189 shlibpath_var
=DYLD_LIBRARY_PATH
11190 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11192 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11193 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11201 soname_spec
='${libname}${release}${shared_ext}$major'
11202 shlibpath_var
=LD_LIBRARY_PATH
11209 freebsd
* | dragonfly
*)
11210 # DragonFly does not have aout. When/if they implement a new
11211 # versioning mechanism, adjust this.
11212 if test -x /usr
/bin
/objformat
; then
11213 objformat
=`/usr/bin/objformat`
11216 freebsd
[123]*) objformat
=aout
;;
11217 *) objformat
=elf
;;
11220 version_type
=freebsd-
$objformat
11221 case $version_type in
11223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11228 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11232 shlibpath_var
=LD_LIBRARY_PATH
11235 shlibpath_overrides_runpath
=yes
11237 freebsd3.
[01]* | freebsdelf3.
[01]*)
11238 shlibpath_overrides_runpath
=yes
11239 hardcode_into_libs
=yes
11241 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11242 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11243 shlibpath_overrides_runpath
=no
11244 hardcode_into_libs
=yes
11246 *) # from 4.6 on, and DragonFly
11247 shlibpath_overrides_runpath
=yes
11248 hardcode_into_libs
=yes
11257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11258 soname_spec
='${libname}${release}${shared_ext}$major'
11259 shlibpath_var
=LD_LIBRARY_PATH
11260 shlibpath_overrides_runpath
=no
11261 hardcode_into_libs
=yes
11268 dynamic_linker
="$host_os runtime_loader"
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11270 soname_spec
='${libname}${release}${shared_ext}$major'
11271 shlibpath_var
=LIBRARY_PATH
11272 shlibpath_overrides_runpath
=yes
11273 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11274 hardcode_into_libs
=yes
11277 hpux9
* | hpux10
* | hpux11
*)
11278 # Give a soname corresponding to the major version so that dld.sl refuses to
11279 # link against other versions.
11286 hardcode_into_libs
=yes
11287 dynamic_linker
="$host_os dld.so"
11288 shlibpath_var
=LD_LIBRARY_PATH
11289 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11291 soname_spec
='${libname}${release}${shared_ext}$major'
11292 if test "X$HPUX_IA64_MODE" = X32
; then
11293 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11295 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11297 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11301 hardcode_into_libs
=yes
11302 dynamic_linker
="$host_os dld.sl"
11303 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11304 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306 soname_spec
='${libname}${release}${shared_ext}$major'
11307 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11308 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11312 dynamic_linker
="$host_os dld.sl"
11313 shlibpath_var
=SHLIB_PATH
11314 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316 soname_spec
='${libname}${release}${shared_ext}$major'
11319 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11320 postinstall_cmds
='chmod 555 $lib'
11321 # or fails outright, so override atomically:
11322 install_override_mode
=555
11329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11330 soname_spec
='${libname}${release}${shared_ext}$major'
11331 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11332 shlibpath_var
=LD_LIBRARY_PATH
11333 shlibpath_overrides_runpath
=no
11334 hardcode_into_libs
=yes
11337 irix5
* | irix6
* | nonstopux
*)
11339 nonstopux
*) version_type
=nonstopux
;;
11341 if test "$lt_cv_prog_gnu_ld" = yes; then
11349 soname_spec
='${libname}${release}${shared_ext}$major'
11350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11352 irix5
* | nonstopux
*)
11353 libsuff
= shlibsuff
=
11356 case $LD in # libtool.m4 will add one of these switches to LD
11357 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11358 libsuff
= shlibsuff
= libmagic
=32-bit;;
11359 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11360 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11361 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11362 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11363 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11367 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11368 shlibpath_overrides_runpath
=no
11369 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11370 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11371 hardcode_into_libs
=yes
11374 # No shared lib support for Linux oldld, aout, or coff.
11375 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11379 # This must be Linux ELF.
11380 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec
='${libname}${release}${shared_ext}$major'
11386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11387 shlibpath_var
=LD_LIBRARY_PATH
11388 shlibpath_overrides_runpath
=no
11390 # Some binutils ld are patched to set DT_RUNPATH
11391 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11392 $as_echo_n "(cached) " >&6
11394 lt_cv_shlibpath_overrides_runpath
=no
11395 save_LDFLAGS
=$LDFLAGS
11396 save_libdir
=$libdir
11397 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11398 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11410 if ac_fn_c_try_link
"$LINENO"; then :
11411 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11412 lt_cv_shlibpath_overrides_runpath
=yes
11415 rm -f core conftest.err conftest.
$ac_objext \
11416 conftest
$ac_exeext conftest.
$ac_ext
11417 LDFLAGS
=$save_LDFLAGS
11418 libdir
=$save_libdir
11422 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11424 # This implies no fast_install, which is unacceptable.
11425 # Some rework will be needed to allow for fast_install
11426 # before this can be enabled.
11427 hardcode_into_libs
=yes
11429 # Append ld.so.conf contents to the search path
11430 if test -f /etc
/ld.so.conf
; then
11431 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' ' '`
11432 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11435 # We used to test for /lib/ld.so.1 and disable shared libraries on
11436 # powerpc, because MkLinux only supported shared libraries with the
11437 # GNU dynamic linker. Since this was broken with cross compilers,
11438 # most powerpc-linux boxes support dynamic linking these days and
11439 # people can always --disable-shared, the test was removed, and we
11440 # assume the GNU/Linux dynamic linker is in use.
11441 dynamic_linker
='GNU/Linux ld.so'
11448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11449 soname_spec
='${libname}${release}${shared_ext}$major'
11450 shlibpath_var
=LD_LIBRARY_PATH
11451 shlibpath_overrides_runpath
=no
11452 hardcode_into_libs
=yes
11453 dynamic_linker
='NetBSD ld.elf_so'
11460 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11462 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11463 dynamic_linker
='NetBSD (a.out) ld.so'
11465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11466 soname_spec
='${libname}${release}${shared_ext}$major'
11467 dynamic_linker
='NetBSD ld.elf_so'
11469 shlibpath_var
=LD_LIBRARY_PATH
11470 shlibpath_overrides_runpath
=yes
11471 hardcode_into_libs
=yes
11476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 shlibpath_var
=LD_LIBRARY_PATH
11478 shlibpath_overrides_runpath
=yes
11485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11487 shlibpath_var
=LD_LIBRARY_PATH
11488 shlibpath_overrides_runpath
=no
11489 hardcode_into_libs
=yes
11490 dynamic_linker
='ldqnx.so'
11495 sys_lib_dlsearch_path_spec
="/usr/lib"
11497 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11499 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11500 *) need_version
=no
;;
11502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11503 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11504 shlibpath_var
=LD_LIBRARY_PATH
11505 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11507 openbsd2.
[89] | openbsd2.
[89].
*)
11508 shlibpath_overrides_runpath
=no
11511 shlibpath_overrides_runpath
=yes
11515 shlibpath_overrides_runpath
=yes
11520 libname_spec
='$name'
11523 library_names_spec
='$libname${shared_ext} $libname.a'
11524 dynamic_linker
='OS/2 ld.exe'
11525 shlibpath_var
=LIBPATH
11528 osf3
* | osf4
* | osf5
*)
11532 soname_spec
='${libname}${release}${shared_ext}$major'
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 shlibpath_var
=LD_LIBRARY_PATH
11535 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11536 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11548 soname_spec
='${libname}${release}${shared_ext}$major'
11549 shlibpath_var
=LD_LIBRARY_PATH
11550 shlibpath_overrides_runpath
=yes
11551 hardcode_into_libs
=yes
11552 # ldd complains unless libraries are executable
11553 postinstall_cmds
='chmod +x $lib'
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11559 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11560 shlibpath_var
=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath
=yes
11562 if test "$with_gnu_ld" = yes; then
11570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 soname_spec
='${libname}${release}${shared_ext}$major'
11572 shlibpath_var
=LD_LIBRARY_PATH
11573 case $host_vendor in
11575 shlibpath_overrides_runpath
=no
11577 runpath_var
=LD_RUN_PATH
11585 shlibpath_overrides_runpath
=no
11586 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11592 if test -d /usr
/nec
;then
11594 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11595 soname_spec
='$libname${shared_ext}.$major'
11596 shlibpath_var
=LD_LIBRARY_PATH
11600 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11601 version_type
=freebsd-elf
11604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11605 soname_spec
='${libname}${release}${shared_ext}$major'
11606 shlibpath_var
=LD_LIBRARY_PATH
11607 shlibpath_overrides_runpath
=yes
11608 hardcode_into_libs
=yes
11609 if test "$with_gnu_ld" = yes; then
11610 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11612 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11615 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11619 sys_lib_dlsearch_path_spec
='/usr/lib'
11623 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11628 shlibpath_var
=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath
=no
11630 hardcode_into_libs
=yes
11635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636 soname_spec
='${libname}${release}${shared_ext}$major'
11637 shlibpath_var
=LD_LIBRARY_PATH
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11645 $as_echo "$dynamic_linker" >&6; }
11646 test "$dynamic_linker" = no
&& can_build_shared
=no
11648 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11649 if test "$GCC" = yes; then
11650 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11653 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11654 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11656 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11657 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11752 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11754 if test -n "$hardcode_libdir_flag_spec" ||
11755 test -n "$runpath_var" ||
11756 test "X$hardcode_automatic" = "Xyes" ; then
11758 # We can hardcode non-existent directories.
11759 if test "$hardcode_direct" != no
&&
11760 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11761 # have to relink, otherwise we might link with an installed library
11762 # when we should be linking with a yet-to-be-installed one
11763 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11764 test "$hardcode_minus_L" != no
; then
11765 # Linking always hardcodes the temporary library directory.
11766 hardcode_action
=relink
11768 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11769 hardcode_action
=immediate
11772 # We cannot hardcode anything, or else we can only hardcode existing
11774 hardcode_action
=unsupported
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11777 $as_echo "$hardcode_action" >&6; }
11779 if test "$hardcode_action" = relink ||
11780 test "$inherit_rpath" = yes; then
11781 # Fast installation is not supported
11782 enable_fast_install
=no
11783 elif test "$shlibpath_overrides_runpath" = yes ||
11784 test "$enable_shared" = no
; then
11785 # Fast installation is not necessary
11786 enable_fast_install
=needless
11794 if test "x$enable_dlopen" != xyes
; then
11795 enable_dlopen
=unknown
11796 enable_dlopen_self
=unknown
11797 enable_dlopen_self_static
=unknown
11804 lt_cv_dlopen
="load_add_on"
11806 lt_cv_dlopen_self
=yes
11809 mingw
* | pw32
* | cegcc
*)
11810 lt_cv_dlopen
="LoadLibrary"
11815 lt_cv_dlopen
="dlopen"
11820 # if libdl is installed we need to link against it
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11822 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11823 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11824 $as_echo_n "(cached) " >&6
11826 ac_check_lib_save_LIBS
=$LIBS
11828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11829 /* end confdefs.h. */
11831 /* Override any GCC internal prototype to avoid an error.
11832 Use char because int might match the return type of a GCC
11833 builtin and then its argument prototype would still apply. */
11846 if ac_fn_c_try_link
"$LINENO"; then :
11847 ac_cv_lib_dl_dlopen
=yes
11849 ac_cv_lib_dl_dlopen
=no
11851 rm -f core conftest.err conftest.
$ac_objext \
11852 conftest
$ac_exeext conftest.
$ac_ext
11853 LIBS
=$ac_check_lib_save_LIBS
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11856 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11857 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11858 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11861 lt_cv_dlopen
="dyld"
11863 lt_cv_dlopen_self
=yes
11870 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11871 if test "x$ac_cv_func_shl_load" = xyes
; then :
11872 lt_cv_dlopen
="shl_load"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11875 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11876 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11877 $as_echo_n "(cached) " >&6
11879 ac_check_lib_save_LIBS
=$LIBS
11881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11894 return shl_load ();
11899 if ac_fn_c_try_link
"$LINENO"; then :
11900 ac_cv_lib_dld_shl_load
=yes
11902 ac_cv_lib_dld_shl_load
=no
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 LIBS
=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11909 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11910 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11911 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11913 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11914 if test "x$ac_cv_func_dlopen" = xyes
; then :
11915 lt_cv_dlopen
="dlopen"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11918 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11919 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11920 $as_echo_n "(cached) " >&6
11922 ac_check_lib_save_LIBS
=$LIBS
11924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11942 if ac_fn_c_try_link
"$LINENO"; then :
11943 ac_cv_lib_dl_dlopen
=yes
11945 ac_cv_lib_dl_dlopen
=no
11947 rm -f core conftest.err conftest.
$ac_objext \
11948 conftest
$ac_exeext conftest.
$ac_ext
11949 LIBS
=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11952 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11953 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11954 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11957 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11958 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11959 $as_echo_n "(cached) " >&6
11961 ac_check_lib_save_LIBS
=$LIBS
11962 LIBS
="-lsvld $LIBS"
11963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11981 if ac_fn_c_try_link
"$LINENO"; then :
11982 ac_cv_lib_svld_dlopen
=yes
11984 ac_cv_lib_svld_dlopen
=no
11986 rm -f core conftest.err conftest.
$ac_objext \
11987 conftest
$ac_exeext conftest.
$ac_ext
11988 LIBS
=$ac_check_lib_save_LIBS
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11991 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11992 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11993 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11996 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11997 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11998 $as_echo_n "(cached) " >&6
12000 ac_check_lib_save_LIBS
=$LIBS
12002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12015 return dld_link ();
12020 if ac_fn_c_try_link
"$LINENO"; then :
12021 ac_cv_lib_dld_dld_link
=yes
12023 ac_cv_lib_dld_dld_link
=no
12025 rm -f core conftest.err conftest.
$ac_objext \
12026 conftest
$ac_exeext conftest.
$ac_ext
12027 LIBS
=$ac_check_lib_save_LIBS
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12030 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12031 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12032 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12053 if test "x$lt_cv_dlopen" != xno
; then
12059 case $lt_cv_dlopen in
12061 save_CPPFLAGS
="$CPPFLAGS"
12062 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12064 save_LDFLAGS
="$LDFLAGS"
12065 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12068 LIBS
="$lt_cv_dlopen_libs $LIBS"
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12071 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12072 if ${lt_cv_dlopen_self+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 if test "$cross_compiling" = yes; then :
12076 lt_cv_dlopen_self
=cross
12078 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12079 lt_status
=$lt_dlunknown
12080 cat > conftest.
$ac_ext <<_LT_EOF
12081 #line $LINENO "configure"
12082 #include "confdefs.h"
12091 # define LT_DLGLOBAL RTLD_GLOBAL
12094 # define LT_DLGLOBAL DL_GLOBAL
12096 # define LT_DLGLOBAL 0
12100 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12101 find out it does not work in some platform. */
12102 #ifndef LT_DLLAZY_OR_NOW
12104 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12107 # define LT_DLLAZY_OR_NOW DL_LAZY
12110 # define LT_DLLAZY_OR_NOW RTLD_NOW
12113 # define LT_DLLAZY_OR_NOW DL_NOW
12115 # define LT_DLLAZY_OR_NOW 0
12122 /* When -fvisbility=hidden is used, assume the code has been annotated
12123 correspondingly for the symbols needed. */
12124 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12125 int fnord () __attribute__((visibility("default")));
12128 int fnord () { return 42; }
12131 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12132 int status = $lt_dlunknown;
12136 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12139 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12140 else puts (dlerror ());
12142 /* dlclose (self); */
12150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12151 (eval $ac_link) 2>&5
12153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12154 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12155 (.
/conftest
; exit; ) >&5 2>/dev
/null
12157 case x
$lt_status in
12158 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12159 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12160 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12163 # compilation failed
12164 lt_cv_dlopen_self
=no
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12172 $as_echo "$lt_cv_dlopen_self" >&6; }
12174 if test "x$lt_cv_dlopen_self" = xyes
; then
12175 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12177 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12178 if ${lt_cv_dlopen_self_static+:} false
; then :
12179 $as_echo_n "(cached) " >&6
12181 if test "$cross_compiling" = yes; then :
12182 lt_cv_dlopen_self_static
=cross
12184 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12185 lt_status
=$lt_dlunknown
12186 cat > conftest.
$ac_ext <<_LT_EOF
12187 #line $LINENO "configure"
12188 #include "confdefs.h"
12197 # define LT_DLGLOBAL RTLD_GLOBAL
12200 # define LT_DLGLOBAL DL_GLOBAL
12202 # define LT_DLGLOBAL 0
12206 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12207 find out it does not work in some platform. */
12208 #ifndef LT_DLLAZY_OR_NOW
12210 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12213 # define LT_DLLAZY_OR_NOW DL_LAZY
12216 # define LT_DLLAZY_OR_NOW RTLD_NOW
12219 # define LT_DLLAZY_OR_NOW DL_NOW
12221 # define LT_DLLAZY_OR_NOW 0
12228 /* When -fvisbility=hidden is used, assume the code has been annotated
12229 correspondingly for the symbols needed. */
12230 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12231 int fnord () __attribute__((visibility("default")));
12234 int fnord () { return 42; }
12237 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12238 int status = $lt_dlunknown;
12242 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12245 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12246 else puts (dlerror ());
12248 /* dlclose (self); */
12256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12257 (eval $ac_link) 2>&5
12259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12260 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12261 (.
/conftest
; exit; ) >&5 2>/dev
/null
12263 case x
$lt_status in
12264 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12265 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12266 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12269 # compilation failed
12270 lt_cv_dlopen_self_static
=no
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12278 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12281 CPPFLAGS
="$save_CPPFLAGS"
12282 LDFLAGS
="$save_LDFLAGS"
12287 case $lt_cv_dlopen_self in
12288 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12289 *) enable_dlopen_self
=unknown
;;
12292 case $lt_cv_dlopen_self_static in
12293 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12294 *) enable_dlopen_self_static
=unknown
;;
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12317 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12318 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12319 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12320 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12322 $as_echo "yes" >&6; }
12324 # FIXME - insert some real tests, host_os isn't really good enough
12327 if test -n "$STRIP" ; then
12328 striplib
="$STRIP -x"
12329 old_striplib
="$STRIP -S"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12331 $as_echo "yes" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12355 # Report which library types will actually be built
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12357 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12359 $as_echo "$can_build_shared" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12362 $as_echo_n "checking whether to build shared libraries... " >&6; }
12363 test "$can_build_shared" = "no" && enable_shared
=no
12365 # On AIX, shared libraries and static libraries use the same namespace, and
12366 # are all built from PIC.
12369 test "$enable_shared" = yes && enable_static
=no
12370 if test -n "$RANLIB"; then
12371 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12372 postinstall_cmds
='$RANLIB $lib'
12377 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12378 test "$enable_shared" = yes && enable_static
=no
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12383 $as_echo "$enable_shared" >&6; }
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12386 $as_echo_n "checking whether to build static libraries... " >&6; }
12387 # Make sure either enable_shared or enable_static is yes.
12388 test "$enable_shared" = yes || enable_static
=yes
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12390 $as_echo "$enable_static" >&6; }
12397 ac_cpp
='$CPP $CPPFLAGS'
12398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12404 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12405 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12406 (test "X$CXX" != "Xg++"))) ; then
12408 ac_cpp
='$CXXCPP $CPPFLAGS'
12409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12413 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12414 if test -z "$CXXCPP"; then
12415 if ${ac_cv_prog_CXXCPP+:} false
; then :
12416 $as_echo_n "(cached) " >&6
12418 # Double quotes because CXXCPP needs to be expanded
12419 for CXXCPP
in "$CXX -E" "/lib/cpp"
12421 ac_preproc_ok
=false
12422 for ac_cxx_preproc_warn_flag
in '' yes
12424 # Use a header file that comes with gcc, so configuring glibc
12425 # with a fresh cross-compiler works.
12426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12427 # <limits.h> exists even on freestanding compilers.
12428 # On the NeXT, cc -E runs the code through the compiler's parser,
12429 # not just through cpp. "Syntax error" is here to catch this case.
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 # include <limits.h>
12435 # include <assert.h>
12439 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12442 # Broken: fails on valid input.
12445 rm -f conftest.err conftest.i conftest.
$ac_ext
12447 # OK, works on sane cases. Now check whether nonexistent headers
12448 # can be detected and how.
12449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12451 #include <ac_nonexistent.h>
12453 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12454 # Broken: success on invalid input.
12457 # Passes both tests.
12461 rm -f conftest.err conftest.i conftest.
$ac_ext
12464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12465 rm -f conftest.i conftest.err conftest.
$ac_ext
12466 if $ac_preproc_ok; then :
12471 ac_cv_prog_CXXCPP
=$CXXCPP
12474 CXXCPP
=$ac_cv_prog_CXXCPP
12476 ac_cv_prog_CXXCPP
=$CXXCPP
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12479 $as_echo "$CXXCPP" >&6; }
12480 ac_preproc_ok
=false
12481 for ac_cxx_preproc_warn_flag
in '' yes
12483 # Use a header file that comes with gcc, so configuring glibc
12484 # with a fresh cross-compiler works.
12485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12486 # <limits.h> exists even on freestanding compilers.
12487 # On the NeXT, cc -E runs the code through the compiler's parser,
12488 # not just through cpp. "Syntax error" is here to catch this case.
12489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 # include <limits.h>
12494 # include <assert.h>
12498 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12501 # Broken: fails on valid input.
12504 rm -f conftest.err conftest.i conftest.
$ac_ext
12506 # OK, works on sane cases. Now check whether nonexistent headers
12507 # can be detected and how.
12508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12510 #include <ac_nonexistent.h>
12512 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12513 # Broken: success on invalid input.
12516 # Passes both tests.
12520 rm -f conftest.err conftest.i conftest.
$ac_ext
12523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12524 rm -f conftest.i conftest.err conftest.
$ac_ext
12525 if $ac_preproc_ok; then :
12528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12530 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12531 See \`config.log' for more details" "$LINENO" 5; }
12535 ac_cpp
='$CPP $CPPFLAGS'
12536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12541 _lt_caught_CXX_error
=yes
12545 ac_cpp
='$CXXCPP $CPPFLAGS'
12546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12550 archive_cmds_need_lc_CXX
=no
12551 allow_undefined_flag_CXX
=
12552 always_export_symbols_CXX
=no
12553 archive_expsym_cmds_CXX
=
12554 compiler_needs_object_CXX
=no
12555 export_dynamic_flag_spec_CXX
=
12556 hardcode_direct_CXX
=no
12557 hardcode_direct_absolute_CXX
=no
12558 hardcode_libdir_flag_spec_CXX
=
12559 hardcode_libdir_flag_spec_ld_CXX
=
12560 hardcode_libdir_separator_CXX
=
12561 hardcode_minus_L_CXX
=no
12562 hardcode_shlibpath_var_CXX
=unsupported
12563 hardcode_automatic_CXX
=no
12564 inherit_rpath_CXX
=no
12566 module_expsym_cmds_CXX
=
12567 link_all_deplibs_CXX
=unknown
12568 old_archive_cmds_CXX
=$old_archive_cmds
12569 reload_flag_CXX
=$reload_flag
12570 reload_cmds_CXX
=$reload_cmds
12571 no_undefined_flag_CXX
=
12572 whole_archive_flag_spec_CXX
=
12573 enable_shared_with_static_runtimes_CXX
=no
12575 # Source file extension for C++ test sources.
12578 # Object file extension for compiled C++ test sources.
12582 # No sense in running all these tests if we already determined that
12583 # the CXX compiler isn't working. Some variables (like enable_shared)
12584 # are currently assumed to apply to all compilers on this platform,
12585 # and will be corrupted by setting them based on a non-working compiler.
12586 if test "$_lt_caught_CXX_error" != yes; then
12587 # Code to be used in simple compile tests
12588 lt_simple_compile_test_code
="int some_variable = 0;"
12590 # Code to be used in simple link tests
12591 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12593 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12600 # If no C compiler was specified, use CC.
12603 # If no C compiler flags were specified, use CFLAGS.
12604 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12606 # Allow CC to be a program name with arguments.
12610 # save warnings/boilerplate of simple test code
12611 ac_outfile
=conftest.
$ac_objext
12612 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12613 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12614 _lt_compiler_boilerplate
=`cat conftest.err`
12617 ac_outfile
=conftest.
$ac_objext
12618 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12619 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12620 _lt_linker_boilerplate
=`cat conftest.err`
12624 # Allow CC to be a program name with arguments.
12626 lt_save_CFLAGS
=$CFLAGS
12630 lt_save_with_gnu_ld
=$with_gnu_ld
12631 lt_save_path_LD
=$lt_cv_path_LD
12632 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12633 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12635 $as_unset lt_cv_prog_gnu_ld
12637 if test -n "${lt_cv_path_LDCXX+set}"; then
12638 lt_cv_path_LD
=$lt_cv_path_LDCXX
12640 $as_unset lt_cv_path_LD
12642 test -z "${LDCXX+set}" || LD
=$LDCXX
12647 for cc_temp
in $compiler""; do
12649 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12650 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12655 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12658 if test -n "$compiler"; then
12659 # We don't want -fno-exception when compiling C++ code, so set the
12660 # no_builtin_flag separately
12661 if test "$GXX" = yes; then
12662 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12664 lt_prog_compiler_no_builtin_flag_CXX
=
12667 if test "$GXX" = yes; then
12668 # Set up default GNU C++ configuration
12672 # Check whether --with-gnu-ld was given.
12673 if test "${with_gnu_ld+set}" = set; then :
12674 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12680 if test "$GCC" = yes; then
12681 # Check if gcc -print-prog-name=ld gives a path.
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12683 $as_echo_n "checking for ld used by $CC... " >&6; }
12686 # gcc leaves a trailing carriage return which upsets mingw
12687 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12689 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12692 # Accept absolute paths.
12694 re_direlt
='/[^/][^/]*/\.\./'
12695 # Canonicalize the pathname of ld
12696 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12697 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12698 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12700 test -z "$LD" && LD
="$ac_prog"
12703 # If it fails, then pretend we aren't using GCC.
12707 # If it is relative, then search for the first ld in PATH.
12708 with_gnu_ld
=unknown
12711 elif test "$with_gnu_ld" = yes; then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12713 $as_echo_n "checking for GNU ld... " >&6; }
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12716 $as_echo_n "checking for non-GNU ld... " >&6; }
12718 if ${lt_cv_path_LD+:} false
; then :
12719 $as_echo_n "(cached) " >&6
12721 if test -z "$LD"; then
12722 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12723 for ac_dir
in $PATH; do
12725 test -z "$ac_dir" && ac_dir
=.
12726 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12727 lt_cv_path_LD
="$ac_dir/$ac_prog"
12728 # Check to see if the program is GNU ld. I'd rather use --version,
12729 # but apparently some variants of GNU ld only accept -v.
12730 # Break only if it was the GNU/non-GNU ld that we prefer.
12731 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12732 *GNU
* |
*'with BFD'*)
12733 test "$with_gnu_ld" != no
&& break
12736 test "$with_gnu_ld" != yes && break
12743 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12747 LD
="$lt_cv_path_LD"
12748 if test -n "$LD"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12750 $as_echo "$LD" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753 $as_echo "no" >&6; }
12755 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12757 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12758 if ${lt_cv_prog_gnu_ld+:} false
; then :
12759 $as_echo_n "(cached) " >&6
12761 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12762 case `$LD -v 2>&1 </dev/null` in
12763 *GNU
* |
*'with BFD'*)
12764 lt_cv_prog_gnu_ld
=yes
12767 lt_cv_prog_gnu_ld
=no
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12772 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12773 with_gnu_ld
=$lt_cv_prog_gnu_ld
12781 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12782 # archiving commands below assume that GNU ld is being used.
12783 if test "$with_gnu_ld" = yes; then
12784 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12785 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'
12787 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12788 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12790 # If archive_cmds runs LD, not CC, wlarc should be empty
12791 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12792 # investigate it a little bit more. (MM)
12795 # ancient GNU ld didn't support --whole-archive et. al.
12796 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12797 $GREP 'no-whole-archive' > /dev
/null
; then
12798 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12800 whole_archive_flag_spec_CXX
=
12806 # A generic and very simple default shared library creation
12807 # command for GNU C++ for the case where it uses the native
12808 # linker, instead of GNU ld. If possible, this setting should
12809 # overridden to take advantage of the native linker features on
12810 # the platform it is being used on.
12811 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12814 # Commands to make compiler produce verbose output that lists
12815 # what "hidden" libraries, object files and flags are used when
12816 # linking a shared library.
12817 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12825 # PORTME: fill in a description of your system's C++ link characteristics
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12827 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12831 # FIXME: insert proper C++ library support
12835 if test "$host_cpu" = ia64
; then
12836 # On IA64, the linker does run time linking by default, so we don't
12837 # have to do anything special.
12838 aix_use_runtimelinking
=no
12839 exp_sym_flag
='-Bexport'
12842 aix_use_runtimelinking
=no
12844 # Test if we are trying to use run time linking or normal
12845 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12846 # need to do runtime linking.
12847 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12848 for ld_flag
in $LDFLAGS; do
12851 aix_use_runtimelinking
=yes
12859 exp_sym_flag
='-bexport'
12860 no_entry_flag
='-bnoentry'
12863 # When large executables or shared objects are built, AIX ld can
12864 # have problems creating the table of contents. If linking a library
12865 # or program results in "error TOC overflow" add -mminimal-toc to
12866 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12867 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12869 archive_cmds_CXX
=''
12870 hardcode_direct_CXX
=yes
12871 hardcode_direct_absolute_CXX
=yes
12872 hardcode_libdir_separator_CXX
=':'
12873 link_all_deplibs_CXX
=yes
12874 file_list_spec_CXX
='${wl}-f,'
12876 if test "$GXX" = yes; then
12877 case $host_os in aix4.
[012]|aix4.
[012].
*)
12878 # We only want to do this on AIX 4.2 and lower, the check
12879 # below for broken collect2 doesn't work under 4.3+
12880 collect2name
=`${CC} -print-prog-name=collect2`
12881 if test -f "$collect2name" &&
12882 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12884 # We have reworked collect2
12887 # We have old collect2
12888 hardcode_direct_CXX
=unsupported
12889 # It fails to find uninstalled libraries when the uninstalled
12890 # path is not listed in the libpath. Setting hardcode_minus_L
12891 # to unsupported forces relinking
12892 hardcode_minus_L_CXX
=yes
12893 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12894 hardcode_libdir_separator_CXX
=
12897 shared_flag
='-shared'
12898 if test "$aix_use_runtimelinking" = yes; then
12899 shared_flag
="$shared_flag "'${wl}-G'
12903 if test "$host_cpu" = ia64
; then
12904 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12905 # chokes on -Wl,-G. The following line is correct:
12908 if test "$aix_use_runtimelinking" = yes; then
12909 shared_flag
='${wl}-G'
12911 shared_flag
='${wl}-bM:SRE'
12916 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12917 # It seems that -bexpall does not export symbols beginning with
12918 # underscore (_), so it is better to generate a list of symbols to
12920 always_export_symbols_CXX
=yes
12921 if test "$aix_use_runtimelinking" = yes; then
12922 # Warning - without using the other runtime loading flags (-brtl),
12923 # -berok will link without error, but may produce a broken library.
12924 allow_undefined_flag_CXX
='-berok'
12925 # Determine the default libpath from the value encoded in an empty
12927 if test "${lt_cv_aix_libpath+set}" = set; then
12928 aix_libpath
=$lt_cv_aix_libpath
12930 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12931 $as_echo_n "(cached) " >&6
12933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12944 if ac_fn_cxx_try_link
"$LINENO"; then :
12946 lt_aix_libpath_sed
='
12947 /Import File Strings/,/^$/ {
12949 s/^0 *\([^ ]*\) *$/\1/
12953 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12954 # Check for a 64-bit object if we didn't find anything.
12955 if test -z "$lt_cv_aix_libpath__CXX"; then
12956 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12959 rm -f core conftest.err conftest.
$ac_objext \
12960 conftest
$ac_exeext conftest.
$ac_ext
12961 if test -z "$lt_cv_aix_libpath__CXX"; then
12962 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12967 aix_libpath
=$lt_cv_aix_libpath__CXX
12970 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12972 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12974 if test "$host_cpu" = ia64
; then
12975 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12976 allow_undefined_flag_CXX
="-z nodefs"
12977 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"
12979 # Determine the default libpath from the value encoded in an
12980 # empty executable.
12981 if test "${lt_cv_aix_libpath+set}" = set; then
12982 aix_libpath
=$lt_cv_aix_libpath
12984 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12985 $as_echo_n "(cached) " >&6
12987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12998 if ac_fn_cxx_try_link
"$LINENO"; then :
13000 lt_aix_libpath_sed
='
13001 /Import File Strings/,/^$/ {
13003 s/^0 *\([^ ]*\) *$/\1/
13007 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13008 # Check for a 64-bit object if we didn't find anything.
13009 if test -z "$lt_cv_aix_libpath__CXX"; then
13010 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13013 rm -f core conftest.err conftest.
$ac_objext \
13014 conftest
$ac_exeext conftest.
$ac_ext
13015 if test -z "$lt_cv_aix_libpath__CXX"; then
13016 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13021 aix_libpath
=$lt_cv_aix_libpath__CXX
13024 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13025 # Warning - without using the other run time loading flags,
13026 # -berok will link without error, but may produce a broken library.
13027 no_undefined_flag_CXX
=' ${wl}-bernotok'
13028 allow_undefined_flag_CXX
=' ${wl}-berok'
13029 if test "$with_gnu_ld" = yes; then
13030 # We only use this code for GNU lds that support --whole-archive.
13031 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13033 # Exported symbols can be pulled into shared objects from archives
13034 whole_archive_flag_spec_CXX
='$convenience'
13036 archive_cmds_need_lc_CXX
=yes
13037 # This is similar to how AIX traditionally builds its shared
13039 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13045 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13046 allow_undefined_flag_CXX
=unsupported
13047 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13048 # support --undefined. This deserves some investigation. FIXME
13049 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13056 case $cc_basename in
13058 # FIXME: insert proper C++ library support
13064 cygwin
* | mingw
* | pw32
* | cegcc
*)
13065 case $GXX,$cc_basename in
13068 # hardcode_libdir_flag_spec is actually meaningless, as there is
13069 # no search path for DLLs.
13070 hardcode_libdir_flag_spec_CXX
=' '
13071 allow_undefined_flag_CXX
=unsupported
13072 always_export_symbols_CXX
=yes
13073 file_list_spec_CXX
='@'
13074 # Tell ltmain to make .lib files, not .a files.
13076 # Tell ltmain to make .dll files, not .so files.
13078 # FIXME: Setting linknames here is a bad hack.
13079 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13080 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13081 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13083 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13085 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13087 # The linker will not automatically build a static lib if we build a DLL.
13088 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13089 enable_shared_with_static_runtimes_CXX
=yes
13091 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13092 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13093 lt_tool_outputfile="@TOOL_OUTPUT@"~
13094 case $lt_outputfile in
13097 lt_outputfile="$lt_outputfile.exe"
13098 lt_tool_outputfile="$lt_tool_outputfile.exe"
13101 func_to_tool_file "$lt_outputfile"~
13102 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13103 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13104 $RM "$lt_outputfile.manifest";
13109 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13110 # as there is no search path for DLLs.
13111 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13112 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13113 allow_undefined_flag_CXX
=unsupported
13114 always_export_symbols_CXX
=no
13115 enable_shared_with_static_runtimes_CXX
=yes
13117 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13118 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'
13119 # If the export-symbols file already is a .def file (1st line
13120 # is EXPORTS), use it as is; otherwise, prepend...
13121 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13122 cp $export_symbols $output_objdir/$soname.def;
13124 echo EXPORTS > $output_objdir/$soname.def;
13125 cat $export_symbols >> $output_objdir/$soname.def;
13127 $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'
13134 darwin
* | rhapsody
*)
13137 archive_cmds_need_lc_CXX
=no
13138 hardcode_direct_CXX
=no
13139 hardcode_automatic_CXX
=yes
13140 hardcode_shlibpath_var_CXX
=unsupported
13141 if test "$lt_cv_ld_force_load" = "yes"; then
13142 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\"`'
13144 whole_archive_flag_spec_CXX
=''
13146 link_all_deplibs_CXX
=yes
13147 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13148 case $cc_basename in
13149 ifort
*) _lt_dar_can_shared
=yes ;;
13150 *) _lt_dar_can_shared
=$GCC ;;
13152 if test "$_lt_dar_can_shared" = "yes"; then
13153 output_verbose_link_cmd
=func_echo_all
13154 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}"
13155 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13156 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}"
13157 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}"
13158 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13159 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}"
13160 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}"
13170 case $cc_basename in
13172 # FIXME: insert proper C++ library support
13176 # Green Hills C++ Compiler
13177 # FIXME: insert proper C++ library support
13181 # FIXME: insert proper C++ library support
13188 # C++ shared libraries reported to be fairly broken before
13194 archive_cmds_need_lc_CXX
=no
13197 freebsd
* | dragonfly
*)
13198 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13207 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13208 link_all_deplibs_CXX
=yes
13212 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13213 hardcode_libdir_separator_CXX
=:
13214 export_dynamic_flag_spec_CXX
='${wl}-E'
13215 hardcode_direct_CXX
=yes
13216 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13217 # but as the default
13218 # location of the library.
13220 case $cc_basename in
13222 # FIXME: insert proper C++ library support
13226 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13227 # Commands to make compiler produce verbose output that lists
13228 # what "hidden" libraries, object files and flags are used when
13229 # linking a shared library.
13231 # There doesn't appear to be a way to prevent this compiler from
13232 # explicitly linking system object files so we need to strip them
13233 # from the output so that they don't get included in the library
13235 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"'
13238 if test "$GXX" = yes; then
13239 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13241 # FIXME: insert proper C++ library support
13249 if test $with_gnu_ld = no
; then
13250 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13251 hardcode_libdir_separator_CXX
=:
13257 export_dynamic_flag_spec_CXX
='${wl}-E'
13263 hardcode_direct_CXX
=no
13264 hardcode_shlibpath_var_CXX
=no
13267 hardcode_direct_CXX
=yes
13268 hardcode_direct_absolute_CXX
=yes
13269 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13270 # but as the default
13271 # location of the library.
13275 case $cc_basename in
13277 # FIXME: insert proper C++ library support
13283 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13286 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13289 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13292 # Commands to make compiler produce verbose output that lists
13293 # what "hidden" libraries, object files and flags are used when
13294 # linking a shared library.
13296 # There doesn't appear to be a way to prevent this compiler from
13297 # explicitly linking system object files so we need to strip them
13298 # from the output so that they don't get included in the library
13300 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"'
13303 if test "$GXX" = yes; then
13304 if test $with_gnu_ld = no
; then
13307 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13310 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13313 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'
13318 # FIXME: insert proper C++ library support
13326 hardcode_direct_CXX
=no
13327 hardcode_shlibpath_var_CXX
=no
13328 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13329 export_dynamic_flag_spec_CXX
='${wl}-E'
13330 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13331 # Instead, shared libraries are loaded at an image base (0x10000000 by
13332 # default) and relocated if they conflict, which is a slow very memory
13333 # consuming and fragmenting process. To avoid this, we pick a random,
13334 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13335 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13336 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'
13337 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'
13340 case $cc_basename in
13343 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'
13345 # Archives containing C++ object files must be created using
13346 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13347 # necessary to make sure instantiated templates are included
13349 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13352 if test "$GXX" = yes; then
13353 if test "$with_gnu_ld" = no
; then
13354 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'
13356 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'
13359 link_all_deplibs_CXX
=yes
13362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13363 hardcode_libdir_separator_CXX
=:
13364 inherit_rpath_CXX
=yes
13367 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13368 case $cc_basename in
13370 # Kuck and Associates, Inc. (KAI) C++ Compiler
13372 # KCC will only create a shared library if the output file
13373 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13374 # to its proper name (with version) after linking.
13375 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'
13376 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'
13377 # Commands to make compiler produce verbose output that lists
13378 # what "hidden" libraries, object files and flags are used when
13379 # linking a shared library.
13381 # There doesn't appear to be a way to prevent this compiler from
13382 # explicitly linking system object files so we need to strip them
13383 # from the output so that they don't get included in the library
13385 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"'
13387 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13388 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13390 # Archives containing C++ object files must be created using
13391 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13392 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13397 # version 8.0 and above of icpc choke on multiply defined symbols
13398 # if we add $predep_objects and $postdep_objects, however 7.1 and
13399 # earlier do not add the objects themselves.
13400 case `$CC -V 2>&1` in
13402 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13403 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'
13405 *) # Version 8.0 or newer
13408 ia64
*) tmp_idyn
=' -i_dynamic';;
13410 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13411 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'
13414 archive_cmds_need_lc_CXX
=no
13415 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13416 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13417 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13420 # Portland Group C++ compiler
13422 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13423 prelink_cmds_CXX
='tpldir=Template.dir~
13425 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13426 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13427 old_archive_cmds_CXX
='tpldir=Template.dir~
13429 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13430 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13432 archive_cmds_CXX
='tpldir=Template.dir~
13434 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13435 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13436 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13438 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13439 $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'
13441 *) # Version 6 and above use weak symbols
13442 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13443 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'
13447 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13448 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13449 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'
13453 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13454 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'
13456 runpath_var
=LD_RUN_PATH
13457 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13458 hardcode_libdir_separator_CXX
=:
13460 # Commands to make compiler produce verbose output that lists
13461 # what "hidden" libraries, object files and flags are used when
13462 # linking a shared library.
13464 # There doesn't appear to be a way to prevent this compiler from
13465 # explicitly linking system object files so we need to strip them
13466 # from the output so that they don't get included in the library
13468 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'
13470 xl
* | mpixl
* | bgxl
*)
13471 # IBM XL 8.0 on PPC, with GNU ld
13472 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13473 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13474 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13475 if test "x$supports_anon_versioning" = xyes
; then
13476 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13477 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13478 echo "local: *; };" >> $output_objdir/$libname.ver~
13479 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13483 case `$CC -V 2>&1 | sed 5q` in
13486 no_undefined_flag_CXX
=' -zdefs'
13487 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13488 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'
13489 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13490 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'
13491 compiler_needs_object_CXX
=yes
13493 # Not sure whether something based on
13494 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13496 output_verbose_link_cmd
='func_echo_all'
13498 # Archives containing C++ object files must be created using
13499 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13500 # necessary to make sure instantiated templates are included
13502 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13510 # FIXME: insert proper C++ library support
13515 # FIXME: insert proper C++ library support
13520 case $cc_basename in
13522 # FIXME: insert proper C++ library support
13526 # FIXME: insert proper C++ library support
13533 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13534 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13536 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13537 hardcode_direct_CXX
=yes
13538 hardcode_shlibpath_var_CXX
=no
13540 # Workaround some broken pre-1.5 toolchains
13541 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13549 # C++ shared libraries are fairly broken
13554 if test -f /usr
/libexec
/ld.so
; then
13555 hardcode_direct_CXX
=yes
13556 hardcode_shlibpath_var_CXX
=no
13557 hardcode_direct_absolute_CXX
=yes
13558 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13559 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13560 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13561 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13562 export_dynamic_flag_spec_CXX
='${wl}-E'
13563 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13565 output_verbose_link_cmd
=func_echo_all
13571 osf3
* | osf4
* | osf5
*)
13572 case $cc_basename in
13574 # Kuck and Associates, Inc. (KAI) C++ Compiler
13576 # KCC will only create a shared library if the output file
13577 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13578 # to its proper name (with version) after linking.
13579 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'
13581 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13582 hardcode_libdir_separator_CXX
=:
13584 # Archives containing C++ object files must be created using
13585 # the KAI C++ compiler.
13587 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13588 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13592 # Rational C++ 2.4.1
13593 # FIXME: insert proper C++ library support
13599 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13600 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'
13601 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13604 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13605 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'
13606 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13607 echo "-hidden">> $lib.exp~
13608 $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~
13610 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13614 hardcode_libdir_separator_CXX
=:
13616 # Commands to make compiler produce verbose output that lists
13617 # what "hidden" libraries, object files and flags are used when
13618 # linking a shared library.
13620 # There doesn't appear to be a way to prevent this compiler from
13621 # explicitly linking system object files so we need to strip them
13622 # from the output so that they don't get included in the library
13624 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"'
13627 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13628 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13631 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'
13634 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'
13638 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13639 hardcode_libdir_separator_CXX
=:
13641 # Commands to make compiler produce verbose output that lists
13642 # what "hidden" libraries, object files and flags are used when
13643 # linking a shared library.
13644 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13647 # FIXME: insert proper C++ library support
13655 # FIXME: insert proper C++ library support
13660 case $cc_basename in
13663 # FIXME: insert proper C++ library support
13668 # FIXME: insert proper C++ library support
13672 # FIXME: insert proper C++ library support
13679 case $cc_basename in
13681 # Sun C++ 4.2, 5.x and Centerline C++
13682 archive_cmds_need_lc_CXX
=yes
13683 no_undefined_flag_CXX
=' -zdefs'
13684 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13685 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13686 $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'
13688 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13689 hardcode_shlibpath_var_CXX
=no
13691 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13693 # The compiler driver will combine and reorder linker options,
13694 # but understands `-z linker_flag'.
13695 # Supported since Solaris 2.6 (maybe 2.5.1?)
13696 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13699 link_all_deplibs_CXX
=yes
13701 output_verbose_link_cmd
='func_echo_all'
13703 # Archives containing C++ object files must be created using
13704 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13705 # necessary to make sure instantiated templates are included
13707 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13710 # Green Hills C++ Compiler
13711 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13713 # The C++ compiler must be used to create the archive.
13714 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13717 # GNU C++ compiler with Solaris linker
13718 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13719 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13720 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13721 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13722 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13723 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13725 # Commands to make compiler produce verbose output that lists
13726 # what "hidden" libraries, object files and flags are used when
13727 # linking a shared library.
13728 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13730 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13732 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13733 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13734 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13736 # Commands to make compiler produce verbose output that lists
13737 # what "hidden" libraries, object files and flags are used when
13738 # linking a shared library.
13739 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13742 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13744 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13746 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13754 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13755 no_undefined_flag_CXX
='${wl}-z,text'
13756 archive_cmds_need_lc_CXX
=no
13757 hardcode_shlibpath_var_CXX
=no
13758 runpath_var
='LD_RUN_PATH'
13760 case $cc_basename in
13762 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13763 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13766 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13767 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13772 sysv5
* | sco3.2v5
* | sco5v6
*)
13773 # Note: We can NOT use -z defs as we might desire, because we do not
13774 # link with -lc, and that would cause any symbols used from libc to
13775 # always be unresolved, which means just about no library would
13776 # ever link correctly. If we're not using GNU ld we use -z text
13777 # though, which does catch some bad symbols but isn't as heavy-handed
13779 no_undefined_flag_CXX
='${wl}-z,text'
13780 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13781 archive_cmds_need_lc_CXX
=no
13782 hardcode_shlibpath_var_CXX
=no
13783 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13784 hardcode_libdir_separator_CXX
=':'
13785 link_all_deplibs_CXX
=yes
13786 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13787 runpath_var
='LD_RUN_PATH'
13789 case $cc_basename in
13791 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13792 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13793 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13794 '"$old_archive_cmds_CXX"
13795 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13796 '"$reload_cmds_CXX"
13799 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13800 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13806 case $cc_basename in
13808 # NonStop-UX NCC 3.20
13809 # FIXME: insert proper C++ library support
13813 # FIXME: insert proper C++ library support
13820 # FIXME: insert proper C++ library support
13825 # FIXME: insert proper C++ library support
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13831 $as_echo "$ld_shlibs_CXX" >&6; }
13832 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13838 ## There is no encapsulation within the following macros, do not change
13839 ## the running order or otherwise move them around unless you know exactly
13840 ## what you are doing...
13841 # Dependencies to place before and after the object being linked:
13842 predep_objects_CXX
=
13843 postdep_objects_CXX
=
13846 compiler_lib_search_path_CXX
=
13848 cat > conftest.
$ac_ext <<_LT_EOF
13852 Foo (void) { a = 0; }
13859 _lt_libdeps_save_CFLAGS
=$CFLAGS
13860 case "$CC $CFLAGS " in #(
13861 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13862 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13866 (eval $ac_compile) 2>&5
13868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13869 test $ac_status = 0; }; then
13870 # Parse the compiler output and extract the necessary
13871 # objects, libraries and library flags.
13873 # Sentinel used to keep track of whether or not we are before
13874 # the conftest object file.
13875 pre_test_object_deps_done
=no
13877 for p
in `eval "$output_verbose_link_cmd"`; do
13878 case ${prev}${p} in
13881 # Some compilers place space between "-{L,R}" and the path.
13882 # Remove the space.
13883 if test $p = "-L" ||
13884 test $p = "-R"; then
13889 # Expand the sysroot to ease extracting the directories later.
13890 if test -z "$prev"; then
13892 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13893 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13894 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13898 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13900 if test "$pre_test_object_deps_done" = no
; then
13903 # Internal compiler library paths should come after those
13904 # provided the user. The postdeps already come after the
13905 # user supplied libs so there is no need to process them.
13906 if test -z "$compiler_lib_search_path_CXX"; then
13907 compiler_lib_search_path_CXX
="${prev}${p}"
13909 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13912 # The "-l" case would never come before the object being
13913 # linked, so don't bother handling this case.
13916 if test -z "$postdeps_CXX"; then
13917 postdeps_CXX
="${prev}${p}"
13919 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13925 *.lto.
$objext) ;; # Ignore GCC LTO objects
13927 # This assumes that the test object file only shows up
13928 # once in the compiler output.
13929 if test "$p" = "conftest.$objext"; then
13930 pre_test_object_deps_done
=yes
13934 if test "$pre_test_object_deps_done" = no
; then
13935 if test -z "$predep_objects_CXX"; then
13936 predep_objects_CXX
="$p"
13938 predep_objects_CXX
="$predep_objects_CXX $p"
13941 if test -z "$postdep_objects_CXX"; then
13942 postdep_objects_CXX
="$p"
13944 postdep_objects_CXX
="$postdep_objects_CXX $p"
13949 *) ;; # Ignore the rest.
13957 echo "libtool.m4: error: problem compiling CXX test program"
13960 $RM -f confest.
$objext
13961 CFLAGS
=$_lt_libdeps_save_CFLAGS
13963 # PORTME: override above test on systems where it is broken
13966 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13967 # hack all around it, let's just trust "g++" to DTRT.
13968 predep_objects_CXX
=
13969 postdep_objects_CXX
=
13974 case `$CC -V 2>&1 | sed 5q` in
13978 # The more standards-conforming stlport4 library is
13979 # incompatible with the Cstd library. Avoid specifying
13980 # it if it's in CXXFLAGS. Ignore libCrun as
13981 # -library=stlport4 depends on it.
13982 case " $CXX $CXXFLAGS " in
13983 *" -library=stlport4 "*)
13984 solaris_use_stlport4
=yes
13988 if test "$solaris_use_stlport4" != yes; then
13989 postdeps_CXX
='-library=Cstd -library=Crun'
13996 case $cc_basename in
13998 # The more standards-conforming stlport4 library is
13999 # incompatible with the Cstd library. Avoid specifying
14000 # it if it's in CXXFLAGS. Ignore libCrun as
14001 # -library=stlport4 depends on it.
14002 case " $CXX $CXXFLAGS " in
14003 *" -library=stlport4 "*)
14004 solaris_use_stlport4
=yes
14008 # Adding this requires a known-good setup of shared libraries for
14009 # Sun compiler versions before 5.6, else PIC objects from an old
14010 # archive will be linked into the output, leading to subtle bugs.
14011 if test "$solaris_use_stlport4" != yes; then
14012 postdeps_CXX
='-library=Cstd -library=Crun'
14020 case " $postdeps_CXX " in
14021 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14023 compiler_lib_search_dirs_CXX
=
14024 if test -n "${compiler_lib_search_path_CXX}"; then
14025 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14058 lt_prog_compiler_wl_CXX
=
14059 lt_prog_compiler_pic_CXX
=
14060 lt_prog_compiler_static_CXX
=
14063 # C++ specific cases for pic, static, wl, etc.
14064 if test "$GXX" = yes; then
14065 lt_prog_compiler_wl_CXX
='-Wl,'
14066 lt_prog_compiler_static_CXX
='-static'
14070 # All AIX code is PIC.
14071 if test "$host_cpu" = ia64
; then
14072 # AIX 5 now supports IA64 processor
14073 lt_prog_compiler_static_CXX
='-Bstatic'
14080 # see comment about AmigaOS4 .so support
14081 lt_prog_compiler_pic_CXX
='-fPIC'
14084 # FIXME: we need at least 68020 code to build shared libraries, but
14085 # adding the `-m68020' flag to GCC prevents building anything better,
14087 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14092 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14093 # PIC is the default for these OSes.
14095 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14096 # This hack is so that the source file can tell whether it is being
14097 # built for inclusion in a dll (and should export symbols for example).
14098 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14099 # (--disable-auto-import) libraries
14100 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14102 darwin
* | rhapsody
*)
14103 # PIC is the default on this platform
14104 # Common symbols not allowed in MH_DYLIB files
14105 lt_prog_compiler_pic_CXX
='-fno-common'
14108 # DJGPP does not support shared libraries at all
14109 lt_prog_compiler_pic_CXX
=
14112 # PIC is the default for Haiku.
14113 # The "-static" flag exists, but is broken.
14114 lt_prog_compiler_static_CXX
=
14117 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14118 # Instead, we relocate shared libraries at runtime.
14121 if test -d /usr
/nec
; then
14122 lt_prog_compiler_pic_CXX
=-Kconform_pic
14126 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14127 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14128 # sets the default TLS model and affects inlining.
14133 lt_prog_compiler_pic_CXX
='-fPIC'
14138 # QNX uses GNU C++, but need to define -shared option too, otherwise
14139 # it will coredump.
14140 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14143 lt_prog_compiler_pic_CXX
='-fPIC'
14149 # All AIX code is PIC.
14150 if test "$host_cpu" = ia64
; then
14151 # AIX 5 now supports IA64 processor
14152 lt_prog_compiler_static_CXX
='-Bstatic'
14154 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14158 case $cc_basename in
14160 # Green Hills C++ Compiler
14161 # _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"
14165 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14166 # This hack is so that the source file can tell whether it is being
14167 # built for inclusion in a dll (and should export symbols for example).
14168 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14171 case $cc_basename in
14173 lt_prog_compiler_pic_CXX
='-KPIC'
14176 # Green Hills C++ Compiler
14177 lt_prog_compiler_pic_CXX
='-pic'
14183 freebsd
* | dragonfly
*)
14184 # FreeBSD uses GNU C++
14186 hpux9
* | hpux10
* | hpux11
*)
14187 case $cc_basename in
14189 lt_prog_compiler_wl_CXX
='-Wl,'
14190 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14191 if test "$host_cpu" != ia64
; then
14192 lt_prog_compiler_pic_CXX
='+Z'
14196 lt_prog_compiler_wl_CXX
='-Wl,'
14197 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14203 lt_prog_compiler_pic_CXX
='+Z'
14212 # This is c89, which is MS Visual C++ (no shared libs)
14213 # Anyone wants to do a port?
14215 irix5
* | irix6
* | nonstopux
*)
14216 case $cc_basename in
14218 lt_prog_compiler_wl_CXX
='-Wl,'
14219 lt_prog_compiler_static_CXX
='-non_shared'
14220 # CC pic flag -KPIC is the default.
14226 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14227 case $cc_basename in
14230 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14231 lt_prog_compiler_pic_CXX
='-fPIC'
14234 # old Intel C++ for x86_64 which still supported -KPIC.
14235 lt_prog_compiler_wl_CXX
='-Wl,'
14236 lt_prog_compiler_pic_CXX
='-KPIC'
14237 lt_prog_compiler_static_CXX
='-static'
14240 # Intel C++, used to be incompatible with GCC.
14241 # ICC 10 doesn't accept -KPIC any more.
14242 lt_prog_compiler_wl_CXX
='-Wl,'
14243 lt_prog_compiler_pic_CXX
='-fPIC'
14244 lt_prog_compiler_static_CXX
='-static'
14247 # Portland Group C++ compiler
14248 lt_prog_compiler_wl_CXX
='-Wl,'
14249 lt_prog_compiler_pic_CXX
='-fpic'
14250 lt_prog_compiler_static_CXX
='-Bstatic'
14254 # Make sure the PIC flag is empty. It appears that all Alpha
14255 # Linux and Compaq Tru64 Unix objects are PIC.
14256 lt_prog_compiler_pic_CXX
=
14257 lt_prog_compiler_static_CXX
='-non_shared'
14259 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14260 # IBM XL 8.0, 9.0 on PPC and BlueGene
14261 lt_prog_compiler_wl_CXX
='-Wl,'
14262 lt_prog_compiler_pic_CXX
='-qpic'
14263 lt_prog_compiler_static_CXX
='-qstaticlink'
14266 case `$CC -V 2>&1 | sed 5q` in
14269 lt_prog_compiler_pic_CXX
='-KPIC'
14270 lt_prog_compiler_static_CXX
='-Bstatic'
14271 lt_prog_compiler_wl_CXX
='-Qoption ld '
14282 case $cc_basename in
14284 lt_prog_compiler_pic_CXX
='-W c,exportall'
14290 netbsd
* | netbsdelf
*-gnu)
14293 # QNX uses GNU C++, but need to define -shared option too, otherwise
14294 # it will coredump.
14295 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14297 osf3
* | osf4
* | osf5
*)
14298 case $cc_basename in
14300 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14303 # Rational C++ 2.4.1
14304 lt_prog_compiler_pic_CXX
='-pic'
14307 # Digital/Compaq C++
14308 lt_prog_compiler_wl_CXX
='-Wl,'
14309 # Make sure the PIC flag is empty. It appears that all Alpha
14310 # Linux and Compaq Tru64 Unix objects are PIC.
14311 lt_prog_compiler_pic_CXX
=
14312 lt_prog_compiler_static_CXX
='-non_shared'
14321 case $cc_basename in
14323 # Sun C++ 4.2, 5.x and Centerline C++
14324 lt_prog_compiler_pic_CXX
='-KPIC'
14325 lt_prog_compiler_static_CXX
='-Bstatic'
14326 lt_prog_compiler_wl_CXX
='-Qoption ld '
14329 # Green Hills C++ Compiler
14330 lt_prog_compiler_pic_CXX
='-PIC'
14337 case $cc_basename in
14340 lt_prog_compiler_pic_CXX
='-pic'
14341 lt_prog_compiler_static_CXX
='-Bstatic'
14345 lt_prog_compiler_pic_CXX
='-pic'
14351 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14352 case $cc_basename in
14354 lt_prog_compiler_wl_CXX
='-Wl,'
14355 lt_prog_compiler_pic_CXX
='-KPIC'
14356 lt_prog_compiler_static_CXX
='-Bstatic'
14361 case $cc_basename in
14363 # NonStop-UX NCC 3.20
14364 lt_prog_compiler_pic_CXX
='-KPIC'
14373 lt_prog_compiler_can_build_shared_CXX
=no
14379 # For platforms which do not support PIC, -DPIC is meaningless:
14381 lt_prog_compiler_pic_CXX
=
14384 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14389 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14390 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14391 $as_echo_n "(cached) " >&6
14393 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14396 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14397 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14400 # Check to make sure the PIC flag actually works.
14402 if test -n "$lt_prog_compiler_pic_CXX"; then
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14404 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14405 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 lt_cv_prog_compiler_pic_works_CXX
=no
14409 ac_outfile
=conftest.
$ac_objext
14410 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14411 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14412 # Insert the option either (1) after the last *FLAGS variable, or
14413 # (2) before a word containing "conftest.", or (3) at the end.
14414 # Note that $ac_compile itself does not contain backslashes and begins
14415 # with a dollar sign (not a hyphen), so the echo should work correctly.
14416 # The option is referenced via a variable to avoid confusing sed.
14417 lt_compile
=`echo "$ac_compile" | $SED \
14418 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14419 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14420 -e 's:$: $lt_compiler_flag:'`
14421 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14422 (eval "$lt_compile" 2>conftest.err
)
14424 cat conftest.err
>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 if (exit $ac_status) && test -s "$ac_outfile"; then
14427 # The compiler can only warn and ignore the option if not recognized
14428 # So say no if there are warnings other than the usual output.
14429 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14430 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14431 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14432 lt_cv_prog_compiler_pic_works_CXX
=yes
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14439 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14441 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14442 case $lt_prog_compiler_pic_CXX in
14444 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14447 lt_prog_compiler_pic_CXX
=
14448 lt_prog_compiler_can_build_shared_CXX
=no
14458 # Check to make sure the static flag actually works.
14460 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14462 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14463 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14464 $as_echo_n "(cached) " >&6
14466 lt_cv_prog_compiler_static_works_CXX
=no
14467 save_LDFLAGS
="$LDFLAGS"
14468 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14469 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14470 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14471 # The linker can only warn and ignore the option if not recognized
14472 # So say no if there are warnings
14473 if test -s conftest.err
; then
14474 # Append any errors to the config.log.
14475 cat conftest.err
1>&5
14476 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14478 if diff conftest.exp conftest.er2
>/dev
/null
; then
14479 lt_cv_prog_compiler_static_works_CXX
=yes
14482 lt_cv_prog_compiler_static_works_CXX
=yes
14486 LDFLAGS
="$save_LDFLAGS"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14490 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14492 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14495 lt_prog_compiler_static_CXX
=
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14502 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14503 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14504 $as_echo_n "(cached) " >&6
14506 lt_cv_prog_compiler_c_o_CXX
=no
14507 $RM -r conftest
2>/dev
/null
14511 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14513 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14514 # Insert the option either (1) after the last *FLAGS variable, or
14515 # (2) before a word containing "conftest.", or (3) at the end.
14516 # Note that $ac_compile itself does not contain backslashes and begins
14517 # with a dollar sign (not a hyphen), so the echo should work correctly.
14518 lt_compile
=`echo "$ac_compile" | $SED \
14519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14521 -e 's:$: $lt_compiler_flag:'`
14522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14523 (eval "$lt_compile" 2>out
/conftest.err
)
14525 cat out
/conftest.err
>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14529 # The compiler can only warn and ignore the option if not recognized
14530 # So say no if there are warnings
14531 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14532 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14533 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14534 lt_cv_prog_compiler_c_o_CXX
=yes
14539 # SGI C++ compiler will create directory out/ii_files/ for
14540 # template instantiation
14541 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14542 $RM out
/* && rmdir out
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14549 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14555 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14556 $as_echo_n "(cached) " >&6
14558 lt_cv_prog_compiler_c_o_CXX
=no
14559 $RM -r conftest
2>/dev
/null
14563 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14565 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14566 # Insert the option either (1) after the last *FLAGS variable, or
14567 # (2) before a word containing "conftest.", or (3) at the end.
14568 # Note that $ac_compile itself does not contain backslashes and begins
14569 # with a dollar sign (not a hyphen), so the echo should work correctly.
14570 lt_compile
=`echo "$ac_compile" | $SED \
14571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14573 -e 's:$: $lt_compiler_flag:'`
14574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14575 (eval "$lt_compile" 2>out
/conftest.err
)
14577 cat out
/conftest.err
>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14581 # The compiler can only warn and ignore the option if not recognized
14582 # So say no if there are warnings
14583 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14584 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14585 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14586 lt_cv_prog_compiler_c_o_CXX
=yes
14591 # SGI C++ compiler will create directory out/ii_files/ for
14592 # template instantiation
14593 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14594 $RM out
/* && rmdir out
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14601 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14606 hard_links
="nottested"
14607 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14608 # do not overwrite the value of need_locks provided by the user
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14610 $as_echo_n "checking if we can lock with hard links... " >&6; }
14613 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14615 ln conftest.a conftest.b
2>&5 || hard_links
=no
14616 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14618 $as_echo "$hard_links" >&6; }
14619 if test "$hard_links" = no
; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14621 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14631 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14633 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14634 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14637 # If we're using GNU nm, then we don't want the "-C" option.
14638 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14639 # Also, AIX nm treats weak defined symbols like other global defined
14640 # symbols, whereas GNU nm marks them as "W".
14641 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14642 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14644 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14648 export_symbols_cmds_CXX
="$ltdll_cmds"
14650 cygwin
* | mingw
* | cegcc
*)
14651 case $cc_basename in
14654 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'
14655 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14659 linux
* | k
*bsd
*-gnu | gnu
*)
14660 link_all_deplibs_CXX
=no
14663 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14668 $as_echo "$ld_shlibs_CXX" >&6; }
14669 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14671 with_gnu_ld_CXX
=$with_gnu_ld
14679 # Do we need to explicitly link libc?
14681 case "x$archive_cmds_need_lc_CXX" in
14683 # Assume -lc should be added
14684 archive_cmds_need_lc_CXX
=yes
14686 if test "$enable_shared" = yes && test "$GCC" = yes; then
14687 case $archive_cmds_CXX in
14689 # FIXME: we may have to deal with multi-command sequences.
14692 # Test whether the compiler implicitly links with -lc since on some
14693 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14694 # to ld, don't add -lc before -lgcc.
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14696 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14697 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14704 (eval $ac_compile) 2>&5
14706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 test $ac_status = 0; } 2>conftest.err
; then
14710 libobjs
=conftest.
$ac_objext
14712 wl
=$lt_prog_compiler_wl_CXX
14713 pic_flag
=$lt_prog_compiler_pic_CXX
14719 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14720 allow_undefined_flag_CXX
=
14721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14722 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14725 test $ac_status = 0; }
14727 lt_cv_archive_cmds_need_lc_CXX
=no
14729 lt_cv_archive_cmds_need_lc_CXX
=yes
14731 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14733 cat conftest.err
1>&5
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14739 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14740 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14811 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14813 library_names_spec
=
14814 libname_spec
='lib$name'
14818 postuninstall_cmds
=
14822 shlibpath_overrides_runpath
=unknown
14824 dynamic_linker
="$host_os ld.so"
14825 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14826 need_lib_prefix
=unknown
14827 hardcode_into_libs
=no
14829 # when you set need_version to no, make sure it does not cause -set_version
14830 # flags to be left without arguments
14831 need_version
=unknown
14836 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14837 shlibpath_var
=LIBPATH
14839 # AIX 3 has no versioning support, so we append a major version to the name.
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14847 hardcode_into_libs
=yes
14848 if test "$host_cpu" = ia64
; then
14849 # AIX 5 supports IA64
14850 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14851 shlibpath_var
=LD_LIBRARY_PATH
14853 # With GCC up to 2.95.x, collect2 would create an import file
14854 # for dependence libraries. The import file would start with
14855 # the line `#! .'. This would cause the generated library to
14856 # depend on `.', always an invalid library. This was fixed in
14857 # development snapshots of GCC prior to 3.0.
14859 aix4 | aix4.
[01] | aix4.
[01].
*)
14860 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14862 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14865 can_build_shared
=no
14869 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14870 # soname into executable. Probably we can add versioning support to
14871 # collect2, so additional links can be useful in future.
14872 if test "$aix_use_runtimelinking" = yes; then
14873 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14874 # instead of lib<name>.a to let people know that these are not
14875 # typical AIX shared libraries.
14876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14878 # We preserve .a as extension for shared libraries through AIX4.2
14879 # and later when we are not doing run time linking.
14880 library_names_spec
='${libname}${release}.a $libname.a'
14881 soname_spec
='${libname}${release}${shared_ext}$major'
14883 shlibpath_var
=LIBPATH
14890 # Since July 2007 AmigaOS4 officially supports .so libraries.
14891 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14895 library_names_spec
='$libname.ixlibrary $libname.a'
14896 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14897 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14903 library_names_spec
='${libname}${shared_ext}'
14904 dynamic_linker
="$host_os ld.so"
14905 shlibpath_var
=LIBRARY_PATH
14911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14912 soname_spec
='${libname}${release}${shared_ext}$major'
14913 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14914 shlibpath_var
=LD_LIBRARY_PATH
14915 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14916 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14917 # the default ld.so.conf also contains /usr/contrib/lib and
14918 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14919 # libtool to hard-code these into programs
14922 cygwin
* | mingw
* | pw32
* | cegcc
*)
14923 version_type
=windows
14928 case $GCC,$cc_basename in
14931 library_names_spec
='$libname.dll.a'
14932 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14933 postinstall_cmds
='base_file=`basename \${file}`~
14934 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14935 dldir=$destdir/`dirname \$dlpath`~
14936 test -d \$dldir || mkdir -p \$dldir~
14937 $install_prog $dir/$dlname \$dldir/$dlname~
14938 chmod a+x \$dldir/$dlname~
14939 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14940 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14942 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14943 dlpath=$dir/\$dldll~
14945 shlibpath_overrides_runpath
=yes
14949 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14950 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14954 # MinGW DLLs use traditional 'lib' prefix
14955 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14958 # pw32 DLLs use 'pw' prefix rather than 'lib'
14959 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14962 dynamic_linker
='Win32 ld.exe'
14967 libname_spec
='$name'
14968 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14969 library_names_spec
='${libname}.dll.lib'
14973 sys_lib_search_path_spec
=
14976 for lt_path
in $LIB
14979 # Let DOS variable expansion print the short 8.3 style file name.
14980 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14981 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14984 # Convert to MSYS style.
14985 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14988 # Convert to unix form, then to dos form, then back to unix form
14989 # but this time dos style (no spaces!) so that the unix form looks
14990 # like /cygdrive/c/PROGRA~1:/cygdr...
14991 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14992 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14993 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14996 sys_lib_search_path_spec
="$LIB"
14997 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14998 # It is most probably a Windows format PATH.
14999 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15001 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15003 # FIXME: find the short name or the path components, as spaces are
15004 # common. (e.g. "Program Files" -> "PROGRA~1")
15008 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15009 postinstall_cmds
='base_file=`basename \${file}`~
15010 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15011 dldir=$destdir/`dirname \$dlpath`~
15012 test -d \$dldir || mkdir -p \$dldir~
15013 $install_prog $dir/$dlname \$dldir/$dlname'
15014 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15015 dlpath=$dir/\$dldll~
15017 shlibpath_overrides_runpath
=yes
15018 dynamic_linker
='Win32 link.exe'
15022 # Assume MSVC wrapper
15023 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15024 dynamic_linker
='Win32 ld.exe'
15027 # FIXME: first we should search . and the directory the executable is in
15031 darwin
* | rhapsody
*)
15032 dynamic_linker
="$host_os dyld"
15033 version_type
=darwin
15036 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15037 soname_spec
='${libname}${release}${major}$shared_ext'
15038 shlibpath_overrides_runpath
=yes
15039 shlibpath_var
=DYLD_LIBRARY_PATH
15040 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15042 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15050 soname_spec
='${libname}${release}${shared_ext}$major'
15051 shlibpath_var
=LD_LIBRARY_PATH
15058 freebsd
* | dragonfly
*)
15059 # DragonFly does not have aout. When/if they implement a new
15060 # versioning mechanism, adjust this.
15061 if test -x /usr
/bin
/objformat
; then
15062 objformat
=`/usr/bin/objformat`
15065 freebsd
[123]*) objformat
=aout
;;
15066 *) objformat
=elf
;;
15069 version_type
=freebsd-
$objformat
15070 case $version_type in
15072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15077 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15081 shlibpath_var
=LD_LIBRARY_PATH
15084 shlibpath_overrides_runpath
=yes
15086 freebsd3.
[01]* | freebsdelf3.
[01]*)
15087 shlibpath_overrides_runpath
=yes
15088 hardcode_into_libs
=yes
15090 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15091 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15092 shlibpath_overrides_runpath
=no
15093 hardcode_into_libs
=yes
15095 *) # from 4.6 on, and DragonFly
15096 shlibpath_overrides_runpath
=yes
15097 hardcode_into_libs
=yes
15106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15107 soname_spec
='${libname}${release}${shared_ext}$major'
15108 shlibpath_var
=LD_LIBRARY_PATH
15109 shlibpath_overrides_runpath
=no
15110 hardcode_into_libs
=yes
15117 dynamic_linker
="$host_os runtime_loader"
15118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15119 soname_spec
='${libname}${release}${shared_ext}$major'
15120 shlibpath_var
=LIBRARY_PATH
15121 shlibpath_overrides_runpath
=yes
15122 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15123 hardcode_into_libs
=yes
15126 hpux9
* | hpux10
* | hpux11
*)
15127 # Give a soname corresponding to the major version so that dld.sl refuses to
15128 # link against other versions.
15135 hardcode_into_libs
=yes
15136 dynamic_linker
="$host_os dld.so"
15137 shlibpath_var
=LD_LIBRARY_PATH
15138 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15140 soname_spec
='${libname}${release}${shared_ext}$major'
15141 if test "X$HPUX_IA64_MODE" = X32
; then
15142 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15144 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15146 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15150 hardcode_into_libs
=yes
15151 dynamic_linker
="$host_os dld.sl"
15152 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15153 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155 soname_spec
='${libname}${release}${shared_ext}$major'
15156 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15157 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15161 dynamic_linker
="$host_os dld.sl"
15162 shlibpath_var
=SHLIB_PATH
15163 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15165 soname_spec
='${libname}${release}${shared_ext}$major'
15168 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15169 postinstall_cmds
='chmod 555 $lib'
15170 # or fails outright, so override atomically:
15171 install_override_mode
=555
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15180 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15181 shlibpath_var
=LD_LIBRARY_PATH
15182 shlibpath_overrides_runpath
=no
15183 hardcode_into_libs
=yes
15186 irix5
* | irix6
* | nonstopux
*)
15188 nonstopux
*) version_type
=nonstopux
;;
15190 if test "$lt_cv_prog_gnu_ld" = yes; then
15198 soname_spec
='${libname}${release}${shared_ext}$major'
15199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15201 irix5
* | nonstopux
*)
15202 libsuff
= shlibsuff
=
15205 case $LD in # libtool.m4 will add one of these switches to LD
15206 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15207 libsuff
= shlibsuff
= libmagic
=32-bit;;
15208 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15209 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15210 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15211 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15212 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15216 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15217 shlibpath_overrides_runpath
=no
15218 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15219 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15220 hardcode_into_libs
=yes
15223 # No shared lib support for Linux oldld, aout, or coff.
15224 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15228 # This must be Linux ELF.
15229 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15234 soname_spec
='${libname}${release}${shared_ext}$major'
15235 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15236 shlibpath_var
=LD_LIBRARY_PATH
15237 shlibpath_overrides_runpath
=no
15239 # Some binutils ld are patched to set DT_RUNPATH
15240 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15241 $as_echo_n "(cached) " >&6
15243 lt_cv_shlibpath_overrides_runpath
=no
15244 save_LDFLAGS
=$LDFLAGS
15245 save_libdir
=$libdir
15246 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15247 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15259 if ac_fn_cxx_try_link
"$LINENO"; then :
15260 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15261 lt_cv_shlibpath_overrides_runpath
=yes
15264 rm -f core conftest.err conftest.
$ac_objext \
15265 conftest
$ac_exeext conftest.
$ac_ext
15266 LDFLAGS
=$save_LDFLAGS
15267 libdir
=$save_libdir
15271 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15273 # This implies no fast_install, which is unacceptable.
15274 # Some rework will be needed to allow for fast_install
15275 # before this can be enabled.
15276 hardcode_into_libs
=yes
15278 # Append ld.so.conf contents to the search path
15279 if test -f /etc
/ld.so.conf
; then
15280 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' ' '`
15281 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15284 # We used to test for /lib/ld.so.1 and disable shared libraries on
15285 # powerpc, because MkLinux only supported shared libraries with the
15286 # GNU dynamic linker. Since this was broken with cross compilers,
15287 # most powerpc-linux boxes support dynamic linking these days and
15288 # people can always --disable-shared, the test was removed, and we
15289 # assume the GNU/Linux dynamic linker is in use.
15290 dynamic_linker
='GNU/Linux ld.so'
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15298 soname_spec
='${libname}${release}${shared_ext}$major'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 shlibpath_overrides_runpath
=no
15301 hardcode_into_libs
=yes
15302 dynamic_linker
='NetBSD ld.elf_so'
15309 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15311 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15312 dynamic_linker
='NetBSD (a.out) ld.so'
15314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15315 soname_spec
='${libname}${release}${shared_ext}$major'
15316 dynamic_linker
='NetBSD ld.elf_so'
15318 shlibpath_var
=LD_LIBRARY_PATH
15319 shlibpath_overrides_runpath
=yes
15320 hardcode_into_libs
=yes
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 shlibpath_var
=LD_LIBRARY_PATH
15327 shlibpath_overrides_runpath
=yes
15334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15335 soname_spec
='${libname}${release}${shared_ext}$major'
15336 shlibpath_var
=LD_LIBRARY_PATH
15337 shlibpath_overrides_runpath
=no
15338 hardcode_into_libs
=yes
15339 dynamic_linker
='ldqnx.so'
15344 sys_lib_dlsearch_path_spec
="/usr/lib"
15346 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15348 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15349 *) need_version
=no
;;
15351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15353 shlibpath_var
=LD_LIBRARY_PATH
15354 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15356 openbsd2.
[89] | openbsd2.
[89].
*)
15357 shlibpath_overrides_runpath
=no
15360 shlibpath_overrides_runpath
=yes
15364 shlibpath_overrides_runpath
=yes
15369 libname_spec
='$name'
15372 library_names_spec
='$libname${shared_ext} $libname.a'
15373 dynamic_linker
='OS/2 ld.exe'
15374 shlibpath_var
=LIBPATH
15377 osf3
* | osf4
* | osf5
*)
15381 soname_spec
='${libname}${release}${shared_ext}$major'
15382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15383 shlibpath_var
=LD_LIBRARY_PATH
15384 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15385 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15397 soname_spec
='${libname}${release}${shared_ext}$major'
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 shlibpath_overrides_runpath
=yes
15400 hardcode_into_libs
=yes
15401 # ldd complains unless libraries are executable
15402 postinstall_cmds
='chmod +x $lib'
15407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15408 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15409 shlibpath_var
=LD_LIBRARY_PATH
15410 shlibpath_overrides_runpath
=yes
15411 if test "$with_gnu_ld" = yes; then
15419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 soname_spec
='${libname}${release}${shared_ext}$major'
15421 shlibpath_var
=LD_LIBRARY_PATH
15422 case $host_vendor in
15424 shlibpath_overrides_runpath
=no
15426 runpath_var
=LD_RUN_PATH
15434 shlibpath_overrides_runpath
=no
15435 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15441 if test -d /usr
/nec
;then
15443 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15444 soname_spec
='$libname${shared_ext}.$major'
15445 shlibpath_var
=LD_LIBRARY_PATH
15449 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15450 version_type
=freebsd-elf
15453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15454 soname_spec
='${libname}${release}${shared_ext}$major'
15455 shlibpath_var
=LD_LIBRARY_PATH
15456 shlibpath_overrides_runpath
=yes
15457 hardcode_into_libs
=yes
15458 if test "$with_gnu_ld" = yes; then
15459 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15461 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15464 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15468 sys_lib_dlsearch_path_spec
='/usr/lib'
15472 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15477 shlibpath_var
=LD_LIBRARY_PATH
15478 shlibpath_overrides_runpath
=no
15479 hardcode_into_libs
=yes
15484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15485 soname_spec
='${libname}${release}${shared_ext}$major'
15486 shlibpath_var
=LD_LIBRARY_PATH
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15494 $as_echo "$dynamic_linker" >&6; }
15495 test "$dynamic_linker" = no
&& can_build_shared
=no
15497 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15498 if test "$GCC" = yes; then
15499 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15502 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15503 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15505 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15506 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15547 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15548 hardcode_action_CXX
=
15549 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15550 test -n "$runpath_var_CXX" ||
15551 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15553 # We can hardcode non-existent directories.
15554 if test "$hardcode_direct_CXX" != no
&&
15555 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15556 # have to relink, otherwise we might link with an installed library
15557 # when we should be linking with a yet-to-be-installed one
15558 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15559 test "$hardcode_minus_L_CXX" != no
; then
15560 # Linking always hardcodes the temporary library directory.
15561 hardcode_action_CXX
=relink
15563 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15564 hardcode_action_CXX
=immediate
15567 # We cannot hardcode anything, or else we can only hardcode existing
15569 hardcode_action_CXX
=unsupported
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15572 $as_echo "$hardcode_action_CXX" >&6; }
15574 if test "$hardcode_action_CXX" = relink ||
15575 test "$inherit_rpath_CXX" = yes; then
15576 # Fast installation is not supported
15577 enable_fast_install
=no
15578 elif test "$shlibpath_overrides_runpath" = yes ||
15579 test "$enable_shared" = no
; then
15580 # Fast installation is not necessary
15581 enable_fast_install
=needless
15590 fi # test -n "$compiler"
15593 CFLAGS
=$lt_save_CFLAGS
15597 with_gnu_ld
=$lt_save_with_gnu_ld
15598 lt_cv_path_LDCXX
=$lt_cv_path_LD
15599 lt_cv_path_LD
=$lt_save_path_LD
15600 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15601 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15602 fi # test "$_lt_caught_CXX_error" != yes
15605 ac_cpp
='$CPP $CPPFLAGS'
15606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15622 ac_config_commands
="$ac_config_commands libtool"
15627 # Only expand once:
15630 if test -n "$ac_tool_prefix"; then
15631 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15632 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15634 $as_echo_n "checking for $ac_word... " >&6; }
15635 if ${ac_cv_prog_RC+:} false
; then :
15636 $as_echo_n "(cached) " >&6
15638 if test -n "$RC"; then
15639 ac_cv_prog_RC
="$RC" # Let the user override the test.
15641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15642 for as_dir
in $PATH
15645 test -z "$as_dir" && as_dir
=.
15646 for ac_exec_ext
in '' $ac_executable_extensions; do
15647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15648 ac_cv_prog_RC
="${ac_tool_prefix}windres"
15649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15659 if test -n "$RC"; then
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
15661 $as_echo "$RC" >&6; }
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15664 $as_echo "no" >&6; }
15669 if test -z "$ac_cv_prog_RC"; then
15671 # Extract the first word of "windres", so it can be a program name with args.
15672 set dummy windres
; ac_word
=$2
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15674 $as_echo_n "checking for $ac_word... " >&6; }
15675 if ${ac_cv_prog_ac_ct_RC+:} false
; then :
15676 $as_echo_n "(cached) " >&6
15678 if test -n "$ac_ct_RC"; then
15679 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
15681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15682 for as_dir
in $PATH
15685 test -z "$as_dir" && as_dir
=.
15686 for ac_exec_ext
in '' $ac_executable_extensions; do
15687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15688 ac_cv_prog_ac_ct_RC
="windres"
15689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15698 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
15699 if test -n "$ac_ct_RC"; then
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
15701 $as_echo "$ac_ct_RC" >&6; }
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 $as_echo "no" >&6; }
15707 if test "x$ac_ct_RC" = x
; then
15710 case $cross_compiling:$ac_tool_warned in
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15714 ac_tool_warned
=yes ;;
15719 RC
="$ac_cv_prog_RC"
15724 # Source file extension for RC test sources.
15727 # Object file extension for compiled RC test sources.
15731 # Code to be used in simple compile tests
15732 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
15734 # Code to be used in simple link tests
15735 lt_simple_link_test_code
="$lt_simple_compile_test_code"
15737 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15744 # If no C compiler was specified, use CC.
15747 # If no C compiler flags were specified, use CFLAGS.
15748 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15750 # Allow CC to be a program name with arguments.
15754 # save warnings/boilerplate of simple test code
15755 ac_outfile
=conftest.
$ac_objext
15756 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15757 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15758 _lt_compiler_boilerplate
=`cat conftest.err`
15761 ac_outfile
=conftest.
$ac_objext
15762 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15763 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15764 _lt_linker_boilerplate
=`cat conftest.err`
15768 # Allow CC to be a program name with arguments.
15770 lt_save_CFLAGS
=$CFLAGS
15777 for cc_temp
in $compiler""; do
15779 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15780 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15785 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15787 lt_cv_prog_compiler_c_o_RC
=yes
15789 if test -n "$compiler"; then
15798 ac_cpp
='$CPP $CPPFLAGS'
15799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15804 CFLAGS
=$lt_save_CFLAGS
15807 # Extract the first word of "autogen", so it can be a program name with args.
15808 set dummy autogen
; ac_word
=$2
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15810 $as_echo_n "checking for $ac_word... " >&6; }
15811 if ${ac_cv_prog_HAVE_AUTOGEN+:} false
; then :
15812 $as_echo_n "(cached) " >&6
15814 if test -n "$HAVE_AUTOGEN"; then
15815 ac_cv_prog_HAVE_AUTOGEN
="$HAVE_AUTOGEN" # Let the user override the test.
15817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15818 for as_dir
in $PATH
15821 test -z "$as_dir" && as_dir
=.
15822 for ac_exec_ext
in '' $ac_executable_extensions; do
15823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15824 ac_cv_prog_HAVE_AUTOGEN
="yes"
15825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15832 test -z "$ac_cv_prog_HAVE_AUTOGEN" && ac_cv_prog_HAVE_AUTOGEN
="no"
15835 HAVE_AUTOGEN
=$ac_cv_prog_HAVE_AUTOGEN
15836 if test -n "$HAVE_AUTOGEN"; then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_AUTOGEN" >&5
15838 $as_echo "$HAVE_AUTOGEN" >&6; }
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15841 $as_echo "no" >&6; }
15845 # Extract the first word of "wine", so it can be a program name with args.
15846 set dummy wine
; ac_word
=$2
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15848 $as_echo_n "checking for $ac_word... " >&6; }
15849 if ${ac_cv_prog_HAVE_WINE+:} false
; then :
15850 $as_echo_n "(cached) " >&6
15852 if test -n "$HAVE_WINE"; then
15853 ac_cv_prog_HAVE_WINE
="$HAVE_WINE" # Let the user override the test.
15855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15856 for as_dir
in $PATH
15859 test -z "$as_dir" && as_dir
=.
15860 for ac_exec_ext
in '' $ac_executable_extensions; do
15861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15862 ac_cv_prog_HAVE_WINE
="yes"
15863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15870 test -z "$ac_cv_prog_HAVE_WINE" && ac_cv_prog_HAVE_WINE
="no"
15873 HAVE_WINE
=$ac_cv_prog_HAVE_WINE
15874 if test -n "$HAVE_WINE"; then
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_WINE" >&5
15876 $as_echo "$HAVE_WINE" >&6; }
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15879 $as_echo "no" >&6; }
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15886 $as_echo_n "checking whether ln -s works... " >&6; }
15888 if test "$LN_S" = "ln -s"; then
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15890 $as_echo "yes" >&6; }
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15893 $as_echo "no, using $LN_S" >&6; }
15897 #------------------------------------------------------------------------------------
15898 # Rules for library version information:
15900 # 1. Start with version information of `0:0:0' for each libtool library.
15901 # 2. Update the version information only immediately before a public release of
15902 # your software. More frequent updates are unnecessary, and only guarantee
15903 # that the current interface number gets larger faster.
15904 # 3. If the library source code has changed at all since the last update, then
15905 # increment revision (`c:r:a' becomes `c:r+1:a').
15906 # 4. If any interfaces have been added, removed, or changed since the last update,
15907 # increment current, and set revision to 0.
15908 # 5. If any interfaces have been added since the last public release, then increment
15910 # 6. If any interfaces have been removed since the last public release, then set age
15913 CLEAN_VERSION
=`echo $PACKAGE_VERSION | $SED "s/p.*//"`
15914 VERSION_MINOR
=`echo $CLEAN_VERSION | $SED "s/.*\.//"`
15916 SHARED_VERSION_INFO
="1:$VERSION_MINOR:0"
15918 #------------------------------------------------------------------------------------
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15921 $as_echo_n "checking for ANSI C header files... " >&6; }
15922 if ${ac_cv_header_stdc+:} false
; then :
15923 $as_echo_n "(cached) " >&6
15925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #include <stdlib.h>
15928 #include <stdarg.h>
15929 #include <string.h>
15940 if ac_fn_c_try_compile
"$LINENO"; then :
15941 ac_cv_header_stdc
=yes
15943 ac_cv_header_stdc
=no
15945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15947 if test $ac_cv_header_stdc = yes; then
15948 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15951 #include <string.h>
15954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15955 $EGREP "memchr" >/dev
/null
2>&1; then :
15958 ac_cv_header_stdc
=no
15964 if test $ac_cv_header_stdc = yes; then
15965 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15968 #include <stdlib.h>
15971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15972 $EGREP "free" >/dev
/null
2>&1; then :
15975 ac_cv_header_stdc
=no
15981 if test $ac_cv_header_stdc = yes; then
15982 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15983 if test "$cross_compiling" = yes; then :
15986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15989 #include <stdlib.h>
15990 #if ((' ' & 0x0FF) == 0x020)
15991 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15992 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15994 # define ISLOWER(c) \
15995 (('a' <= (c) && (c) <= 'i') \
15996 || ('j' <= (c) && (c) <= 'r') \
15997 || ('s' <= (c) && (c) <= 'z'))
15998 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16001 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16006 for (i = 0; i < 256; i++)
16007 if (XOR (islower (i), ISLOWER (i))
16008 || toupper (i) != TOUPPER (i))
16013 if ac_fn_c_try_run
"$LINENO"; then :
16016 ac_cv_header_stdc
=no
16018 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16019 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16025 $as_echo "$ac_cv_header_stdc" >&6; }
16026 if test $ac_cv_header_stdc = yes; then
16028 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16033 for ac_header
in endian.h
16035 ac_fn_c_check_header_mongrel
"$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
16036 if test "x$ac_cv_header_endian_h" = xyes
; then :
16037 cat >>confdefs.h
<<_ACEOF
16038 #define HAVE_ENDIAN_H 1
16045 for ac_header
in byteswap.h
16047 ac_fn_c_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
16048 if test "x$ac_cv_header_byteswap_h" = xyes
; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define HAVE_BYTESWAP_H 1
16057 for ac_header
in locale.h
16059 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
16060 if test "x$ac_cv_header_locale_h" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_LOCALE_H 1
16069 for ac_header
in sys
/time.h
16071 ac_fn_c_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
16072 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
16073 cat >>confdefs.h
<<_ACEOF
16074 #define HAVE_SYS_TIME_H 1
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
16083 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
16084 if ${ac_cv_header_sys_wait_h+:} false
; then :
16085 $as_echo_n "(cached) " >&6
16087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16089 #include <sys/types.h>
16090 #include <sys/wait.h>
16091 #ifndef WEXITSTATUS
16092 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
16095 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
16103 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
16108 if ac_fn_c_try_compile
"$LINENO"; then :
16109 ac_cv_header_sys_wait_h
=yes
16111 ac_cv_header_sys_wait_h
=no
16113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
16116 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
16117 if test $ac_cv_header_sys_wait_h = yes; then
16119 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
16124 ac_fn_c_check_decl
"$LINENO" "S_IRGRP" "ac_cv_have_decl_S_IRGRP" "$ac_includes_default"
16125 if test "x$ac_cv_have_decl_S_IRGRP" = xyes
; then :
16131 cat >>confdefs.h
<<_ACEOF
16132 #define HAVE_DECL_S_IRGRP $ac_have_decl
16135 if test x
$ac_cv_have_decl_S_IRGRP = xyes
; then
16137 cat >>confdefs.h
<<_ACEOF
16138 #define HAVE_DECL_S_IRGRP 1
16142 cat >>confdefs.h
<<_ACEOF
16143 #define HAVE_DECL_S_IRGRP 0
16148 if test "$build_os:$target_os:$host_os:$HAVE_WINE" = "linux-gnu:mingw32msvc:mingw32msvc:yes"; then
16149 LINUX_MINGW_CROSS_TEST_TRUE
=
16150 LINUX_MINGW_CROSS_TEST_FALSE
='#'
16152 LINUX_MINGW_CROSS_TEST_TRUE
='#'
16153 LINUX_MINGW_CROSS_TEST_FALSE
=
16157 #====================================================================================
16158 # Check for support of the struct hack.
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking C99 struct flexible array support" >&5
16161 $as_echo_n "checking C99 struct flexible array support... " >&6; }
16162 if ${ac_cv_c99_flexible_array+:} false
; then :
16163 $as_echo_n "(cached) " >&6
16165 # Initialize to unknown
16166 ac_cv_c99_flexible_array
=no
16168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16171 #include <stdlib.h>
16180 MY_STRUCT *p = calloc (1, sizeof (MY_STRUCT) + 42);
16185 if ac_fn_c_try_link
"$LINENO"; then :
16186 ac_cv_c99_flexible_array
=yes
16188 ac_cv_c99_flexible_array
=no
16191 rm -f core conftest.err conftest.
$ac_objext \
16192 conftest
$ac_exeext conftest.
$ac_ext
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_flexible_array" >&5
16195 $as_echo "$ac_cv_c99_flexible_array" >&6; }
16198 if test x
$ac_cv_c99_flexible_array = xyes
; then
16200 $as_echo "#define HAVE_FLEXIBLE_ARRAY 1" >>confdefs.h
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** This compiler does not support the 1999 ISO C Standard ***" >&5
16204 $as_echo "$as_me: WARNING: *** This compiler does not support the 1999 ISO C Standard ***" >&2;}
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** feature known as the flexible array struct member. ***" >&5
16206 $as_echo "$as_me: WARNING: *** feature known as the flexible array struct member. ***" >&2;}
16207 $as_echo "#define HAVE_FLEXIBLE_ARRAY 0" >>confdefs.h
16211 #====================================================================================
16212 # Couple of initializations here. Fill in real values later.
16214 SHLIB_VERSION_ARG
=""
16216 #====================================================================================
16217 # Finished checking, handle options.
16219 # Check whether --enable-experimental was given.
16220 if test "${enable_experimental+set}" = set; then :
16221 enableval
=$enable_experimental;
16225 EXPERIMENTAL_CODE
=0
16226 if test x
$enable_experimental = xyes
; then
16227 EXPERIMENTAL_CODE
=1
16230 cat >>confdefs.h
<<_ACEOF
16231 #define ENABLE_EXPERIMENTAL_CODE ${EXPERIMENTAL_CODE}
16235 # Check whether --enable-gcc-werror was given.
16236 if test "${enable_gcc_werror+set}" = set; then :
16237 enableval
=$enable_gcc_werror;
16241 # Check whether --enable-gcc-pipe was given.
16242 if test "${enable_gcc_pipe+set}" = set; then :
16243 enableval
=$enable_gcc_pipe;
16247 # Check whether --enable-gcc-opt was given.
16248 if test "${enable_gcc_opt+set}" = set; then :
16249 enableval
=$enable_gcc_opt;
16253 # Check whether --enable-cpu-clip was given.
16254 if test "${enable_cpu_clip+set}" = set; then :
16255 enableval
=$enable_cpu_clip;
16259 # Check whether --enable-bow-docs was given.
16260 if test "${enable_bow_docs+set}" = set; then :
16261 enableval
=$enable_bow_docs;
16265 # Check whether --enable-sqlite was given.
16266 if test "${enable_sqlite+set}" = set; then :
16267 enableval
=$enable_sqlite;
16271 # Check whether --enable-alsa was given.
16272 if test "${enable_alsa+set}" = set; then :
16273 enableval
=$enable_alsa;
16277 # Check whether --enable-external-libs was given.
16278 if test "${enable_external_libs+set}" = set; then :
16279 enableval
=$enable_external_libs;
16283 # Check whether --enable-octave was given.
16284 if test "${enable_octave+set}" = set; then :
16285 enableval
=$enable_octave;
16289 # Check whether --enable-test-coverage was given.
16290 if test "${enable_test_coverage+set}" = set; then :
16291 enableval
=$enable_test_coverage;
16294 if test "$enable_test_coverage" = yes; then
16295 ENABLE_TEST_COVERAGE_TRUE
=
16296 ENABLE_TEST_COVERAGE_FALSE
='#'
16298 ENABLE_TEST_COVERAGE_TRUE
='#'
16299 ENABLE_TEST_COVERAGE_FALSE
=
16303 #====================================================================================
16304 # Check types and their sizes.
16306 # The cast to long int works around a bug in the HP C Compiler
16307 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16308 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16309 # This bug is HP SR number 8606223364.
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
16311 $as_echo_n "checking size of wchar_t... " >&6; }
16312 if ${ac_cv_sizeof_wchar_t+:} false
; then :
16313 $as_echo_n "(cached) " >&6
16315 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
16318 if test "$ac_cv_type_wchar_t" = yes; then
16319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16321 as_fn_error
77 "cannot compute sizeof (wchar_t)
16322 See \`config.log' for more details" "$LINENO" 5; }
16324 ac_cv_sizeof_wchar_t
=0
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
16330 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
16334 cat >>confdefs.h
<<_ACEOF
16335 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
16339 # The cast to long int works around a bug in the HP C Compiler
16340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16342 # This bug is HP SR number 8606223364.
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16344 $as_echo_n "checking size of short... " >&6; }
16345 if ${ac_cv_sizeof_short+:} false
; then :
16346 $as_echo_n "(cached) " >&6
16348 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16351 if test "$ac_cv_type_short" = yes; then
16352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16354 as_fn_error
77 "cannot compute sizeof (short)
16355 See \`config.log' for more details" "$LINENO" 5; }
16357 ac_cv_sizeof_short
=0
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16363 $as_echo "$ac_cv_sizeof_short" >&6; }
16367 cat >>confdefs.h
<<_ACEOF
16368 #define SIZEOF_SHORT $ac_cv_sizeof_short
16372 # The cast to long int works around a bug in the HP C Compiler
16373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16375 # This bug is HP SR number 8606223364.
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16377 $as_echo_n "checking size of int... " >&6; }
16378 if ${ac_cv_sizeof_int+:} false
; then :
16379 $as_echo_n "(cached) " >&6
16381 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16384 if test "$ac_cv_type_int" = yes; then
16385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16387 as_fn_error
77 "cannot compute sizeof (int)
16388 See \`config.log' for more details" "$LINENO" 5; }
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16396 $as_echo "$ac_cv_sizeof_int" >&6; }
16400 cat >>confdefs.h
<<_ACEOF
16401 #define SIZEOF_INT $ac_cv_sizeof_int
16405 # The cast to long int works around a bug in the HP C Compiler
16406 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16407 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16408 # This bug is HP SR number 8606223364.
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16410 $as_echo_n "checking size of long... " >&6; }
16411 if ${ac_cv_sizeof_long+:} false
; then :
16412 $as_echo_n "(cached) " >&6
16414 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16417 if test "$ac_cv_type_long" = yes; then
16418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16420 as_fn_error
77 "cannot compute sizeof (long)
16421 See \`config.log' for more details" "$LINENO" 5; }
16423 ac_cv_sizeof_long
=0
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16429 $as_echo "$ac_cv_sizeof_long" >&6; }
16433 cat >>confdefs.h
<<_ACEOF
16434 #define SIZEOF_LONG $ac_cv_sizeof_long
16438 # The cast to long int works around a bug in the HP C Compiler
16439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16441 # This bug is HP SR number 8606223364.
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
16443 $as_echo_n "checking size of float... " >&6; }
16444 if ${ac_cv_sizeof_float+:} false
; then :
16445 $as_echo_n "(cached) " >&6
16447 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
16450 if test "$ac_cv_type_float" = yes; then
16451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16453 as_fn_error
77 "cannot compute sizeof (float)
16454 See \`config.log' for more details" "$LINENO" 5; }
16456 ac_cv_sizeof_float
=0
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
16462 $as_echo "$ac_cv_sizeof_float" >&6; }
16466 cat >>confdefs.h
<<_ACEOF
16467 #define SIZEOF_FLOAT $ac_cv_sizeof_float
16471 # The cast to long int works around a bug in the HP C Compiler
16472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16474 # This bug is HP SR number 8606223364.
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
16476 $as_echo_n "checking size of double... " >&6; }
16477 if ${ac_cv_sizeof_double+:} false
; then :
16478 $as_echo_n "(cached) " >&6
16480 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
16483 if test "$ac_cv_type_double" = yes; then
16484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16486 as_fn_error
77 "cannot compute sizeof (double)
16487 See \`config.log' for more details" "$LINENO" 5; }
16489 ac_cv_sizeof_double
=0
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
16495 $as_echo "$ac_cv_sizeof_double" >&6; }
16499 cat >>confdefs.h
<<_ACEOF
16500 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
16504 # The cast to long int works around a bug in the HP C Compiler
16505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16507 # This bug is HP SR number 8606223364.
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
16509 $as_echo_n "checking size of void*... " >&6; }
16510 if ${ac_cv_sizeof_voidp+:} false
; then :
16511 $as_echo_n "(cached) " >&6
16513 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
16516 if test "$ac_cv_type_voidp" = yes; then
16517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16519 as_fn_error
77 "cannot compute sizeof (void*)
16520 See \`config.log' for more details" "$LINENO" 5; }
16522 ac_cv_sizeof_voidp
=0
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
16528 $as_echo "$ac_cv_sizeof_voidp" >&6; }
16532 cat >>confdefs.h
<<_ACEOF
16533 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
16537 # The cast to long int works around a bug in the HP C Compiler
16538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16540 # This bug is HP SR number 8606223364.
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
16542 $as_echo_n "checking size of size_t... " >&6; }
16543 if ${ac_cv_sizeof_size_t+:} false
; then :
16544 $as_echo_n "(cached) " >&6
16546 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
16549 if test "$ac_cv_type_size_t" = yes; then
16550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16552 as_fn_error
77 "cannot compute sizeof (size_t)
16553 See \`config.log' for more details" "$LINENO" 5; }
16555 ac_cv_sizeof_size_t
=0
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
16561 $as_echo "$ac_cv_sizeof_size_t" >&6; }
16565 cat >>confdefs.h
<<_ACEOF
16566 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16570 # The cast to long int works around a bug in the HP C Compiler
16571 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16572 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16573 # This bug is HP SR number 8606223364.
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
16575 $as_echo_n "checking size of int64_t... " >&6; }
16576 if ${ac_cv_sizeof_int64_t+:} false
; then :
16577 $as_echo_n "(cached) " >&6
16579 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then :
16582 if test "$ac_cv_type_int64_t" = yes; then
16583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16585 as_fn_error
77 "cannot compute sizeof (int64_t)
16586 See \`config.log' for more details" "$LINENO" 5; }
16588 ac_cv_sizeof_int64_t
=0
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
16594 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
16598 cat >>confdefs.h
<<_ACEOF
16599 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
16603 # The cast to long int works around a bug in the HP C Compiler
16604 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16605 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16606 # This bug is HP SR number 8606223364.
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
16608 $as_echo_n "checking size of long long... " >&6; }
16609 if ${ac_cv_sizeof_long_long+:} false
; then :
16610 $as_echo_n "(cached) " >&6
16612 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
16615 if test "$ac_cv_type_long_long" = yes; then
16616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16618 as_fn_error
77 "cannot compute sizeof (long long)
16619 See \`config.log' for more details" "$LINENO" 5; }
16621 ac_cv_sizeof_long_long
=0
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
16627 $as_echo "$ac_cv_sizeof_long_long" >&6; }
16631 cat >>confdefs.h
<<_ACEOF
16632 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16637 #====================================================================================
16638 # Find an appropriate type for sf_count_t.
16639 # On systems supporting files larger than 2 Gig, sf_count_t must be a 64 bit value.
16640 # Unfortunately there is more than one way of ensuring this so need to do some
16641 # pretty rigourous testing here.
16643 unset ac_cv_sizeof_off_t
16645 # The cast to long int works around a bug in the HP C Compiler
16646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16648 # This bug is HP SR number 8606223364.
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
16650 $as_echo_n "checking size of off_t... " >&6; }
16651 if ${ac_cv_sizeof_off_t+:} false
; then :
16652 $as_echo_n "(cached) " >&6
16654 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
16657 if test "$ac_cv_type_off_t" = yes; then
16658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16660 as_fn_error
77 "cannot compute sizeof (off_t)
16661 See \`config.log' for more details" "$LINENO" 5; }
16663 ac_cv_sizeof_off_t
=0
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
16669 $as_echo "$ac_cv_sizeof_off_t" >&6; }
16673 cat >>confdefs.h
<<_ACEOF
16674 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
16677 # Fake default value.
16680 mingw32msvc | mingw32
)
16681 TYPEOF_SF_COUNT_T
="__int64"
16682 SF_COUNT_MAX
="0x7FFFFFFFFFFFFFFFLL"
16683 SIZEOF_SF_COUNT_T
=8
16685 $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
16689 if test "x$ac_cv_sizeof_off_t" = "x8" ; then
16690 # If sizeof (off_t) is 8, no further checking is needed.
16691 TYPEOF_SF_COUNT_T
="int64_t"
16692 SF_COUNT_MAX
="0x7FFFFFFFFFFFFFFFLL"
16693 SIZEOF_SF_COUNT_T
=8
16695 # Check for common 64 bit file offset types.
16696 # The cast to long int works around a bug in the HP C Compiler
16697 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16698 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16699 # This bug is HP SR number 8606223364.
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of loff_t" >&5
16701 $as_echo_n "checking size of loff_t... " >&6; }
16702 if ${ac_cv_sizeof_loff_t+:} false
; then :
16703 $as_echo_n "(cached) " >&6
16705 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (loff_t))" "ac_cv_sizeof_loff_t" "$ac_includes_default"; then :
16708 if test "$ac_cv_type_loff_t" = yes; then
16709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16711 as_fn_error
77 "cannot compute sizeof (loff_t)
16712 See \`config.log' for more details" "$LINENO" 5; }
16714 ac_cv_sizeof_loff_t
=0
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_loff_t" >&5
16720 $as_echo "$ac_cv_sizeof_loff_t" >&6; }
16724 cat >>confdefs.h
<<_ACEOF
16725 #define SIZEOF_LOFF_T $ac_cv_sizeof_loff_t
16728 # Fake default value.
16729 # The cast to long int works around a bug in the HP C Compiler
16730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16732 # This bug is HP SR number 8606223364.
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off64_t" >&5
16734 $as_echo_n "checking size of off64_t... " >&6; }
16735 if ${ac_cv_sizeof_off64_t+:} false
; then :
16736 $as_echo_n "(cached) " >&6
16738 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off64_t))" "ac_cv_sizeof_off64_t" "$ac_includes_default"; then :
16741 if test "$ac_cv_type_off64_t" = yes; then
16742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16744 as_fn_error
77 "cannot compute sizeof (off64_t)
16745 See \`config.log' for more details" "$LINENO" 5; }
16747 ac_cv_sizeof_off64_t
=0
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off64_t" >&5
16753 $as_echo "$ac_cv_sizeof_off64_t" >&6; }
16757 cat >>confdefs.h
<<_ACEOF
16758 #define SIZEOF_OFF64_T $ac_cv_sizeof_off64_t
16761 # Fake default value.
16763 TYPEOF_SF_COUNT_T
="unknown"
16764 if test "x$ac_cv_sizeof_loff_t" = "x8" ; then
16765 TYPEOF_SF_COUNT_T
="int64_t"
16766 SIZEOF_SF_COUNT_T
=8
16767 elif test "x$ac_cv_sizeof_off64_t" = "x8" ; then
16768 TYPEOF_SF_COUNT_T
="int64_t"
16769 SIZEOF_SF_COUNT_T
=8
16772 # Save the old sizeof (off_t) value and then unset it to see if it
16773 # changes when Large File Support is enabled.
16775 pre_largefile_sizeof_off_t
=$ac_cv_sizeof_off_t
16776 unset ac_cv_sizeof_off_t
16779 # Check whether --enable-largefile was given.
16780 if test "${enable_largefile+set}" = set; then :
16781 enableval
=$enable_largefile;
16784 if test "$enable_largefile" != no
; then
16785 if test -n "$ac_tool_prefix"; then
16786 # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args.
16787 set dummy
${ac_tool_prefix}getconf
; ac_word
=$2
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16789 $as_echo_n "checking for $ac_word... " >&6; }
16790 if ${ac_cv_prog_GETCONF+:} false
; then :
16791 $as_echo_n "(cached) " >&6
16793 if test -n "$GETCONF"; then
16794 ac_cv_prog_GETCONF
="$GETCONF" # Let the user override the test.
16796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16797 for as_dir
in $PATH
16800 test -z "$as_dir" && as_dir
=.
16801 for ac_exec_ext
in '' $ac_executable_extensions; do
16802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16803 ac_cv_prog_GETCONF
="${ac_tool_prefix}getconf"
16804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16813 GETCONF
=$ac_cv_prog_GETCONF
16814 if test -n "$GETCONF"; then
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETCONF" >&5
16816 $as_echo "$GETCONF" >&6; }
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16819 $as_echo "no" >&6; }
16824 if test -z "$ac_cv_prog_GETCONF"; then
16825 ac_ct_GETCONF
=$GETCONF
16826 # Extract the first word of "getconf", so it can be a program name with args.
16827 set dummy getconf
; ac_word
=$2
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16829 $as_echo_n "checking for $ac_word... " >&6; }
16830 if ${ac_cv_prog_ac_ct_GETCONF+:} false
; then :
16831 $as_echo_n "(cached) " >&6
16833 if test -n "$ac_ct_GETCONF"; then
16834 ac_cv_prog_ac_ct_GETCONF
="$ac_ct_GETCONF" # Let the user override the test.
16836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16837 for as_dir
in $PATH
16840 test -z "$as_dir" && as_dir
=.
16841 for ac_exec_ext
in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_ac_ct_GETCONF
="getconf"
16844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16853 ac_ct_GETCONF
=$ac_cv_prog_ac_ct_GETCONF
16854 if test -n "$ac_ct_GETCONF"; then
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GETCONF" >&5
16856 $as_echo "$ac_ct_GETCONF" >&6; }
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16859 $as_echo "no" >&6; }
16862 if test "x$ac_ct_GETCONF" = x
; then
16865 case $cross_compiling:$ac_tool_warned in
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16869 ac_tool_warned
=yes ;;
16871 GETCONF
=$ac_ct_GETCONF
16874 GETCONF
="$ac_cv_prog_GETCONF"
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLAGS value to request large file support" >&5
16878 $as_echo_n "checking for CFLAGS value to request large file support... " >&6; }
16879 if ${ac_cv_sys_largefile_CFLAGS+:} false
; then :
16880 $as_echo_n "(cached) " >&6
16882 ac_cv_sys_largefile_CFLAGS
=`($GETCONF LFS_CFLAGS) 2>/dev/null` ||
{
16883 ac_cv_sys_largefile_CFLAGS
=no
16885 # IRIX 6.2 and later require cc -n32.
16886 irix6.
[2-9]* | irix6.1
[0-9]* | irix
[7-9].
* | irix
[1-9][0-9]*)
16887 if test "$GCC" != yes; then
16888 ac_cv_sys_largefile_CFLAGS
=-n32
16891 CC
="$CC $ac_cv_sys_largefile_CFLAGS"
16892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16903 if ac_fn_c_try_link
"$LINENO"; then :
16906 ac_cv_sys_largefile_CFLAGS
=no
16908 rm -f core conftest.err conftest.
$ac_objext \
16909 conftest
$ac_exeext conftest.
$ac_ext
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CFLAGS" >&5
16915 $as_echo "$ac_cv_sys_largefile_CFLAGS" >&6; }
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDFLAGS value to request large file support" >&5
16917 $as_echo_n "checking for LDFLAGS value to request large file support... " >&6; }
16918 if ${ac_cv_sys_largefile_LDFLAGS+:} false
; then :
16919 $as_echo_n "(cached) " >&6
16921 ac_cv_sys_largefile_LDFLAGS
=`($GETCONF LFS_LDFLAGS) 2>/dev/null` ||
{
16922 ac_cv_sys_largefile_LDFLAGS
=no
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_LDFLAGS" >&5
16927 $as_echo "$ac_cv_sys_largefile_LDFLAGS" >&6; }
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBS value to request large file support" >&5
16929 $as_echo_n "checking for LIBS value to request large file support... " >&6; }
16930 if ${ac_cv_sys_largefile_LIBS+:} false
; then :
16931 $as_echo_n "(cached) " >&6
16933 ac_cv_sys_largefile_LIBS
=`($GETCONF LFS_LIBS) 2>/dev/null` ||
{
16934 ac_cv_sys_largefile_LIBS
=no
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_LIBS" >&5
16939 $as_echo "$ac_cv_sys_largefile_LIBS" >&6; }
16941 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
16944 -D_FILE_OFFSET_BITS=*) ;;
16945 -D_LARGEFILE_SOURCE |
-D_LARGEFILE_SOURCE=*) ;;
16946 -D_LARGE_FILES |
-D_LARGE_FILES=*) ;;
16951 case "$CPPFLAGS" in
16952 '') CPPFLAGS
="$ac_flag" ;;
16953 *) CPPFLAGS
=$CPPFLAGS' '"$ac_flag" ;;
16961 '') CFLAGS
="$ac_flag" ;;
16962 *) CFLAGS
=$CFLAGS' '"$ac_flag" ;;
16967 case "$ac_cv_sys_largefile_LDFLAGS" in
16971 '') LDFLAGS
="$ac_cv_sys_largefile_LDFLAGS" ;;
16972 *) LDFLAGS
=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;;
16975 case "$ac_cv_sys_largefile_LIBS" in
16979 '') LIBS
="$ac_cv_sys_largefile_LIBS" ;;
16980 *) LIBS
=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;;
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS" >&5
16984 $as_echo_n "checking for _FILE_OFFSET_BITS... " >&6; }
16985 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16986 $as_echo_n "(cached) " >&6
16988 ac_cv_sys_file_offset_bits
=no
16990 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
16992 -D_FILE_OFFSET_BITS)
16993 ac_cv_sys_file_offset_bits
=1 ;;
16994 -D_FILE_OFFSET_BITS=*)
16995 ac_cv_sys_file_offset_bits
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17001 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17002 if test "$ac_cv_sys_file_offset_bits" != no
; then
17004 cat >>confdefs.h
<<_ACEOF
17005 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17010 # HP-UX 10.20 and later
17011 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
17012 ac_cv_sys_file_offset_bits
=64 ;;
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE" >&5
17015 $as_echo_n "checking for _LARGEFILE_SOURCE... " >&6; }
17016 if ${ac_cv_sys_largefile_source+:} false
; then :
17017 $as_echo_n "(cached) " >&6
17019 ac_cv_sys_largefile_source
=no
17021 # HP-UX 10.20 and later
17022 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
17023 ac_cv_sys_largefile_source
=1 ;;
17025 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
17027 -D_LARGEFILE_SOURCE)
17028 ac_cv_sys_largefile_source
=1 ;;
17029 -D_LARGEFILE_SOURCE=*)
17030 ac_cv_sys_largefile_source
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
17036 $as_echo "$ac_cv_sys_largefile_source" >&6; }
17037 if test "$ac_cv_sys_largefile_source" != no
; then
17039 cat >>confdefs.h
<<_ACEOF
17040 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES" >&5
17045 $as_echo_n "checking for _LARGE_FILES... " >&6; }
17046 if ${ac_cv_sys_large_files+:} false
; then :
17047 $as_echo_n "(cached) " >&6
17049 ac_cv_sys_large_files
=no
17051 # AIX 4.2 and later
17052 aix4.
[2-9]* | aix4.1
[0-9]* | aix
[5-9].
* | aix
[1-9][0-9]*)
17053 ac_cv_sys_large_files
=1 ;;
17055 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
17058 ac_cv_sys_large_files
=1 ;;
17060 ac_cv_sys_large_files
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17066 $as_echo "$ac_cv_sys_large_files" >&6; }
17067 if test "$ac_cv_sys_large_files" != no
; then
17069 cat >>confdefs.h
<<_ACEOF
17070 #define _LARGE_FILES $ac_cv_sys_large_files
17077 if test "x$ac_cv_sys_largefile_CFLAGS" = "xno" ; then
17078 ac_cv_sys_largefile_CFLAGS
=""
17080 if test "x$ac_cv_sys_largefile_LDFLAGS" = "xno" ; then
17081 ac_cv_sys_largefile_LDFLAGS
=""
17083 if test "x$ac_cv_sys_largefile_LIBS" = "xno" ; then
17084 ac_cv_sys_largefile_LIBS
=""
17087 # The cast to long int works around a bug in the HP C Compiler
17088 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17089 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17090 # This bug is HP SR number 8606223364.
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
17092 $as_echo_n "checking size of off_t... " >&6; }
17093 if ${ac_cv_sizeof_off_t+:} false
; then :
17094 $as_echo_n "(cached) " >&6
17096 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
17099 if test "$ac_cv_type_off_t" = yes; then
17100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17102 as_fn_error
77 "cannot compute sizeof (off_t)
17103 See \`config.log' for more details" "$LINENO" 5; }
17105 ac_cv_sizeof_off_t
=0
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
17111 $as_echo "$ac_cv_sizeof_off_t" >&6; }
17115 cat >>confdefs.h
<<_ACEOF
17116 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
17119 # Fake default value.
17121 if test "x$ac_cv_sizeof_off_t" = "x8" ; then
17122 TYPEOF_SF_COUNT_T
="int64_t"
17123 SF_COUNT_MAX
="0x7FFFFFFFFFFFFFFFLL"
17124 elif test "x$ac_cv_sizeof_off_t" = "x$pre_largefile_sizeof_off_t" ; then
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This machine does not seem to support 64 bit file offsets." >&5
17126 $as_echo "$as_me: WARNING: This machine does not seem to support 64 bit file offsets." >&2;}
17127 TYPEOF_SF_COUNT_T
="off_t"
17128 SIZEOF_SF_COUNT_T
=$ac_cv_sizeof_off_t
17129 elif test "x$TYPEOF_SF_COUNT_T" = "xunknown" ; then
17131 echo "*** The configure process has determined that this system is capable"
17132 echo "*** of Large File Support but has not been able to find a type which"
17133 echo "*** is an unambiguous 64 bit file offset."
17134 echo "*** Please contact the author to help resolve this problem."
17136 as_fn_error $?
"Bad file offset type." "$LINENO" 5
17142 if test $SIZEOF_SF_COUNT_T = 4 ; then
17143 SF_COUNT_MAX
="0x7FFFFFFF"
17147 cat >>confdefs.h
<<_ACEOF
17148 #define TYPEOF_SF_COUNT_T ${TYPEOF_SF_COUNT_T}
17154 cat >>confdefs.h
<<_ACEOF
17155 #define SIZEOF_SF_COUNT_T ${SIZEOF_SF_COUNT_T}
17161 cat >>confdefs.h
<<_ACEOF
17162 #define SF_COUNT_MAX ${SF_COUNT_MAX}
17167 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17168 if test "x$ac_cv_type_ssize_t" = xyes
; then :
17170 cat >>confdefs.h
<<_ACEOF
17171 #define HAVE_SSIZE_T 1
17177 # The cast to long int works around a bug in the HP C Compiler
17178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17180 # This bug is HP SR number 8606223364.
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
17182 $as_echo_n "checking size of ssize_t... " >&6; }
17183 if ${ac_cv_sizeof_ssize_t+:} false
; then :
17184 $as_echo_n "(cached) " >&6
17186 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
17189 if test "$ac_cv_type_ssize_t" = yes; then
17190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17192 as_fn_error
77 "cannot compute sizeof (ssize_t)
17193 See \`config.log' for more details" "$LINENO" 5; }
17195 ac_cv_sizeof_ssize_t
=0
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
17201 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
17205 cat >>confdefs.h
<<_ACEOF
17206 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
17211 #====================================================================================
17212 # Determine endian-ness of target processor.
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor byte ordering" >&5
17215 $as_echo_n "checking processor byte ordering... " >&6; }
17216 if ${ac_cv_c_byte_order+:} false
; then :
17217 $as_echo_n "(cached) " >&6
17219 # Initialize to unknown
17220 ac_cv_c_byte_order
=unknown
17222 if test x
$ac_cv_header_endian_h = xyes
; then
17224 # First try <endian.h> which should set BYTE_ORDER.
17226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17229 #include <endian.h>
17230 #if BYTE_ORDER != LITTLE_ENDIAN
17242 if ac_fn_c_try_link
"$LINENO"; then :
17243 ac_cv_c_byte_order
=little
17246 rm -f core conftest.err conftest.
$ac_objext \
17247 conftest
$ac_exeext conftest.
$ac_ext
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17252 #include <endian.h>
17253 #if BYTE_ORDER != BIG_ENDIAN
17265 if ac_fn_c_try_link
"$LINENO"; then :
17266 ac_cv_c_byte_order
=big
17269 rm -f core conftest.err conftest.
$ac_objext \
17270 conftest
$ac_exeext conftest.
$ac_ext
17274 if test $ac_cv_c_byte_order = unknown
; then
17276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17279 #include <sys/types.h>
17280 #include <sys/param.h>
17281 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17282 bogus endian macros
17293 if ac_fn_c_try_link
"$LINENO"; then :
17294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17297 #include <sys/types.h>
17298 #include <sys/param.h>
17299 #if BYTE_ORDER != LITTLE_ENDIAN
17311 if ac_fn_c_try_link
"$LINENO"; then :
17312 ac_cv_c_byte_order
=little
17315 rm -f core conftest.err conftest.
$ac_objext \
17316 conftest
$ac_exeext conftest.
$ac_ext
17318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17321 #include <sys/types.h>
17322 #include <sys/param.h>
17323 #if BYTE_ORDER != LITTLE_ENDIAN
17335 if ac_fn_c_try_link
"$LINENO"; then :
17336 ac_cv_c_byte_order
=little
17339 rm -f core conftest.err conftest.
$ac_objext \
17340 conftest
$ac_exeext conftest.
$ac_ext
17344 rm -f core conftest.err conftest.
$ac_objext \
17345 conftest
$ac_exeext conftest.
$ac_ext
17349 if test $ac_cv_c_byte_order = unknown
; then
17350 if test $cross_compiling = yes ; then
17351 # This is the last resort. Try to guess the target processor endian-ness
17352 # by looking at the target CPU type.
17354 case "$target_cpu" in
17355 alpha
* | i?
86* | mipsel
* | ia64
*)
17356 ac_cv_c_byte_order
=little
17359 m68
* | mips
* | powerpc
* | hppa
* | sparc
*)
17360 ac_cv_c_byte_order
=big
17366 if test "$cross_compiling" = yes; then :
17367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17369 as_fn_error $?
"cannot run test program while cross compiling
17370 See \`config.log' for more details" "$LINENO" 5; }
17372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17376 { /* Are we little or big endian? From Harbison&Steele. */
17379 char c [sizeof (long)] ;
17382 return (u.c [sizeof (long) - 1] == 1);
17386 if ac_fn_c_try_run
"$LINENO"; then :
17389 ac_cv_c_byte_order
=big
17391 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17392 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17396 if test "$cross_compiling" = yes; then :
17397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17399 as_fn_error $?
"cannot run test program while cross compiling
17400 See \`config.log' for more details" "$LINENO" 5; }
17402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17405 { /* Are we little or big endian? From Harbison&Steele. */
17408 char c [sizeof (long)] ;
17411 return (u.c [0] == 1);
17414 if ac_fn_c_try_run
"$LINENO"; then :
17417 ac_cv_c_byte_order
=little
17419 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17420 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_byte_order" >&5
17429 $as_echo "$ac_cv_c_byte_order" >&6; }
17431 if test $ac_cv_c_byte_order = big
; then
17432 ac_cv_c_big_endian
=1
17433 ac_cv_c_little_endian
=0
17434 elif test $ac_cv_c_byte_order = little
; then
17435 ac_cv_c_big_endian
=0
17436 ac_cv_c_little_endian
=1
17438 ac_cv_c_big_endian
=0
17439 ac_cv_c_little_endian
=0
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
17442 $as_echo "$as_me: WARNING: *****************************************************************" >&2;}
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Not able to determine endian-ness of target processor. " >&5
17444 $as_echo "$as_me: WARNING: *** Not able to determine endian-ness of target processor. " >&2;}
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in " >&5
17446 $as_echo "$as_me: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in " >&2;}
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** src/config.h may need to be hand editied. " >&5
17448 $as_echo "$as_me: WARNING: *** src/config.h may need to be hand editied. " >&2;}
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
17450 $as_echo "$as_me: WARNING: *****************************************************************" >&2;}
17457 cat >>confdefs.h
<<_ACEOF
17458 #define CPU_IS_BIG_ENDIAN ${ac_cv_c_big_endian}
17462 cat >>confdefs.h
<<_ACEOF
17463 #define CPU_IS_LITTLE_ENDIAN ${ac_cv_c_little_endian}
17467 cat >>confdefs.h
<<_ACEOF
17468 #define WORDS_BIGENDIAN ${ac_cv_c_big_endian}
17472 #====================================================================================
17473 # Check for functions.
17475 for ac_func
in malloc calloc realloc free
17477 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17478 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17479 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17480 cat >>confdefs.h
<<_ACEOF
17481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17487 for ac_func
in open
read write lseek pread pwrite
17489 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17490 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17491 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17492 cat >>confdefs.h
<<_ACEOF
17493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17499 for ac_func
in fstat ftruncate fsync
17501 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17502 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17503 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17504 cat >>confdefs.h
<<_ACEOF
17505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17511 for ac_func
in snprintf vsnprintf
17513 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17514 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17515 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17516 cat >>confdefs.h
<<_ACEOF
17517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17523 for ac_func
in gmtime gmtime_r localtime localtime_r gettimeofday
17525 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17526 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17527 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17528 cat >>confdefs.h
<<_ACEOF
17529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17535 for ac_func
in mmap getpagesize
17537 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17538 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17539 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17540 cat >>confdefs.h
<<_ACEOF
17541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17547 for ac_func
in setlocale
17549 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
17550 if test "x$ac_cv_func_setlocale" = xyes
; then :
17551 cat >>confdefs.h
<<_ACEOF
17552 #define HAVE_SETLOCALE 1
17558 for ac_func
in pipe waitpid
17560 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17561 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17562 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17563 cat >>confdefs.h
<<_ACEOF
17564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
17572 $as_echo_n "checking for floor in -lm... " >&6; }
17573 if ${ac_cv_lib_m_floor+:} false
; then :
17574 $as_echo_n "(cached) " >&6
17576 ac_check_lib_save_LIBS
=$LIBS
17578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h. */
17581 /* Override any GCC internal prototype to avoid an error.
17582 Use char because int might match the return type of a GCC
17583 builtin and then its argument prototype would still apply. */
17596 if ac_fn_c_try_link
"$LINENO"; then :
17597 ac_cv_lib_m_floor
=yes
17599 ac_cv_lib_m_floor
=no
17601 rm -f core conftest.err conftest.
$ac_objext \
17602 conftest
$ac_exeext conftest.
$ac_ext
17603 LIBS
=$ac_check_lib_save_LIBS
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
17606 $as_echo "$ac_cv_lib_m_floor" >&6; }
17607 if test "x$ac_cv_lib_m_floor" = xyes
; then :
17608 cat >>confdefs.h
<<_ACEOF
17609 #define HAVE_LIBM 1
17616 for ac_func
in floor ceil fmod
17618 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17619 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17620 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17621 cat >>confdefs.h
<<_ACEOF
17622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
17630 $as_echo_n "checking for lrint... " >&6; }
17631 if ${ac_cv_c99_lrint+:} false
; then :
17632 $as_echo_n "(cached) " >&6
17635 lrint_save_CFLAGS
=$CFLAGS
17637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 #define _ISOC9X_SOURCE 1
17641 #define _ISOC99_SOURCE 1
17642 #define __USE_ISOC99 1
17643 #define __USE_ISOC9X 1
17650 if (!lrint(3.14159)) lrint(2.7183);
17655 if ac_fn_c_try_link
"$LINENO"; then :
17656 ac_cv_c99_lrint
=yes
17660 rm -f core conftest.err conftest.
$ac_objext \
17661 conftest
$ac_exeext conftest.
$ac_ext
17663 CFLAGS
=$lrint_save_CFLAGS
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
17668 $as_echo "$ac_cv_c99_lrint" >&6; }
17670 if test "$ac_cv_c99_lrint" = yes; then
17672 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
17677 $as_echo_n "checking for lrintf... " >&6; }
17678 if ${ac_cv_c99_lrintf+:} false
; then :
17679 $as_echo_n "(cached) " >&6
17682 lrintf_save_CFLAGS
=$CFLAGS
17684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17687 #define _ISOC9X_SOURCE 1
17688 #define _ISOC99_SOURCE 1
17689 #define __USE_ISOC99 1
17690 #define __USE_ISOC9X 1
17697 if (!lrintf(3.14159)) lrintf(2.7183);
17702 if ac_fn_c_try_link
"$LINENO"; then :
17703 ac_cv_c99_lrintf
=yes
17705 ac_cv_c99_lrintf
=no
17707 rm -f core conftest.err conftest.
$ac_objext \
17708 conftest
$ac_exeext conftest.
$ac_ext
17710 CFLAGS
=$lrintf_save_CFLAGS
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
17715 $as_echo "$ac_cv_c99_lrintf" >&6; }
17717 if test "$ac_cv_c99_lrintf" = yes; then
17719 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
17724 #====================================================================================
17725 # Check for requirements for building plugins for other languages/enviroments.
17727 if test x
$cross_compiling = xno
; then
17728 if test x
$enable_octave = xno
; then
17730 BUILD_OCTAVE_MOD_TRUE
=
17731 BUILD_OCTAVE_MOD_FALSE
='#'
17733 BUILD_OCTAVE_MOD_TRUE
='#'
17734 BUILD_OCTAVE_MOD_FALSE
=
17745 # Check whether --with-octave was given.
17746 if test "${with_octave+set}" = set; then :
17747 withval
=$with_octave; with_octave
=$withval
17751 test -z "$with_octave" && with_octave
=octave
17753 # Extract the first word of "$with_octave", so it can be a program name with args.
17754 set dummy
$with_octave; ac_word
=$2
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17756 $as_echo_n "checking for $ac_word... " >&6; }
17757 if ${ac_cv_prog_HAVE_OCTAVE+:} false
; then :
17758 $as_echo_n "(cached) " >&6
17760 if test -n "$HAVE_OCTAVE"; then
17761 ac_cv_prog_HAVE_OCTAVE
="$HAVE_OCTAVE" # Let the user override the test.
17763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17764 for as_dir
in $PATH
17767 test -z "$as_dir" && as_dir
=.
17768 for ac_exec_ext
in '' $ac_executable_extensions; do
17769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17770 ac_cv_prog_HAVE_OCTAVE
="yes"
17771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17778 test -z "$ac_cv_prog_HAVE_OCTAVE" && ac_cv_prog_HAVE_OCTAVE
="no"
17781 HAVE_OCTAVE
=$ac_cv_prog_HAVE_OCTAVE
17782 if test -n "$HAVE_OCTAVE"; then
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OCTAVE" >&5
17784 $as_echo "$HAVE_OCTAVE" >&6; }
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17787 $as_echo "no" >&6; }
17792 if test "x$ac_cv_prog_HAVE_OCTAVE" = "xyes" ; then
17793 OCTAVE
=$with_octave
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCTAVE_VERSION in $OCTAVE" >&5
17796 $as_echo_n "checking for OCTAVE_VERSION in $OCTAVE... " >&6; }
17797 OCTAVE_VERSION
=`TERM=;$OCTAVE -qfH --eval "disp(OCTAVE_VERSION)"`
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE_VERSION" >&5
17799 $as_echo "$OCTAVE_VERSION" >&6; }
17812 # Check whether --with-mkoctfile was given.
17813 if test "${with_mkoctfile+set}" = set; then :
17814 withval
=$with_mkoctfile; with_mkoctfile
=$withval
17818 test -z "$with_mkoctfile" && with_mkoctfile
=mkoctfile
17820 # Extract the first word of "$with_mkoctfile", so it can be a program name with args.
17821 set dummy
$with_mkoctfile; ac_word
=$2
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17823 $as_echo_n "checking for $ac_word... " >&6; }
17824 if ${ac_cv_prog_HAVE_MKOCTFILE+:} false
; then :
17825 $as_echo_n "(cached) " >&6
17827 if test -n "$HAVE_MKOCTFILE"; then
17828 ac_cv_prog_HAVE_MKOCTFILE
="$HAVE_MKOCTFILE" # Let the user override the test.
17830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17831 for as_dir
in $PATH
17834 test -z "$as_dir" && as_dir
=.
17835 for ac_exec_ext
in '' $ac_executable_extensions; do
17836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17837 ac_cv_prog_HAVE_MKOCTFILE
="yes"
17838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17845 test -z "$ac_cv_prog_HAVE_MKOCTFILE" && ac_cv_prog_HAVE_MKOCTFILE
="no"
17848 HAVE_MKOCTFILE
=$ac_cv_prog_HAVE_MKOCTFILE
17849 if test -n "$HAVE_MKOCTFILE"; then
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MKOCTFILE" >&5
17851 $as_echo "$HAVE_MKOCTFILE" >&6; }
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17854 $as_echo "no" >&6; }
17859 if test "x$ac_cv_prog_HAVE_MKOCTFILE" = "xyes" ; then
17860 MKOCTFILE
=$with_mkoctfile
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $MKOCTFILE" >&5
17863 $as_echo_n "checking for version of $MKOCTFILE... " >&6; }
17864 MKOCTFILE_VERSION
=`$with_mkoctfile --version 2>&1 | sed 's/mkoctfile, version //g'`
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE_VERSION" >&5
17866 $as_echo "$MKOCTFILE_VERSION" >&6; }
17876 # Check whether --with-octave-config was given.
17877 if test "${with_octave_config+set}" = set; then :
17878 withval
=$with_octave_config; with_octave_config
=$withval
17882 test -z "$with_octave_config" && with_octave_config
=octave-config
17884 # Extract the first word of "$with_octave_config", so it can be a program name with args.
17885 set dummy
$with_octave_config; ac_word
=$2
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17887 $as_echo_n "checking for $ac_word... " >&6; }
17888 if ${ac_cv_prog_HAVE_OCTAVE_CONFIG+:} false
; then :
17889 $as_echo_n "(cached) " >&6
17891 if test -n "$HAVE_OCTAVE_CONFIG"; then
17892 ac_cv_prog_HAVE_OCTAVE_CONFIG
="$HAVE_OCTAVE_CONFIG" # Let the user override the test.
17894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17895 for as_dir
in $PATH
17898 test -z "$as_dir" && as_dir
=.
17899 for ac_exec_ext
in '' $ac_executable_extensions; do
17900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17901 ac_cv_prog_HAVE_OCTAVE_CONFIG
="yes"
17902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17909 test -z "$ac_cv_prog_HAVE_OCTAVE_CONFIG" && ac_cv_prog_HAVE_OCTAVE_CONFIG
="no"
17912 HAVE_OCTAVE_CONFIG
=$ac_cv_prog_HAVE_OCTAVE_CONFIG
17913 if test -n "$HAVE_OCTAVE_CONFIG"; then
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OCTAVE_CONFIG" >&5
17915 $as_echo "$HAVE_OCTAVE_CONFIG" >&6; }
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17918 $as_echo "no" >&6; }
17923 if test "x$ac_cv_prog_HAVE_OCTAVE_CONFIG" = "xyes" ; then
17924 OCTAVE_CONFIG
=$with_octave_config
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $OCTAVE_CONFIG" >&5
17926 $as_echo_n "checking for version of $OCTAVE_CONFIG... " >&6; }
17927 OCTAVE_CONFIG_VERSION
=`$OCTAVE_CONFIG --version`
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE_CONFIG_VERSION" >&5
17929 $as_echo "$OCTAVE_CONFIG_VERSION" >&6; }
17937 prog_concat
="$ac_cv_prog_HAVE_OCTAVE$ac_cv_prog_HAVE_OCTAVE_CONFIG$ac_cv_prog_HAVE_MKOCTFILE"
17939 if test "x$prog_concat" = "xyesyesyes" ; then
17940 if test "x$OCTAVE_VERSION" != "x$MKOCTFILE_VERSION" ; then
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Mismatch between versions of octave and mkoctfile. **" >&5
17942 $as_echo "$as_me: WARNING: ** Mismatch between versions of octave and mkoctfile. **" >&2;}
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Octave libsndfile modules will not be built. **" >&5
17944 $as_echo "$as_me: WARNING: ** Octave libsndfile modules will not be built. **" >&2;}
17945 elif test "x$OCTAVE_VERSION" != "x$OCTAVE_CONFIG_VERSION" ; then
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Mismatch between versions of octave and octave-config. **" >&5
17947 $as_echo "$as_me: WARNING: ** Mismatch between versions of octave and octave-config. **" >&2;}
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Octave libsndfile modules will not be built. **" >&5
17949 $as_echo "$as_me: WARNING: ** Octave libsndfile modules will not be built. **" >&2;}
17951 case "$MKOCTFILE_VERSION" in
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Octave version 2.X is not supported." >&5
17954 $as_echo "$as_me: WARNING: Octave version 2.X is not supported." >&2;}
17957 OCTAVE_DEST_ODIR
=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'`
17958 OCTAVE_DEST_MDIR
=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'`
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Octave version $MKOCTFILE_VERSION is not supported." >&5
17964 $as_echo "$as_me: WARNING: Octave version $MKOCTFILE_VERSION is not supported." >&2;}
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: building octave libsndfile module... $OCTAVE_BUILD" >&5
17969 $as_echo "building octave libsndfile module... $OCTAVE_BUILD" >&6; }
17977 if test "x$OCTAVE_BUILD" = xyes
; then
17978 BUILD_OCTAVE_MOD_TRUE
=
17979 BUILD_OCTAVE_MOD_FALSE
='#'
17981 BUILD_OCTAVE_MOD_TRUE
='#'
17982 BUILD_OCTAVE_MOD_FALSE
=
17990 BUILD_OCTAVE_MOD_TRUE
=
17991 BUILD_OCTAVE_MOD_FALSE
='#'
17993 BUILD_OCTAVE_MOD_TRUE
='#'
17994 BUILD_OCTAVE_MOD_FALSE
=
17999 #====================================================================================
18000 # Check for Ogg, Vorbis and FLAC.
18002 HAVE_EXTERNAL_LIBS
=0
18006 # Check for pkg-config outside the if statement.
18014 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18015 if test -n "$ac_tool_prefix"; then
18016 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18017 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18019 $as_echo_n "checking for $ac_word... " >&6; }
18020 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18021 $as_echo_n "(cached) " >&6
18023 case $PKG_CONFIG in
18025 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18029 for as_dir
in $PATH
18032 test -z "$as_dir" && as_dir
=.
18033 for ac_exec_ext
in '' $ac_executable_extensions; do
18034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18035 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18046 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18047 if test -n "$PKG_CONFIG"; then
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18049 $as_echo "$PKG_CONFIG" >&6; }
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18052 $as_echo "no" >&6; }
18057 if test -z "$ac_cv_path_PKG_CONFIG"; then
18058 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18059 # Extract the first word of "pkg-config", so it can be a program name with args.
18060 set dummy pkg-config
; ac_word
=$2
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18062 $as_echo_n "checking for $ac_word... " >&6; }
18063 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18064 $as_echo_n "(cached) " >&6
18066 case $ac_pt_PKG_CONFIG in
18068 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18072 for as_dir
in $PATH
18075 test -z "$as_dir" && as_dir
=.
18076 for ac_exec_ext
in '' $ac_executable_extensions; do
18077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18078 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18089 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18090 if test -n "$ac_pt_PKG_CONFIG"; then
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18092 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18095 $as_echo "no" >&6; }
18098 if test "x$ac_pt_PKG_CONFIG" = x
; then
18101 case $cross_compiling:$ac_tool_warned in
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18105 ac_tool_warned
=yes ;;
18107 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18110 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18114 if test -n "$PKG_CONFIG"; then
18115 _pkg_min_version
=0.9.0
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18117 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18118 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18120 $as_echo "yes" >&6; }
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18123 $as_echo "no" >&6; }
18128 if test -n "$PKG_CONFIG" ; then
18129 if test x
$enable_external_libs = xno
; then
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** External libs (FLAC, Ogg, Vorbis) disabled. ***" >&5
18131 $as_echo "$as_me: WARNING: *** External libs (FLAC, Ogg, Vorbis) disabled. ***" >&2;}
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flac >= 1.2.1 " >&5
18136 $as_echo_n "checking for flac >= 1.2.1 ... " >&6; }
18138 if test -n "$FLAC_CFLAGS"; then
18139 pkg_cv_FLAC_CFLAGS
="$FLAC_CFLAGS"
18140 elif test -n "$PKG_CONFIG"; then
18141 if test -n "$PKG_CONFIG" && \
18142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.2.1\""; } >&5
18143 ($PKG_CONFIG --exists --print-errors "flac >= 1.2.1") 2>&5
18145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18146 test $ac_status = 0; }; then
18147 pkg_cv_FLAC_CFLAGS
=`$PKG_CONFIG --cflags "flac >= 1.2.1" 2>/dev/null`
18148 test "x$?" != "x0" && pkg_failed
=yes
18155 if test -n "$FLAC_LIBS"; then
18156 pkg_cv_FLAC_LIBS
="$FLAC_LIBS"
18157 elif test -n "$PKG_CONFIG"; then
18158 if test -n "$PKG_CONFIG" && \
18159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.2.1\""; } >&5
18160 ($PKG_CONFIG --exists --print-errors "flac >= 1.2.1") 2>&5
18162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18163 test $ac_status = 0; }; then
18164 pkg_cv_FLAC_LIBS
=`$PKG_CONFIG --libs "flac >= 1.2.1" 2>/dev/null`
18165 test "x$?" != "x0" && pkg_failed
=yes
18175 if test $pkg_failed = yes; then
18177 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18178 _pkg_short_errors_supported
=yes
18180 _pkg_short_errors_supported
=no
18182 if test $_pkg_short_errors_supported = yes; then
18183 FLAC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "flac >= 1.2.1"`
18185 FLAC_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "flac >= 1.2.1"`
18187 # Put the nasty error message in config.log where it belongs
18188 echo "$FLAC_PKG_ERRORS" >&5
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18191 $as_echo "no" >&6; }
18193 elif test $pkg_failed = untried
; then
18196 FLAC_CFLAGS
=$pkg_cv_FLAC_CFLAGS
18197 FLAC_LIBS
=$pkg_cv_FLAC_LIBS
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18199 $as_echo "yes" >&6; }
18203 # Make sure the FLAC_CFLAGS value is sane.
18204 FLAC_CFLAGS
=`echo $FLAC_CLFAGS | $SED "s/FLAC$//"`
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg >= 1.1.3 " >&5
18209 $as_echo_n "checking for ogg >= 1.1.3 ... " >&6; }
18211 if test -n "$OGG_CFLAGS"; then
18212 pkg_cv_OGG_CFLAGS
="$OGG_CFLAGS"
18213 elif test -n "$PKG_CONFIG"; then
18214 if test -n "$PKG_CONFIG" && \
18215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1.3\""; } >&5
18216 ($PKG_CONFIG --exists --print-errors "ogg >= 1.1.3") 2>&5
18218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18219 test $ac_status = 0; }; then
18220 pkg_cv_OGG_CFLAGS
=`$PKG_CONFIG --cflags "ogg >= 1.1.3" 2>/dev/null`
18221 test "x$?" != "x0" && pkg_failed
=yes
18228 if test -n "$OGG_LIBS"; then
18229 pkg_cv_OGG_LIBS
="$OGG_LIBS"
18230 elif test -n "$PKG_CONFIG"; then
18231 if test -n "$PKG_CONFIG" && \
18232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1.3\""; } >&5
18233 ($PKG_CONFIG --exists --print-errors "ogg >= 1.1.3") 2>&5
18235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18236 test $ac_status = 0; }; then
18237 pkg_cv_OGG_LIBS
=`$PKG_CONFIG --libs "ogg >= 1.1.3" 2>/dev/null`
18238 test "x$?" != "x0" && pkg_failed
=yes
18248 if test $pkg_failed = yes; then
18250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18251 _pkg_short_errors_supported
=yes
18253 _pkg_short_errors_supported
=no
18255 if test $_pkg_short_errors_supported = yes; then
18256 OGG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.1.3"`
18258 OGG_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.1.3"`
18260 # Put the nasty error message in config.log where it belongs
18261 echo "$OGG_PKG_ERRORS" >&5
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18264 $as_echo "no" >&6; }
18266 elif test $pkg_failed = untried
; then
18269 OGG_CFLAGS
=$pkg_cv_OGG_CFLAGS
18270 OGG_LIBS
=$pkg_cv_OGG_LIBS
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18272 $as_echo "yes" >&6; }
18276 if test x
$enable_experimental = xyes
; then
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex >= 1.2 " >&5
18280 $as_echo_n "checking for speex >= 1.2 ... " >&6; }
18282 if test -n "$SPEEX_CFLAGS"; then
18283 pkg_cv_SPEEX_CFLAGS
="$SPEEX_CFLAGS"
18284 elif test -n "$PKG_CONFIG"; then
18285 if test -n "$PKG_CONFIG" && \
18286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex >= 1.2\""; } >&5
18287 ($PKG_CONFIG --exists --print-errors "speex >= 1.2") 2>&5
18289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18290 test $ac_status = 0; }; then
18291 pkg_cv_SPEEX_CFLAGS
=`$PKG_CONFIG --cflags "speex >= 1.2" 2>/dev/null`
18292 test "x$?" != "x0" && pkg_failed
=yes
18299 if test -n "$SPEEX_LIBS"; then
18300 pkg_cv_SPEEX_LIBS
="$SPEEX_LIBS"
18301 elif test -n "$PKG_CONFIG"; then
18302 if test -n "$PKG_CONFIG" && \
18303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex >= 1.2\""; } >&5
18304 ($PKG_CONFIG --exists --print-errors "speex >= 1.2") 2>&5
18306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18307 test $ac_status = 0; }; then
18308 pkg_cv_SPEEX_LIBS
=`$PKG_CONFIG --libs "speex >= 1.2" 2>/dev/null`
18309 test "x$?" != "x0" && pkg_failed
=yes
18319 if test $pkg_failed = yes; then
18321 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18322 _pkg_short_errors_supported
=yes
18324 _pkg_short_errors_supported
=no
18326 if test $_pkg_short_errors_supported = yes; then
18327 SPEEX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "speex >= 1.2"`
18329 SPEEX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "speex >= 1.2"`
18331 # Put the nasty error message in config.log where it belongs
18332 echo "$SPEEX_PKG_ERRORS" >&5
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18335 $as_echo "no" >&6; }
18337 elif test $pkg_failed = untried
; then
18340 SPEEX_CFLAGS
=$pkg_cv_SPEEX_CFLAGS
18341 SPEEX_LIBS
=$pkg_cv_SPEEX_LIBS
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18343 $as_echo "yes" >&6; }
18351 # Vorbis versions earlier than 1.2.3 have bugs that cause the libsndfile
18352 # test suite to fail on MIPS, PowerPC and others.
18353 # See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis >= 1.2.3 " >&5
18357 $as_echo_n "checking for vorbis >= 1.2.3 ... " >&6; }
18359 if test -n "$VORBIS_CFLAGS"; then
18360 pkg_cv_VORBIS_CFLAGS
="$VORBIS_CFLAGS"
18361 elif test -n "$PKG_CONFIG"; then
18362 if test -n "$PKG_CONFIG" && \
18363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.2.3\""; } >&5
18364 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.2.3") 2>&5
18366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18367 test $ac_status = 0; }; then
18368 pkg_cv_VORBIS_CFLAGS
=`$PKG_CONFIG --cflags "vorbis >= 1.2.3" 2>/dev/null`
18369 test "x$?" != "x0" && pkg_failed
=yes
18376 if test -n "$VORBIS_LIBS"; then
18377 pkg_cv_VORBIS_LIBS
="$VORBIS_LIBS"
18378 elif test -n "$PKG_CONFIG"; then
18379 if test -n "$PKG_CONFIG" && \
18380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.2.3\""; } >&5
18381 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.2.3") 2>&5
18383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18384 test $ac_status = 0; }; then
18385 pkg_cv_VORBIS_LIBS
=`$PKG_CONFIG --libs "vorbis >= 1.2.3" 2>/dev/null`
18386 test "x$?" != "x0" && pkg_failed
=yes
18396 if test $pkg_failed = yes; then
18398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18399 _pkg_short_errors_supported
=yes
18401 _pkg_short_errors_supported
=no
18403 if test $_pkg_short_errors_supported = yes; then
18404 VORBIS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.2.3"`
18406 VORBIS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.2.3"`
18408 # Put the nasty error message in config.log where it belongs
18409 echo "$VORBIS_PKG_ERRORS" >&5
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18412 $as_echo "no" >&6; }
18414 elif test $pkg_failed = untried
; then
18417 VORBIS_CFLAGS
=$pkg_cv_VORBIS_CFLAGS
18418 VORBIS_LIBS
=$pkg_cv_VORBIS_LIBS
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18420 $as_echo "yes" >&6; }
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbisenc >= 1.2.3 " >&5
18426 $as_echo_n "checking for vorbisenc >= 1.2.3 ... " >&6; }
18428 if test -n "$VORBISENC_CFLAGS"; then
18429 pkg_cv_VORBISENC_CFLAGS
="$VORBISENC_CFLAGS"
18430 elif test -n "$PKG_CONFIG"; then
18431 if test -n "$PKG_CONFIG" && \
18432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.2.3\""; } >&5
18433 ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.2.3") 2>&5
18435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18436 test $ac_status = 0; }; then
18437 pkg_cv_VORBISENC_CFLAGS
=`$PKG_CONFIG --cflags "vorbisenc >= 1.2.3" 2>/dev/null`
18438 test "x$?" != "x0" && pkg_failed
=yes
18445 if test -n "$VORBISENC_LIBS"; then
18446 pkg_cv_VORBISENC_LIBS
="$VORBISENC_LIBS"
18447 elif test -n "$PKG_CONFIG"; then
18448 if test -n "$PKG_CONFIG" && \
18449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.2.3\""; } >&5
18450 ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.2.3") 2>&5
18452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18453 test $ac_status = 0; }; then
18454 pkg_cv_VORBISENC_LIBS
=`$PKG_CONFIG --libs "vorbisenc >= 1.2.3" 2>/dev/null`
18455 test "x$?" != "x0" && pkg_failed
=yes
18465 if test $pkg_failed = yes; then
18467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18468 _pkg_short_errors_supported
=yes
18470 _pkg_short_errors_supported
=no
18472 if test $_pkg_short_errors_supported = yes; then
18473 VORBISENC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbisenc >= 1.2.3"`
18475 VORBISENC_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbisenc >= 1.2.3"`
18477 # Put the nasty error message in config.log where it belongs
18478 echo "$VORBISENC_PKG_ERRORS" >&5
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18481 $as_echo "no" >&6; }
18483 elif test $pkg_failed = untried
; then
18486 VORBISENC_CFLAGS
=$pkg_cv_VORBISENC_CFLAGS
18487 VORBISENC_LIBS
=$pkg_cv_VORBISENC_LIBS
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18489 $as_echo "yes" >&6; }
18490 ac_cv_vorbisenc
=yes
18492 enable_external_libs
=yes
18495 if test x
$ac_cv_flac$ac_cv_ogg$ac_cv_vorbis$ac_cv_vorbisenc = "xyesyesyesyes" ; then
18496 HAVE_EXTERNAL_LIBS
=1
18497 enable_external_libs
=yes
18499 EXTERNAL_CFLAGS
="$FLAC_CFLAGS $OGG_CFLAGS $VORBISENC_CFLAGS $SPEEX_CFLAGS"
18500 EXTERNAL_LIBS
="$FLAC_LIBS $VORBISENC_LIBS $SPEEX_LIBS"
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** One or more of the external libraries (ie libflac, libogg and" >&5
18504 $as_echo "$as_me: WARNING: *** One or more of the external libraries (ie libflac, libogg and" >&2;}
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libvorbis) is either missing (possibly only the development" >&5
18506 $as_echo "$as_me: WARNING: *** libvorbis) is either missing (possibly only the development" >&2;}
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** headers) or is of an unsupported version." >&5
18508 $as_echo "$as_me: WARNING: *** headers) or is of an unsupported version." >&2;}
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***" >&5
18510 $as_echo "$as_me: WARNING: ***" >&2;}
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Unfortunately, for ease of maintenance, the external libs" >&5
18512 $as_echo "$as_me: WARNING: *** Unfortunately, for ease of maintenance, the external libs" >&2;}
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** are an all or nothing affair." >&5
18514 $as_echo "$as_me: WARNING: *** are an all or nothing affair." >&2;}
18516 enable_external_libs
=no
18521 cat >>confdefs.h
<<_ACEOF
18522 #define HAVE_EXTERNAL_LIBS $HAVE_EXTERNAL_LIBS
18526 #====================================================================================
18527 # Check for libsqlite3 (only used in regtest).
18530 if test x
$enable_sqlite != xno
; then
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.2 " >&5
18534 $as_echo_n "checking for sqlite3 >= 3.2 ... " >&6; }
18536 if test -n "$SQLITE3_CFLAGS"; then
18537 pkg_cv_SQLITE3_CFLAGS
="$SQLITE3_CFLAGS"
18538 elif test -n "$PKG_CONFIG"; then
18539 if test -n "$PKG_CONFIG" && \
18540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.2\""; } >&5
18541 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.2") 2>&5
18543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18544 test $ac_status = 0; }; then
18545 pkg_cv_SQLITE3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 >= 3.2" 2>/dev/null`
18546 test "x$?" != "x0" && pkg_failed
=yes
18553 if test -n "$SQLITE3_LIBS"; then
18554 pkg_cv_SQLITE3_LIBS
="$SQLITE3_LIBS"
18555 elif test -n "$PKG_CONFIG"; then
18556 if test -n "$PKG_CONFIG" && \
18557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.2\""; } >&5
18558 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.2") 2>&5
18560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18561 test $ac_status = 0; }; then
18562 pkg_cv_SQLITE3_LIBS
=`$PKG_CONFIG --libs "sqlite3 >= 3.2" 2>/dev/null`
18563 test "x$?" != "x0" && pkg_failed
=yes
18573 if test $pkg_failed = yes; then
18575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18576 _pkg_short_errors_supported
=yes
18578 _pkg_short_errors_supported
=no
18580 if test $_pkg_short_errors_supported = yes; then
18581 SQLITE3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3 >= 3.2"`
18583 SQLITE3_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3 >= 3.2"`
18585 # Put the nasty error message in config.log where it belongs
18586 echo "$SQLITE3_PKG_ERRORS" >&5
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18589 $as_echo "no" >&6; }
18591 elif test $pkg_failed = untried
; then
18594 SQLITE3_CFLAGS
=$pkg_cv_SQLITE3_CFLAGS
18595 SQLITE3_LIBS
=$pkg_cv_SQLITE3_LIBS
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18597 $as_echo "yes" >&6; }
18602 if test x
$ac_cv_sqlite3 = "xyes" ; then
18609 cat >>confdefs.h
<<_ACEOF
18610 #define HAVE_SQLITE3 $HAVE_SQLITE3
18614 #====================================================================================
18615 # Determine if the processor can do clipping on float to int conversions.
18617 if test x
$enable_cpu_clip != "xno" ; then
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor clipping capabilities" >&5
18619 $as_echo_n "checking processor clipping capabilities... " >&6; }
18620 if ${ac_cv_c_clip_type+:} false
; then :
18621 $as_echo_n "(cached) " >&6
18623 # Initialize to unknown
18624 ac_cv_c_clip_positive
=unknown
18625 ac_cv_c_clip_negative
=unknown
18628 if test $ac_cv_c_clip_positive = unknown
; then
18629 if test "$cross_compiling" = yes; then :
18630 ac_cv_c_clip_positive
=unknown
18633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18636 #define _ISOC9X_SOURCE 1
18637 #define _ISOC99_SOURCE 1
18638 #define __USE_ISOC99 1
18639 #define __USE_ISOC9X 1
18645 fval = 1.0 * 0x7FFFFFFF ;
18646 for (k = 0 ; k < 100 ; k++)
18647 { ival = (lrint (fval)) >> 24 ;
18651 fval *= 1.2499999 ;
18658 if ac_fn_c_try_run
"$LINENO"; then :
18659 ac_cv_c_clip_positive
=yes
18661 ac_cv_c_clip_positive
=no
18663 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18664 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18668 if test "$cross_compiling" = yes; then :
18669 ac_cv_c_clip_negative
=unknown
18672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18675 #define _ISOC9X_SOURCE 1
18676 #define _ISOC99_SOURCE 1
18677 #define __USE_ISOC99 1
18678 #define __USE_ISOC9X 1
18684 fval = -8.0 * 0x10000000 ;
18685 for (k = 0 ; k < 100 ; k++)
18686 { ival = (lrint (fval)) >> 24 ;
18690 fval *= 1.2499999 ;
18697 if ac_fn_c_try_run
"$LINENO"; then :
18698 ac_cv_c_clip_negative
=yes
18700 ac_cv_c_clip_negative
=no
18702 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18703 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18708 if test $ac_cv_c_clip_positive = yes ; then
18709 ac_cv_c_clip_positive
=1
18711 ac_cv_c_clip_positive
=0
18714 if test $ac_cv_c_clip_negative = yes ; then
18715 ac_cv_c_clip_negative
=1
18717 ac_cv_c_clip_negative
=0
18721 case "$ac_cv_c_clip_positive$ac_cv_c_clip_negative" in
18723 ac_cv_c_clip_type
="none"
18726 ac_cv_c_clip_type
="positive"
18729 ac_cv_c_clip_type
="negative"
18732 ac_cv_c_clip_type
="both"
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_clip_type" >&5
18740 $as_echo "$ac_cv_c_clip_type" >&6; }
18745 echo "checking processor clipping capabilities... disabled"
18746 ac_cv_c_clip_positive
=0
18747 ac_cv_c_clip_negative
=0
18751 cat >>confdefs.h
<<_ACEOF
18752 #define CPU_CLIPS_POSITIVE ${ac_cv_c_clip_positive}
18756 cat >>confdefs.h
<<_ACEOF
18757 #define CPU_CLIPS_NEGATIVE ${ac_cv_c_clip_negative}
18761 #====================================================================================
18762 # Target OS specific stuff.
18764 OS_SPECIFIC_CFLAGS
=""
18765 OS_SPECIFIC_LINKS
=""
18771 darwin
* | rhapsody
*)
18773 OS_SPECIFIC_CFLAGS
="-I/Developer/Headers/FlatCarbon"
18774 OS_SPECIFIC_LINKS
="-framework CoreAudio"
18779 OS_SPECIFIC_LINKS
="-lwinmm"
18784 cat >>confdefs.h
<<_ACEOF
18785 #define OS_IS_WIN32 ${os_is_win32}
18789 cat >>confdefs.h
<<_ACEOF
18790 #define OS_IS_MACOSX ${os_is_macosx}
18794 cat >>confdefs.h
<<_ACEOF
18795 #define USE_WINDOWS_API ${use_windows_api}
18799 if test ${use_windows_api} -eq 1; then
18800 USE_WIN_VERSION_FILE_TRUE
=
18801 USE_WIN_VERSION_FILE_FALSE
='#'
18803 USE_WIN_VERSION_FILE_TRUE
='#'
18804 USE_WIN_VERSION_FILE_FALSE
=
18808 #====================================================================================
18813 if test x
$enable_alsa != xno
; then
18814 for ac_header
in alsa
/asoundlib.h
18816 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
18817 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes
; then :
18818 cat >>confdefs.h
<<_ACEOF
18819 #define HAVE_ALSA_ASOUNDLIB_H 1
18826 if test x
$ac_cv_header_alsa_asoundlib_h = xyes
; then
18827 ALSA_LIBS
="-lasound"
18832 #====================================================================================
18833 # Check for OpenBSD's sndio.
18836 for ac_header
in sndio.h
18838 ac_fn_c_check_header_mongrel
"$LINENO" "sndio.h" "ac_cv_header_sndio_h" "$ac_includes_default"
18839 if test "x$ac_cv_header_sndio_h" = xyes
; then :
18840 cat >>confdefs.h
<<_ACEOF
18841 #define HAVE_SNDIO_H 1
18848 if test x
$ac_cv_header_sndio_h = xyes
; then
18849 SNDIO_LIBS
="-lsndio"
18852 #====================================================================================
18853 # Test for sanity when cross-compiling.
18855 if test x
$cross_compiling = xyes
; then
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18857 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** We are cross-compiling, so have to assume sizeof (short) == 2 " >&5
18859 $as_echo "$as_me: WARNING: *** We are cross-compiling, so have to assume sizeof (short) == 2 " >&2;}
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** and sizeof (int) == 4. If this is not the case there is no " >&5
18861 $as_echo "$as_me: WARNING: *** and sizeof (int) == 4. If this is not the case there is no " >&2;}
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** chance of this working. Please contact the mantainer. " >&5
18863 $as_echo "$as_me: WARNING: *** chance of this working. Please contact the mantainer. " >&2;}
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18865 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18868 if test $ac_cv_sizeof_short != 2 ; then
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18870 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (short) != 2. " >&5
18872 $as_echo "$as_me: WARNING: *** sizeof (short) != 2. " >&2;}
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18874 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18877 if test $ac_cv_sizeof_int != 4 ; then
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18879 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (int) != 4 " >&5
18881 $as_echo "$as_me: WARNING: *** sizeof (int) != 4 " >&2;}
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18883 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18886 if test $ac_cv_sizeof_float != 4 ; then
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18888 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (float) != 4. " >&5
18890 $as_echo "$as_me: WARNING: *** sizeof (float) != 4. " >&2;}
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18892 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18895 if test $ac_cv_sizeof_double != 8 ; then
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18897 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (double) != 8. " >&5
18899 $as_echo "$as_me: WARNING: *** sizeof (double) != 8. " >&2;}
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18901 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18904 if test x
"$ac_cv_prog_HAVE_AUTOGEN" = "xno" ; then
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Touching files in directory tests/." >&5
18906 $as_echo "$as_me: WARNING: Touching files in directory tests/." >&2;}
18907 touch tests
/*.c
tests
/*.h
18910 #====================================================================================
18911 # Settings for the HTML documentation.
18913 htmldocdir
=$prefix/share
/doc
/libsndfile1-dev
/html
18915 if test $prefix = "NONE" ; then
18916 htmldocdir
=/usr
/local
/share
/doc
/libsndfile1-dev
/html
18918 htmldocdir
=$prefix/share
/doc
/libsndfile1-dev
/html
18921 if test x
$enable_bow_docs = "xyes" ; then
18922 HTML_BGCOLOUR
="white"
18923 HTML_FGCOLOUR
="black"
18925 HTML_BGCOLOUR
="black"
18926 HTML_FGCOLOUR
="white"
18929 #====================================================================================
18930 # Now use the information from the checking stage.
18935 if test x
$ac_cv_c_compiler_gnu = xyes
; then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=gnu99" >&5
18937 $as_echo_n "checking if $CC accepts -std=gnu99... " >&6; }
18938 ac_add_cflags__old_cflags
="$CFLAGS"
18939 CFLAGS
="-std=gnu99"
18940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18948 puts("Hello, World!"); return 0;
18953 if ac_fn_c_try_link
"$LINENO"; then :
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18955 $as_echo "yes" >&6; }
18956 CFLAGS
="$ac_add_cflags__old_cflags -std=gnu99"
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18959 $as_echo "no" >&6; }
18960 CFLAGS
="$ac_add_cflags__old_cflags"
18963 rm -f core conftest.err conftest.
$ac_objext \
18964 conftest
$ac_exeext conftest.
$ac_ext
18968 if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $CC" >&5
18971 $as_echo_n "checking for version of $CC... " >&6; }
18972 GCC_VERSION
=`$CC -dumpversion`
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
18974 $as_echo "$GCC_VERSION" >&6; }
18976 GCC_MINOR_VERSION
=`echo $GCC_VERSION | sed "s/^[0-9]\+\.//" | sed "s/\..*//"`
18977 GCC_MAJOR_VERSION
=`echo $GCC_VERSION | sed "s/\..*//"`
18986 if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****************************************************************" >&5
18988 $as_echo "$as_me: WARNING: ****************************************************************" >&2;}
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** GCC version 4.2 warns about the inline keyword for no good **" >&5
18990 $as_echo "$as_me: WARNING: ** GCC version 4.2 warns about the inline keyword for no good **" >&2;}
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** reason but the maintainers do not see it as a bug. **" >&5
18992 $as_echo "$as_me: WARNING: ** reason but the maintainers do not see it as a bug. **" >&2;}
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995 **" >&5
18994 $as_echo "$as_me: WARNING: ** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995 **" >&2;}
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Using -fgnu-inline to avoid this stupidity. **" >&5
18996 $as_echo "$as_me: WARNING: ** Using -fgnu-inline to avoid this stupidity. **" >&2;}
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****************************************************************" >&5
18998 $as_echo "$as_me: WARNING: ****************************************************************" >&2;}
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fgnu89-inline" >&5
19000 $as_echo_n "checking if $CC accepts -fgnu89-inline... " >&6; }
19001 ac_add_cflags__old_cflags
="$CFLAGS"
19002 CFLAGS
="-fgnu89-inline"
19003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19011 puts("Hello, World!"); return 0;
19016 if ac_fn_c_try_link
"$LINENO"; then :
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19018 $as_echo "yes" >&6; }
19019 CFLAGS
="$ac_add_cflags__old_cflags -fgnu89-inline"
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19022 $as_echo "no" >&6; }
19023 CFLAGS
="$ac_add_cflags__old_cflags"
19026 rm -f core conftest.err conftest.
$ac_objext \
19027 conftest
$ac_exeext conftest.
$ac_ext
19031 CFLAGS
="$CFLAGS -Wall"
19032 CXXFLAGS
="$CXXFLAGS -Wall"
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra" >&5
19035 $as_echo_n "checking if $CC accepts -Wextra... " >&6; }
19036 ac_add_cflags__old_cflags
="$CFLAGS"
19038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19046 puts("Hello, World!"); return 0;
19051 if ac_fn_c_try_link
"$LINENO"; then :
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19053 $as_echo "yes" >&6; }
19054 CFLAGS
="$ac_add_cflags__old_cflags -Wextra"
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19057 $as_echo "no" >&6; }
19058 CFLAGS
="$ac_add_cflags__old_cflags"
19061 rm -f core conftest.err conftest.
$ac_objext \
19062 conftest
$ac_exeext conftest.
$ac_ext
19066 ac_cpp
='$CXXCPP $CPPFLAGS'
19067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra" >&5
19072 $as_echo_n "checking if $CXX accepts -Wextra... " >&6; }
19074 ac_add_cxxflags__old_cxxflags
="$CXXFLAGS"
19076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19084 puts("Hello, World!"); return 0;
19089 if ac_fn_cxx_try_link
"$LINENO"; then :
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19091 $as_echo "yes" >&6; }
19092 CXXFLAGS
="$ac_add_cxxflags__old_cxxflags -Wextra"
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19095 $as_echo "no" >&6; }
19096 CXXFLAGS
="$ac_add_cxxflags__old_cxxflags"
19099 rm -f core conftest.err conftest.
$ac_objext \
19100 conftest
$ac_exeext conftest.
$ac_ext
19103 ac_cpp
='$CPP $CPPFLAGS'
19104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wdeclaration-after-statement" >&5
19110 $as_echo_n "checking if $CC accepts -Wdeclaration-after-statement... " >&6; }
19111 ac_add_cflags__old_cflags
="$CFLAGS"
19112 CFLAGS
="-Wdeclaration-after-statement"
19113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19114 /* end confdefs.h. */
19121 puts("Hello, World!"); return 0;
19126 if ac_fn_c_try_link
"$LINENO"; then :
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19128 $as_echo "yes" >&6; }
19129 CFLAGS
="$ac_add_cflags__old_cflags -Wdeclaration-after-statement"
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19132 $as_echo "no" >&6; }
19133 CFLAGS
="$ac_add_cflags__old_cflags"
19136 rm -f core conftest.err conftest.
$ac_objext \
19137 conftest
$ac_exeext conftest.
$ac_ext
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wpointer-arith" >&5
19140 $as_echo_n "checking if $CC accepts -Wpointer-arith... " >&6; }
19141 ac_add_cflags__old_cflags
="$CFLAGS"
19142 CFLAGS
="-Wpointer-arith"
19143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19151 puts("Hello, World!"); return 0;
19156 if ac_fn_c_try_link
"$LINENO"; then :
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19158 $as_echo "yes" >&6; }
19159 CFLAGS
="$ac_add_cflags__old_cflags -Wpointer-arith"
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19162 $as_echo "no" >&6; }
19163 CFLAGS
="$ac_add_cflags__old_cflags"
19166 rm -f core conftest.err conftest.
$ac_objext \
19167 conftest
$ac_exeext conftest.
$ac_ext
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -funsigned-char" >&5
19170 $as_echo_n "checking if $CC accepts -funsigned-char... " >&6; }
19171 ac_add_cflags__old_cflags
="$CFLAGS"
19172 CFLAGS
="-funsigned-char"
19173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19181 puts("Hello, World!"); return 0;
19186 if ac_fn_c_try_link
"$LINENO"; then :
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19188 $as_echo "yes" >&6; }
19189 CFLAGS
="$ac_add_cflags__old_cflags -funsigned-char"
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19192 $as_echo "no" >&6; }
19193 CFLAGS
="$ac_add_cflags__old_cflags"
19196 rm -f core conftest.err conftest.
$ac_objext \
19197 conftest
$ac_exeext conftest.
$ac_ext
19200 if test x
$enable_gcc_werror = "xyes" ; then
19201 CFLAGS
="-Werror $CFLAGS"
19202 CXXFLAGS
="-Werror $CXXFLAGS"
19205 if test x
$enable_test_coverage = "xyes" ; then
19206 # MN_ADD_CFLAGS([-ftest-coverage])
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -coverage" >&5
19208 $as_echo_n "checking if $CC accepts -coverage... " >&6; }
19209 ac_add_cflags__old_cflags
="$CFLAGS"
19211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19219 puts("Hello, World!"); return 0;
19224 if ac_fn_c_try_link
"$LINENO"; then :
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19226 $as_echo "yes" >&6; }
19227 CFLAGS
="$ac_add_cflags__old_cflags -coverage"
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19230 $as_echo "no" >&6; }
19231 CFLAGS
="$ac_add_cflags__old_cflags"
19234 rm -f core conftest.err conftest.
$ac_objext \
19235 conftest
$ac_exeext conftest.
$ac_ext
19239 CFLAGS
="$CFLAGS -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -Wundef "
19240 # -Wundef -Wmissing-declarations -Winline -Wconversion"
19241 CXXFLAGS
="$CXXFLAGS -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo -Wundef "
19243 if test "x$enable_gcc_opt" = "xno" ; then
19244 temp_CFLAGS
=`echo $CFLAGS | $SED "s/O2/O0/"`
19245 CFLAGS
=$temp_CFLAGS
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Compiler optimisations switched off. ***" >&5
19247 $as_echo "$as_me: WARNING: *** Compiler optimisations switched off. ***" >&2;}
19250 # OS specific tweaks.
19252 darwin
* | rhapsody
*)
19253 # Disable -Wall, -pedantic and -Wshadow for Apple Darwin/Rhapsody.
19254 # System headers on these systems are broken.
19255 temp_CFLAGS
=`echo $CFLAGS | $SED "s/-Wall -pedantic//" | $SED "s/-Wshadow//" | $SED "s/-Waggregate-return//"`
19256 CFLAGS
=$temp_CFLAGS
19257 SHLIB_VERSION_ARG
="-Wl,-exported_symbols_list -Wl,\$(srcdir)/Symbols.darwin"
19259 linux
*|kfreebsd
*-gnu*|gnu
*)
19260 SHLIB_VERSION_ARG
="-Wl,--version-script=\$(srcdir)/Symbols.gnu-binutils"
19263 # Linker flag '-Wl,--out-implib' does not work with mingw cross compiler
19264 # so we don't use it here.
19265 SHLIB_VERSION_ARG
="-Wl,\$(srcdir)/libsndfile-1.def"
19267 if test x
"$enable_shared" = xno
; then
19272 SHLIB_VERSION_ARG
="-Wl,-export-symbols \$(srcdir)/Symbols.os2"
19277 if test x
$enable_gcc_pipe != "xno" ; then
19278 CFLAGS
="$CFLAGS -pipe"
19285 cat >>confdefs.h
<<_ACEOF
19286 #define WIN32_TARGET_DLL ${win32_target_dll}
19290 cat >>confdefs.h
<<_ACEOF
19291 #define COMPILER_IS_GCC ${COMPILER_IS_GCC}
19295 CFLAGS
="$CFLAGS $OS_SPECIFIC_CFLAGS"
19297 if test x
"$CFLAGS" = x
; then
19298 echo "Error in configure script. CFLAGS has been screwed up."
19302 HOST_TRIPLET
="${host_cpu}-${host_vendor}-${host_os}"
19304 if test "$HOST_TRIPLET" = "x86_64-w64-mingw32" ; then
19305 OS_SPECIFIC_LINKS
=" -static-libgcc $OS_SPECIFIC_LINKS"
19308 WIN_RC_VERSION
=`echo $PACKAGE_VERSION | $SED -e "s/p.*//" -e "s/\./,/g"`
19310 #-------------------------------------------------------------------------------
19333 ac_config_files
="$ac_config_files src/Makefile man/Makefile examples/Makefile tests/Makefile regtest/Makefile M4/Makefile doc/Makefile Win32/Makefile Octave/Makefile programs/Makefile Makefile src/version-metadata.rc tests/test_wrapper.sh tests/pedantic-header-test.sh doc/libsndfile.css build-test-tarball.mk libsndfile.spec sndfile.pc src/sndfile.h"
19335 cat >confcache
<<\_ACEOF
19336 # This file is a shell script that caches the results of configure
19337 # tests run on this system so they can be shared between configure
19338 # scripts and configure runs, see configure's option --config-cache.
19339 # It is not useful on other systems. If it contains results you don't
19340 # want to keep, you may remove or edit it.
19342 # config.status only pays attention to the cache file if you give it
19343 # the --recheck option to rerun configure.
19345 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19346 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19347 # following values.
19351 # The following way of writing the cache mishandles newlines in values,
19352 # but we know of no workaround that is simple, portable, and efficient.
19353 # So, we kill variables containing newlines.
19354 # Ultrix sh set writes to stderr and can't be redirected directly,
19355 # and sets the high bit in the cache file unless we assign to the vars.
19357 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19358 eval ac_val
=\$
$ac_var
19362 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19363 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19366 _ | IFS | as_nl
) ;; #(
19367 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19368 *) { eval $ac_var=; unset $ac_var;} ;;
19374 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19375 *${as_nl}ac_space
=\
*)
19376 # `set' does not quote correctly, so add quotes: double-quote
19377 # substitution turns \\\\ into \\, and sed turns \\ into \.
19380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19383 # `set' quotes correctly as required by POSIX, so do not add quotes.
19384 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19393 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19395 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19397 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19398 if test -w "$cache_file"; then
19399 if test "x$cache_file" != "x/dev/null"; then
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19401 $as_echo "$as_me: updating cache $cache_file" >&6;}
19402 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19403 cat confcache
>"$cache_file"
19405 case $cache_file in #(
19407 mv -f confcache
"$cache_file"$$
&&
19408 mv -f "$cache_file"$$
"$cache_file" ;; #(
19410 mv -f confcache
"$cache_file" ;;
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19416 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19421 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19422 # Let make expand exec_prefix.
19423 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19425 DEFS
=-DHAVE_CONFIG_H
19430 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19431 # 1. Remove the extension, and $U if already installed.
19432 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19433 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19434 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19435 # will be set to the directory where LIBOBJS objects are built.
19436 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19437 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19439 LIBOBJS
=$ac_libobjs
19441 LTLIBOBJS
=$ac_ltlibobjs
19444 if test -n "$EXEEXT"; then
19446 am__EXEEXT_FALSE
='#'
19448 am__EXEEXT_TRUE
='#'
19452 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19453 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19456 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19457 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19460 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19461 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19464 if test -z "${LINUX_MINGW_CROSS_TEST_TRUE}" && test -z "${LINUX_MINGW_CROSS_TEST_FALSE}"; then
19465 as_fn_error $?
"conditional \"LINUX_MINGW_CROSS_TEST\" was never defined.
19466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19468 if test -z "${ENABLE_TEST_COVERAGE_TRUE}" && test -z "${ENABLE_TEST_COVERAGE_FALSE}"; then
19469 as_fn_error $?
"conditional \"ENABLE_TEST_COVERAGE\" was never defined.
19470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19472 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
19473 as_fn_error $?
"conditional \"BUILD_OCTAVE_MOD\" was never defined.
19474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19476 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
19477 as_fn_error $?
"conditional \"BUILD_OCTAVE_MOD\" was never defined.
19478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19480 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
19481 as_fn_error $?
"conditional \"BUILD_OCTAVE_MOD\" was never defined.
19482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19484 if test -z "${USE_WIN_VERSION_FILE_TRUE}" && test -z "${USE_WIN_VERSION_FILE_FALSE}"; then
19485 as_fn_error $?
"conditional \"USE_WIN_VERSION_FILE\" was never defined.
19486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19489 : "${CONFIG_STATUS=./config.status}"
19491 ac_clean_files_save
=$ac_clean_files
19492 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19494 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19496 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19498 # Generated by $as_me.
19499 # Run this file to recreate the current configuration.
19500 # Compiler output produced by configure, useful for debugging
19501 # configure, is in config.log if it exists.
19504 ac_cs_recheck=false
19507 SHELL=\${CONFIG_SHELL-$SHELL}
19510 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19511 ## -------------------- ##
19512 ## M4sh Initialization. ##
19513 ## -------------------- ##
19515 # Be more Bourne compatible
19516 DUALCASE
=1; export DUALCASE
# for MKS sh
19517 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19520 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19521 # is contrary to our usage. Disable this feature.
19522 alias -g '${1+"$@"}'='"$@"'
19523 setopt NO_GLOB_SUBST
19525 case `(set -o) 2>/dev/null` in #(
19537 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19538 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19541 # Prefer a ksh shell builtin over an external printf program on Solaris,
19542 # but without wasting forks for bash or zsh.
19543 if test -z "$BASH_VERSION$ZSH_VERSION" \
19544 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19545 as_echo='print
-r --'
19546 as_echo_n='print
-rn --'
19547 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19548 as_echo='printf %s
\n'
19549 as_echo_n='printf %s
'
19551 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19552 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19553 as_echo_n='/usr
/ucb
/echo -n'
19555 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19556 as_echo_n_body='eval
19560 expr "X$arg" : "X\\(.*\\)$as_nl";
19561 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19563 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19565 export as_echo_n_body
19566 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19568 export as_echo_body
19569 as_echo='sh
-c $as_echo_body as_echo
'
19572 # The user is always right.
19573 if test "${PATH_SEPARATOR+set}" != set; then
19575 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19576 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19583 # We need space, tab and new line, in precisely that order. Quoting is
19584 # there to prevent editors from complaining about space-tab.
19585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19586 # splitting by setting IFS to empty value.)
19589 # Find who we are. Look in the path if we contain no directory separator.
19592 *[\\/]* ) as_myself=$0 ;;
19593 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19594 for as_dir in $PATH
19597 test -z "$as_dir" && as_dir=.
19598 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19604 # We did not find ourselves, most probably we were run as `sh COMMAND'
19605 # in which case we are not to be found in the path.
19606 if test "x$as_myself" = x
; then
19609 if test ! -f "$as_myself"; then
19610 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19614 # Unset variables that we do not need and which cause bugs (e.g. in
19615 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19616 # suppresses any "Segmentation fault" message there. '((' could
19617 # trigger a bug in pdksh 5.2.14.
19618 for as_var
in BASH_ENV ENV MAIL MAILPATH
19619 do eval test x\
${$as_var+set} = xset \
19620 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19633 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19636 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19637 # ----------------------------------------
19638 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19639 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19640 # script with STATUS, using 1 if that was 0.
19643 as_status
=$1; test $as_status -eq 0 && as_status
=1
19645 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19646 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19648 $as_echo "$as_me: error: $2" >&2
19649 as_fn_exit
$as_status
19653 # as_fn_set_status STATUS
19654 # -----------------------
19655 # Set $? to STATUS, without forking.
19656 as_fn_set_status
()
19659 } # as_fn_set_status
19661 # as_fn_exit STATUS
19662 # -----------------
19663 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19667 as_fn_set_status
$1
19673 # Portably unset VAR.
19676 { eval $1=; unset $1;}
19678 as_unset
=as_fn_unset
19679 # as_fn_append VAR VALUE
19680 # ----------------------
19681 # Append the text in VALUE to the end of the definition contained in VAR. Take
19682 # advantage of any shell optimizations that allow amortized linear growth over
19683 # repeated appends, instead of the typical quadratic growth present in naive
19685 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19686 eval 'as_fn_append ()
19697 # as_fn_arith ARG...
19698 # ------------------
19699 # Perform arithmetic evaluation on the ARGs, and store the result in the
19700 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19701 # must be portable across $(()) and expr.
19702 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19703 eval 'as_fn_arith ()
19710 as_val
=`expr "$@" || test $? -eq 1`
19715 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19716 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19722 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19723 as_basename
=basename
19728 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19734 as_me
=`$as_basename -- "$0" ||
19735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19736 X"$0" : 'X\(//\)$' \| \
19737 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19739 sed '/^.*\/\([^/][^/]*\)\/*$/{
19753 # Avoid depending upon Character Ranges.
19754 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19755 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19756 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19757 as_cr_digits
='0123456789'
19758 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19760 ECHO_C
= ECHO_N
= ECHO_T
=
19761 case `echo -n x` in #(((((
19763 case `echo 'xy\c'` in
19764 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19766 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19773 rm -f conf$$ conf$$.exe conf$$.
file
19774 if test -d conf$$.dir
; then
19775 rm -f conf$$.dir
/conf$$.
file
19778 mkdir conf$$.dir
2>/dev
/null
19780 if (echo >conf$$.
file) 2>/dev
/null
; then
19781 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19783 # ... but there are two gotchas:
19784 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19785 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19786 # In both cases, we have to default to `cp -p'.
19787 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19789 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19797 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19798 rmdir conf$$.dir
2>/dev
/null
19803 # Create "$as_dir" as a directory, including parents if necessary.
19808 -*) as_dir
=.
/$as_dir;;
19810 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19814 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19815 *) as_qdir
=$as_dir;;
19817 as_dirs
="'$as_qdir' $as_dirs"
19818 as_dir
=`$as_dirname -- "$as_dir" ||
19819 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19820 X"$as_dir" : 'X\(//\)[^/]' \| \
19821 X"$as_dir" : 'X\(//\)$' \| \
19822 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19823 $as_echo X"$as_dir" |
19824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19828 /^X\(\/\/\)[^/].*/{
19841 test -d "$as_dir" && break
19843 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19844 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19848 if mkdir
-p .
2>/dev
/null
; then
19849 as_mkdir_p
='mkdir -p "$as_dir"'
19851 test -d .
/-p && rmdir .
/-p
19855 if test -x / >/dev
/null
2>&1; then
19856 as_test_x
='test -x'
19858 if ls -dL / >/dev
/null
2>&1; then
19865 if test -d "$1"; then
19871 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19872 ???[sx]*):;;*)false;;esac;fi
19876 as_executable_p
=$as_test_x
19878 # Sed expression to map a string onto a valid CPP name.
19879 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19881 # Sed expression to map a string onto a valid variable name.
19882 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19886 ## ----------------------------------- ##
19887 ## Main body of $CONFIG_STATUS script. ##
19888 ## ----------------------------------- ##
19890 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19893 # Save the log message, to keep $0 and so on meaningful, and to
19894 # report actual input values of CONFIG_FILES etc. instead of their
19895 # values after options handling.
19897 This file was extended by libsndfile $as_me 1.0.25, which was
19898 generated by GNU Autoconf 2.68. Invocation command line was
19900 CONFIG_FILES = $CONFIG_FILES
19901 CONFIG_HEADERS = $CONFIG_HEADERS
19902 CONFIG_LINKS = $CONFIG_LINKS
19903 CONFIG_COMMANDS = $CONFIG_COMMANDS
19906 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19911 case $ac_config_files in *"
19912 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19915 case $ac_config_headers in *"
19916 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19921 # Files that config.status was made for.
19922 config_files="$ac_config_files"
19923 config_headers="$ac_config_headers"
19924 config_commands="$ac_config_commands"
19928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19930 \`$as_me' instantiates files and other configuration actions
19931 from templates according to the current configuration. Unless the files
19932 and actions are specified as TAGs, all are instantiated by default.
19934 Usage: $0 [OPTION]... [TAG]...
19936 -h, --help print this help, then exit
19937 -V, --version print version number and configuration settings, then exit
19938 --config print configuration, then exit
19939 -q, --quiet, --silent
19940 do not print progress messages
19941 -d, --debug don't remove temporary files
19942 --recheck update $as_me by reconfiguring in the same conditions
19943 --file=FILE[:TEMPLATE]
19944 instantiate the configuration file FILE
19945 --header=FILE[:TEMPLATE]
19946 instantiate the configuration header FILE
19948 Configuration files:
19951 Configuration headers:
19954 Configuration commands:
19957 Report bugs to <sndfile@mega-nerd.com>.
19958 libsndfile home page: <http://www.mega-nerd.com/libsndfile/>."
19961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19962 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19964 libsndfile config.status 1.0.25
19965 configured by $0, generated by GNU Autoconf 2.68,
19966 with options \\"\$ac_cs_config\\"
19968 Copyright (C) 2010 Free Software Foundation, Inc.
19969 This config.status script is free software; the Free Software Foundation
19970 gives unlimited permission to copy, distribute and modify it."
19977 test -n "\$AWK" || AWK=awk
19980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19981 # The default lists apply if the user does not specify any file.
19987 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19988 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19992 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20004 # Handling of the options.
20005 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20007 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20008 $as_echo "$ac_cs_version"; exit ;;
20009 --config |
--confi |
--conf |
--con |
--co |
--c )
20010 $as_echo "$ac_cs_config"; exit ;;
20011 --debug |
--debu |
--deb |
--de |
--d |
-d )
20013 --file |
--fil |
--fi |
--f )
20016 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20017 '') as_fn_error $?
"missing file argument" ;;
20019 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20020 ac_need_defaults
=false
;;
20021 --header |
--heade |
--head |
--hea )
20024 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20026 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20027 ac_need_defaults
=false
;;
20029 # Conflict between --help and --header
20030 as_fn_error $?
"ambiguous option: \`$1'
20031 Try \`$0 --help' for more information.";;
20032 --help |
--hel |
-h )
20033 $as_echo "$ac_cs_usage"; exit ;;
20034 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20035 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20038 # This is an error.
20039 -*) as_fn_error $?
"unrecognized option: \`$1'
20040 Try \`$0 --help' for more information." ;;
20042 *) as_fn_append ac_config_targets
" $1"
20043 ac_need_defaults
=false
;;
20049 ac_configure_extra_args
=
20051 if $ac_cs_silent; then
20053 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20058 if \$ac_cs_recheck; then
20059 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20061 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20062 CONFIG_SHELL='$SHELL'
20063 export CONFIG_SHELL
20068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20072 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20073 ## Running $as_me. ##
20079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20083 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20086 # The HP-UX ksh and POSIX shell print the target directory to stdout
20087 # if CDPATH is set.
20088 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20090 sed_quote_subst='$sed_quote_subst'
20091 double_quote_subst='$double_quote_subst'
20092 delay_variable_subst='$delay_variable_subst'
20093 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20094 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20095 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20096 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20097 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20098 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20099 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20100 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20101 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20102 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20103 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20104 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20105 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20106 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20107 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20108 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20109 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20110 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20111 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20112 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20113 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20114 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20115 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20116 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20117 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20118 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20119 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20120 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20121 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20122 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20123 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20124 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20125 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20126 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20127 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20128 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20129 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20130 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20131 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20132 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20133 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20134 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20135 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20136 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20137 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20138 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20139 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20140 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20141 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20142 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20143 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20144 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20145 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20146 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20147 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20148 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"`'
20149 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20150 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20151 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20152 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20153 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20154 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20155 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20156 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20157 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20158 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20159 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20160 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20161 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20162 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20163 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20164 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20165 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20166 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20167 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20168 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20169 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20170 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20171 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20172 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20173 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20174 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20175 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20176 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20177 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20178 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20179 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20180 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20181 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20182 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20183 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20184 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20185 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20186 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20187 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20188 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20189 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20190 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20191 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20192 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20193 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20194 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20195 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20196 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20197 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20198 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20199 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20200 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20201 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20202 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20203 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20204 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20205 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20206 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20207 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20208 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20209 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20210 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20211 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20212 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20213 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20214 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20215 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20216 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20217 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20218 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20219 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20220 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20221 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20222 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20223 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20224 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20225 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20226 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20227 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20228 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20229 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20230 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
20231 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20232 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
20233 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20234 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
20235 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20236 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
20237 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20238 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
20239 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20240 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
20241 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20242 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
20243 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20244 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
20245 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20246 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
20247 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20248 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
20249 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20250 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
20251 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20252 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
20253 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20254 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
20255 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20256 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20257 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20258 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20259 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20260 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
20261 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20262 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
20263 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20264 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
20265 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20266 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
20267 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20268 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
20269 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20270 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
20271 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20272 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
20273 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20274 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
20275 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20276 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
20277 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20278 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
20279 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20280 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20281 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20282 hardcode_libdir_flag_spec_ld_RC='`$ECHO "$hardcode_libdir_flag_spec_ld_RC" | $SED "$delay_single_quote_subst"`'
20283 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20284 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
20285 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20286 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
20287 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20288 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
20289 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20290 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
20291 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20292 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
20293 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20294 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
20295 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20296 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
20297 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20298 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
20299 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20300 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
20301 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20302 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
20303 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20304 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
20305 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20306 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
20307 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20308 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
20309 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20310 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
20311 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20312 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
20313 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20314 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
20315 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20316 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
20317 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20318 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
20319 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20320 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
20321 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20322 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
20323 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20324 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
20325 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20326 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
20329 LTCFLAGS='$LTCFLAGS'
20330 compiler='$compiler_DEFAULT'
20332 # A function that is used when there is no print builtin or printf.
20333 func_fallback_echo ()
20335 eval 'cat <<_LTECHO_EOF
20340 # Quote evaled strings.
20354 deplibs_check_method \
20359 sharedlib_from_linklib_cmd \
20362 archiver_list_spec \
20368 lt_cv_sys_global_symbol_pipe \
20369 lt_cv_sys_global_symbol_to_cdecl \
20370 lt_cv_sys_global_symbol_to_c_name_address \
20371 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20372 nm_file_list_spec \
20373 lt_prog_compiler_no_builtin_flag \
20374 lt_prog_compiler_pic \
20375 lt_prog_compiler_wl \
20376 lt_prog_compiler_static \
20377 lt_cv_prog_compiler_c_o \
20386 export_dynamic_flag_spec \
20387 whole_archive_flag_spec \
20388 compiler_needs_object \
20390 allow_undefined_flag \
20391 no_undefined_flag \
20392 hardcode_libdir_flag_spec \
20393 hardcode_libdir_flag_spec_ld \
20394 hardcode_libdir_separator \
20398 variables_saved_for_relink \
20400 library_names_spec \
20402 install_override_mode \
20406 compiler_lib_search_dirs \
20411 compiler_lib_search_path \
20418 lt_prog_compiler_no_builtin_flag_CXX \
20419 lt_prog_compiler_no_builtin_flag_RC \
20420 lt_prog_compiler_pic_CXX \
20421 lt_prog_compiler_pic_RC \
20422 lt_prog_compiler_wl_CXX \
20423 lt_prog_compiler_wl_RC \
20424 lt_prog_compiler_static_CXX \
20425 lt_prog_compiler_static_RC \
20426 lt_cv_prog_compiler_c_o_CXX \
20427 lt_cv_prog_compiler_c_o_RC \
20428 export_dynamic_flag_spec_CXX \
20429 export_dynamic_flag_spec_RC \
20430 whole_archive_flag_spec_CXX \
20431 whole_archive_flag_spec_RC \
20432 compiler_needs_object_CXX \
20433 compiler_needs_object_RC \
20436 allow_undefined_flag_CXX \
20437 allow_undefined_flag_RC \
20438 no_undefined_flag_CXX \
20439 no_undefined_flag_RC \
20440 hardcode_libdir_flag_spec_CXX \
20441 hardcode_libdir_flag_spec_RC \
20442 hardcode_libdir_flag_spec_ld_CXX \
20443 hardcode_libdir_flag_spec_ld_RC \
20444 hardcode_libdir_separator_CXX \
20445 hardcode_libdir_separator_RC \
20446 exclude_expsyms_CXX \
20447 exclude_expsyms_RC \
20448 include_expsyms_CXX \
20449 include_expsyms_RC \
20450 file_list_spec_CXX \
20451 file_list_spec_RC \
20452 compiler_lib_search_dirs_CXX \
20453 compiler_lib_search_dirs_RC \
20454 predep_objects_CXX \
20455 predep_objects_RC \
20456 postdep_objects_CXX \
20457 postdep_objects_RC \
20462 compiler_lib_search_path_CXX \
20463 compiler_lib_search_path_RC; do
20464 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20465 *[\\\\\\\`\\"\\\$]*)
20466 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20469 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20474 # Double-quote double-evaled strings.
20475 for var in reload_cmds \
20476 old_postinstall_cmds \
20477 old_postuninstall_cmds \
20479 extract_expsyms_cmds \
20480 old_archive_from_new_cmds \
20481 old_archive_from_expsyms_cmds \
20483 archive_expsym_cmds \
20485 module_expsym_cmds \
20486 export_symbols_cmds \
20490 postuninstall_cmds \
20492 sys_lib_search_path_spec \
20493 sys_lib_dlsearch_path_spec \
20496 old_archive_cmds_CXX \
20497 old_archive_cmds_RC \
20498 old_archive_from_new_cmds_CXX \
20499 old_archive_from_new_cmds_RC \
20500 old_archive_from_expsyms_cmds_CXX \
20501 old_archive_from_expsyms_cmds_RC \
20504 archive_expsym_cmds_CXX \
20505 archive_expsym_cmds_RC \
20508 module_expsym_cmds_CXX \
20509 module_expsym_cmds_RC \
20510 export_symbols_cmds_CXX \
20511 export_symbols_cmds_RC \
20514 postlink_cmds_CXX \
20515 postlink_cmds_RC; do
20516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20517 *[\\\\\\\`\\"\\\$]*)
20518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20526 ac_aux_dir='$ac_aux_dir'
20527 xsi_shell='$xsi_shell'
20528 lt_shell_append='$lt_shell_append'
20530 # See if we are running on zsh, and set the options which allow our
20531 # commands through without removal of \ escapes INIT.
20532 if test -n "\${ZSH_VERSION+set}" ; then
20533 setopt NO_GLOB_SUBST
20539 TIMESTAMP='$TIMESTAMP'
20552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20554 # Handling of arguments.
20555 for ac_config_target
in $ac_config_targets
20557 case $ac_config_target in
20558 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
20559 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20560 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20561 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20562 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
20563 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20564 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20565 "regtest/Makefile") CONFIG_FILES
="$CONFIG_FILES regtest/Makefile" ;;
20566 "M4/Makefile") CONFIG_FILES
="$CONFIG_FILES M4/Makefile" ;;
20567 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20568 "Win32/Makefile") CONFIG_FILES
="$CONFIG_FILES Win32/Makefile" ;;
20569 "Octave/Makefile") CONFIG_FILES
="$CONFIG_FILES Octave/Makefile" ;;
20570 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20571 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20572 "src/version-metadata.rc") CONFIG_FILES
="$CONFIG_FILES src/version-metadata.rc" ;;
20573 "tests/test_wrapper.sh") CONFIG_FILES
="$CONFIG_FILES tests/test_wrapper.sh" ;;
20574 "tests/pedantic-header-test.sh") CONFIG_FILES
="$CONFIG_FILES tests/pedantic-header-test.sh" ;;
20575 "doc/libsndfile.css") CONFIG_FILES
="$CONFIG_FILES doc/libsndfile.css" ;;
20576 "build-test-tarball.mk") CONFIG_FILES
="$CONFIG_FILES build-test-tarball.mk" ;;
20577 "libsndfile.spec") CONFIG_FILES
="$CONFIG_FILES libsndfile.spec" ;;
20578 "sndfile.pc") CONFIG_FILES
="$CONFIG_FILES sndfile.pc" ;;
20579 "src/sndfile.h") CONFIG_FILES
="$CONFIG_FILES src/sndfile.h" ;;
20581 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20586 # If the user did not use the arguments to specify the items to instantiate,
20587 # then the envvar interface is used. Set only those that are not.
20588 # We use the long form for the default assignment because of an extremely
20589 # bizarre bug on SunOS 4.1.3.
20590 if $ac_need_defaults; then
20591 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20592 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20593 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20596 # Have a temporary directory for convenience. Make it in the build tree
20597 # simply because there is no reason against having it here, and in addition,
20598 # creating and moving files from /tmp can sometimes cause problems.
20599 # Hook for its removal unless debugging.
20600 # Note that there is a small window in which the directory will not be cleaned:
20601 # after its creation but before its name has been assigned to `$tmp'.
20605 trap 'exit_status=$?
20606 : "${ac_tmp:=$tmp}"
20607 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20609 trap 'as_fn_exit 1' 1 2 13 15
20611 # Create a (secure) tmp directory for tmp files.
20614 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20618 tmp
=.
/conf$$
-$RANDOM
20619 (umask 077 && mkdir
"$tmp")
20620 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20623 # Set up the scripts for CONFIG_FILES section.
20624 # No need to generate them if there are no CONFIG_FILES.
20625 # This happens for instance with `./config.status config.h'.
20626 if test -n "$CONFIG_FILES"; then
20629 ac_cr
=`echo X | tr X '\015'`
20630 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20631 # But we know of no other shell where ac_cr would be empty at this
20632 # point, so we can use a bashism as a fallback.
20633 if test "x$ac_cr" = x
; then
20634 eval ac_cr
=\$
\'\\r
\'
20636 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20637 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20640 ac_cs_awk_cr
=$ac_cr
20643 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20648 echo "cat >conf$$subs.awk <<_ACEOF" &&
20649 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20651 } >conf$$subs.sh ||
20652 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20653 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20655 for ac_last_try in false false false false false :; do
20656 . ./conf$$subs.sh ||
20657 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20659 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20660 if test $ac_delim_n = $ac_delim_num; then
20662 elif $ac_last_try; then
20663 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20665 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20668 rm -f conf$$subs.sh
20670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20671 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20675 s/^/S["/; s
/!.
*/"]=/
20685 s/\(.\{148\}\)..*/\1/
20687 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20692 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20699 s/\(.\{148\}\)..*/\1/
20701 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20705 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20710 ' <conf$$subs.awk | sed '
20715 ' >>$CONFIG_STATUS || ac_write_fail=1
20716 rm -f conf$$subs.awk
20717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20719 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20720 for (key in S) S_is_set[key] = 1
20726 nfields = split(line, field, "@
")
20728 len = length(field[1])
20729 for (i = 2; i < nfields; i++) {
20731 keylen = length(key)
20732 if (S_is_set[key]) {
20734 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20735 len += length(value) + length(field[++i])
20746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20747 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20748 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20751 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20752 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20755 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20756 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20757 # trailing colons and then remove the whole line if VPATH becomes empty
20758 # (actually we leave an empty line to preserve line numbers).
20759 if test "x
$srcdir" = x.; then
20760 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20779 fi # test -n "$CONFIG_FILES"
20781 # Set up the scripts for CONFIG_HEADERS section.
20782 # No need to generate them if there are no CONFIG_HEADERS.
20783 # This happens for instance with `./config.status Makefile'.
20784 if test -n "$CONFIG_HEADERS"; then
20785 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20789 # Transform confdefs.h into an awk script `defines.awk', embedded as
20790 # here-document in config.status, that substitutes the proper values into
20791 # config.h.in to produce config.h.
20793 # Create a delimiter string that does not exist in confdefs.h, to ease
20794 # handling of long lines.
20796 for ac_last_try in false false :; do
20797 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20798 if test -z "$ac_tt"; then
20800 elif $ac_last_try; then
20801 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20803 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20807 # For the awk script, D is an array of macro values keyed by name,
20808 # likewise P contains macro parameters if any. Preserve backslash
20809 # newline sequences.
20811 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20813 s/.\{148\}/&'"$ac_delim"'/g
20816 s/^[ ]*#[ ]*define[ ][ ]*/ /
20823 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20825 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20829 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20830 D["\
1"]=" \
3\\\\\\n
"\\/p
20832 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20837 s/.\{148\}/&'"$ac_delim"'/g
20842 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20845 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20847 ' <confdefs.h | sed '
20848 s/'"$ac_delim"'/"\\\
20849 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20852 for (key in D) D_is_set[key] = 1
20855 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20857 split(line, arg, " ")
20858 if (arg[1] == "#") {
20862 defundef
= substr
(arg
[1], 2)
20865 split(mac1
, mac2
, "(") #)
20867 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20868 if (D_is_set
[macro
]) {
20869 # Preserve the white space surrounding the "#".
20870 print prefix
"define", macro P
[macro
] D
[macro
]
20873 # Replace #undef with comments. This is necessary, for example,
20874 # in the case of _POSIX_SOURCE, which is predefined and required
20875 # on some systems where configure will not decide to define it.
20876 if (defundef
== "undef") {
20877 print
"/*", prefix defundef
, macro
, "*/"
20885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20886 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20887 fi # test -n "$CONFIG_HEADERS"
20890 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20895 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20897 case $ac_mode$ac_tag in
20899 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20900 :[FH
]-) ac_tag
=-:-;;
20901 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20918 -) ac_f
="$ac_tmp/stdin";;
20919 *) # Look for the file first in the build tree, then in the source tree
20920 # (if the path is not absolute). The absolute path cannot be DOS-style,
20921 # because $ac_f cannot contain `:'.
20925 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20927 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20929 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20930 as_fn_append ac_file_inputs
" '$ac_f'"
20933 # Let's still pretend it is `configure' which instantiates (i.e., don't
20934 # use $as_me), people would be surprised to read:
20935 # /* config.h. Generated by config.status. */
20936 configure_input
='Generated from '`
20937 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20939 if test x
"$ac_file" != x-
; then
20940 configure_input
="$ac_file. $configure_input"
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20942 $as_echo "$as_me: creating $ac_file" >&6;}
20944 # Neutralize special characters interpreted by sed in replacement strings.
20945 case $configure_input in #(
20946 *\
&* |
*\|
* |
*\\* )
20947 ac_sed_conf_input
=`$as_echo "$configure_input" |
20948 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20949 *) ac_sed_conf_input
=$configure_input;;
20953 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20954 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20959 ac_dir
=`$as_dirname -- "$ac_file" ||
20960 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20961 X"$ac_file" : 'X\(//\)[^/]' \| \
20962 X"$ac_file" : 'X\(//\)$' \| \
20963 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20964 $as_echo X"$ac_file" |
20965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20969 /^X\(\/\/\)[^/].*/{
20982 as_dir
="$ac_dir"; as_fn_mkdir_p
20986 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20988 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20989 # A ".." for each directory in $ac_dir_suffix.
20990 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20991 case $ac_top_builddir_sub in
20992 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20993 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20996 ac_abs_top_builddir
=$ac_pwd
20997 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20998 # for backward compatibility:
20999 ac_top_builddir
=$ac_top_build_prefix
21002 .
) # We are building in place.
21004 ac_top_srcdir
=$ac_top_builddir_sub
21005 ac_abs_top_srcdir
=$ac_pwd ;;
21006 [\\/]* | ?
:[\\/]* ) # Absolute name.
21007 ac_srcdir
=$srcdir$ac_dir_suffix;
21008 ac_top_srcdir
=$srcdir
21009 ac_abs_top_srcdir
=$srcdir ;;
21010 *) # Relative name.
21011 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21012 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21013 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21015 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21025 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21026 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21028 ac_MKDIR_P
=$MKDIR_P
21030 [\\/$
]* | ?
:[\\/]* ) ;;
21031 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21036 # If the template does not know about datarootdir, expand it.
21037 # FIXME: This hack should be removed a few years after 2.60.
21038 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21049 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21050 *datarootdir
*) ac_datarootdir_seen
=yes;;
21051 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21053 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21056 ac_datarootdir_hack='
21057 s&@datadir@&$datadir&g
21058 s&@docdir@&$docdir&g
21059 s&@infodir@&$infodir&g
21060 s&@localedir@&$localedir&g
21061 s&@mandir@&$mandir&g
21062 s&\\\${datarootdir}&$datarootdir&g' ;;
21066 # Neutralize VPATH when `$srcdir' = `.'.
21067 # Shell code in configure.ac might set extrasub.
21068 # FIXME: do we really want to maintain this feature?
21069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21070 ac_sed_extra="$ac_vpsub
21073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21075 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21076 s|@configure_input@|
$ac_sed_conf_input|
;t t
21077 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21078 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21079 s
&@srcdir@
&$ac_srcdir&;t t
21080 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21081 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21082 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21083 s
&@builddir@
&$ac_builddir&;t t
21084 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21085 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21086 s
&@INSTALL@
&$ac_INSTALL&;t t
21087 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21088 $ac_datarootdir_hack
21090 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21091 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21093 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21094 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21095 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21096 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21098 which seems to be undefined. Please make sure it is defined" >&5
21099 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21100 which seems to be undefined. Please make sure it is defined" >&2;}
21102 rm -f "$ac_tmp/stdin"
21104 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21105 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21107 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21113 if test x"$ac_file" != x-; then
21115 $as_echo "/* $configure_input */" \
21116 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21117 } >"$ac_tmp/config.h" \
21118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21119 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21121 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21124 mv "$ac_tmp/config.h" "$ac_file" \
21125 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21128 $as_echo "/* $configure_input */" \
21129 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21130 || as_fn_error $? "could not create -" "$LINENO" 5
21132 # Compute "$ac_file"'s index
in $config_headers.
21135 for _am_header
in $config_headers :; do
21136 case $_am_header in
21137 $_am_arg |
$_am_arg:* )
21140 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21143 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21144 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21145 X"$_am_arg" : 'X\(//\)[^/]' \| \
21146 X"$_am_arg" : 'X\(//\)$' \| \
21147 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21148 $as_echo X"$_am_arg" |
21149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21153 /^X\(\/\/\)[^/].*/{
21165 s/.*/./; q'`/stamp-h
$_am_stamp_count
21168 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21169 $as_echo "$as_me: executing $ac_file commands" >&6;}
21174 case $ac_file$ac_mode in
21175 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21176 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21177 # are listed without --file. Let's play safe and only enable the eval
21178 # if we detect the quoting.
21179 case $CONFIG_FILES in
21180 *\'*) eval set x
"$CONFIG_FILES" ;;
21181 *) set x
$CONFIG_FILES ;;
21186 # Strip MF so we end up with the name of the file.
21187 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21188 # Check whether this is an Automake generated Makefile or not.
21189 # We used to match only the files named `Makefile.in', but
21190 # some people rename them; so instead we look at the file content.
21191 # Grep'ing the first line is not enough: some people post-process
21192 # each Makefile.in and add a new line on top of each file to say so.
21193 # Grep'ing the whole file is not good either: AIX grep has a line
21194 # limit of 2048, but all sed's we know have understand at least 4000.
21195 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21196 dirpart
=`$as_dirname -- "$mf" ||
21197 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21198 X"$mf" : 'X\(//\)[^/]' \| \
21199 X"$mf" : 'X\(//\)$' \| \
21200 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21206 /^X\(\/\/\)[^/].*/{
21222 # Extract the definition of DEPDIR, am__include, and am__quote
21223 # from the Makefile without running `make'.
21224 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21225 test -z "$DEPDIR" && continue
21226 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21227 test -z "am__include" && continue
21228 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21229 # When using ansi2knr, U may be empty or an underscore; expand it
21230 U
=`sed -n 's/^U = //p' < "$mf"`
21231 # Find all dependency output files, they are included files with
21232 # $(DEPDIR) in their names. We invoke sed twice because it is the
21233 # simplest approach to changing $(DEPDIR) to its actual value in the
21235 for file in `sed -n "
21236 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21237 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21238 # Make sure the directory exists.
21239 test -f "$dirpart/$file" && continue
21240 fdir
=`$as_dirname -- "$file" ||
21241 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21242 X"$file" : 'X\(//\)[^/]' \| \
21243 X"$file" : 'X\(//\)$' \| \
21244 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21245 $as_echo X"$file" |
21246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21250 /^X\(\/\/\)[^/].*/{
21263 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21264 # echo "creating $dirpart/$file"
21265 echo '# dummy' > "$dirpart/$file"
21272 # See if we are running on zsh, and set the options which allow our
21273 # commands through without removal of \ escapes.
21274 if test -n "${ZSH_VERSION+set}" ; then
21275 setopt NO_GLOB_SUBST
21278 cfgfile
="${ofile}T"
21279 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21282 cat <<_LT_EOF >> "$cfgfile"
21285 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21286 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21287 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21288 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21290 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21291 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21293 # Written by Gordon Matzigkeit, 1996
21295 # This file is part of GNU Libtool.
21297 # GNU Libtool is free software; you can redistribute it and/or
21298 # modify it under the terms of the GNU General Public License as
21299 # published by the Free Software Foundation; either version 2 of
21300 # the License, or (at your option) any later version.
21302 # As a special exception to the GNU General Public License,
21303 # if you distribute this file as part of a program or library that
21304 # is built using GNU Libtool, you may include this file under the
21305 # same distribution terms that you use for the rest of that program.
21307 # GNU Libtool is distributed in the hope that it will be useful,
21308 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21309 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21310 # GNU General Public License for more details.
21312 # You should have received a copy of the GNU General Public License
21313 # along with GNU Libtool; see the file COPYING. If not, a copy
21314 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21315 # obtained by writing to the Free Software Foundation, Inc.,
21316 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21319 # The names of the tagged configurations supported by this script.
21320 available_tags="CXX RC "
21322 # ### BEGIN LIBTOOL CONFIG
21324 # Which release of libtool.m4 was used?
21325 macro_version=$macro_version
21326 macro_revision=$macro_revision
21328 # Whether or not to build shared libraries.
21329 build_libtool_libs=$enable_shared
21331 # Whether or not to build static libraries.
21332 build_old_libs=$enable_static
21334 # What type of objects to build.
21337 # Whether or not to optimize for fast installation.
21338 fast_install=$enable_fast_install
21340 # Shell to use when invoking shell scripts.
21343 # An echo program that protects backslashes.
21347 host_alias=$host_alias
21351 # The build system.
21352 build_alias=$build_alias
21356 # A sed program that does not truncate output.
21359 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21360 Xsed="\$SED -e 1s/^X//"
21362 # A grep program that handles long lines.
21368 # A literal string matcher.
21371 # A BSD- or MS-compatible name lister.
21374 # Whether we need soft or hard links.
21377 # What is the maximum length of a command?
21378 max_cmd_len=$max_cmd_len
21380 # Object file suffix (normally "o").
21383 # Executable file suffix (normally "").
21386 # whether the shell understands "unset".
21389 # turn spaces into newlines.
21392 # turn newlines into spaces.
21395 # convert \$build file names to \$host format.
21396 to_host_file_cmd=$lt_cv_to_host_file_cmd
21398 # convert \$build files to toolchain format.
21399 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21401 # An object symbol dumper.
21402 OBJDUMP=$lt_OBJDUMP
21404 # Method to check whether dependent libraries are shared objects.
21405 deplibs_check_method=$lt_deplibs_check_method
21407 # Command to use when deplibs_check_method = "file_magic".
21408 file_magic_cmd=$lt_file_magic_cmd
21410 # How to find potential files when deplibs_check_method = "file_magic".
21411 file_magic_glob=$lt_file_magic_glob
21413 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21414 want_nocaseglob=$lt_want_nocaseglob
21416 # DLL creation program.
21417 DLLTOOL=$lt_DLLTOOL
21419 # Command to associate shared and link libraries.
21420 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21425 # Flags to create an archive.
21426 AR_FLAGS=$lt_AR_FLAGS
21428 # How to feed a file listing to the archiver.
21429 archiver_list_spec=$lt_archiver_list_spec
21431 # A symbol stripping program.
21434 # Commands used to install an old-style archive.
21436 old_postinstall_cmds=$lt_old_postinstall_cmds
21437 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21439 # Whether to use a lock for old archive extraction.
21440 lock_old_archive_extraction=$lock_old_archive_extraction
21445 # LTCC compiler flags.
21446 LTCFLAGS=$lt_CFLAGS
21448 # Take the output of nm and produce a listing of raw symbols and C names.
21449 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21451 # Transform the output of nm in a proper C declaration.
21452 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21454 # Transform the output of nm in a C name address pair.
21455 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21457 # Transform the output of nm in a C name address pair when lib prefix is needed.
21458 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21460 # Specify filename containing input files for \$NM.
21461 nm_file_list_spec=$lt_nm_file_list_spec
21463 # The root where to search for dependent libraries,and in which our libraries should be installed.
21464 lt_sysroot=$lt_sysroot
21466 # The name of the directory that contains temporary libtool files.
21469 # Used to examine libraries when file_magic_cmd begins with "file".
21470 MAGIC_CMD=$MAGIC_CMD
21472 # Must we lock files when doing compilation?
21473 need_locks=$lt_need_locks
21476 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21478 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21479 DSYMUTIL=$lt_DSYMUTIL
21481 # Tool to change global to local symbols on Mac OS X.
21484 # Tool to manipulate fat objects and archives on Mac OS X.
21487 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21490 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21491 OTOOL64=$lt_OTOOL64
21493 # Old archive suffix (normally "a").
21496 # Shared library suffix (normally ".so").
21497 shrext_cmds=$lt_shrext_cmds
21499 # The commands to extract the exported symbol list from a shared archive.
21500 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21502 # Variables whose values should be saved in libtool wrapper scripts and
21503 # restored at link time.
21504 variables_saved_for_relink=$lt_variables_saved_for_relink
21506 # Do we need the "lib" prefix for modules?
21507 need_lib_prefix=$need_lib_prefix
21509 # Do we need a version for libraries?
21510 need_version=$need_version
21512 # Library versioning type.
21513 version_type=$version_type
21515 # Shared library runtime path variable.
21516 runpath_var=$runpath_var
21518 # Shared library path variable.
21519 shlibpath_var=$shlibpath_var
21521 # Is shlibpath searched before the hard-coded library search path?
21522 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21524 # Format of library name prefix.
21525 libname_spec=$lt_libname_spec
21527 # List of archive names. First name is the real one, the rest are links.
21528 # The last name is the one that the linker finds with -lNAME
21529 library_names_spec=$lt_library_names_spec
21531 # The coded name of the library, if different from the real name.
21532 soname_spec=$lt_soname_spec
21534 # Permission mode override for installation of shared libraries.
21535 install_override_mode=$lt_install_override_mode
21537 # Command to use after installation of a shared archive.
21538 postinstall_cmds=$lt_postinstall_cmds
21540 # Command to use after uninstallation of a shared archive.
21541 postuninstall_cmds=$lt_postuninstall_cmds
21543 # Commands used to finish a libtool library installation in a directory.
21544 finish_cmds=$lt_finish_cmds
21546 # As "finish_cmds", except a single script fragment to be evaled but
21548 finish_eval=$lt_finish_eval
21550 # Whether we should hardcode library paths into libraries.
21551 hardcode_into_libs=$hardcode_into_libs
21553 # Compile-time system search path for libraries.
21554 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21556 # Run-time system search path for libraries.
21557 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21559 # Whether dlopen is supported.
21560 dlopen_support=$enable_dlopen
21562 # Whether dlopen of programs is supported.
21563 dlopen_self=$enable_dlopen_self
21565 # Whether dlopen of statically linked programs is supported.
21566 dlopen_self_static=$enable_dlopen_self_static
21568 # Commands to strip libraries.
21569 old_striplib=$lt_old_striplib
21570 striplib=$lt_striplib
21573 # The linker used to build libraries.
21576 # How to create reloadable object files.
21577 reload_flag=$lt_reload_flag
21578 reload_cmds=$lt_reload_cmds
21580 # Commands used to build an old-style archive.
21581 old_archive_cmds=$lt_old_archive_cmds
21583 # A language specific compiler.
21586 # Is the compiler the GNU compiler?
21589 # Compiler flag to turn off builtin functions.
21590 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21592 # Additional compiler flags for building library objects.
21593 pic_flag=$lt_lt_prog_compiler_pic
21595 # How to pass a linker flag through the compiler.
21596 wl=$lt_lt_prog_compiler_wl
21598 # Compiler flag to prevent dynamic linking.
21599 link_static_flag=$lt_lt_prog_compiler_static
21601 # Does compiler simultaneously support -c and -o options?
21602 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21604 # Whether or not to add -lc for building shared libraries.
21605 build_libtool_need_lc=$archive_cmds_need_lc
21607 # Whether or not to disallow shared libs when runtime libs are static.
21608 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21610 # Compiler flag to allow reflexive dlopens.
21611 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21613 # Compiler flag to generate shared objects directly from archives.
21614 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21616 # Whether the compiler copes with passing no objects directly.
21617 compiler_needs_object=$lt_compiler_needs_object
21619 # Create an old-style archive from a shared archive.
21620 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21622 # Create a temporary old-style archive to link instead of a shared archive.
21623 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21625 # Commands used to build a shared archive.
21626 archive_cmds=$lt_archive_cmds
21627 archive_expsym_cmds=$lt_archive_expsym_cmds
21629 # Commands used to build a loadable module if different from building
21630 # a shared archive.
21631 module_cmds=$lt_module_cmds
21632 module_expsym_cmds=$lt_module_expsym_cmds
21634 # Whether we are building with GNU ld or not.
21635 with_gnu_ld=$lt_with_gnu_ld
21637 # Flag that allows shared libraries with undefined symbols to be built.
21638 allow_undefined_flag=$lt_allow_undefined_flag
21640 # Flag that enforces no undefined symbols.
21641 no_undefined_flag=$lt_no_undefined_flag
21643 # Flag to hardcode \$libdir into a binary during linking.
21644 # This must work even if \$libdir does not exist
21645 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21647 # If ld is used when linking, flag to hardcode \$libdir into a binary
21648 # during linking. This must work even if \$libdir does not exist.
21649 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21651 # Whether we need a single "-rpath" flag with a separated argument.
21652 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21654 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21655 # DIR into the resulting binary.
21656 hardcode_direct=$hardcode_direct
21658 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21659 # DIR into the resulting binary and the resulting library dependency is
21660 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21661 # library is relocated.
21662 hardcode_direct_absolute=$hardcode_direct_absolute
21664 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21665 # into the resulting binary.
21666 hardcode_minus_L=$hardcode_minus_L
21668 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21669 # into the resulting binary.
21670 hardcode_shlibpath_var=$hardcode_shlibpath_var
21672 # Set to "yes" if building a shared library automatically hardcodes DIR
21673 # into the library and all subsequent libraries and executables linked
21675 hardcode_automatic=$hardcode_automatic
21677 # Set to yes if linker adds runtime paths of dependent libraries
21678 # to runtime path list.
21679 inherit_rpath=$inherit_rpath
21681 # Whether libtool must link a program against all its dependency libraries.
21682 link_all_deplibs=$link_all_deplibs
21684 # Set to "yes" if exported symbols are required.
21685 always_export_symbols=$always_export_symbols
21687 # The commands to list exported symbols.
21688 export_symbols_cmds=$lt_export_symbols_cmds
21690 # Symbols that should not be listed in the preloaded symbols.
21691 exclude_expsyms=$lt_exclude_expsyms
21693 # Symbols that must always be exported.
21694 include_expsyms=$lt_include_expsyms
21696 # Commands necessary for linking programs (against libraries) with templates.
21697 prelink_cmds=$lt_prelink_cmds
21699 # Commands necessary for finishing linking programs.
21700 postlink_cmds=$lt_postlink_cmds
21702 # Specify filename containing input files.
21703 file_list_spec=$lt_file_list_spec
21705 # How to hardcode a shared library path into an executable.
21706 hardcode_action=$hardcode_action
21708 # The directories searched by this compiler when creating a shared library.
21709 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21711 # Dependencies to place before and after the objects being linked to
21712 # create a shared library.
21713 predep_objects=$lt_predep_objects
21714 postdep_objects=$lt_postdep_objects
21715 predeps=$lt_predeps
21716 postdeps=$lt_postdeps
21718 # The library search path used internally by the compiler when linking
21719 # a shared library.
21720 compiler_lib_search_path=$lt_compiler_lib_search_path
21722 # ### END LIBTOOL CONFIG
21728 cat <<\_LT_EOF
>> "$cfgfile"
21729 # AIX sometimes has problems with the GCC collect2 program. For some
21730 # reason, if we set the COLLECT_NAMES environment variable, the problems
21731 # vanish in a puff of smoke.
21732 if test "X${COLLECT_NAMES+set}" != Xset
; then
21734 export COLLECT_NAMES
21741 ltmain
="$ac_aux_dir/ltmain.sh"
21744 # We use sed instead of cat because bash on DJGPP gets confused if
21745 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21746 # text mode, it properly converts lines to CR/LF. This bash problem
21747 # is reportedly fixed, but why not run on old versions too?
21748 sed '$q' "$ltmain" >> "$cfgfile" \
21749 ||
(rm -f "$cfgfile"; exit 1)
21751 if test x
"$xsi_shell" = xyes
; then
21752 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21756 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21757 \ * ) func_dirname_result="${3}" ;;\
21759 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21760 && mv -f "$cfgfile.tmp" "$cfgfile" \
21761 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21762 test 0 -eq $? || _lt_function_replace_fail
=:
21765 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21768 \ func_basename_result="${1##*/}"\
21769 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21770 && mv -f "$cfgfile.tmp" "$cfgfile" \
21771 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21772 test 0 -eq $? || _lt_function_replace_fail
=:
21775 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21776 func_dirname_and_basename ()\
21779 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21780 \ * ) func_dirname_result="${3}" ;;\
21782 \ func_basename_result="${1##*/}"\
21783 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21784 && mv -f "$cfgfile.tmp" "$cfgfile" \
21785 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21786 test 0 -eq $? || _lt_function_replace_fail
=:
21789 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21792 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21793 \ # positional parameters, so assign one to ordinary parameter first.\
21794 \ func_stripname_result=${3}\
21795 \ func_stripname_result=${func_stripname_result#"${1}"}\
21796 \ func_stripname_result=${func_stripname_result%"${2}"}\
21797 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21798 && mv -f "$cfgfile.tmp" "$cfgfile" \
21799 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21800 test 0 -eq $? || _lt_function_replace_fail
=:
21803 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21804 func_split_long_opt ()\
21806 \ func_split_long_opt_name=${1%%=*}\
21807 \ func_split_long_opt_arg=${1#*=}\
21808 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21809 && mv -f "$cfgfile.tmp" "$cfgfile" \
21810 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21811 test 0 -eq $? || _lt_function_replace_fail
=:
21814 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21815 func_split_short_opt ()\
21817 \ func_split_short_opt_arg=${1#??}\
21818 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21819 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21820 && mv -f "$cfgfile.tmp" "$cfgfile" \
21821 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21822 test 0 -eq $? || _lt_function_replace_fail
=:
21825 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21829 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21830 \ *) func_lo2o_result=${1} ;;\
21832 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21833 && mv -f "$cfgfile.tmp" "$cfgfile" \
21834 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21835 test 0 -eq $? || _lt_function_replace_fail
=:
21838 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21841 func_xform_result=${1%.*}.lo\
21842 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21843 && mv -f "$cfgfile.tmp" "$cfgfile" \
21844 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21845 test 0 -eq $? || _lt_function_replace_fail
=:
21848 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21851 func_arith_result=$(( $* ))\
21852 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21853 && mv -f "$cfgfile.tmp" "$cfgfile" \
21854 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21855 test 0 -eq $? || _lt_function_replace_fail
=:
21858 sed -e '/^func_len ()$/,/^} # func_len /c\
21861 func_len_result=${#1}\
21862 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21863 && mv -f "$cfgfile.tmp" "$cfgfile" \
21864 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21865 test 0 -eq $? || _lt_function_replace_fail
=:
21869 if test x
"$lt_shell_append" = xyes
; then
21870 sed -e '/^func_append ()$/,/^} # func_append /c\
21873 eval "${1}+=\\${2}"\
21874 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21875 && mv -f "$cfgfile.tmp" "$cfgfile" \
21876 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21877 test 0 -eq $? || _lt_function_replace_fail
=:
21880 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21881 func_append_quoted ()\
21883 \ func_quote_for_eval "${2}"\
21884 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21885 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21886 && mv -f "$cfgfile.tmp" "$cfgfile" \
21887 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21888 test 0 -eq $? || _lt_function_replace_fail
=:
21891 # Save a `func_append' function call where possible by direct use of '+='
21892 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21893 && mv -f "$cfgfile.tmp" "$cfgfile" \
21894 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21895 test 0 -eq $? || _lt_function_replace_fail
=:
21897 # Save a `func_append' function call even when '+=' is not available
21898 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21899 && mv -f "$cfgfile.tmp" "$cfgfile" \
21900 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21901 test 0 -eq $? || _lt_function_replace_fail
=:
21904 if test x
"$_lt_function_replace_fail" = x
":"; then
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21906 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21910 mv -f "$cfgfile" "$ofile" ||
21911 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21915 cat <<_LT_EOF >> "$ofile"
21917 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21919 # The linker used to build libraries.
21922 # How to create reloadable object files.
21923 reload_flag=$lt_reload_flag_CXX
21924 reload_cmds=$lt_reload_cmds_CXX
21926 # Commands used to build an old-style archive.
21927 old_archive_cmds=$lt_old_archive_cmds_CXX
21929 # A language specific compiler.
21930 CC=$lt_compiler_CXX
21932 # Is the compiler the GNU compiler?
21935 # Compiler flag to turn off builtin functions.
21936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21938 # Additional compiler flags for building library objects.
21939 pic_flag=$lt_lt_prog_compiler_pic_CXX
21941 # How to pass a linker flag through the compiler.
21942 wl=$lt_lt_prog_compiler_wl_CXX
21944 # Compiler flag to prevent dynamic linking.
21945 link_static_flag=$lt_lt_prog_compiler_static_CXX
21947 # Does compiler simultaneously support -c and -o options?
21948 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21950 # Whether or not to add -lc for building shared libraries.
21951 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21953 # Whether or not to disallow shared libs when runtime libs are static.
21954 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21956 # Compiler flag to allow reflexive dlopens.
21957 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21959 # Compiler flag to generate shared objects directly from archives.
21960 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21962 # Whether the compiler copes with passing no objects directly.
21963 compiler_needs_object=$lt_compiler_needs_object_CXX
21965 # Create an old-style archive from a shared archive.
21966 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21968 # Create a temporary old-style archive to link instead of a shared archive.
21969 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21971 # Commands used to build a shared archive.
21972 archive_cmds=$lt_archive_cmds_CXX
21973 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21975 # Commands used to build a loadable module if different from building
21976 # a shared archive.
21977 module_cmds=$lt_module_cmds_CXX
21978 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21980 # Whether we are building with GNU ld or not.
21981 with_gnu_ld=$lt_with_gnu_ld_CXX
21983 # Flag that allows shared libraries with undefined symbols to be built.
21984 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21986 # Flag that enforces no undefined symbols.
21987 no_undefined_flag=$lt_no_undefined_flag_CXX
21989 # Flag to hardcode \$libdir into a binary during linking.
21990 # This must work even if \$libdir does not exist
21991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21993 # If ld is used when linking, flag to hardcode \$libdir into a binary
21994 # during linking. This must work even if \$libdir does not exist.
21995 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21997 # Whether we need a single "-rpath" flag with a separated argument.
21998 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22000 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22001 # DIR into the resulting binary.
22002 hardcode_direct=$hardcode_direct_CXX
22004 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22005 # DIR into the resulting binary and the resulting library dependency is
22006 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22007 # library is relocated.
22008 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22010 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22011 # into the resulting binary.
22012 hardcode_minus_L=$hardcode_minus_L_CXX
22014 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22015 # into the resulting binary.
22016 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22018 # Set to "yes" if building a shared library automatically hardcodes DIR
22019 # into the library and all subsequent libraries and executables linked
22021 hardcode_automatic=$hardcode_automatic_CXX
22023 # Set to yes if linker adds runtime paths of dependent libraries
22024 # to runtime path list.
22025 inherit_rpath=$inherit_rpath_CXX
22027 # Whether libtool must link a program against all its dependency libraries.
22028 link_all_deplibs=$link_all_deplibs_CXX
22030 # Set to "yes" if exported symbols are required.
22031 always_export_symbols=$always_export_symbols_CXX
22033 # The commands to list exported symbols.
22034 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22036 # Symbols that should not be listed in the preloaded symbols.
22037 exclude_expsyms=$lt_exclude_expsyms_CXX
22039 # Symbols that must always be exported.
22040 include_expsyms=$lt_include_expsyms_CXX
22042 # Commands necessary for linking programs (against libraries) with templates.
22043 prelink_cmds=$lt_prelink_cmds_CXX
22045 # Commands necessary for finishing linking programs.
22046 postlink_cmds=$lt_postlink_cmds_CXX
22048 # Specify filename containing input files.
22049 file_list_spec=$lt_file_list_spec_CXX
22051 # How to hardcode a shared library path into an executable.
22052 hardcode_action=$hardcode_action_CXX
22054 # The directories searched by this compiler when creating a shared library.
22055 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22057 # Dependencies to place before and after the objects being linked to
22058 # create a shared library.
22059 predep_objects=$lt_predep_objects_CXX
22060 postdep_objects=$lt_postdep_objects_CXX
22061 predeps=$lt_predeps_CXX
22062 postdeps=$lt_postdeps_CXX
22064 # The library search path used internally by the compiler when linking
22065 # a shared library.
22066 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22068 # ### END LIBTOOL TAG CONFIG: CXX
22072 cat <<_LT_EOF >> "$ofile"
22074 # ### BEGIN LIBTOOL TAG CONFIG: RC
22076 # The linker used to build libraries.
22079 # How to create reloadable object files.
22080 reload_flag=$lt_reload_flag_RC
22081 reload_cmds=$lt_reload_cmds_RC
22083 # Commands used to build an old-style archive.
22084 old_archive_cmds=$lt_old_archive_cmds_RC
22086 # A language specific compiler.
22089 # Is the compiler the GNU compiler?
22092 # Compiler flag to turn off builtin functions.
22093 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22095 # Additional compiler flags for building library objects.
22096 pic_flag=$lt_lt_prog_compiler_pic_RC
22098 # How to pass a linker flag through the compiler.
22099 wl=$lt_lt_prog_compiler_wl_RC
22101 # Compiler flag to prevent dynamic linking.
22102 link_static_flag=$lt_lt_prog_compiler_static_RC
22104 # Does compiler simultaneously support -c and -o options?
22105 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22107 # Whether or not to add -lc for building shared libraries.
22108 build_libtool_need_lc=$archive_cmds_need_lc_RC
22110 # Whether or not to disallow shared libs when runtime libs are static.
22111 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22113 # Compiler flag to allow reflexive dlopens.
22114 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22116 # Compiler flag to generate shared objects directly from archives.
22117 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22119 # Whether the compiler copes with passing no objects directly.
22120 compiler_needs_object=$lt_compiler_needs_object_RC
22122 # Create an old-style archive from a shared archive.
22123 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22125 # Create a temporary old-style archive to link instead of a shared archive.
22126 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22128 # Commands used to build a shared archive.
22129 archive_cmds=$lt_archive_cmds_RC
22130 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22132 # Commands used to build a loadable module if different from building
22133 # a shared archive.
22134 module_cmds=$lt_module_cmds_RC
22135 module_expsym_cmds=$lt_module_expsym_cmds_RC
22137 # Whether we are building with GNU ld or not.
22138 with_gnu_ld=$lt_with_gnu_ld_RC
22140 # Flag that allows shared libraries with undefined symbols to be built.
22141 allow_undefined_flag=$lt_allow_undefined_flag_RC
22143 # Flag that enforces no undefined symbols.
22144 no_undefined_flag=$lt_no_undefined_flag_RC
22146 # Flag to hardcode \$libdir into a binary during linking.
22147 # This must work even if \$libdir does not exist
22148 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22150 # If ld is used when linking, flag to hardcode \$libdir into a binary
22151 # during linking. This must work even if \$libdir does not exist.
22152 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22154 # Whether we need a single "-rpath" flag with a separated argument.
22155 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22157 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22158 # DIR into the resulting binary.
22159 hardcode_direct=$hardcode_direct_RC
22161 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22162 # DIR into the resulting binary and the resulting library dependency is
22163 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22164 # library is relocated.
22165 hardcode_direct_absolute=$hardcode_direct_absolute_RC
22167 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22168 # into the resulting binary.
22169 hardcode_minus_L=$hardcode_minus_L_RC
22171 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22172 # into the resulting binary.
22173 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22175 # Set to "yes" if building a shared library automatically hardcodes DIR
22176 # into the library and all subsequent libraries and executables linked
22178 hardcode_automatic=$hardcode_automatic_RC
22180 # Set to yes if linker adds runtime paths of dependent libraries
22181 # to runtime path list.
22182 inherit_rpath=$inherit_rpath_RC
22184 # Whether libtool must link a program against all its dependency libraries.
22185 link_all_deplibs=$link_all_deplibs_RC
22187 # Set to "yes" if exported symbols are required.
22188 always_export_symbols=$always_export_symbols_RC
22190 # The commands to list exported symbols.
22191 export_symbols_cmds=$lt_export_symbols_cmds_RC
22193 # Symbols that should not be listed in the preloaded symbols.
22194 exclude_expsyms=$lt_exclude_expsyms_RC
22196 # Symbols that must always be exported.
22197 include_expsyms=$lt_include_expsyms_RC
22199 # Commands necessary for linking programs (against libraries) with templates.
22200 prelink_cmds=$lt_prelink_cmds_RC
22202 # Commands necessary for finishing linking programs.
22203 postlink_cmds=$lt_postlink_cmds_RC
22205 # Specify filename containing input files.
22206 file_list_spec=$lt_file_list_spec_RC
22208 # How to hardcode a shared library path into an executable.
22209 hardcode_action=$hardcode_action_RC
22211 # The directories searched by this compiler when creating a shared library.
22212 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
22214 # Dependencies to place before and after the objects being linked to
22215 # create a shared library.
22216 predep_objects=$lt_predep_objects_RC
22217 postdep_objects=$lt_postdep_objects_RC
22218 predeps=$lt_predeps_RC
22219 postdeps=$lt_postdeps_RC
22221 # The library search path used internally by the compiler when linking
22222 # a shared library.
22223 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22225 # ### END LIBTOOL TAG CONFIG: RC
22236 ac_clean_files
=$ac_clean_files_save
22238 test $ac_write_fail = 0 ||
22239 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22242 # configure is writing to config.log, and then calls config.status.
22243 # config.status does its own redirection, appending to config.log.
22244 # Unfortunately, on DOS this fails, as config.log is still kept open
22245 # by configure, so config.status won't be able to write to it; its
22246 # output is simply discarded. So we exec the FD to /dev/null,
22247 # effectively closing config.log, so it can be properly (re)opened and
22248 # appended to by config.status. When coming back to configure, we
22249 # need to make the FD available again.
22250 if test "$no_create" != yes; then
22252 ac_config_status_args
=
22253 test "$silent" = yes &&
22254 ac_config_status_args
="$ac_config_status_args --quiet"
22256 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22258 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22259 # would make configure fail if this is the last instruction.
22260 $ac_cs_success || as_fn_exit
1
22262 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22264 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22268 # Make sure these are executable.
22269 chmod u
+x
tests
/test_wrapper.sh build-test-tarball.mk
22271 #====================================================================================
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22274 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
22276 Configuration summary :
22278 libsndfile version : .................. ${VERSION}
22280 Host CPU : ............................ ${host_cpu}
22281 Host Vendor : ......................... ${host_vendor}
22282 Host OS : ............................. ${host_os}
22284 Experimental code : ................... ${enable_experimental:-no}
22285 Using ALSA in example programs : ...... ${enable_alsa:-no}
22286 External FLAC/Ogg/Vorbis : ............ ${enable_external_libs:-no}
22289 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
22291 Configuration summary :
22293 libsndfile version : .................. ${VERSION}
22295 Host CPU : ............................ ${host_cpu}
22296 Host Vendor : ......................... ${host_vendor}
22297 Host OS : ............................. ${host_os}
22299 Experimental code : ................... ${enable_experimental:-no}
22300 Using ALSA in example programs : ...... ${enable_alsa:-no}
22301 External FLAC/Ogg/Vorbis : ............ ${enable_external_libs:-no}
22304 if test -z "$PKG_CONFIG" ; then
22305 echo " *****************************************************************"
22306 echo " *** The pkg-config program is missing. ***"
22307 echo " *** External FLAC/Ogg/Vorbis libs cannot be found without it. ***"
22308 echo " *** http://pkg-config.freedesktop.org/wiki/ ***"
22309 echo " *****************************************************************"
22313 if test x
$ac_cv_c_compiler_gnu = xyes
; then
22316 echo " Compiler is GCC : ..................... ${ac_cv_c_compiler_gnu}"
22317 echo " GCC version : ......................... ${GCC_VERSION}"
22318 if test $GCC_MAJOR_VERSION -lt 3 ; then
22320 echo " ** This compiler version allows applications to write"
22321 echo " ** to static strings within the library."
22322 echo " ** Compile with GCC version 3.X or above to avoid this problem."
22326 if test $libdir = "\${exec_prefix}/lib" ; then
22327 libdir
="$prefix/lib"
22330 if test $bindir = "\${exec_prefix}/bin" ; then
22331 bindir
="$prefix/bin"
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22335 Installation directories :
22337 Library directory : ................... $libdir
22338 Program directory : ................... $bindir
22339 Pkgconfig directory : ................. $libdir/pkgconfig
22340 HTML docs directory : ................. $htmldocdir
22343 Installation directories :
22345 Library directory : ................... $libdir
22346 Program directory : ................... $bindir
22347 Pkgconfig directory : ................. $libdir/pkgconfig
22348 HTML docs directory : ................. $htmldocdir
22351 if test x
$prefix != "x/usr" ; then
22352 echo "Compiling some other packages against libsndfile may require"
22353 echo "the addition of '$libdir/pkgconfig' to the"
22354 echo "PKG_CONFIG_PATH environment variable."
22358 (cd src
&& make genfiles
)
22359 (cd tests
&& make genfiles
)