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
737 INSTALL_STRIP_PROGRAM
791 program_transform_name
804 enable_option_checking
806 enable_dependency_tracking
830 ac_precious_vars
='build_alias
860 # Initialize some variables set by options.
862 ac_init_version
=false
863 ac_unrecognized_opts
=
865 # The variables have the same names as the options, with
866 # dashes changed to underlines.
874 program_transform_name
=s
,x
,x
,
882 # Installation directory options.
883 # These are left unexpanded so users can "make install exec_prefix=/foo"
884 # and all the variables that are supposed to be based on exec_prefix
885 # by default will actually change.
886 # Use braces instead of parens because sh, perl, etc. also accept them.
887 # (The list follows the same order as the GNU Coding Standards.)
888 bindir
='${exec_prefix}/bin'
889 sbindir
='${exec_prefix}/sbin'
890 libexecdir
='${exec_prefix}/libexec'
891 datarootdir
='${prefix}/share'
892 datadir
='${datarootdir}'
893 sysconfdir
='${prefix}/etc'
894 sharedstatedir
='${prefix}/com'
895 localstatedir
='${prefix}/var'
896 includedir
='${prefix}/include'
897 oldincludedir
='/usr/include'
898 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
899 infodir
='${datarootdir}/info'
904 libdir
='${exec_prefix}/lib'
905 localedir
='${datarootdir}/locale'
906 mandir
='${datarootdir}/man'
912 # If the previous option needs an argument, assign it.
913 if test -n "$ac_prev"; then
914 eval $ac_prev=\
$ac_option
920 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 # Accept the important Cygnus configure options, so we can diagnose typos.
927 case $ac_dashdash$ac_option in
931 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
933 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
936 -build |
--build |
--buil |
--bui |
--bu)
937 ac_prev
=build_alias
;;
938 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
939 build_alias
=$ac_optarg ;;
941 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
942 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
943 ac_prev
=cache_file
;;
944 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
945 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
946 cache_file
=$ac_optarg ;;
949 cache_file
=config.cache
;;
951 -datadir |
--datadir |
--datadi |
--datad)
953 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
954 datadir
=$ac_optarg ;;
956 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
957 |
--dataroo |
--dataro |
--datar)
958 ac_prev
=datarootdir
;;
959 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
960 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
961 datarootdir
=$ac_optarg ;;
963 -disable-* |
--disable-*)
964 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
967 as_fn_error $?
"invalid feature name: $ac_useropt"
968 ac_useropt_orig
=$ac_useropt
969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
975 ac_unrecognized_sep
=', ';;
977 eval enable_
$ac_useropt=no
;;
979 -docdir |
--docdir |
--docdi |
--doc |
--do)
981 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
984 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
986 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
989 -enable-* |
--enable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=\
$ac_optarg ;;
1005 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1006 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1007 |
--exec |
--exe |
--ex)
1008 ac_prev
=exec_prefix
;;
1009 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1010 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1011 |
--exec=* |
--exe=* |
--ex=*)
1012 exec_prefix
=$ac_optarg ;;
1014 -gas |
--gas |
--ga |
--g)
1015 # Obsolete; use --with-gas.
1018 -help |
--help |
--hel |
--he |
-h)
1019 ac_init_help
=long
;;
1020 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1021 ac_init_help
=recursive
;;
1022 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1023 ac_init_help
=short
;;
1025 -host |
--host |
--hos |
--ho)
1026 ac_prev
=host_alias
;;
1027 -host=* |
--host=* |
--hos=* |
--ho=*)
1028 host_alias
=$ac_optarg ;;
1030 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1032 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1034 htmldir
=$ac_optarg ;;
1036 -includedir |
--includedir |
--includedi |
--included |
--include \
1037 |
--includ |
--inclu |
--incl |
--inc)
1038 ac_prev
=includedir
;;
1039 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1040 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1041 includedir
=$ac_optarg ;;
1043 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1045 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1046 infodir
=$ac_optarg ;;
1048 -libdir |
--libdir |
--libdi |
--libd)
1050 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1051 libdir
=$ac_optarg ;;
1053 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1054 |
--libexe |
--libex |
--libe)
1055 ac_prev
=libexecdir
;;
1056 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1057 |
--libexe=* |
--libex=* |
--libe=*)
1058 libexecdir
=$ac_optarg ;;
1060 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1061 ac_prev
=localedir
;;
1062 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1063 localedir
=$ac_optarg ;;
1065 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1066 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1067 ac_prev
=localstatedir
;;
1068 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1069 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1070 localstatedir
=$ac_optarg ;;
1072 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1074 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1075 mandir
=$ac_optarg ;;
1077 -nfp |
--nfp |
--nf)
1078 # Obsolete; use --without-fp.
1081 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1082 |
--no-cr |
--no-c |
-n)
1085 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1086 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1089 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1090 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1091 |
--oldin |
--oldi |
--old |
--ol |
--o)
1092 ac_prev
=oldincludedir
;;
1093 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1094 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1095 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1096 oldincludedir
=$ac_optarg ;;
1098 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1100 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1101 prefix
=$ac_optarg ;;
1103 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1104 |
--program-pre |
--program-pr |
--program-p)
1105 ac_prev
=program_prefix
;;
1106 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1107 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1108 program_prefix
=$ac_optarg ;;
1110 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1111 |
--program-suf |
--program-su |
--program-s)
1112 ac_prev
=program_suffix
;;
1113 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1114 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1115 program_suffix
=$ac_optarg ;;
1117 -program-transform-name |
--program-transform-name \
1118 |
--program-transform-nam |
--program-transform-na \
1119 |
--program-transform-n |
--program-transform- \
1120 |
--program-transform |
--program-transfor \
1121 |
--program-transfo |
--program-transf \
1122 |
--program-trans |
--program-tran \
1123 |
--progr-tra |
--program-tr |
--program-t)
1124 ac_prev
=program_transform_name
;;
1125 -program-transform-name=* |
--program-transform-name=* \
1126 |
--program-transform-nam=* |
--program-transform-na=* \
1127 |
--program-transform-n=* |
--program-transform-=* \
1128 |
--program-transform=* |
--program-transfor=* \
1129 |
--program-transfo=* |
--program-transf=* \
1130 |
--program-trans=* |
--program-tran=* \
1131 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1132 program_transform_name
=$ac_optarg ;;
1134 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1136 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1137 pdfdir
=$ac_optarg ;;
1139 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1141 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1144 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1145 |
-silent |
--silent |
--silen |
--sile |
--sil)
1148 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1150 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1152 sbindir
=$ac_optarg ;;
1154 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1155 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1156 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1158 ac_prev
=sharedstatedir
;;
1159 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1160 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1161 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1163 sharedstatedir
=$ac_optarg ;;
1165 -site |
--site |
--sit)
1167 -site=* |
--site=* |
--sit=*)
1170 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1172 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1173 srcdir
=$ac_optarg ;;
1175 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1176 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1177 ac_prev
=sysconfdir
;;
1178 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1179 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1180 sysconfdir
=$ac_optarg ;;
1182 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1183 ac_prev
=target_alias
;;
1184 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1185 target_alias
=$ac_optarg ;;
1187 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1190 -version |
--version |
--versio |
--versi |
--vers |
-V)
1191 ac_init_version
=: ;;
1194 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=\
$ac_optarg ;;
1209 -without-* |
--without-*)
1210 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1213 as_fn_error $?
"invalid package name: $ac_useropt"
1214 ac_useropt_orig
=$ac_useropt
1215 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1220 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep
=', ';;
1223 eval with_
$ac_useropt=no
;;
1226 # Obsolete; use --with-x.
1229 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1230 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1231 ac_prev
=x_includes
;;
1232 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1233 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1234 x_includes
=$ac_optarg ;;
1236 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1237 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1238 ac_prev
=x_libraries
;;
1239 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1240 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1241 x_libraries
=$ac_optarg ;;
1243 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1248 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1252 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1254 eval $ac_envvar=\
$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 if test -n "$ac_prev"; then
1269 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $?
"missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1276 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val
=\$
$ac_var
1288 # Remove trailing slashes.
1291 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\
$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1299 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1314 If a cross compiler is detected then cross compile mode will be used" >&2
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1323 test "$silent" = yes && exec 6>/dev
/null
1326 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di
=`ls -di .` &&
1328 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1329 as_fn_error $?
"working directory cannot be determined"
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 as_fn_error $?
"pwd does not report name of working directory"
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$as_myself" ||
1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$as_myself" : 'X\(//\)[^/]' \| \
1341 X"$as_myself" : 'X\(//\)$' \| \
1342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1343 $as_echo X"$as_myself" |
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1384 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 for ac_var
in $ac_precious_vars; do
1387 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1389 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1400 \`configure' configures libsndfile 1.0.25 to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking ...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --libdir=DIR object code libraries [EPREFIX/lib]
1441 --includedir=DIR C header files [PREFIX/include]
1442 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1443 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1444 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1445 --infodir=DIR info documentation [DATAROOTDIR/info]
1446 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1447 --mandir=DIR man documentation [DATAROOTDIR/man]
1448 --docdir=DIR documentation root [DATAROOTDIR/doc/libsndfile]
1449 --htmldir=DIR html documentation [DOCDIR]
1450 --dvidir=DIR dvi documentation [DOCDIR]
1451 --pdfdir=DIR pdf documentation [DOCDIR]
1452 --psdir=DIR ps documentation [DOCDIR]
1458 --program-prefix=PREFIX prepend PREFIX to installed program names
1459 --program-suffix=SUFFIX append SUFFIX to installed program names
1460 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1463 --build=BUILD configure
for building on BUILD
[guessed
]
1464 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1465 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1469 if test -n "$ac_init_help"; then
1470 case $ac_init_help in
1471 short | recursive
) echo "Configuration of libsndfile 1.0.25:";;
1476 --disable-option-checking ignore unrecognized
--enable/--with options
1477 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1478 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1479 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1480 --disable-silent-rules verbose build output (undo: `make V
=0')
1481 --disable-dependency-tracking speeds up one-time build
1482 --enable-dependency-tracking do not reject slow dependency extractors
1483 --enable-shared[=PKGS] build shared libraries [default=yes]
1484 --enable-static[=PKGS] build static libraries [default=yes]
1485 --enable-fast-install[=PKGS]
1486 optimize for fast installation [default=yes]
1487 --disable-libtool-lock avoid locking (might break parallel builds)
1488 --enable-experimental enable experimental code
1489 --enable-gcc-werror enable -Werror in all Makefiles
1490 --disable-gcc-pipe disable gcc -pipe option
1491 --disable-gcc-opt disable gcc optimisations
1492 --disable-cpu-clip disable tricky cpu specific clipper
1493 --enable-bow-docs enable black-on-white html docs
1494 --disable-sqlite disable use of sqlite
1495 --disable-alsa disable use of ALSA
1496 --disable-external-libs disable use of FLAC, Ogg and Vorbis [[default=no]]
1497 --enable-octave disable building of GNU Octave module
1498 --enable-test-coverage enable test coverage
1499 --disable-largefile omit support for large files
1502 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1503 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1504 --with-pic try to use only PIC/non-PIC objects [default=use
1506 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1507 --with-sysroot=DIR Search for dependent libraries within DIR
1508 (or the compiler's sysroot
if not specified
).
1509 --with-octave choose the octave version
1510 --with-mkoctfile choose the mkoctfile version
1511 --with-octave-config choose the octave-config version
1513 Some influential environment variables
:
1514 CC C compiler
command
1515 CFLAGS C compiler flags
1516 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1517 nonstandard directory
<lib dir
>
1518 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1519 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1520 you have headers
in a nonstandard directory
<include dir
>
1521 CXX C
++ compiler
command
1522 CXXFLAGS C
++ compiler flags
1524 CXXCPP C
++ preprocessor
1525 PKG_CONFIG path to pkg-config utility
1527 directories to add to pkg-config
's search path
1529 path overriding pkg-config's built-in search path
1530 FLAC_CFLAGS C compiler flags
for FLAC
, overriding pkg-config
1531 FLAC_LIBS linker flags
for FLAC
, overriding pkg-config
1532 OGG_CFLAGS C compiler flags
for OGG
, overriding pkg-config
1533 OGG_LIBS linker flags
for OGG
, overriding pkg-config
1535 C compiler flags
for SPEEX
, overriding pkg-config
1536 SPEEX_LIBS linker flags
for SPEEX
, overriding pkg-config
1538 C compiler flags
for VORBIS
, overriding pkg-config
1539 VORBIS_LIBS linker flags
for VORBIS
, overriding pkg-config
1541 C compiler flags
for VORBISENC
, overriding pkg-config
1543 linker flags
for VORBISENC
, overriding pkg-config
1545 C compiler flags
for SQLITE3
, overriding pkg-config
1547 linker flags
for SQLITE3
, overriding pkg-config
1549 Use these variables to override the choices made by
`configure' or to help
1550 it to find libraries and programs with nonstandard names/locations.
1552 Report bugs to <sndfile@mega-nerd.com>.
1553 libsndfile home page: <http://www.mega-nerd.com/libsndfile/>.
1558 if test "$ac_init_help" = "recursive"; then
1559 # If there are subdirs, report their specific --help.
1560 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1561 test -d "$ac_dir" ||
1562 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1583 .) # We are building in place.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1607 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1616 libsndfile configure 1.0.25
1617 generated by GNU Autoconf 2.68
1619 Copyright (C) 2010 Free Software Foundation, Inc.
1620 This configure script is free software; the Free Software Foundation
1621 gives unlimited permission to copy, distribute and modify it.
1626 ## ------------------------ ##
1627 ## Autoconf initialization. ##
1628 ## ------------------------ ##
1630 # ac_fn_c_try_compile LINENO
1631 # --------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_compile ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext
1637 if { { ac_try="$ac_compile"
1639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1640 *) ac_try_echo
=$ac_try;;
1642 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_compile") 2>conftest.err
1646 if test -s conftest.err
; then
1647 grep -v '^ *+' conftest.err
>conftest.er1
1648 cat conftest.er1
>&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest.
$ac_objext; then :
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.
$ac_ext >&5
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status
$ac_retval
1666 } # ac_fn_c_try_compile
1668 # ac_fn_cxx_try_compile LINENO
1669 # ----------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_cxx_try_compile
()
1673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1674 rm -f conftest.
$ac_objext
1675 if { { ac_try
="$ac_compile"
1677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_cxx_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.$ac_objext; then :
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1704 } # ac_fn_cxx_try_compile
1706 # ac_fn_c_try_link LINENO
1707 # -----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 rm -f conftest.$ac_objext conftest$ac_exeext
1713 if { { ac_try="$ac_link"
1715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1716 *) ac_try_echo
=$ac_try;;
1718 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>conftest.err
1722 if test -s conftest.err
; then
1723 grep -v '^ *+' conftest.err
>conftest.er1
1724 cat conftest.er1
>&5
1725 mv -f conftest.er1 conftest.err
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && {
1729 test -z "$ac_c_werror_flag" ||
1730 test ! -s conftest.err
1731 } && test -s conftest
$ac_exeext && {
1732 test "$cross_compiling" = yes ||
1733 $as_test_x conftest
$ac_exeext
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.
$ac_ext >&5
1742 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744 # interfere with the next link command; also delete a directory that is
1745 # left behind by Apple's compiler. We do this before executing the actions.
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status
$ac_retval
1750 } # ac_fn_c_try_link
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \
${$3+:} false
; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile
"$LINENO"; then :
1774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_header_compile
1783 # ac_fn_c_try_cpp LINENO
1784 # ----------------------
1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } > conftest.i && {
1805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status $ac_retval
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1830 *) ac_try_echo
=$ac_try;;
1832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>&5
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1838 { { case "(($ac_try" in
1839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_try") 2>&5
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; }; }; then :
1850 $as_echo "$as_me: program exited with status $ac_status" >&5
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=$ac_status
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 as_fn_set_status $ac_retval
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1877 #define $2 innocuous_$2
1879 /* System header to define __stub macros and hopefully few prototypes,
1880 which can conflict with char $2 (); below.
1881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1882 <limits.h> exists even on freestanding compilers. */
1885 # include <limits.h>
1887 # include <assert.h>
1892 /* Override any GCC internal prototype to avoid an error.
1893 Use char because int might match the return type of a GCC
1894 builtin and then its argument prototype would still apply. */
1899 /* The GNU C library defines this for functions which it implements
1900 to always fail with ENOSYS. Some functions are actually named
1901 something starting with __ and the normal name is an alias. */
1902 #if defined __stub_$2 || defined __stub___$2
1914 if ac_fn_c_try_link "$LINENO"; then :
1919 rm -f core conftest.err conftest.$ac_objext \
1920 conftest$ac_exeext conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 } # ac_fn_c_check_func
1929 # ac_fn_cxx_try_cpp LINENO
1930 # ------------------------
1931 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1932 ac_fn_cxx_try_cpp ()
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 if { { ac_try="$ac_cpp conftest.$ac_ext"
1937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1938 *) ac_try_echo
=$ac_try;;
1940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1944 if test -s conftest.err
; then
1945 grep -v '^ *+' conftest.err
>conftest.er1
1946 cat conftest.er1
>&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } > conftest.i
&& {
1951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1952 test ! -s conftest.err
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.
$ac_ext >&5
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 as_fn_set_status
$ac_retval
1964 } # ac_fn_cxx_try_cpp
1966 # ac_fn_cxx_try_link LINENO
1967 # -------------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded.
1969 ac_fn_cxx_try_link
()
1971 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1972 rm -f conftest.
$ac_objext conftest
$ac_exeext
1973 if { { ac_try
="$ac_link"
1975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>conftest.err
1982 if test -s conftest.err; then
1983 grep -v '^ *+' conftest.err >conftest.er1
1984 cat conftest.er1 >&5
1985 mv -f conftest.er1 conftest.err
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && {
1989 test -z "$ac_cxx_werror_flag" ||
1990 test ! -s conftest.err
1991 } && test -s conftest$ac_exeext && {
1992 test "$cross_compiling" = yes ||
1993 $as_test_x conftest$ac_exeext
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2002 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2003 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2004 # interfere with the next link command; also delete a directory that is
2005 # left behind by Apple's compiler. We do this before executing the actions.
2006 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 as_fn_set_status $ac_retval
2010 } # ac_fn_cxx_try_link
2012 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2013 # -------------------------------------------------------
2014 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2015 # the include files in INCLUDES and setting the cache variable VAR
2017 ac_fn_c_check_header_mongrel ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if eval \${$3+:} false; then :
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \${$3+:} false; then :
2024 $as_echo_n "(cached) " >&6
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2030 # Is the header compilable?
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2032 $as_echo_n "checking $2 usability... " >&6; }
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2038 if ac_fn_c_try_compile "$LINENO"; then :
2039 ac_header_compiler=yes
2041 ac_header_compiler=no
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2045 $as_echo "$ac_header_compiler" >&6; }
2047 # Is the header present?
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2049 $as_echo_n "checking $2 presence... " >&6; }
2050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2054 if ac_fn_c_try_cpp "$LINENO"; then :
2055 ac_header_preproc=yes
2057 ac_header_preproc=no
2059 rm -f conftest.err conftest.i conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2061 $as_echo "$ac_header_preproc" >&6; }
2063 # So? What about this header?
2064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2067 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2069 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2073 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2075 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2077 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2079 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2081 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082 ( $as_echo "## ------------------------------------ ##
2083 ## Report this to sndfile@mega-nerd.com ##
2084 ## ------------------------------------ ##"
2085 ) | sed "s/^/$as_me: WARNING: /" >&2
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089 $as_echo_n "checking for $2... " >&6; }
2090 if eval \${$3+:} false; then :
2091 $as_echo_n "(cached) " >&6
2093 eval "$3=\$ac_header_compiler"
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 } # ac_fn_c_check_header_mongrel
2103 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2104 # ---------------------------------------------
2105 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2107 ac_fn_c_check_decl ()
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2111 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2113 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2114 if eval \${$3+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2123 #ifndef $as_decl_name
2125 (void) $as_decl_use;
2127 (void) $as_decl_name;
2135 if ac_fn_c_try_compile "$LINENO"; then :
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2144 $as_echo "$ac_res" >&6; }
2145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2147 } # ac_fn_c_check_decl
2149 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2150 # --------------------------------------------
2151 # Tries to find the compile-time value of EXPR in a program that includes
2152 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2154 ac_fn_c_compute_int ()
2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157 if test "$cross_compiling" = yes; then
2158 # Depending upon the size, compute the lo and hi bounds.
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2165 static int test_array [1 - 2 * !(($2) >= 0)];
2172 if ac_fn_c_try_compile "$LINENO"; then :
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2181 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2188 if ac_fn_c_try_compile "$LINENO"; then :
2189 ac_hi=$ac_mid; break
2191 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2192 if test $ac_lo -le $ac_mid; then
2196 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2207 static int test_array [1 - 2 * !(($2) < 0)];
2214 if ac_fn_c_try_compile "$LINENO"; then :
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2223 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2230 if ac_fn_c_try_compile "$LINENO"; then :
2231 ac_lo=$ac_mid; break
2233 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2234 if test $ac_mid -le $ac_hi; then
2238 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248 # Binary search between lo and hi bounds.
2249 while test "x$ac_lo" != "x$ac_hi"; do
2250 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2257 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2264 if ac_fn_c_try_compile "$LINENO"; then :
2267 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2272 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2279 static long int longval () { return $2; }
2280 static unsigned long int ulongval () { return $2; }
2287 FILE *f = fopen ("conftest.val", "w");
2292 long int i = longval ();
2295 fprintf (f, "%ld", i);
2299 unsigned long int i = ulongval ();
2302 fprintf (f, "%lu", i);
2304 /* Do not output a trailing newline, as this causes \r\n confusion
2305 on some platforms. */
2306 return ferror (f) || fclose (f) != 0;
2312 if ac_fn_c_try_run "$LINENO"; then :
2313 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2318 conftest.$ac_objext conftest.beam conftest.$ac_ext
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_c_compute_int
2327 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2328 # -------------------------------------------
2329 # Tests whether TYPE exists after having included INCLUDES, setting cache
2330 # variable VAR accordingly.
2331 ac_fn_c_check_type ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2335 $as_echo_n "checking for $2... " >&6; }
2336 if eval \${$3+:} false; then :
2337 $as_echo_n "(cached) " >&6
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h. */
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2365 if ac_fn_c_try_compile "$LINENO"; then :
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2376 $as_echo "$ac_res" >&6; }
2377 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2379 } # ac_fn_c_check_type
2380 cat >config.log <<_ACEOF
2381 This file contains any messages produced by compilers while
2382 running configure, to aid debugging if configure makes a mistake.
2384 It was created by libsndfile $as_me 1.0.25, which was
2385 generated by GNU Autoconf 2.68. Invocation command line was
2397 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2398 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2399 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2400 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2401 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2403 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2404 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2406 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2407 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2408 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2409 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2410 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2411 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2412 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir=.
2421 $as_echo "PATH: $as_dir"
2437 # Keep a trace of the command line.
2438 # Strip out --no-create and --no-recursion so they do not pile up.
2439 # Strip out --silent because we don't want to record it for future runs.
2440 # Also quote any args containing shell meta-characters.
2441 # Make two passes to allow for proper duplicate-argument suppression.
2445 ac_must_keep_next=false
2451 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2453 | -silent | --silent | --silen | --sile | --sil)
2456 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2459 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2461 as_fn_append ac_configure_args1 " '$ac_arg'"
2462 if test $ac_must_keep_next = true; then
2463 ac_must_keep_next=false # Got value, back to normal.
2466 *=* | --config-cache | -C | -disable-* | --disable-* \
2467 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2468 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2469 | -with-* | --with-* | -without-* | --without-* | --x)
2470 case "$ac_configure_args0 " in
2471 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2474 -* ) ac_must_keep_next=true ;;
2477 as_fn_append ac_configure_args " '$ac_arg'"
2482 { ac_configure_args0=; unset ac_configure_args0;}
2483 { ac_configure_args1=; unset ac_configure_args1;}
2485 # When interrupted or exit'd, cleanup temporary files, and complete
2486 # config.log. We remove comments because anyway the quotes in there
2487 # would cause problems or look ugly.
2488 # WARNING: Use '\'' to represent an apostrophe within the trap.
2489 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2490 trap 'exit_status=$?
2491 # Save into config.log some information that might help in debugging.
2495 $as_echo "## ---------------- ##
2496 ## Cache variables. ##
2497 ## ---------------- ##"
2499 # The following way of writing the cache mishandles newlines in values,
2501 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2502 eval ac_val=\$$ac_var
2506 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2507 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2510 _ | IFS | as_nl) ;; #(
2511 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2512 *) { eval $ac_var=; unset $ac_var;} ;;
2517 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2518 *${as_nl}ac_space=\ *)
2520 "s/'\''/'\''\\\\'\'''\''/g;
2521 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2531 $as_echo "## ----------------- ##
2532 ## Output variables. ##
2533 ## ----------------- ##"
2535 for ac_var in $ac_subst_vars
2537 eval ac_val=\$$ac_var
2539 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2541 $as_echo "$ac_var='\''$ac_val'\''"
2545 if test -n "$ac_subst_files"; then
2546 $as_echo "## ------------------- ##
2547 ## File substitutions. ##
2548 ## ------------------- ##"
2550 for ac_var in $ac_subst_files
2552 eval ac_val=\$$ac_var
2554 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2556 $as_echo "$ac_var='\''$ac_val'\''"
2561 if test -s confdefs.h; then
2562 $as_echo "## ----------- ##
2569 test "$ac_signal" != 0 &&
2570 $as_echo "$as_me: caught signal $ac_signal"
2571 $as_echo "$as_me: exit $exit_status"
2573 rm -f core *.core core.conftest.* &&
2574 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2577 for ac_signal in 1 2 13 15; do
2578 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2582 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2583 rm -f -r conftest* confdefs.h
2585 $as_echo "/* confdefs.h */" > confdefs.h
2587 # Predefined preprocessor variables.
2589 cat >>confdefs.h <<_ACEOF
2590 #define PACKAGE_NAME "$PACKAGE_NAME"
2593 cat >>confdefs.h <<_ACEOF
2594 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2597 cat >>confdefs.h <<_ACEOF
2598 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE_STRING "$PACKAGE_STRING"
2605 cat >>confdefs.h <<_ACEOF
2606 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2609 cat >>confdefs.h <<_ACEOF
2610 #define PACKAGE_URL "$PACKAGE_URL"
2614 # Let the site file select an alternate cache file if it wants to.
2615 # Prefer an explicitly selected file to automatically selected ones.
2618 if test -n "$CONFIG_SITE"; then
2619 # We do not want a PATH search for config.site.
2620 case $CONFIG_SITE in #((
2621 -*) ac_site_file1=./$CONFIG_SITE;;
2622 */*) ac_site_file1=$CONFIG_SITE;;
2623 *) ac_site_file1=./$CONFIG_SITE;;
2625 elif test "x$prefix" != xNONE; then
2626 ac_site_file1=$prefix/share/config.site
2627 ac_site_file2=$prefix/etc/config.site
2629 ac_site_file1=$ac_default_prefix/share/config.site
2630 ac_site_file2=$ac_default_prefix/etc/config.site
2632 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2634 test "x$ac_site_file" = xNONE && continue
2635 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2637 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2638 sed 's/^/| /' "$ac_site_file" >&5
2640 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2642 as_fn_error $? "failed to load site
script $ac_site_file
2643 See \
`config.log' for more details" "$LINENO" 5; }
2647 if test -r "$cache_file"; then
2648 # Some versions of bash will fail to source /dev/null (special files
2649 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2650 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2652 $as_echo "$as_me: loading cache $cache_file" >&6;}
2654 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2655 *) . "./$cache_file";;
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2660 $as_echo "$as_me: creating cache $cache_file" >&6;}
2664 # Check that the precious variables saved in the cache have kept the same
2666 ac_cache_corrupted=false
2667 for ac_var in $ac_precious_vars; do
2668 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2669 eval ac_new_set=\$ac_env_${ac_var}_set
2670 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2671 eval ac_new_val=\$ac_env_${ac_var}_value
2672 case $ac_old_set,$ac_new_set in
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2675 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2676 ac_cache_corrupted=: ;;
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2679 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2680 ac_cache_corrupted=: ;;
2683 if test "x$ac_old_val" != "x$ac_new_val"; then
2684 # differences in whitespace do not lead to failure.
2685 ac_old_val_w=`echo x
$ac_old_val`
2686 ac_new_val_w=`echo x
$ac_new_val`
2687 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2689 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2690 ac_cache_corrupted=:
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2693 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2694 eval $ac_var=\$ac_old_val
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2697 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2699 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2702 # Pass precious variables to config.status.
2703 if test "$ac_new_set" = set; then
2705 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2706 *) ac_arg=$ac_var=$ac_new_val ;;
2708 case " $ac_configure_args " in
2709 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2710 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2714 if $ac_cache_corrupted; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2718 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2719 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2721 ## -------------------- ##
2722 ## Main body of script. ##
2723 ## -------------------- ##
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2733 # Put config stuff in Cfg.
2735 for ac_dir in Cfg "$srcdir"/Cfg; do
2736 if test -f "$ac_dir/install-sh"; then
2738 ac_install_sh="$ac_aux_dir/install-sh -c"
2740 elif test -f "$ac_dir/install.sh"; then
2742 ac_install_sh="$ac_aux_dir/install.sh -c"
2744 elif test -f "$ac_dir/shtool"; then
2746 ac_install_sh="$ac_aux_dir/shtool install -c"
2750 if test -z "$ac_aux_dir"; then
2751 as_fn_error $? "cannot find install-sh, install.sh, or shtool in Cfg \"$srcdir\"/Cfg" "$LINENO" 5
2754 # These three variables are undocumented and unsupported,
2755 # and are intended to be withdrawn in a future Autoconf release.
2756 # They can cause serious problems if a builder's source tree is in a directory
2757 # whose full name contains unusual characters.
2758 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2759 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2760 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2765 # Make sure we can run config.sub.
2766 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2767 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2770 $as_echo_n "checking build system type... " >&6; }
2771 if ${ac_cv_build+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 ac_build_alias=$build_alias
2775 test "x$ac_build_alias" = x &&
2776 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2777 test "x$ac_build_alias" = x &&
2778 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2779 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2780 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2784 $as_echo "$ac_cv_build" >&6; }
2785 case $ac_cv_build in
2787 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2790 ac_save_IFS=$IFS; IFS='-'
2796 # Remember, the first character of IFS is used to create $*,
2797 # except with old shells:
2800 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2804 $as_echo_n "checking host system type... " >&6; }
2805 if ${ac_cv_host+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 if test "x$host_alias" = x; then
2809 ac_cv_host=$ac_cv_build
2811 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2812 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2817 $as_echo "$ac_cv_host" >&6; }
2820 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2823 ac_save_IFS=$IFS; IFS='-'
2829 # Remember, the first character of IFS is used to create $*,
2830 # except with old shells:
2833 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2837 $as_echo_n "checking target system type... " >&6; }
2838 if ${ac_cv_target+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 if test "x$target_alias" = x; then
2842 ac_cv_target=$ac_cv_host
2844 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2845 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2850 $as_echo "$ac_cv_target" >&6; }
2851 case $ac_cv_target in
2853 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2855 target=$ac_cv_target
2856 ac_save_IFS=$IFS; IFS='-'
2862 # Remember, the first character of IFS is used to create $*,
2863 # except with old shells:
2866 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2869 # The aliases save the names the user supplied, while $host etc.
2870 # will get canonicalized.
2871 test -n "$target_alias" &&
2872 test "$program_prefix$program_suffix$program_transform_name" = \
2874 program_prefix=${target_alias}-
2877 ac_config_headers="$ac_config_headers src/config.h"
2880 am__api_version='1.11'
2882 # Find a good install program. We prefer a C program (faster),
2883 # so one script is as good as another. But avoid the broken or
2884 # incompatible versions:
2885 # SysV /etc/install, /usr/sbin/install
2886 # SunOS /usr/etc/install
2887 # IRIX /sbin/install
2889 # AmigaOS /C/install, which installs bootblocks on floppy discs
2890 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2891 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2892 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2893 # OS/2's system install, which has a completely different semantic
2894 # ./install, which can be erroneously created by make from ./install.sh.
2895 # Reject install programs that cannot install multiple files.
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2897 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2898 if test -z "$INSTALL"; then
2899 if ${ac_cv_path_install+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 # Account for people who put trailing slashes in PATH elements.
2908 case $as_dir/ in #((
2909 ./ | .// | /[cC]/* | \
2910 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2911 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2914 # OSF1 and SCO ODT 3.0 have their own names for install.
2915 # Don't use installbsd from OSF since it installs stuff as root
2917 for ac_prog in ginstall scoinst install; do
2918 for ac_exec_ext in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2920 if test $ac_prog = install &&
2921 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2922 # AIX install. It has an incompatible calling convention.
2924 elif test $ac_prog = install &&
2925 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2926 # program-specific install script used by HP pwplus--don't use.
2929 rm -rf conftest.one conftest.two conftest.dir
2930 echo one > conftest.one
2931 echo two > conftest.two
2933 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2934 test -s conftest.one && test -s conftest.two &&
2935 test -s conftest.dir/conftest.one &&
2936 test -s conftest.dir/conftest.two
2938 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2951 rm -rf conftest.one conftest.two conftest.dir
2954 if test "${ac_cv_path_install+set}" = set; then
2955 INSTALL=$ac_cv_path_install
2957 # As a last resort, use the slow shell script. Don't cache a
2958 # value for INSTALL within a source directory, because that will
2959 # break other packages using the cache if that directory is
2960 # removed, or if the value is a relative name.
2961 INSTALL=$ac_install_sh
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2965 $as_echo "$INSTALL" >&6; }
2967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2968 # It thinks the first close brace ends the variable substitution.
2969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2973 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2976 $as_echo_n "checking whether build environment is sane... " >&6; }
2979 echo timestamp > conftest.file
2980 # Reject unsafe characters in $srcdir or the absolute working directory
2981 # name. Accept space and tab only in the latter.
2985 *[\\\"\#\$\&\'\`$am_lf]*)
2986 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2989 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2990 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2993 # Do `set' in a subshell so we don't clobber the current shell's
2994 # arguments. Must try -L first in case configure is actually a
2995 # symlink; some systems play weird games with the mod time of symlinks
2996 # (eg FreeBSD returns the mod time of the symlink's containing
2999 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3000 if test "$*" = "X"; then
3002 set X
`ls -t "$srcdir/configure" conftest.file`
3005 if test "$*" != "X $srcdir/configure conftest.file" \
3006 && test "$*" != "X conftest.file $srcdir/configure"; then
3008 # If neither matched, then we have a broken ls. This can happen
3009 # if, for instance, CONFIG_SHELL is bash and it inherits a
3010 # broken ls alias from the environment. This has actually
3011 # happened. Such a system could not be considered "sane".
3012 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3013 alias in your environment" "$LINENO" 5
3016 test "$2" = conftest.
file
3022 as_fn_error $?
"newly created file is older than distributed files!
3023 Check your system clock" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3026 $as_echo "yes" >&6; }
3027 test "$program_prefix" != NONE
&&
3028 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3029 # Use a double $ so make ignores it.
3030 test "$program_suffix" != NONE
&&
3031 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3032 # Double any \ or $.
3033 # By default was `s,x,x', remove it if useless.
3034 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3035 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3037 # expand $ac_aux_dir to an absolute path
3038 am_aux_dir
=`cd $ac_aux_dir && pwd`
3040 if test x
"${MISSING+set}" != xset
; then
3043 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3045 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3048 # Use eval to expand $SHELL
3049 if eval "$MISSING --run true"; then
3050 am_missing_run
="$MISSING --run "
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3054 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3057 if test x
"${install_sh}" != xset
; then
3060 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3062 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3066 # Installed binaries are usually stripped using `strip' when the user
3067 # run `make install-strip'. However `strip' might not be the right
3068 # tool to use in cross-compilation environments, therefore Automake
3069 # will honor the `STRIP' environment variable to overrule this program.
3070 if test "$cross_compiling" != no
; then
3071 if test -n "$ac_tool_prefix"; then
3072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3073 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_STRIP+:} false
; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$STRIP"; then
3080 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir
=.
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 STRIP
=$ac_cv_prog_STRIP
3100 if test -n "$STRIP"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3102 $as_echo "$STRIP" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3110 if test -z "$ac_cv_prog_STRIP"; then
3112 # Extract the first word of "strip", so it can be a program name with args.
3113 set dummy strip
; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$ac_ct_STRIP"; then
3120 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_ac_ct_STRIP
="strip"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3140 if test -n "$ac_ct_STRIP"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3142 $as_echo "$ac_ct_STRIP" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3148 if test "x$ac_ct_STRIP" = x
; then
3151 case $cross_compiling:$ac_tool_warned in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3155 ac_tool_warned
=yes ;;
3160 STRIP
="$ac_cv_prog_STRIP"
3164 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3167 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3168 if test -z "$MKDIR_P"; then
3169 if ${ac_cv_path_mkdir+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_prog
in mkdir gmkdir
; do
3178 for ac_exec_ext
in '' $ac_executable_extensions; do
3179 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3180 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3181 'mkdir (GNU coreutils) '* | \
3182 'mkdir (coreutils) '* | \
3183 'mkdir (fileutils) '4.1*)
3184 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3194 test -d .
/--version && rmdir .
/--version
3195 if test "${ac_cv_path_mkdir+set}" = set; then
3196 MKDIR_P
="$ac_cv_path_mkdir -p"
3198 # As a last resort, use the slow shell script. Don't cache a
3199 # value for MKDIR_P within a source directory, because that will
3200 # break other packages using the cache if that directory is
3201 # removed, or if the value is a relative name.
3202 MKDIR_P
="$ac_install_sh -d"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3206 $as_echo "$MKDIR_P" >&6; }
3210 [\\/$
]* | ?
:[\\/]*) ;;
3211 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3214 for ac_prog
in gawk mawk nawk
awk
3216 # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy
$ac_prog; ac_word
=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_AWK+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$AWK"; then
3224 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_AWK
="$ac_prog"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 if test -n "$AWK"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3246 $as_echo "$AWK" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3253 test -n "$AWK" && break
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3257 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3259 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3260 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3261 $as_echo_n "(cached) " >&6
3263 cat >conftest.
make <<\_ACEOF
3266 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3268 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3269 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3271 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3273 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3277 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3279 $as_echo "yes" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 SET_MAKE
="MAKE=${MAKE-make}"
3287 rm -rf .tst
2>/dev
/null
3288 mkdir .tst
2>/dev
/null
3289 if test -d .tst
; then
3294 rmdir .tst
2>/dev
/null
3296 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3297 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3298 # is not polluted with repeated "-I."
3299 am__isrc
=' -I$(srcdir)'
3300 # test to see if srcdir already configured
3301 if test -f $srcdir/config.status
; then
3302 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3306 # test whether we have cygpath
3307 if test -z "$CYGPATH_W"; then
3308 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3309 CYGPATH_W
='cygpath -w'
3316 # Define the identity of the package.
3317 PACKAGE
=$PACKAGE_NAME
3318 VERSION
=$PACKAGE_VERSION
3321 cat >>confdefs.h
<<_ACEOF
3322 #define PACKAGE "$PACKAGE"
3326 cat >>confdefs.h
<<_ACEOF
3327 #define VERSION "$VERSION"
3330 # Some tools Automake needs.
3332 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3335 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3338 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3341 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3344 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3346 # We need awk for the "check" target. The system "awk" is bad on
3348 # Always define AMTAR for backward compatibility. Yes, it's still used
3349 # in the wild :-( We should find a proper way to deprecate it ...
3352 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3358 # Check whether --enable-silent-rules was given.
3359 if test "${enable_silent_rules+set}" = set; then :
3360 enableval
=$enable_silent_rules;
3363 case $enable_silent_rules in
3364 yes) AM_DEFAULT_VERBOSITY
=0;;
3365 no
) AM_DEFAULT_VERBOSITY
=1;;
3366 *) AM_DEFAULT_VERBOSITY
=0;;
3368 am_make
=${MAKE-make}
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3370 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3371 if ${am_cv_make_support_nested_variables+:} false
; then :
3372 $as_echo_n "(cached) " >&6
3374 if $as_echo 'TRUE=$(BAR$(V))
3380 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3381 am_cv_make_support_nested_variables
=yes
3383 am_cv_make_support_nested_variables
=no
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3387 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3388 if test $am_cv_make_support_nested_variables = yes; then
3390 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3392 AM_V
=$AM_DEFAULT_VERBOSITY
3393 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3398 ACLOCAL_AMFLAGS="-I M4"
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3404 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 ac_cpp='$CPP $CPPFLAGS'
3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3411 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413 if test -n "$ac_tool_prefix"; then
3414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_CC+:} false; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$CC"; then
3422 ac_cv_prog_CC="$CC" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 if test -n "$CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444 $as_echo "$CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3452 if test -z "$ac_cv_prog_CC"; then
3454 # Extract the first word of "gcc", so it can be a program name with args.
3455 set dummy gcc; ac_word=$2
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 $as_echo_n "checking for $ac_word... " >&6; }
3458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 if test -n "$ac_ct_CC"; then
3462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3471 ac_cv_prog_ac_ct_CC="gcc"
3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3482 if test -n "$ac_ct_CC"; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3484 $as_echo "$ac_ct_CC" >&6; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3490 if test "x$ac_ct_CC" = x; then
3493 case $cross_compiling:$ac_tool_warned in
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3497 ac_tool_warned=yes ;;
3505 if test -z "$CC"; then
3506 if test -n "$ac_tool_prefix"; then
3507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}cc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if ${ac_cv_prog_CC+:} false; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524 ac_cv_prog_CC="${ac_tool_prefix}cc"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3546 if test -z "$CC"; then
3547 # Extract the first word of "cc", so it can be a program name with args.
3548 set dummy cc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if ${ac_cv_prog_CC+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 if test -n "$CC"; then
3555 ac_cv_prog_CC="$CC" # Let the user override the test.
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3566 ac_prog_rejected=yes
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 if test $ac_prog_rejected = yes; then
3578 # We found a bogon in the path, so make sure we never use it.
3579 set dummy $ac_cv_prog_CC
3581 if test $# != 0; then
3582 # We chose a different compiler from the bogus one.
3583 # However, it has the same basename, so the bogon will be chosen
3584 # first if we set CC to just the basename; use the full file name.
3586 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$CC"; then
3603 if test -n "$ac_tool_prefix"; then
3604 for ac_prog in cl.exe
3606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if ${ac_cv_prog_CC+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -n "$CC"; then
3614 ac_cv_prog_CC="$CC" # Let the user override the test.
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 if test -n "$CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 $as_echo "$CC" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3643 test -n "$CC" && break
3646 if test -z "$CC"; then
3648 for ac_prog in cl.exe
3650 # Extract the first word of "$ac_prog", so it can be a program name with args.
3651 set dummy $ac_prog; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3655 $as_echo_n "(cached) " >&6
3657 if test -n "$ac_ct_CC"; then
3658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_ac_ct_CC="$ac_prog"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3678 if test -n "$ac_ct_CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3680 $as_echo "$ac_ct_CC" >&6; }
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3687 test -n "$ac_ct_CC" && break
3690 if test "x$ac_ct_CC" = x; then
3693 case $cross_compiling:$ac_tool_warned in
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3697 ac_tool_warned=yes ;;
3706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3708 as_fn_error $? "no acceptable C compiler found in \$PATH
3709 See \`config.log
' for more details" "$LINENO" 5; }
3711 # Provide some information about the compiler.
3712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3715 for ac_option in --version -v -V -qversion; do
3716 { { ac_try="$ac_compiler $ac_option >&5"
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722 $as_echo "$ac_try_echo"; } >&5
3723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3725 if test -s conftest.err; then
3727 ... rest of stderr output deleted ...
3728 10q
' conftest.err >conftest.er1
3729 cat conftest.er1 >&5
3731 rm -f conftest.er1 conftest.err
3732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3733 test $ac_status = 0; }
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3747 ac_clean_files_save=$ac_clean_files
3748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3749 # Try to create an executable without -o first, disregard a.out.
3750 # It will help us diagnose broken compilers, and finding out an intuition
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3753 $as_echo_n "checking whether the C compiler works... " >&6; }
3754 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3756 # The possible output files:
3757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3760 for ac_file in $ac_files
3763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3764 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3769 if { { ac_try="$ac_link_default"
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3775 $as_echo "$ac_try_echo"; } >&5
3776 (eval "$ac_link_default") 2>&5
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }; then :
3780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3782 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3783 # so that the user can short-circuit this test for compilers unknown to
3785 for ac_file
in $ac_files ''
3787 test -f "$ac_file" ||
continue
3789 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3792 # We found the default executable, but exeext='' is most
3796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3798 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3800 # We set ac_cv_exeext here because the later test for it is not
3801 # safe: cross compilers may not add the suffix if given an `-o'
3802 # argument, so we may need to know it at that point already.
3803 # Even if this section looks crufty: it has the advantage of
3810 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3815 if test -z "$ac_file"; then :
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3818 $as_echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.
$ac_ext >&5
3821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3823 as_fn_error
77 "C compiler cannot create executables
3824 See \`config.log' for more details" "$LINENO" 5; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3827 $as_echo "yes" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3830 $as_echo_n "checking for C compiler default output file name... " >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3832 $as_echo "$ac_file" >&6; }
3833 ac_exeext
=$ac_cv_exeext
3835 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3836 ac_clean_files
=$ac_clean_files_save
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3838 $as_echo_n "checking for suffix of executables... " >&6; }
3839 if { { ac_try
="$ac_link"
3841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_link") 2>&5
3848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3849 test $ac_status = 0; }; then :
3850 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3851 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3852 # work properly (i.e., refer to `conftest.exe'), while it won't with
3854 for ac_file
in conftest.exe conftest conftest.
*; do
3855 test -f "$ac_file" ||
continue
3857 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3858 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3866 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3867 See \`config.log' for more details" "$LINENO" 5; }
3869 rm -f conftest conftest
$ac_cv_exeext
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3871 $as_echo "$ac_cv_exeext" >&6; }
3873 rm -f conftest.
$ac_ext
3874 EXEEXT
=$ac_cv_exeext
3876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3882 FILE *f = fopen ("conftest.out", "w");
3883 return ferror (f) || fclose (f) != 0;
3889 ac_clean_files
="$ac_clean_files conftest.out"
3890 # Check that the compiler produces executables we can run. If not, either
3891 # the compiler is broken, or we cross compile.
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3893 $as_echo_n "checking whether we are cross compiling... " >&6; }
3894 if test "$cross_compiling" != yes; then
3895 { { ac_try
="$ac_link"
3897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901 $as_echo "$ac_try_echo"; } >&5
3902 (eval "$ac_link") 2>&5
3904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }
3906 if { ac_try='./conftest$ac_cv_exeext'
3907 { { case "(($ac_try" in
3908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3909 *) ac_try_echo
=$ac_try;;
3911 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_try") 2>&5
3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 test $ac_status = 0; }; }; then
3919 if test "$cross_compiling" = maybe
; then
3922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $?
"cannot run C compiled programs.
3925 If you meant to cross compile, use \`--host'.
3926 See \`config.log' for more details" "$LINENO" 5; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3931 $as_echo "$cross_compiling" >&6; }
3933 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3934 ac_clean_files
=$ac_clean_files_save
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3936 $as_echo_n "checking for suffix of object files... " >&6; }
3937 if ${ac_cv_objext+:} false
; then :
3938 $as_echo_n "(cached) " >&6
3940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3951 rm -f conftest.o conftest.obj
3952 if { { ac_try
="$ac_compile"
3954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_compile") 2>&5
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 for ac_file in conftest.o conftest.obj conftest.*; do
3964 test -f "$ac_file" || continue;
3966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3967 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3972 $as_echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3978 See \
`config.log' for more details" "$LINENO" 5; }
3980 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3983 $as_echo "$ac_cv_objext" >&6; }
3984 OBJEXT=$ac_cv_objext
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3987 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3988 if ${ac_cv_c_compiler_gnu+:} false; then :
3989 $as_echo_n "(cached) " >&6
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
4005 if ac_fn_c_try_compile "$LINENO"; then :
4010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4016 if test $ac_compiler_gnu = yes; then
4021 ac_test_CFLAGS=${CFLAGS+set}
4022 ac_save_CFLAGS=$CFLAGS
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4024 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4025 if ${ac_cv_prog_cc_g+:} false; then :
4026 $as_echo_n "(cached) " >&6
4028 ac_save_c_werror_flag=$ac_c_werror_flag
4029 ac_c_werror_flag=yes
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 if ac_fn_c_try_compile "$LINENO"; then :
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4058 if ac_fn_c_try_compile "$LINENO"; then :
4061 ac_c_werror_flag=$ac_save_c_werror_flag
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4074 if ac_fn_c_try_compile "$LINENO"; then :
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4082 ac_c_werror_flag=$ac_save_c_werror_flag
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4085 $as_echo "$ac_cv_prog_cc_g" >&6; }
4086 if test "$ac_test_CFLAGS" = set; then
4087 CFLAGS=$ac_save_CFLAGS
4088 elif test $ac_cv_prog_cc_g = yes; then
4089 if test "$GCC" = yes; then
4095 if test "$GCC" = yes; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4102 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4103 if ${ac_cv_prog_cc_c89+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 ac_cv_prog_cc_c89=no
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4112 #include <sys/types.h>
4113 #include <sys/stat.h>
4114 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4115 struct buf { int x; };
4116 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4117 static char *e (p, i)
4123 static char *f (char * (*g) (char **, int), char **p, ...)
4128 s = g (p, va_arg (v,int));
4133 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4134 function prototypes and stuff, but not '\xHH' hex character constants.
4135 These don't provoke an error unfortunately, instead are silently treated
4136 as 'x'. The following induces an error, until -std is added to get
4137 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4138 array size at least. It's necessary to write '\x00'==0 to get something
4139 that's true only with -std. */
4140 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4142 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4143 inside strings and character constants. */
4145 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4147 int test (int i, double x);
4148 struct s1 {int (*f) (int a);};
4149 struct s2 {int (*f) (double a);};
4150 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4156 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4161 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4162 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4164 CC="$ac_save_CC $ac_arg"
4165 if ac_fn_c_try_compile "$LINENO"; then :
4166 ac_cv_prog_cc_c89=$ac_arg
4168 rm -f core conftest.err conftest.$ac_objext
4169 test "x$ac_cv_prog_cc_c89" != "xno" && break
4171 rm -f conftest.$ac_ext
4176 case "x$ac_cv_prog_cc_c89" in
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4179 $as_echo "none needed" >&6; } ;;
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4182 $as_echo "unsupported" >&6; } ;;
4184 CC="$CC $ac_cv_prog_cc_c89"
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4186 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4188 if test "x$ac_cv_prog_cc_c89" != xno; then :
4193 ac_cpp='$CPP $CPPFLAGS'
4194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4197 DEPDIR="${am__leading_dot}deps"
4199 ac_config_commands="$ac_config_commands depfiles"
4202 am_make=${MAKE-make}
4203 cat > confinc << 'END'
4205 @echo this is the am__doit target
4208 # If we don't find an include directive, just comment out the code.
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4210 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4214 # First try GNU make style include.
4215 echo "include confinc" > confmf
4216 # Ignore all kinds of additional output from `make'.
4217 case `$am_make -s -f confmf 2> /dev/null` in #(
4218 *the\ am__doit\ target*)
4224 # Now try BSD make style include.
4225 if test "$am__include" = "#"; then
4226 echo '.include
"confinc"' > confmf
4227 case `$am_make -s -f confmf 2> /dev/null` in #(
4228 *the\ am__doit\ target*)
4229 am__include=.include
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4238 $as_echo "$_am_result" >&6; }
4239 rm -f confinc confmf
4241 # Check whether --enable-dependency-tracking was given.
4242 if test "${enable_dependency_tracking+set}" = set; then :
4243 enableval=$enable_dependency_tracking;
4246 if test "x$enable_dependency_tracking" != xno; then
4247 am_depcomp="$ac_aux_dir/depcomp"
4251 if test "x$enable_dependency_tracking" != xno
; then
4261 depcc
="$CC" am_compiler_list
=
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4264 $as_echo_n "checking dependency style of $depcc... " >&6; }
4265 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4266 $as_echo_n "(cached) " >&6
4268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4269 # We make a subdir and do the tests there. Otherwise we can end up
4270 # making bogus files that we don't know about and never remove. For
4271 # instance it was reported that on HP-UX the gcc test will end up
4272 # making a dummy file named `D' -- because `-MD' means `put the output
4276 # Copy depcomp to subdir because otherwise we won't find it if we're
4277 # using a relative directory.
4278 cp "$am_depcomp" conftest.dir
4280 # We will build objects and dependencies in a subdirectory because
4281 # it helps to detect inapplicable dependency modes. For instance
4282 # both Tru64's cc and ICC support -MD to output dependencies as a
4283 # side effect of compilation, but ICC will put the dependencies in
4284 # the current directory while Tru64 will put them in the object
4288 am_cv_CC_dependencies_compiler_type
=none
4289 if test "$am_compiler_list" = ""; then
4290 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4293 case " $depcc " in #(
4294 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4297 for depmode
in $am_compiler_list; do
4298 # Setup a source with many dependencies, because some compilers
4299 # like to wrap large dependency lists on column 80 (with \), and
4300 # we should not choose a depcomp mode which is confused by this.
4302 # We need to recreate these files for each test, as the compiler may
4303 # overwrite some of them when testing with obscure command lines.
4304 # This happens at least with the AIX C compiler.
4306 for i
in 1 2 3 4 5 6; do
4307 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4308 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4309 # Solaris 8's {/usr,}/bin/sh.
4310 touch sub
/conftst
$i.h
4312 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4314 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4315 # mode. It turns out that the SunPro C++ compiler does not properly
4316 # handle `-M -o', and we need to detect this. Also, some Intel
4317 # versions had trouble with output in subdirs
4318 am__obj
=sub
/conftest.
${OBJEXT-o}
4319 am__minus_obj
="-o $am__obj"
4322 # This depmode causes a compiler race in universal mode.
4323 test "$am__universal" = false ||
continue
4326 # after this tag, mechanisms are not by side-effect, so they'll
4327 # only be used when explicitly requested
4328 if test "x$enable_dependency_tracking" = xyes
; then
4334 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4335 # This compiler won't grok `-c -o', but also, the minuso test has
4336 # not run yet. These depmodes are late enough in the game, and
4337 # so weak that their functioning should not be impacted.
4338 am__obj
=conftest.
${OBJEXT-o}
4343 if depmode
=$depmode \
4344 source=sub
/conftest.c object
=$am__obj \
4345 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4346 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4347 >/dev
/null
2>conftest.err
&&
4348 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4349 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4350 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4351 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4352 # icc doesn't choke on unknown options, it will just issue warnings
4353 # or remarks (even with -Werror). So we grep stderr for any message
4354 # that says an option was ignored or not supported.
4355 # When given -MP, icc 7.0 and 7.1 complain thusly:
4356 # icc: Command line warning: ignoring option '-M'; no argument required
4357 # The diagnosis changed in icc 8.0:
4358 # icc: Command line remark: option '-MP' not supported
4359 if (grep 'ignoring option' conftest.err ||
4360 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4361 am_cv_CC_dependencies_compiler_type
=$depmode
4370 am_cv_CC_dependencies_compiler_type
=none
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4375 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4376 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4379 test "x$enable_dependency_tracking" != xno \
4380 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4382 am__fastdepCC_FALSE
='#'
4384 am__fastdepCC_TRUE
='#'
4385 am__fastdepCC_FALSE
=
4389 if test "x$CC" != xcc
; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4391 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4394 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4396 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4397 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4398 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
4399 $as_echo_n "(cached) " >&6
4401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4412 # Make sure it works both with $CC and with simple cc.
4413 # We do the test twice because some compilers refuse to overwrite an
4414 # existing .o file with -o, though they will create one.
4415 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4417 if { { case "(($ac_try" in
4418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4422 $as_echo "$ac_try_echo"; } >&5
4423 (eval "$ac_try") 2>&5
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; } &&
4427 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4429 *) ac_try_echo
=$ac_try;;
4431 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4432 $as_echo "$ac_try_echo"; } >&5
4433 (eval "$ac_try") 2>&5
4435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4436 test $ac_status = 0; };
4438 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4439 if test "x$CC" != xcc
; then
4440 # Test first that cc exists at all.
4441 if { ac_try
='cc -c conftest.$ac_ext >&5'
4442 { { case "(($ac_try" in
4443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447 $as_echo "$ac_try_echo"; } >&5
4448 (eval "$ac_try") 2>&5
4450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4451 test $ac_status = 0; }; }; then
4452 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4454 if { { case "(($ac_try" in
4455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4456 *) ac_try_echo
=$ac_try;;
4458 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4459 $as_echo "$ac_try_echo"; } >&5
4460 (eval "$ac_try") 2>&5
4462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4463 test $ac_status = 0; } &&
4464 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4469 $as_echo "$ac_try_echo"; } >&5
4470 (eval "$ac_try") 2>&5
4472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473 test $ac_status = 0; };
4478 # cc exists but doesn't like -o.
4479 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4484 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4486 rm -f core conftest*
4489 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4491 $as_echo "yes" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4496 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4500 # FIXME: we rely on the cache variable name because
4501 # there is no other way.
4503 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4504 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4505 if test "$am_t" != yes; then
4506 # Losing compiler, so override with the script.
4507 # FIXME: It is wrong to rewrite CC.
4508 # But if we don't then we get into trouble of one sort or another.
4509 # A longer-term fix would be to have automake use am__CC in this case,
4510 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4511 CC="$am_aux_dir/compile $CC"
4516 ac_cpp='$CXXCPP $CPPFLAGS'
4517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4520 if test -z "$CXX"; then
4521 if test -n "$CCC"; then
4524 if test -n "$ac_tool_prefix"; then
4525 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_prog_CXX+:} false; then :
4532 $as_echo_n "(cached) " >&6
4534 if test -n "$CXX"; then
4535 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4544 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 if test -n "$CXX"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4557 $as_echo "$CXX" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4564 test -n "$CXX" && break
4567 if test -z "$CXX"; then
4569 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy $ac_prog; ac_word=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -n "$ac_ct_CXX"; then
4579 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588 ac_cv_prog_ac_ct_CXX="$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4599 if test -n "$ac_ct_CXX"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4601 $as_echo "$ac_ct_CXX" >&6; }
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4608 test -n "$ac_ct_CXX" && break
4611 if test "x$ac_ct_CXX" = x; then
4614 case $cross_compiling:$ac_tool_warned in
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4626 # Provide some information about the compiler.
4627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4630 for ac_option in --version -v -V -qversion; do
4631 { { ac_try="$ac_compiler $ac_option >&5"
4633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4634 *) ac_try_echo
=$ac_try;;
4636 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4637 $as_echo "$ac_try_echo"; } >&5
4638 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4640 if test -s conftest.err
; then
4642 ... rest of stderr output deleted ...
4643 10q' conftest.err
>conftest.er1
4644 cat conftest.er1
>&5
4646 rm -f conftest.er1 conftest.err
4647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4648 test $ac_status = 0; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4652 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4653 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4670 if ac_fn_cxx_try_compile
"$LINENO"; then :
4675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4676 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4680 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4681 if test $ac_compiler_gnu = yes; then
4686 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4687 ac_save_CXXFLAGS
=$CXXFLAGS
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4689 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4690 if ${ac_cv_prog_cxx_g+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4694 ac_cxx_werror_flag
=yes
4697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4708 if ac_fn_cxx_try_compile
"$LINENO"; then :
4709 ac_cv_prog_cxx_g
=yes
4712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4723 if ac_fn_cxx_try_compile
"$LINENO"; then :
4726 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4739 if ac_fn_cxx_try_compile
"$LINENO"; then :
4740 ac_cv_prog_cxx_g
=yes
4742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4750 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4751 if test "$ac_test_CXXFLAGS" = set; then
4752 CXXFLAGS
=$ac_save_CXXFLAGS
4753 elif test $ac_cv_prog_cxx_g = yes; then
4754 if test "$GXX" = yes; then
4760 if test "$GXX" = yes; then
4767 ac_cpp
='$CPP $CPPFLAGS'
4768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4772 depcc
="$CXX" am_compiler_list
=
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4775 $as_echo_n "checking dependency style of $depcc... " >&6; }
4776 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4777 $as_echo_n "(cached) " >&6
4779 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4780 # We make a subdir and do the tests there. Otherwise we can end up
4781 # making bogus files that we don't know about and never remove. For
4782 # instance it was reported that on HP-UX the gcc test will end up
4783 # making a dummy file named `D' -- because `-MD' means `put the output
4787 # Copy depcomp to subdir because otherwise we won't find it if we're
4788 # using a relative directory.
4789 cp "$am_depcomp" conftest.dir
4791 # We will build objects and dependencies in a subdirectory because
4792 # it helps to detect inapplicable dependency modes. For instance
4793 # both Tru64's cc and ICC support -MD to output dependencies as a
4794 # side effect of compilation, but ICC will put the dependencies in
4795 # the current directory while Tru64 will put them in the object
4799 am_cv_CXX_dependencies_compiler_type
=none
4800 if test "$am_compiler_list" = ""; then
4801 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4804 case " $depcc " in #(
4805 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4808 for depmode
in $am_compiler_list; do
4809 # Setup a source with many dependencies, because some compilers
4810 # like to wrap large dependency lists on column 80 (with \), and
4811 # we should not choose a depcomp mode which is confused by this.
4813 # We need to recreate these files for each test, as the compiler may
4814 # overwrite some of them when testing with obscure command lines.
4815 # This happens at least with the AIX C compiler.
4817 for i
in 1 2 3 4 5 6; do
4818 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4820 # Solaris 8's {/usr,}/bin/sh.
4821 touch sub
/conftst
$i.h
4823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4825 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4826 # mode. It turns out that the SunPro C++ compiler does not properly
4827 # handle `-M -o', and we need to detect this. Also, some Intel
4828 # versions had trouble with output in subdirs
4829 am__obj
=sub
/conftest.
${OBJEXT-o}
4830 am__minus_obj
="-o $am__obj"
4833 # This depmode causes a compiler race in universal mode.
4834 test "$am__universal" = false ||
continue
4837 # after this tag, mechanisms are not by side-effect, so they'll
4838 # only be used when explicitly requested
4839 if test "x$enable_dependency_tracking" = xyes
; then
4845 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4846 # This compiler won't grok `-c -o', but also, the minuso test has
4847 # not run yet. These depmodes are late enough in the game, and
4848 # so weak that their functioning should not be impacted.
4849 am__obj
=conftest.
${OBJEXT-o}
4854 if depmode
=$depmode \
4855 source=sub
/conftest.c object
=$am__obj \
4856 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4857 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4858 >/dev
/null
2>conftest.err
&&
4859 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4860 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4861 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4862 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4863 # icc doesn't choke on unknown options, it will just issue warnings
4864 # or remarks (even with -Werror). So we grep stderr for any message
4865 # that says an option was ignored or not supported.
4866 # When given -MP, icc 7.0 and 7.1 complain thusly:
4867 # icc: Command line warning: ignoring option '-M'; no argument required
4868 # The diagnosis changed in icc 8.0:
4869 # icc: Command line remark: option '-MP' not supported
4870 if (grep 'ignoring option' conftest.err ||
4871 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4872 am_cv_CXX_dependencies_compiler_type
=$depmode
4881 am_cv_CXX_dependencies_compiler_type
=none
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4886 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4887 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4890 test "x$enable_dependency_tracking" != xno \
4891 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4892 am__fastdepCXX_TRUE
=
4893 am__fastdepCXX_FALSE
='#'
4895 am__fastdepCXX_TRUE
='#'
4896 am__fastdepCXX_FALSE
=
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4901 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4902 if ${ac_cv_path_SED+:} false
; then :
4903 $as_echo_n "(cached) " >&6
4905 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4906 for ac_i
in 1 2 3 4 5 6 7; do
4907 ac_script
="$ac_script$as_nl$ac_script"
4909 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4910 { ac_script
=; unset ac_script
;}
4911 if test -z "$SED"; then
4912 ac_path_SED_found
=false
4913 # Loop through the user's path and test for each of PROGNAME-LIST
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_prog
in sed gsed
; do
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4922 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4923 # Check for GNU ac_path_SED and select it if it is found.
4924 # Check for GNU $ac_path_SED
4925 case `"$ac_path_SED" --version 2>&1` in
4927 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4930 $as_echo_n 0123456789 >"conftest.in"
4933 cat "conftest.in" "conftest.in" >"conftest.tmp"
4934 mv "conftest.tmp" "conftest.in"
4935 cp "conftest.in" "conftest.nl"
4936 $as_echo '' >> "conftest.nl"
4937 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4938 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4939 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4940 if test $ac_count -gt ${ac_path_SED_max-0}; then
4941 # Best one so far, save it but keep looking for a better one
4942 ac_cv_path_SED
="$ac_path_SED"
4943 ac_path_SED_max
=$ac_count
4945 # 10*(2^10) chars as input seems more than enough
4946 test $ac_count -gt 10 && break
4948 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4951 $ac_path_SED_found && break 3
4956 if test -z "$ac_cv_path_SED"; then
4957 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4965 $as_echo "$ac_cv_path_SED" >&6; }
4966 SED
="$ac_cv_path_SED"
4970 # Do not check for F77.
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4975 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4981 macro_revision
='1.3293'
4995 ltmain
="$ac_aux_dir/ltmain.sh"
4997 # Backslashify metacharacters that are still active within
4998 # double-quoted strings.
4999 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5001 # Same as above, but do not quote variable references.
5002 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5004 # Sed substitution to delay expansion of an escaped shell variable in a
5005 # double_quote_subst'ed string.
5006 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5008 # Sed substitution to delay expansion of an escaped single quote.
5009 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5011 # Sed substitution to avoid accidental globbing in evaled expressions
5012 no_glob_subst
='s/\*/\\\*/g'
5014 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5015 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5016 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5019 $as_echo_n "checking how to print strings... " >&6; }
5020 # Test print first, because it will be a builtin if present.
5021 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5022 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5024 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5027 # Use this function as a fallback that always works.
5028 func_fallback_echo ()
5030 eval 'cat <<_LTECHO_EOF
5034 ECHO='func_fallback_echo
'
5037 # func_echo_all arg...
5038 # Invoke $ECHO with all args, space-separated.
5045 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5046 $as_echo "printf" >&6; } ;;
5047 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5048 $as_echo "print -r" >&6; } ;;
5049 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5050 $as_echo "cat" >&6; } ;;
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5067 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5068 if ${ac_cv_path_SED+:} false; then :
5069 $as_echo_n "(cached) " >&6
5071 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5072 for ac_i in 1 2 3 4 5 6 7; do
5073 ac_script="$ac_script$as_nl$ac_script"
5075 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5076 { ac_script=; unset ac_script;}
5077 if test -z "$SED"; then
5078 ac_path_SED_found=false
5079 # Loop through the user's path and
test for each of PROGNAME-LIST
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_prog
in sed gsed
; do
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5088 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5089 # Check for GNU ac_path_SED and select it if it is found.
5090 # Check for GNU $ac_path_SED
5091 case `"$ac_path_SED" --version 2>&1` in
5093 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5096 $as_echo_n 0123456789 >"conftest.in"
5099 cat "conftest.in" "conftest.in" >"conftest.tmp"
5100 mv "conftest.tmp" "conftest.in"
5101 cp "conftest.in" "conftest.nl"
5102 $as_echo '' >> "conftest.nl"
5103 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5104 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5105 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5106 if test $ac_count -gt ${ac_path_SED_max-0}; then
5107 # Best one so far, save it but keep looking for a better one
5108 ac_cv_path_SED
="$ac_path_SED"
5109 ac_path_SED_max
=$ac_count
5111 # 10*(2^10) chars as input seems more than enough
5112 test $ac_count -gt 10 && break
5114 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5117 $ac_path_SED_found && break 3
5122 if test -z "$ac_cv_path_SED"; then
5123 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5131 $as_echo "$ac_cv_path_SED" >&6; }
5132 SED
="$ac_cv_path_SED"
5135 test -z "$SED" && SED
=sed
5136 Xsed
="$SED -e 1s/^X//"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5149 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5150 if ${ac_cv_path_GREP+:} false
; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -z "$GREP"; then
5154 ac_path_GREP_found
=false
5155 # Loop through the user's path and test for each of PROGNAME-LIST
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_prog
in grep ggrep
; do
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5164 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5165 # Check for GNU ac_path_GREP and select it if it is found.
5166 # Check for GNU $ac_path_GREP
5167 case `"$ac_path_GREP" --version 2>&1` in
5169 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5172 $as_echo_n 0123456789 >"conftest.in"
5175 cat "conftest.in" "conftest.in" >"conftest.tmp"
5176 mv "conftest.tmp" "conftest.in"
5177 cp "conftest.in" "conftest.nl"
5178 $as_echo 'GREP' >> "conftest.nl"
5179 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5180 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5181 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5182 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5183 # Best one so far, save it but keep looking for a better one
5184 ac_cv_path_GREP
="$ac_path_GREP"
5185 ac_path_GREP_max
=$ac_count
5187 # 10*(2^10) chars as input seems more than enough
5188 test $ac_count -gt 10 && break
5190 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5193 $ac_path_GREP_found && break 3
5198 if test -z "$ac_cv_path_GREP"; then
5199 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5202 ac_cv_path_GREP
=$GREP
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5207 $as_echo "$ac_cv_path_GREP" >&6; }
5208 GREP
="$ac_cv_path_GREP"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5212 $as_echo_n "checking for egrep... " >&6; }
5213 if ${ac_cv_path_EGREP+:} false
; then :
5214 $as_echo_n "(cached) " >&6
5216 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5217 then ac_cv_path_EGREP
="$GREP -E"
5219 if test -z "$EGREP"; then
5220 ac_path_EGREP_found
=false
5221 # Loop through the user's path and test for each of PROGNAME-LIST
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_prog
in egrep; do
5228 for ac_exec_ext
in '' $ac_executable_extensions; do
5229 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5230 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5231 # Check for GNU ac_path_EGREP and select it if it is found.
5232 # Check for GNU $ac_path_EGREP
5233 case `"$ac_path_EGREP" --version 2>&1` in
5235 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5238 $as_echo_n 0123456789 >"conftest.in"
5241 cat "conftest.in" "conftest.in" >"conftest.tmp"
5242 mv "conftest.tmp" "conftest.in"
5243 cp "conftest.in" "conftest.nl"
5244 $as_echo 'EGREP' >> "conftest.nl"
5245 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5246 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5247 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5248 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5249 # Best one so far, save it but keep looking for a better one
5250 ac_cv_path_EGREP
="$ac_path_EGREP"
5251 ac_path_EGREP_max
=$ac_count
5253 # 10*(2^10) chars as input seems more than enough
5254 test $ac_count -gt 10 && break
5256 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5259 $ac_path_EGREP_found && break 3
5264 if test -z "$ac_cv_path_EGREP"; then
5265 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5268 ac_cv_path_EGREP
=$EGREP
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5274 $as_echo "$ac_cv_path_EGREP" >&6; }
5275 EGREP
="$ac_cv_path_EGREP"
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5279 $as_echo_n "checking for fgrep... " >&6; }
5280 if ${ac_cv_path_FGREP+:} false
; then :
5281 $as_echo_n "(cached) " >&6
5283 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5284 then ac_cv_path_FGREP
="$GREP -F"
5286 if test -z "$FGREP"; then
5287 ac_path_FGREP_found
=false
5288 # Loop through the user's path and test for each of PROGNAME-LIST
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5290 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_prog
in fgrep
; do
5295 for ac_exec_ext
in '' $ac_executable_extensions; do
5296 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5297 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5298 # Check for GNU ac_path_FGREP and select it if it is found.
5299 # Check for GNU $ac_path_FGREP
5300 case `"$ac_path_FGREP" --version 2>&1` in
5302 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5305 $as_echo_n 0123456789 >"conftest.in"
5308 cat "conftest.in" "conftest.in" >"conftest.tmp"
5309 mv "conftest.tmp" "conftest.in"
5310 cp "conftest.in" "conftest.nl"
5311 $as_echo 'FGREP' >> "conftest.nl"
5312 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5313 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5314 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5315 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5316 # Best one so far, save it but keep looking for a better one
5317 ac_cv_path_FGREP
="$ac_path_FGREP"
5318 ac_path_FGREP_max
=$ac_count
5320 # 10*(2^10) chars as input seems more than enough
5321 test $ac_count -gt 10 && break
5323 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5326 $ac_path_FGREP_found && break 3
5331 if test -z "$ac_cv_path_FGREP"; then
5332 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5335 ac_cv_path_FGREP
=$FGREP
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5341 $as_echo "$ac_cv_path_FGREP" >&6; }
5342 FGREP
="$ac_cv_path_FGREP"
5345 test -z "$GREP" && GREP
=grep
5365 # Check whether --with-gnu-ld was given.
5366 if test "${with_gnu_ld+set}" = set; then :
5367 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5373 if test "$GCC" = yes; then
5374 # Check if gcc -print-prog-name=ld gives a path.
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5376 $as_echo_n "checking for ld used by $CC... " >&6; }
5379 # gcc leaves a trailing carriage return which upsets mingw
5380 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5382 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5385 # Accept absolute paths.
5387 re_direlt
='/[^/][^/]*/\.\./'
5388 # Canonicalize the pathname of ld
5389 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5390 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5391 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5393 test -z "$LD" && LD
="$ac_prog"
5396 # If it fails, then pretend we aren't using GCC.
5400 # If it is relative, then search for the first ld in PATH.
5404 elif test "$with_gnu_ld" = yes; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5406 $as_echo_n "checking for GNU ld... " >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5409 $as_echo_n "checking for non-GNU ld... " >&6; }
5411 if ${lt_cv_path_LD+:} false
; then :
5412 $as_echo_n "(cached) " >&6
5414 if test -z "$LD"; then
5415 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5416 for ac_dir
in $PATH; do
5418 test -z "$ac_dir" && ac_dir
=.
5419 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5420 lt_cv_path_LD
="$ac_dir/$ac_prog"
5421 # Check to see if the program is GNU ld. I'd rather use --version,
5422 # but apparently some variants of GNU ld only accept -v.
5423 # Break only if it was the GNU/non-GNU ld that we prefer.
5424 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5425 *GNU
* |
*'with BFD'*)
5426 test "$with_gnu_ld" != no
&& break
5429 test "$with_gnu_ld" != yes && break
5436 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5441 if test -n "$LD"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5443 $as_echo "$LD" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5448 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5450 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5451 if ${lt_cv_prog_gnu_ld+:} false
; then :
5452 $as_echo_n "(cached) " >&6
5454 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5455 case `$LD -v 2>&1 </dev/null` in
5456 *GNU
* |
*'with BFD'*)
5457 lt_cv_prog_gnu_ld
=yes
5460 lt_cv_prog_gnu_ld
=no
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5465 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5466 with_gnu_ld
=$lt_cv_prog_gnu_ld
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5477 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5478 if ${lt_cv_path_NM+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$NM"; then
5482 # Let the user override the test.
5485 lt_nm_to_check
="${ac_tool_prefix}nm"
5486 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5487 lt_nm_to_check
="$lt_nm_to_check nm"
5489 for lt_tmp_nm
in $lt_nm_to_check; do
5490 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5491 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5493 test -z "$ac_dir" && ac_dir
=.
5494 tmp_nm
="$ac_dir/$lt_tmp_nm"
5495 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5496 # Check to see if the nm accepts a BSD-compat flag.
5497 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5498 # nm: unknown option "B" ignored
5499 # Tru64's nm complains that /dev/null is an invalid object file
5500 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5501 */dev
/null
* |
*'Invalid file or object type'*)
5502 lt_cv_path_NM
="$tmp_nm -B"
5506 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5508 lt_cv_path_NM
="$tmp_nm -p"
5512 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5513 continue # so that we can try to find one that supports BSD flags
5522 : ${lt_cv_path_NM=no}
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5526 $as_echo "$lt_cv_path_NM" >&6; }
5527 if test "$lt_cv_path_NM" != "no"; then
5530 # Didn't find any BSD compatible name lister, look for dumpbin.
5531 if test -n "$DUMPBIN"; then :
5532 # Let the user override the test.
5534 if test -n "$ac_tool_prefix"; then
5535 for ac_prog
in dumpbin
"link -dump"
5537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5538 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$DUMPBIN"; then
5545 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_exec_ext
in '' $ac_executable_extensions; do
5553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5554 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 DUMPBIN
=$ac_cv_prog_DUMPBIN
5565 if test -n "$DUMPBIN"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5567 $as_echo "$DUMPBIN" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 test -n "$DUMPBIN" && break
5577 if test -z "$DUMPBIN"; then
5578 ac_ct_DUMPBIN
=$DUMPBIN
5579 for ac_prog
in dumpbin
"link -dump"
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy
$ac_prog; ac_word
=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5586 $as_echo_n "(cached) " >&6
5588 if test -n "$ac_ct_DUMPBIN"; then
5589 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5609 if test -n "$ac_ct_DUMPBIN"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5611 $as_echo "$ac_ct_DUMPBIN" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5618 test -n "$ac_ct_DUMPBIN" && break
5621 if test "x$ac_ct_DUMPBIN" = x
; then
5624 case $cross_compiling:$ac_tool_warned in
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5628 ac_tool_warned
=yes ;;
5630 DUMPBIN
=$ac_ct_DUMPBIN
5634 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5636 DUMPBIN
="$DUMPBIN -symbols"
5644 if test "$DUMPBIN" != ":"; then
5648 test -z "$NM" && NM
=nm
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5656 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5657 if ${lt_cv_nm_interface+:} false
; then :
5658 $as_echo_n "(cached) " >&6
5660 lt_cv_nm_interface
="BSD nm"
5661 echo "int some_variable = 0;" > conftest.
$ac_ext
5662 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5663 (eval "$ac_compile" 2>conftest.err
)
5664 cat conftest.err
>&5
5665 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5666 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5667 cat conftest.err
>&5
5668 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5669 cat conftest.out
>&5
5670 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5671 lt_cv_nm_interface
="MS dumpbin"
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5676 $as_echo "$lt_cv_nm_interface" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5679 $as_echo_n "checking whether ln -s works... " >&6; }
5681 if test "$LN_S" = "ln -s"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5683 $as_echo "yes" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5686 $as_echo "no, using $LN_S" >&6; }
5689 # find the maximum length of command line arguments
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5691 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5692 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5693 $as_echo_n "(cached) " >&6
5700 # On DJGPP, this test can blow up pretty badly due to problems in libc
5701 # (any single argument exceeding 2000 bytes causes a buffer overrun
5702 # during glob expansion). Even if it were fixed, the result of this
5703 # check would be larger than it should be.
5704 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5708 # Under GNU Hurd, this test is not required because there is
5709 # no limit to the length of command line arguments.
5710 # Libtool will interpret -1 as no limit whatsoever
5711 lt_cv_sys_max_cmd_len
=-1;
5714 cygwin
* | mingw
* | cegcc
*)
5715 # On Win9x/ME, this test blows up -- it succeeds, but takes
5716 # about 5 minutes as the teststring grows exponentially.
5717 # Worse, since 9x/ME are not pre-emptively multitasking,
5718 # you end up with a "frozen" computer, even though with patience
5719 # the test eventually succeeds (with a max line length of 256k).
5720 # Instead, let's just punt: use the minimum linelength reported by
5721 # all of the supported platforms: 8192 (on NT/2K/XP).
5722 lt_cv_sys_max_cmd_len
=8192;
5726 # On MiNT this can take a long time and run out of memory.
5727 lt_cv_sys_max_cmd_len
=8192;
5731 # On AmigaOS with pdksh, this test takes hours, literally.
5732 # So we just punt and use a minimum line length of 8192.
5733 lt_cv_sys_max_cmd_len
=8192;
5736 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5737 # This has been around since 386BSD, at least. Likely further.
5738 if test -x /sbin
/sysctl
; then
5739 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5740 elif test -x /usr
/sbin
/sysctl
; then
5741 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5743 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5745 # And add a safety zone
5746 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5747 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5751 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5752 lt_cv_sys_max_cmd_len
=196608
5756 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5757 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5758 # nice to cause kernel panics so lets avoid the loop below.
5759 # First set a reasonable default.
5760 lt_cv_sys_max_cmd_len
=16384
5762 if test -x /sbin
/sysconfig
; then
5763 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5764 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5769 lt_cv_sys_max_cmd_len
=102400
5771 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5772 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5773 if test -n "$kargmax"; then
5774 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5776 lt_cv_sys_max_cmd_len
=32768
5780 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5781 if test -n "$lt_cv_sys_max_cmd_len"; then
5782 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5783 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5785 # Make teststring a little bigger before we do anything with it.
5786 # a 1K string should be a reasonable start.
5787 for i
in 1 2 3 4 5 6 7 8 ; do
5788 teststring
=$teststring$teststring
5790 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5791 # If test is not a shell built-in, we'll probably end up computing a
5792 # maximum length that is only half of the actual maximum length, but
5794 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5795 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5796 test $i != 17 # 1/2 MB should be enough
5799 teststring
=$teststring$teststring
5801 # Only check the string length outside the loop.
5802 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5804 # Add a significant safety factor because C++ compilers can tack on
5805 # massive amounts of additional arguments before passing them to the
5806 # linker. It appears as though 1/2 is a usable value.
5807 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5814 if test -n $lt_cv_sys_max_cmd_len ; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5816 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5819 $as_echo "none" >&6; }
5821 max_cmd_len
=$lt_cv_sys_max_cmd_len
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5833 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5834 # Try some XSI features
5837 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5839 && eval 'test $(( 1 + 1 )) -eq 2 \
5840 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5843 $as_echo "$xsi_shell" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5847 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5849 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5851 && lt_shell_append=yes
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5853 $as_echo "$lt_shell_append" >&6; }
5856 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5866 # test EBCDIC or ASCII
5867 case `echo X|tr X '\101'` in
5868 A) # ASCII based system
5869 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5870 lt_SP2NL='tr \040 \012'
5871 lt_NL2SP='tr \015\012 \040\040'
5873 *) # EBCDIC based system
5874 lt_SP2NL='tr \100 \n'
5875 lt_NL2SP='tr \r\n \100\100'
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5888 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5889 if ${lt_cv_to_host_file_cmd+:} false; then :
5890 $as_echo_n "(cached
) " >&6
5895 *-*-mingw* ) # actually msys
5896 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5899 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5901 * ) # otherwise, assume *nix
5902 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5908 *-*-mingw* ) # actually msys
5909 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5912 lt_cv_to_host_file_cmd=func_convert_file_noop
5914 * ) # otherwise, assume *nix
5915 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5919 * ) # unhandled hosts (and "normal
" native builds)
5920 lt_cv_to_host_file_cmd=func_convert_file_noop
5926 to_host_file_cmd=$lt_cv_to_host_file_cmd
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5928 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5935 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5936 if ${lt_cv_to_tool_file_cmd+:} false; then :
5937 $as_echo_n "(cached
) " >&6
5939 #assume ordinary cross tools, or native build.
5940 lt_cv_to_tool_file_cmd=func_convert_file_noop
5944 *-*-mingw* ) # actually msys
5945 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5953 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5955 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5962 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5963 if ${lt_cv_ld_reload_flag+:} false; then :
5964 $as_echo_n "(cached
) " >&6
5966 lt_cv_ld_reload_flag='-r'
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5969 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5970 reload_flag=$lt_cv_ld_reload_flag
5971 case $reload_flag in
5973 *) reload_flag=" $reload_flag" ;;
5975 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5977 cygwin* | mingw* | pw32* | cegcc*)
5978 if test "$GCC" != yes; then
5983 if test "$GCC" = yes; then
5984 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5986 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5999 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6001 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6003 $as_echo_n "checking
for $ac_word...
" >&6; }
6004 if ${ac_cv_prog_OBJDUMP+:} false; then :
6005 $as_echo_n "(cached
) " >&6
6007 if test -n "$OBJDUMP"; then
6008 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6027 OBJDUMP=$ac_cv_prog_OBJDUMP
6028 if test -n "$OBJDUMP"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6030 $as_echo "$OBJDUMP" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6033 $as_echo "no
" >&6; }
6038 if test -z "$ac_cv_prog_OBJDUMP"; then
6039 ac_ct_OBJDUMP=$OBJDUMP
6040 # Extract the first word of "objdump
", so it can be a program name with args.
6041 set dummy objdump; ac_word=$2
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6043 $as_echo_n "checking
for $ac_word...
" >&6; }
6044 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6045 $as_echo_n "(cached
) " >&6
6047 if test -n "$ac_ct_OBJDUMP"; then
6048 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6067 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6068 if test -n "$ac_ct_OBJDUMP"; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6070 $as_echo "$ac_ct_OBJDUMP" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6073 $as_echo "no
" >&6; }
6076 if test "x
$ac_ct_OBJDUMP" = x; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6082 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6083 ac_tool_warned=yes ;;
6085 OBJDUMP=$ac_ct_OBJDUMP
6088 OBJDUMP="$ac_cv_prog_OBJDUMP"
6091 test -z "$OBJDUMP" && OBJDUMP=objdump
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6102 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6103 if ${lt_cv_deplibs_check_method+:} false; then :
6104 $as_echo_n "(cached
) " >&6
6106 lt_cv_file_magic_cmd='$MAGIC_CMD'
6107 lt_cv_file_magic_test_file=
6108 lt_cv_deplibs_check_method='unknown'
6109 # Need to set the preceding variable on all platforms that support
6110 # interlibrary dependencies.
6111 # 'none' -- dependencies not supported.
6112 # `unknown' -- same as none, but documents that we really don't know.
6113 # 'pass_all' -- all dependencies passed with no checks.
6114 # 'test_compile' -- check by making test program.
6115 # 'file_magic [[regex]]' -- check by looking for files in library path
6116 # which responds to the $file_magic_cmd with a given extended regex.
6117 # If you have `file' or equivalent on your system and you're not sure
6118 # whether `pass_all' will *always* work, you probably want this one.
6122 lt_cv_deplibs_check_method=pass_all
6126 lt_cv_deplibs_check_method=pass_all
6130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6131 lt_cv_file_magic_cmd='/usr/bin/file -L'
6132 lt_cv_file_magic_test_file=/shlib/libc.so
6136 # func_win32_libid is a shell function defined in ltmain.sh
6137 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6138 lt_cv_file_magic_cmd='func_win32_libid'
6142 # Base MSYS/MinGW do not provide the 'file' command needed by
6143 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6144 # unless we find 'file', for example because we are cross-compiling.
6145 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6146 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6147 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6148 lt_cv_file_magic_cmd='func_win32_libid'
6150 # Keep this pattern in sync with the one in func_win32_libid.
6151 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6152 lt_cv_file_magic_cmd='$OBJDUMP -f'
6157 # use the weaker test based on 'objdump'. See mingw*.
6158 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6159 lt_cv_file_magic_cmd='$OBJDUMP -f'
6162 darwin* | rhapsody*)
6163 lt_cv_deplibs_check_method=pass_all
6166 freebsd* | dragonfly*)
6167 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6170 # Not sure whether the presence of OpenBSD here was a mistake.
6171 # Let's accept both of them until this is cleared up.
6172 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6173 lt_cv_file_magic_cmd=/usr/bin/file
6174 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6178 lt_cv_deplibs_check_method=pass_all
6183 lt_cv_deplibs_check_method=pass_all
6187 lt_cv_deplibs_check_method=pass_all
6190 hpux10.20* | hpux11*)
6191 lt_cv_file_magic_cmd=/usr/bin/file
6194 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6195 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6198 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]'
6199 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6202 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6203 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6209 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6213 irix5* | irix6* | nonstopux*)
6215 *-32|*"-32 ") libmagic=32-bit;;
6216 *-n32|*"-n32 ") libmagic=N32;;
6217 *-64|*"-64 ") libmagic=64-bit;;
6218 *) libmagic=never-match;;
6220 lt_cv_deplibs_check_method=pass_all
6223 # This must be Linux ELF.
6224 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6225 lt_cv_deplibs_check_method=pass_all
6228 netbsd* | netbsdelf*-gnu)
6229 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6230 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6232 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6237 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6238 lt_cv_file_magic_cmd=/usr/bin/file
6239 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6243 lt_cv_deplibs_check_method=pass_all
6247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6248 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6254 osf3* | osf4* | osf5*)
6255 lt_cv_deplibs_check_method=pass_all
6259 lt_cv_deplibs_check_method=pass_all
6263 lt_cv_deplibs_check_method=pass_all
6266 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6267 lt_cv_deplibs_check_method=pass_all
6271 case $host_vendor in
6273 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]'
6274 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6277 lt_cv_deplibs_check_method=pass_all
6280 lt_cv_file_magic_cmd='/bin/file'
6281 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6284 lt_cv_file_magic_cmd='/bin/file'
6285 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6286 lt_cv_file_magic_test_file=/lib/libc.so
6289 lt_cv_deplibs_check_method=pass_all
6292 lt_cv_deplibs_check_method=pass_all
6298 lt_cv_deplibs_check_method=pass_all
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6304 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6308 if test "$build" = "$host"; then
6311 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6314 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6320 file_magic_cmd=$lt_cv_file_magic_cmd
6321 deplibs_check_method=$lt_cv_deplibs_check_method
6322 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6345 if test -n "$ac_tool_prefix"; then
6346 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6347 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6349 $as_echo_n "checking
for $ac_word...
" >&6; }
6350 if ${ac_cv_prog_DLLTOOL+:} false; then :
6351 $as_echo_n "(cached
) " >&6
6353 if test -n "$DLLTOOL"; then
6354 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6373 DLLTOOL=$ac_cv_prog_DLLTOOL
6374 if test -n "$DLLTOOL"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6376 $as_echo "$DLLTOOL" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6379 $as_echo "no
" >&6; }
6384 if test -z "$ac_cv_prog_DLLTOOL"; then
6385 ac_ct_DLLTOOL=$DLLTOOL
6386 # Extract the first word of "dlltool
", so it can be a program name with args.
6387 set dummy dlltool; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6389 $as_echo_n "checking
for $ac_word...
" >&6; }
6390 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6391 $as_echo_n "(cached
) " >&6
6393 if test -n "$ac_ct_DLLTOOL"; then
6394 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6403 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6413 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6414 if test -n "$ac_ct_DLLTOOL"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6416 $as_echo "$ac_ct_DLLTOOL" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6419 $as_echo "no
" >&6; }
6422 if test "x
$ac_ct_DLLTOOL" = x; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6429 ac_tool_warned=yes ;;
6431 DLLTOOL=$ac_ct_DLLTOOL
6434 DLLTOOL="$ac_cv_prog_DLLTOOL"
6437 test -z "$DLLTOOL" && DLLTOOL=dlltool
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6449 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6450 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6451 $as_echo_n "(cached
) " >&6
6453 lt_cv_sharedlib_from_linklib_cmd='unknown'
6456 cygwin* | mingw* | pw32* | cegcc*)
6457 # two different shell functions defined in ltmain.sh
6458 # decide which to use based on capabilities of $DLLTOOL
6459 case `$DLLTOOL --help 2>&1` in
6460 *--identify-strict*)
6461 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6464 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6469 # fallback: assume linklib IS sharedlib
6470 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6476 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6477 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6478 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6487 if test -n "$ac_tool_prefix"; then
6490 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6493 $as_echo_n "checking
for $ac_word...
" >&6; }
6494 if ${ac_cv_prog_AR+:} false; then :
6495 $as_echo_n "(cached
) " >&6
6497 if test -n "$AR"; then
6498 ac_cv_prog_AR="$AR" # Let the user override the test.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6507 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6518 if test -n "$AR"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6520 $as_echo "$AR" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6523 $as_echo "no
" >&6; }
6527 test -n "$AR" && break
6530 if test -z "$AR"; then
6534 # Extract the first word of "$ac_prog", so it can be a program name with args.
6535 set dummy $ac_prog; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6537 $as_echo_n "checking
for $ac_word...
" >&6; }
6538 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6539 $as_echo_n "(cached
) " >&6
6541 if test -n "$ac_ct_AR"; then
6542 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 ac_cv_prog_ac_ct_AR="$ac_prog"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6561 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6562 if test -n "$ac_ct_AR"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6564 $as_echo "$ac_ct_AR" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6567 $as_echo "no
" >&6; }
6571 test -n "$ac_ct_AR" && break
6574 if test "x
$ac_ct_AR" = x; then
6577 case $cross_compiling:$ac_tool_warned in
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6580 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6581 ac_tool_warned=yes ;;
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6601 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6602 if ${lt_cv_ar_at_file+:} false; then :
6603 $as_echo_n "(cached
) " >&6
6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6617 if ac_fn_c_try_compile "$LINENO"; then :
6618 echo conftest.$ac_objext > conftest.lst
6619 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6620 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6621 (eval $lt_ar_try) 2>&5
6623 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6624 test $ac_status = 0; }
6625 if test "$ac_status" -eq 0; then
6626 # Ensure the archiver fails upon bogus file names.
6627 rm -f conftest.$ac_objext libconftest.a
6628 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6629 (eval $lt_ar_try) 2>&5
6631 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6632 test $ac_status = 0; }
6633 if test "$ac_status" -ne 0; then
6637 rm -f conftest.* libconftest.a
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6644 $as_echo "$lt_cv_ar_at_file" >&6; }
6646 if test "x
$lt_cv_ar_at_file" = xno; then
6649 archiver_list_spec=$lt_cv_ar_at_file
6658 if test -n "$ac_tool_prefix"; then
6659 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6660 set dummy ${ac_tool_prefix}strip; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6662 $as_echo_n "checking
for $ac_word...
" >&6; }
6663 if ${ac_cv_prog_STRIP+:} false; then :
6664 $as_echo_n "(cached
) " >&6
6666 if test -n "$STRIP"; then
6667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6686 STRIP=$ac_cv_prog_STRIP
6687 if test -n "$STRIP"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6689 $as_echo "$STRIP" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6692 $as_echo "no
" >&6; }
6697 if test -z "$ac_cv_prog_STRIP"; then
6699 # Extract the first word of "strip
", so it can be a program name with args.
6700 set dummy strip; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6702 $as_echo_n "checking
for $ac_word...
" >&6; }
6703 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6704 $as_echo_n "(cached
) " >&6
6706 if test -n "$ac_ct_STRIP"; then
6707 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716 ac_cv_prog_ac_ct_STRIP="strip
"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6726 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6727 if test -n "$ac_ct_STRIP"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6729 $as_echo "$ac_ct_STRIP" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6732 $as_echo "no
" >&6; }
6735 if test "x
$ac_ct_STRIP" = x; then
6738 case $cross_compiling:$ac_tool_warned in
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6741 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6742 ac_tool_warned=yes ;;
6747 STRIP="$ac_cv_prog_STRIP"
6750 test -z "$STRIP" && STRIP=:
6757 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6759 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if ${ac_cv_prog_RANLIB+:} false; then :
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$RANLIB"; then
6766 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6785 RANLIB=$ac_cv_prog_RANLIB
6786 if test -n "$RANLIB"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6788 $as_echo "$RANLIB" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6796 if test -z "$ac_cv_prog_RANLIB"; then
6797 ac_ct_RANLIB=$RANLIB
6798 # Extract the first word of "ranlib
", so it can be a program name with args.
6799 set dummy ranlib; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6801 $as_echo_n "checking
for $ac_word...
" >&6; }
6802 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6803 $as_echo_n "(cached
) " >&6
6805 if test -n "$ac_ct_RANLIB"; then
6806 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6826 if test -n "$ac_ct_RANLIB"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6828 $as_echo "$ac_ct_RANLIB" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6831 $as_echo "no
" >&6; }
6834 if test "x
$ac_ct_RANLIB" = x; then
6837 case $cross_compiling:$ac_tool_warned in
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6840 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6841 ac_tool_warned=yes ;;
6843 RANLIB=$ac_ct_RANLIB
6846 RANLIB="$ac_cv_prog_RANLIB"
6849 test -z "$RANLIB" && RANLIB=:
6856 # Determine commands to create old-style static archives.
6857 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6858 old_postinstall_cmds='chmod 644 $oldlib'
6859 old_postuninstall_cmds=
6861 if test -n "$RANLIB"; then
6864 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6867 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6870 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6875 lock_old_archive_extraction=yes ;;
6877 lock_old_archive_extraction=no ;;
6918 # If no C compiler was specified, use CC.
6921 # If no C compiler flags were specified, use CFLAGS.
6922 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6924 # Allow CC to be a program name with arguments.
6928 # Check for command to grab the raw symbol name followed by C symbol from nm.
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6930 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6931 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6932 $as_echo_n "(cached
) " >&6
6935 # These are sane defaults that work on at least a few old systems.
6936 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6938 # Character class describing NM global symbol codes.
6939 symcode='[BCDEGRST]'
6941 # Regexp to match symbols that can be accessed directly from C.
6942 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6944 # Define system-specific variables.
6949 cygwin* | mingw* | pw32* | cegcc*)
6950 symcode='[ABCDGISTW]'
6953 if test "$host_cpu" = ia64; then
6954 symcode='[ABCDEGRST]'
6958 symcode='[BCDEGRST]'
6961 symcode='[BCDEGQRST]'
6972 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6980 # If we're using GNU nm, then use its standard symbol codes.
6981 case `$NM -V 2>&1` in
6982 *GNU* | *'with BFD'*)
6983 symcode='[ABCDGIRSTW]' ;;
6986 # Transform an extracted symbol line into a proper C declaration.
6987 # Some systems (esp. on ia64) link data and code symbols differently,
6988 # so use this general approach.
6989 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6991 # Transform an extracted symbol line into symbol name and symbol address
6992 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6993 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'"
6995 # Handle CRLF in mingw tool chain
6999 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7003 # Try without a prefix underscore, then with it.
7004 for ac_symprfx in "" "_
"; do
7006 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7007 symxfrm="\\1 $ac_symprfx\\2 \\2"
7009 # Write the raw and C identifiers.
7010 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7011 # Fake it for dumpbin and say T for any non-static function
7012 # and D for any global variable.
7013 # Also find C++ and __fastcall symbols from MSVC++,
7014 # which start with @ or ?.
7015 lt_cv_sys_global_symbol_pipe="$AWK '"\
7016 " {last_section=section; section=\$ 3};"\
7017 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7018 " \$ 0!~/External *\|/{next};"\
7019 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7020 " {if(hide[section]) next};"\
7021 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7022 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7023 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7024 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7025 " ' prfx
=^
$ac_symprfx"
7027 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7029 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7031 # Check to see that the pipe works correctly.
7035 cat > conftest.$ac_ext <<_LT_EOF
7040 void nm_test_func(void);
7041 void nm_test_func(void){}
7045 int main(){nm_test_var='a';nm_test_func();return(0);}
7048 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049 (eval $ac_compile) 2>&5
7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7052 test $ac_status = 0; }; then
7053 # Now try to grab the symbols.
7055 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7056 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7058 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7059 test $ac_status = 0; } && test -s "$nlist"; then
7060 # Try sorting and uniquifying the output.
7061 if sort "$nlist" | uniq > "$nlist"T; then
7062 mv -f "$nlist"T "$nlist"
7067 # Make sure that we snagged all the symbols we need.
7068 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7069 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7070 cat <<_LT_EOF > conftest.$ac_ext
7071 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7072 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7073 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7074 relocations are performed -- see ld's documentation on pseudo-relocs. */
7075 # define LT_DLSYM_CONST
7076 #elif defined(__osf__)
7077 /* This system does not cope well with relocations in const data. */
7078 # define LT_DLSYM_CONST
7080 # define LT_DLSYM_CONST const
7088 # Now generate the symbol file.
7089 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7091 cat <<_LT_EOF >> conftest.$ac_ext
7093 /* The mapping between symbol names and symbols. */
7094 LT_DLSYM_CONST struct {
7098 lt__PROGRAM__LTX_preloaded_symbols[] =
7100 { "@PROGRAM@
", (void *) 0 },
7102 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7103 cat <<\_LT_EOF >> conftest.$ac_ext
7107 /* This works around a problem in FreeBSD linker */
7108 #ifdef FREEBSD_WORKAROUND
7109 static const void *lt_preloaded_setup() {
7110 return lt__PROGRAM__LTX_preloaded_symbols;
7118 # Now try linking the two files.
7119 mv conftest.$ac_objext conftstm.$ac_objext
7120 lt_globsym_save_LIBS=$LIBS
7121 lt_globsym_save_CFLAGS=$CFLAGS
7122 LIBS="conftstm.
$ac_objext"
7123 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7124 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7125 (eval $ac_link) 2>&5
7127 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7128 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7131 LIBS=$lt_globsym_save_LIBS
7132 CFLAGS=$lt_globsym_save_CFLAGS
7134 echo "cannot
find nm_test_func
in $nlist" >&5
7137 echo "cannot
find nm_test_var
in $nlist" >&5
7140 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7143 echo "$progname: failed program was
:" >&5
7144 cat conftest.$ac_ext >&5
7146 rm -rf conftest* conftst*
7148 # Do not use the global_symbol_pipe unless it works.
7149 if test "$pipe_works" = yes; then
7152 lt_cv_sys_global_symbol_pipe=
7158 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7159 lt_cv_sys_global_symbol_to_cdecl=
7161 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7163 $as_echo "failed
" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7166 $as_echo "ok
" >&6; }
7169 # Response file support.
7170 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7171 nm_file_list_spec='@'
7172 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7173 nm_file_list_spec='@'
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7203 $as_echo_n "checking
for sysroot...
" >&6; }
7205 # Check whether --with-sysroot was given.
7206 if test "${with_sysroot+set}" = set; then :
7207 withval=$with_sysroot;
7214 case ${with_sysroot} in #(
7216 if test "$GCC" = yes; then
7217 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7221 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7227 $as_echo "${with_sysroot}" >&6; }
7228 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7233 $as_echo "${lt_sysroot:-no}" >&6; }
7239 # Check whether --enable-libtool-lock was given.
7240 if test "${enable_libtool_lock+set}" = set; then :
7241 enableval=$enable_libtool_lock;
7244 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7246 # Some flags need to be propagated to the compiler or linker for good
7250 # Find out which ABI we are using.
7251 echo 'int i;' > conftest.$ac_ext
7252 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7253 (eval $ac_compile) 2>&5
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7256 test $ac_status = 0; }; then
7257 case `/usr/bin/file conftest.$ac_objext` in
7269 # Find out which ABI we are using.
7270 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7271 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7272 (eval $ac_compile) 2>&5
7274 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7275 test $ac_status = 0; }; then
7276 if test "$lt_cv_prog_gnu_ld" = yes; then
7277 case `/usr/bin/file conftest.$ac_objext` in
7279 LD="${LD-ld} -melf32bsmip"
7282 LD="${LD-ld} -melf32bmipn32"
7285 LD="${LD-ld} -melf64bmip"
7289 case `/usr/bin/file conftest.$ac_objext` in
7305 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7306 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7307 # Find out which ABI we are using.
7308 echo 'int i;' > conftest.$ac_ext
7309 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7310 (eval $ac_compile) 2>&5
7312 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7313 test $ac_status = 0; }; then
7314 case `/usr/bin/file conftest.o` in
7317 x86_64-*kfreebsd*-gnu)
7318 LD="${LD-ld} -m elf_i386_fbsd
"
7321 LD="${LD-ld} -m elf_i386
"
7323 ppc64-*linux*|powerpc64-*linux*)
7324 LD="${LD-ld} -m elf32ppclinux
"
7327 LD="${LD-ld} -m elf_s390
"
7330 LD="${LD-ld} -m elf32_sparc
"
7336 x86_64-*kfreebsd*-gnu)
7337 LD="${LD-ld} -m elf_x86_64_fbsd
"
7340 LD="${LD-ld} -m elf_x86_64
"
7342 ppc*-*linux*|powerpc*-*linux*)
7343 LD="${LD-ld} -m elf64ppc
"
7345 s390*-*linux*|s390*-*tpf*)
7346 LD="${LD-ld} -m elf64_s390
"
7349 LD="${LD-ld} -m elf64_sparc
"
7359 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7360 SAVE_CFLAGS="$CFLAGS"
7361 CFLAGS="$CFLAGS -belf"
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7363 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7364 if ${lt_cv_cc_needs_belf+:} false; then :
7365 $as_echo_n "(cached
) " >&6
7368 ac_cpp='$CPP $CPPFLAGS'
7369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374 /* end confdefs.h. */
7384 if ac_fn_c_try_link "$LINENO"; then :
7385 lt_cv_cc_needs_belf=yes
7387 lt_cv_cc_needs_belf=no
7389 rm -f core conftest.err conftest.$ac_objext \
7390 conftest$ac_exeext conftest.$ac_ext
7392 ac_cpp='$CPP $CPPFLAGS'
7393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7399 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7400 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7401 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7402 CFLAGS="$SAVE_CFLAGS"
7406 # Find out which ABI we are using.
7407 echo 'int i;' > conftest.$ac_ext
7408 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7409 (eval $ac_compile) 2>&5
7411 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7412 test $ac_status = 0; }; then
7413 case `/usr/bin/file conftest.o` in
7415 case $lt_cv_prog_gnu_ld in
7416 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7418 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7430 need_locks="$enable_libtool_lock"
7432 if test -n "$ac_tool_prefix"; then
7433 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7434 set dummy ${ac_tool_prefix}mt; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7436 $as_echo_n "checking
for $ac_word...
" >&6; }
7437 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7438 $as_echo_n "(cached
) " >&6
7440 if test -n "$MANIFEST_TOOL"; then
7441 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7450 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7460 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7461 if test -n "$MANIFEST_TOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7463 $as_echo "$MANIFEST_TOOL" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7466 $as_echo "no
" >&6; }
7471 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7472 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7473 # Extract the first word of "mt
", so it can be a program name with args.
7474 set dummy mt; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7476 $as_echo_n "checking
for $ac_word...
" >&6; }
7477 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7478 $as_echo_n "(cached
) " >&6
7480 if test -n "$ac_ct_MANIFEST_TOOL"; then
7481 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7490 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7500 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7501 if test -n "$ac_ct_MANIFEST_TOOL"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7503 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7506 $as_echo "no
" >&6; }
7509 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7512 case $cross_compiling:$ac_tool_warned in
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7515 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7516 ac_tool_warned=yes ;;
7518 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7521 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7524 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7526 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7527 if ${lt_cv_path_mainfest_tool+:} false; then :
7528 $as_echo_n "(cached
) " >&6
7530 lt_cv_path_mainfest_tool=no
7531 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7532 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7533 cat conftest.err >&5
7534 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7535 lt_cv_path_mainfest_tool=yes
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7540 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7541 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7551 rhapsody* | darwin*)
7552 if test -n "$ac_tool_prefix"; then
7553 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7554 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7556 $as_echo_n "checking
for $ac_word...
" >&6; }
7557 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7558 $as_echo_n "(cached
) " >&6
7560 if test -n "$DSYMUTIL"; then
7561 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir=.
7568 for ac_exec_ext in '' $ac_executable_extensions; do
7569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7580 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7581 if test -n "$DSYMUTIL"; then
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7583 $as_echo "$DSYMUTIL" >&6; }
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7586 $as_echo "no
" >&6; }
7591 if test -z "$ac_cv_prog_DSYMUTIL"; then
7592 ac_ct_DSYMUTIL=$DSYMUTIL
7593 # Extract the first word of "dsymutil
", so it can be a program name with args.
7594 set dummy dsymutil; ac_word=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7596 $as_echo_n "checking
for $ac_word...
" >&6; }
7597 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7598 $as_echo_n "(cached
) " >&6
7600 if test -n "$ac_ct_DSYMUTIL"; then
7601 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir=.
7608 for ac_exec_ext in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7620 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7621 if test -n "$ac_ct_DSYMUTIL"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7623 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7626 $as_echo "no
" >&6; }
7629 if test "x
$ac_ct_DSYMUTIL" = x; then
7632 case $cross_compiling:$ac_tool_warned in
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7635 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7636 ac_tool_warned=yes ;;
7638 DSYMUTIL=$ac_ct_DSYMUTIL
7641 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7644 if test -n "$ac_tool_prefix"; then
7645 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7646 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7648 $as_echo_n "checking
for $ac_word...
" >&6; }
7649 if ${ac_cv_prog_NMEDIT+:} false; then :
7650 $as_echo_n "(cached
) " >&6
7652 if test -n "$NMEDIT"; then
7653 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 test -z "$as_dir" && as_dir=.
7660 for ac_exec_ext in '' $ac_executable_extensions; do
7661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7662 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7672 NMEDIT=$ac_cv_prog_NMEDIT
7673 if test -n "$NMEDIT"; then
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7675 $as_echo "$NMEDIT" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7678 $as_echo "no
" >&6; }
7683 if test -z "$ac_cv_prog_NMEDIT"; then
7684 ac_ct_NMEDIT=$NMEDIT
7685 # Extract the first word of "nmedit
", so it can be a program name with args.
7686 set dummy nmedit; ac_word=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7688 $as_echo_n "checking
for $ac_word...
" >&6; }
7689 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7690 $as_echo_n "(cached
) " >&6
7692 if test -n "$ac_ct_NMEDIT"; then
7693 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7702 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7712 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7713 if test -n "$ac_ct_NMEDIT"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7715 $as_echo "$ac_ct_NMEDIT" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7718 $as_echo "no
" >&6; }
7721 if test "x
$ac_ct_NMEDIT" = x; then
7724 case $cross_compiling:$ac_tool_warned in
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7727 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7728 ac_tool_warned=yes ;;
7730 NMEDIT=$ac_ct_NMEDIT
7733 NMEDIT="$ac_cv_prog_NMEDIT"
7736 if test -n "$ac_tool_prefix"; then
7737 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7738 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7740 $as_echo_n "checking
for $ac_word...
" >&6; }
7741 if ${ac_cv_prog_LIPO+:} false; then :
7742 $as_echo_n "(cached
) " >&6
7744 if test -n "$LIPO"; then
7745 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7754 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7764 LIPO=$ac_cv_prog_LIPO
7765 if test -n "$LIPO"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7767 $as_echo "$LIPO" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7770 $as_echo "no
" >&6; }
7775 if test -z "$ac_cv_prog_LIPO"; then
7777 # Extract the first word of "lipo
", so it can be a program name with args.
7778 set dummy lipo; ac_word=$2
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7780 $as_echo_n "checking
for $ac_word...
" >&6; }
7781 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7782 $as_echo_n "(cached
) " >&6
7784 if test -n "$ac_ct_LIPO"; then
7785 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7794 ac_cv_prog_ac_ct_LIPO="lipo
"
7795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7804 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7805 if test -n "$ac_ct_LIPO"; then
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7807 $as_echo "$ac_ct_LIPO" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7810 $as_echo "no
" >&6; }
7813 if test "x
$ac_ct_LIPO" = x; then
7816 case $cross_compiling:$ac_tool_warned in
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7819 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7820 ac_tool_warned=yes ;;
7825 LIPO="$ac_cv_prog_LIPO"
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7830 set dummy ${ac_tool_prefix}otool; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if ${ac_cv_prog_OTOOL+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$OTOOL"; then
7837 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7846 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 OTOOL=$ac_cv_prog_OTOOL
7857 if test -n "$OTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7859 $as_echo "$OTOOL" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7867 if test -z "$ac_cv_prog_OTOOL"; then
7869 # Extract the first word of "otool
", so it can be a program name with args.
7870 set dummy otool; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7872 $as_echo_n "checking
for $ac_word...
" >&6; }
7873 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7874 $as_echo_n "(cached
) " >&6
7876 if test -n "$ac_ct_OTOOL"; then
7877 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7886 ac_cv_prog_ac_ct_OTOOL="otool
"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7896 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7897 if test -n "$ac_ct_OTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7899 $as_echo "$ac_ct_OTOOL" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7902 $as_echo "no
" >&6; }
7905 if test "x
$ac_ct_OTOOL" = x; then
7908 case $cross_compiling:$ac_tool_warned in
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7911 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7912 ac_tool_warned=yes ;;
7917 OTOOL="$ac_cv_prog_OTOOL"
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if ${ac_cv_prog_OTOOL64+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$OTOOL64"; then
7929 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7938 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7948 OTOOL64=$ac_cv_prog_OTOOL64
7949 if test -n "$OTOOL64"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7951 $as_echo "$OTOOL64" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7959 if test -z "$ac_cv_prog_OTOOL64"; then
7960 ac_ct_OTOOL64=$OTOOL64
7961 # Extract the first word of "otool64
", so it can be a program name with args.
7962 set dummy otool64; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7964 $as_echo_n "checking
for $ac_word...
" >&6; }
7965 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7966 $as_echo_n "(cached
) " >&6
7968 if test -n "$ac_ct_OTOOL64"; then
7969 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7978 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7989 if test -n "$ac_ct_OTOOL64"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7991 $as_echo "$ac_ct_OTOOL64" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7994 $as_echo "no
" >&6; }
7997 if test "x
$ac_ct_OTOOL64" = x; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8003 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8004 ac_tool_warned=yes ;;
8006 OTOOL64=$ac_ct_OTOOL64
8009 OTOOL64="$ac_cv_prog_OTOOL64"
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8039 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8040 if ${lt_cv_apple_cc_single_mod+:} false; then :
8041 $as_echo_n "(cached
) " >&6
8043 lt_cv_apple_cc_single_mod=no
8044 if test -z "${LT_MULTI_MODULE}"; then
8045 # By default we will add the -single_module flag. You can override
8046 # by either setting the environment variable LT_MULTI_MODULE
8047 # non-empty at configure time, or by adding -multi_module to the
8049 rm -rf libconftest.dylib*
8050 echo "int foo
(void
){return 1;}" > conftest.c
8051 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8052 -dynamiclib -Wl,-single_module conftest.c
" >&5
8053 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8054 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8056 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8057 lt_cv_apple_cc_single_mod=yes
8059 cat conftest.err >&5
8061 rm -rf libconftest.dylib*
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8066 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8068 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8069 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8070 $as_echo_n "(cached
) " >&6
8072 lt_cv_ld_exported_symbols_list=no
8073 save_LDFLAGS=$LDFLAGS
8074 echo "_main
" > conftest.sym
8075 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8087 if ac_fn_c_try_link "$LINENO"; then :
8088 lt_cv_ld_exported_symbols_list=yes
8090 lt_cv_ld_exported_symbols_list=no
8092 rm -f core conftest.err conftest.$ac_objext \
8093 conftest$ac_exeext conftest.$ac_ext
8094 LDFLAGS="$save_LDFLAGS"
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8098 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8100 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8101 if ${lt_cv_ld_force_load+:} false; then :
8102 $as_echo_n "(cached
) " >&6
8104 lt_cv_ld_force_load=no
8105 cat > conftest.c << _LT_EOF
8106 int forced_loaded() { return 2;}
8108 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8109 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8110 echo "$AR cru libconftest.a conftest.o
" >&5
8111 $AR cru libconftest.a conftest.o 2>&5
8112 echo "$RANLIB libconftest.a
" >&5
8113 $RANLIB libconftest.a 2>&5
8114 cat > conftest.c << _LT_EOF
8115 int main() { return 0;}
8117 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8118 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8120 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8121 lt_cv_ld_force_load=yes
8123 cat conftest.err >&5
8125 rm -f conftest.err libconftest.a conftest conftest.c
8126 rm -rf conftest.dSYM
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8130 $as_echo "$lt_cv_ld_force_load" >&6; }
8132 rhapsody* | darwin1.[012])
8133 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8135 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8136 darwin*) # darwin 5.x on
8137 # if running on 10.5 or later, the deployment target defaults
8138 # to the OS version, if on x86, and 10.4, the deployment
8139 # target defaults to 10.4. Don't you love it?
8140 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8141 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8142 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8144 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8146 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8150 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8151 _lt_dar_single_mod='$single_module'
8153 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8154 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8156 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8158 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8159 _lt_dsymutil='~$DSYMUTIL $lib || :'
8167 ac_cpp='$CPP $CPPFLAGS'
8168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8172 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8173 # On Suns, sometimes $CPP names a directory.
8174 if test -n "$CPP" && test -d "$CPP"; then
8177 if test -z "$CPP"; then
8178 if ${ac_cv_prog_CPP+:} false; then :
8179 $as_echo_n "(cached
) " >&6
8181 # Double quotes because CPP needs to be expanded
8182 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8185 for ac_c_preproc_warn_flag in '' yes
8187 # Use a header file that comes with gcc, so configuring glibc
8188 # with a fresh cross-compiler works.
8189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8190 # <limits.h> exists even on freestanding compilers.
8191 # On the NeXT, cc -E runs the code through the compiler's parser,
8192 # not just through cpp. "Syntax error
" is here to catch this case.
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8196 # include <limits.h>
8198 # include <assert.h>
8202 if ac_fn_c_try_cpp "$LINENO"; then :
8205 # Broken: fails on valid input.
8208 rm -f conftest.err conftest.i conftest.$ac_ext
8210 # OK, works on sane cases. Now check whether nonexistent headers
8211 # can be detected and how.
8212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8213 /* end confdefs.h. */
8214 #include <ac_nonexistent.h>
8216 if ac_fn_c_try_cpp "$LINENO"; then :
8217 # Broken: success on invalid input.
8220 # Passes both tests.
8224 rm -f conftest.err conftest.i conftest.$ac_ext
8227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8228 rm -f conftest.i conftest.err conftest.$ac_ext
8229 if $ac_preproc_ok; then :
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8242 $as_echo "$CPP" >&6; }
8244 for ac_c_preproc_warn_flag in '' yes
8246 # Use a header file that comes with gcc, so configuring glibc
8247 # with a fresh cross-compiler works.
8248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8249 # <limits.h> exists even on freestanding compilers.
8250 # On the NeXT, cc -E runs the code through the compiler's parser,
8251 # not just through cpp. "Syntax error
" is here to catch this case.
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8255 # include <limits.h>
8257 # include <assert.h>
8261 if ac_fn_c_try_cpp "$LINENO"; then :
8264 # Broken: fails on valid input.
8267 rm -f conftest.err conftest.i conftest.$ac_ext
8269 # OK, works on sane cases. Now check whether nonexistent headers
8270 # can be detected and how.
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 #include <ac_nonexistent.h>
8275 if ac_fn_c_try_cpp "$LINENO"; then :
8276 # Broken: success on invalid input.
8279 # Passes both tests.
8283 rm -f conftest.err conftest.i conftest.$ac_ext
8286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8287 rm -f conftest.i conftest.err conftest.$ac_ext
8288 if $ac_preproc_ok; then :
8291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8293 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8294 See \`config.log' for more details
" "$LINENO" 5; }
8298 ac_cpp='$CPP $CPPFLAGS'
8299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8305 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8306 if ${ac_cv_header_stdc+:} false; then :
8307 $as_echo_n "(cached
) " >&6
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8324 if ac_fn_c_try_compile "$LINENO"; then :
8325 ac_cv_header_stdc=yes
8327 ac_cv_header_stdc=no
8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 if test $ac_cv_header_stdc = yes; then
8332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8338 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8339 $EGREP "memchr
" >/dev/null 2>&1; then :
8342 ac_cv_header_stdc=no
8348 if test $ac_cv_header_stdc = yes; then
8349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8355 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8356 $EGREP "free
" >/dev/null 2>&1; then :
8359 ac_cv_header_stdc=no
8365 if test $ac_cv_header_stdc = yes; then
8366 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8367 if test "$cross_compiling" = yes; then :
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 #if ((' ' & 0x0FF) == 0x020)
8375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8378 # define ISLOWER(c) \
8379 (('a' <= (c) && (c) <= 'i') \
8380 || ('j' <= (c) && (c) <= 'r') \
8381 || ('s' <= (c) && (c) <= 'z'))
8382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8390 for (i = 0; i < 256; i++)
8391 if (XOR (islower (i), ISLOWER (i))
8392 || toupper (i) != TOUPPER (i))
8397 if ac_fn_c_try_run "$LINENO"; then :
8400 ac_cv_header_stdc=no
8402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8403 conftest.$ac_objext conftest.beam conftest.$ac_ext
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8409 $as_echo "$ac_cv_header_stdc" >&6; }
8410 if test $ac_cv_header_stdc = yes; then
8412 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8417 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8418 inttypes.h stdint.h unistd.h
8420 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8421 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8423 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8424 cat >>confdefs.h
<<_ACEOF
8425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8433 for ac_header
in dlfcn.h
8435 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8437 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8438 cat >>confdefs.h
<<_ACEOF
8439 #define HAVE_DLFCN_H 1
8449 func_stripname_cnf
()
8452 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8453 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8455 } # func_stripname_cnf
8471 # Check whether --enable-shared was given.
8472 if test "${enable_shared+set}" = set; then :
8473 enableval
=$enable_shared; p
=${PACKAGE-default}
8475 yes) enable_shared
=yes ;;
8476 no
) enable_shared
=no
;;
8479 # Look at the argument we got. We use all the common list separators.
8480 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8481 for pkg
in $enableval; do
8483 if test "X$pkg" = "X$p"; then
8502 # Check whether --enable-static was given.
8503 if test "${enable_static+set}" = set; then :
8504 enableval
=$enable_static; p
=${PACKAGE-default}
8506 yes) enable_static
=yes ;;
8507 no
) enable_static
=no
;;
8510 # Look at the argument we got. We use all the common list separators.
8511 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8512 for pkg
in $enableval; do
8514 if test "X$pkg" = "X$p"; then
8534 # Check whether --with-pic was given.
8535 if test "${with_pic+set}" = set; then :
8536 withval
=$with_pic; pic_mode
="$withval"
8542 test -z "$pic_mode" && pic_mode
=default
8550 # Check whether --enable-fast-install was given.
8551 if test "${enable_fast_install+set}" = set; then :
8552 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8554 yes) enable_fast_install
=yes ;;
8555 no
) enable_fast_install
=no
;;
8557 enable_fast_install
=no
8558 # Look at the argument we got. We use all the common list separators.
8559 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8560 for pkg
in $enableval; do
8562 if test "X$pkg" = "X$p"; then
8563 enable_fast_install
=yes
8570 enable_fast_install
=yes
8583 # This can be used to rebuild libtool when needed
8584 LIBTOOL_DEPS
="$ltmain"
8586 # Always use our own libtool.
8587 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8614 test -z "$LN_S" && LN_S
="ln -s"
8629 if test -n "${ZSH_VERSION+set}" ; then
8630 setopt NO_GLOB_SUBST
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8634 $as_echo_n "checking for objdir... " >&6; }
8635 if ${lt_cv_objdir+:} false
; then :
8636 $as_echo_n "(cached) " >&6
8638 rm -f .libs
2>/dev
/null
8639 mkdir .libs
2>/dev
/null
8640 if test -d .libs
; then
8643 # MS-DOS does not allow filenames that begin with a dot.
8646 rmdir .libs
2>/dev
/null
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8649 $as_echo "$lt_cv_objdir" >&6; }
8650 objdir
=$lt_cv_objdir
8656 cat >>confdefs.h
<<_ACEOF
8657 #define LT_OBJDIR "$lt_cv_objdir/"
8665 # AIX sometimes has problems with the GCC collect2 program. For some
8666 # reason, if we set the COLLECT_NAMES environment variable, the problems
8667 # vanish in a puff of smoke.
8668 if test "X${COLLECT_NAMES+set}" != Xset
; then
8670 export COLLECT_NAMES
8677 can_build_shared
=yes
8679 # All known linkers require a `.a' archive for static linking (except MSVC,
8680 # which needs '.lib').
8683 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8686 old_CFLAGS
="$CFLAGS"
8688 # Set sane defaults for various variables
8689 test -z "$CC" && CC
=cc
8690 test -z "$LTCC" && LTCC
=$CC
8691 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8692 test -z "$LD" && LD
=ld
8693 test -z "$ac_objext" && ac_objext
=o
8695 for cc_temp
in $compiler""; do
8697 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8698 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8703 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8706 # Only perform the check for file, if the check method requires it
8707 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8708 case $deplibs_check_method in
8710 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8712 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8713 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8714 $as_echo_n "(cached) " >&6
8718 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8721 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8722 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8723 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8724 for ac_dir
in $ac_dummy; do
8726 test -z "$ac_dir" && ac_dir
=.
8727 if test -f $ac_dir/${ac_tool_prefix}file; then
8728 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8729 if test -n "$file_magic_test_file"; then
8730 case $deplibs_check_method in
8732 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8733 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8734 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8735 $EGREP "$file_magic_regex" > /dev
/null
; then
8740 *** Warning: the command libtool uses to detect shared libraries,
8741 *** $file_magic_cmd, produces output that libtool cannot recognize.
8742 *** The result is that libtool may fail to recognize shared libraries
8743 *** as such. This will affect the creation of libtool libraries that
8744 *** depend on shared libraries, but programs linked with such libtool
8745 *** libraries will work regardless of this problem. Nevertheless, you
8746 *** may want to report the problem to your system manager and/or to
8747 *** bug-libtool@gnu.org
8757 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8762 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8763 if test -n "$MAGIC_CMD"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8765 $as_echo "$MAGIC_CMD" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8775 if test -z "$lt_cv_path_MAGIC_CMD"; then
8776 if test -n "$ac_tool_prefix"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8778 $as_echo_n "checking for file... " >&6; }
8779 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8784 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8787 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8788 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8789 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8790 for ac_dir
in $ac_dummy; do
8792 test -z "$ac_dir" && ac_dir
=.
8793 if test -f $ac_dir/file; then
8794 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8795 if test -n "$file_magic_test_file"; then
8796 case $deplibs_check_method in
8798 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8799 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8800 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8801 $EGREP "$file_magic_regex" > /dev
/null
; then
8806 *** Warning: the command libtool uses to detect shared libraries,
8807 *** $file_magic_cmd, produces output that libtool cannot recognize.
8808 *** The result is that libtool may fail to recognize shared libraries
8809 *** as such. This will affect the creation of libtool libraries that
8810 *** depend on shared libraries, but programs linked with such libtool
8811 *** libraries will work regardless of this problem. Nevertheless, you
8812 *** may want to report the problem to your system manager and/or to
8813 *** bug-libtool@gnu.org
8823 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8828 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8829 if test -n "$MAGIC_CMD"; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8831 $as_echo "$MAGIC_CMD" >&6; }
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8834 $as_echo "no" >&6; }
8847 # Use C for the default configuration in the libtool script
8851 ac_cpp
='$CPP $CPPFLAGS'
8852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8857 # Source file extension for C test sources.
8860 # Object file extension for compiled C test sources.
8864 # Code to be used in simple compile tests
8865 lt_simple_compile_test_code
="int some_variable = 0;"
8867 # Code to be used in simple link tests
8868 lt_simple_link_test_code
='int main(){return(0);}'
8876 # If no C compiler was specified, use CC.
8879 # If no C compiler flags were specified, use CFLAGS.
8880 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8882 # Allow CC to be a program name with arguments.
8885 # Save the default compiler, since it gets overwritten when the other
8886 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8887 compiler_DEFAULT
=$CC
8889 # save warnings/boilerplate of simple test code
8890 ac_outfile
=conftest.
$ac_objext
8891 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8892 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8893 _lt_compiler_boilerplate
=`cat conftest.err`
8896 ac_outfile
=conftest.
$ac_objext
8897 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8898 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8899 _lt_linker_boilerplate
=`cat conftest.err`
8904 ## There is no encapsulation within the following macros, do not change
8905 ## the running order or otherwise move them around unless you know exactly
8906 ## what you are doing...
8907 if test -n "$compiler"; then
8909 lt_prog_compiler_no_builtin_flag
=
8911 if test "$GCC" = yes; then
8912 case $cc_basename in
8914 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8916 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8920 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8921 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8924 lt_cv_prog_compiler_rtti_exceptions
=no
8925 ac_outfile
=conftest.
$ac_objext
8926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8927 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8928 # Insert the option either (1) after the last *FLAGS variable, or
8929 # (2) before a word containing "conftest.", or (3) at the end.
8930 # Note that $ac_compile itself does not contain backslashes and begins
8931 # with a dollar sign (not a hyphen), so the echo should work correctly.
8932 # The option is referenced via a variable to avoid confusing sed.
8933 lt_compile
=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>conftest.err
)
8940 cat conftest.err
>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s "$ac_outfile"; then
8943 # The compiler can only warn and ignore the option if not recognized
8944 # So say no if there are warnings other than the usual output.
8945 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8946 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8947 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8948 lt_cv_prog_compiler_rtti_exceptions
=yes
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8955 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8957 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8958 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8970 lt_prog_compiler_wl
=
8971 lt_prog_compiler_pic
=
8972 lt_prog_compiler_static
=
8975 if test "$GCC" = yes; then
8976 lt_prog_compiler_wl
='-Wl,'
8977 lt_prog_compiler_static
='-static'
8981 # All AIX code is PIC.
8982 if test "$host_cpu" = ia64
; then
8983 # AIX 5 now supports IA64 processor
8984 lt_prog_compiler_static
='-Bstatic'
8991 # see comment about AmigaOS4 .so support
8992 lt_prog_compiler_pic
='-fPIC'
8995 # FIXME: we need at least 68020 code to build shared libraries, but
8996 # adding the `-m68020' flag to GCC prevents building anything better,
8998 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9003 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9004 # PIC is the default for these OSes.
9007 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9008 # This hack is so that the source file can tell whether it is being
9009 # built for inclusion in a dll (and should export symbols for example).
9010 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9011 # (--disable-auto-import) libraries
9012 lt_prog_compiler_pic
='-DDLL_EXPORT'
9015 darwin
* | rhapsody
*)
9016 # PIC is the default on this platform
9017 # Common symbols not allowed in MH_DYLIB files
9018 lt_prog_compiler_pic
='-fno-common'
9022 # PIC is the default for Haiku.
9023 # The "-static" flag exists, but is broken.
9024 lt_prog_compiler_static
=
9028 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9029 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9030 # sets the default TLS model and affects inlining.
9036 lt_prog_compiler_pic
='-fPIC'
9042 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9043 # Instead, we relocate shared libraries at runtime.
9047 # Just because we use GCC doesn't mean we suddenly get shared libraries
9048 # on systems that don't support them.
9049 lt_prog_compiler_can_build_shared
=no
9054 # QNX uses GNU C++, but need to define -shared option too, otherwise
9056 lt_prog_compiler_pic
='-fPIC -shared'
9060 if test -d /usr
/nec
; then
9061 lt_prog_compiler_pic
=-Kconform_pic
9066 lt_prog_compiler_pic
='-fPIC'
9070 case $cc_basename in
9071 nvcc
*) # Cuda Compiler Driver 2.2
9072 lt_prog_compiler_wl
='-Xlinker '
9073 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9077 # PORTME Check for flag to pass linker flags through the system compiler.
9080 lt_prog_compiler_wl
='-Wl,'
9081 if test "$host_cpu" = ia64
; then
9082 # AIX 5 now supports IA64 processor
9083 lt_prog_compiler_static
='-Bstatic'
9085 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9089 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9090 # This hack is so that the source file can tell whether it is being
9091 # built for inclusion in a dll (and should export symbols for example).
9092 lt_prog_compiler_pic
='-DDLL_EXPORT'
9095 hpux9
* | hpux10
* | hpux11
*)
9096 lt_prog_compiler_wl
='-Wl,'
9097 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9104 lt_prog_compiler_pic
='+Z'
9107 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9108 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9111 irix5
* | irix6
* | nonstopux
*)
9112 lt_prog_compiler_wl
='-Wl,'
9113 # PIC (with -KPIC) is the default.
9114 lt_prog_compiler_static
='-non_shared'
9117 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9118 case $cc_basename in
9119 # old Intel for x86_64 which still supported -KPIC.
9121 lt_prog_compiler_wl
='-Wl,'
9122 lt_prog_compiler_pic
='-KPIC'
9123 lt_prog_compiler_static
='-static'
9125 # icc used to be incompatible with GCC.
9126 # ICC 10 doesn't accept -KPIC any more.
9128 lt_prog_compiler_wl
='-Wl,'
9129 lt_prog_compiler_pic
='-fPIC'
9130 lt_prog_compiler_static
='-static'
9132 # Lahey Fortran 8.1.
9134 lt_prog_compiler_wl
='-Wl,'
9135 lt_prog_compiler_pic
='--shared'
9136 lt_prog_compiler_static
='--static'
9139 # NAG Fortran compiler
9140 lt_prog_compiler_wl
='-Wl,-Wl,,'
9141 lt_prog_compiler_pic
='-PIC'
9142 lt_prog_compiler_static
='-Bstatic'
9144 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9145 # Portland Group compilers (*not* the Pentium gcc compiler,
9146 # which looks to be a dead project)
9147 lt_prog_compiler_wl
='-Wl,'
9148 lt_prog_compiler_pic
='-fpic'
9149 lt_prog_compiler_static
='-Bstatic'
9152 lt_prog_compiler_wl
='-Wl,'
9153 # All Alpha code is PIC.
9154 lt_prog_compiler_static
='-non_shared'
9156 xl
* | bgxl
* | bgf
* | mpixl
*)
9157 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9158 lt_prog_compiler_wl
='-Wl,'
9159 lt_prog_compiler_pic
='-qpic'
9160 lt_prog_compiler_static
='-qstaticlink'
9163 case `$CC -V 2>&1 | sed 5q` in
9164 *Sun\ F
* |
*Sun
*Fortran
*)
9165 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9166 lt_prog_compiler_pic
='-KPIC'
9167 lt_prog_compiler_static
='-Bstatic'
9168 lt_prog_compiler_wl
=''
9172 lt_prog_compiler_pic
='-KPIC'
9173 lt_prog_compiler_static
='-Bstatic'
9174 lt_prog_compiler_wl
='-Wl,'
9182 lt_prog_compiler_pic
='-KPIC'
9183 lt_prog_compiler_static
='-Bstatic'
9187 # QNX uses GNU C++, but need to define -shared option too, otherwise
9189 lt_prog_compiler_pic
='-fPIC -shared'
9192 osf3
* | osf4
* | osf5
*)
9193 lt_prog_compiler_wl
='-Wl,'
9194 # All OSF/1 code is PIC.
9195 lt_prog_compiler_static
='-non_shared'
9199 lt_prog_compiler_static
='-non_shared'
9203 lt_prog_compiler_pic
='-KPIC'
9204 lt_prog_compiler_static
='-Bstatic'
9205 case $cc_basename in
9206 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9207 lt_prog_compiler_wl
='-Qoption ld ';;
9209 lt_prog_compiler_wl
='-Wl,';;
9214 lt_prog_compiler_wl
='-Qoption ld '
9215 lt_prog_compiler_pic
='-PIC'
9216 lt_prog_compiler_static
='-Bstatic'
9219 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9220 lt_prog_compiler_wl
='-Wl,'
9221 lt_prog_compiler_pic
='-KPIC'
9222 lt_prog_compiler_static
='-Bstatic'
9226 if test -d /usr
/nec
;then
9227 lt_prog_compiler_pic
='-Kconform_pic'
9228 lt_prog_compiler_static
='-Bstatic'
9232 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9233 lt_prog_compiler_wl
='-Wl,'
9234 lt_prog_compiler_pic
='-KPIC'
9235 lt_prog_compiler_static
='-Bstatic'
9239 lt_prog_compiler_wl
='-Wl,'
9240 lt_prog_compiler_can_build_shared
=no
9244 lt_prog_compiler_pic
='-pic'
9245 lt_prog_compiler_static
='-Bstatic'
9249 lt_prog_compiler_can_build_shared
=no
9255 # For platforms which do not support PIC, -DPIC is meaningless:
9257 lt_prog_compiler_pic
=
9260 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9265 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9266 if ${lt_cv_prog_compiler_pic+:} false
; then :
9267 $as_echo_n "(cached) " >&6
9269 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9272 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9273 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9276 # Check to make sure the PIC flag actually works.
9278 if test -n "$lt_prog_compiler_pic"; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9280 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9281 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9282 $as_echo_n "(cached) " >&6
9284 lt_cv_prog_compiler_pic_works
=no
9285 ac_outfile
=conftest.
$ac_objext
9286 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9287 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9288 # Insert the option either (1) after the last *FLAGS variable, or
9289 # (2) before a word containing "conftest.", or (3) at the end.
9290 # Note that $ac_compile itself does not contain backslashes and begins
9291 # with a dollar sign (not a hyphen), so the echo should work correctly.
9292 # The option is referenced via a variable to avoid confusing sed.
9293 lt_compile
=`echo "$ac_compile" | $SED \
9294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9296 -e 's:$: $lt_compiler_flag:'`
9297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9298 (eval "$lt_compile" 2>conftest.err
)
9300 cat conftest.err
>&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 if (exit $ac_status) && test -s "$ac_outfile"; then
9303 # The compiler can only warn and ignore the option if not recognized
9304 # So say no if there are warnings other than the usual output.
9305 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9306 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9307 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9308 lt_cv_prog_compiler_pic_works
=yes
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9315 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9317 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9318 case $lt_prog_compiler_pic in
9320 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9323 lt_prog_compiler_pic
=
9324 lt_prog_compiler_can_build_shared
=no
9340 # Check to make sure the static flag actually works.
9342 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9345 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9346 $as_echo_n "(cached) " >&6
9348 lt_cv_prog_compiler_static_works
=no
9349 save_LDFLAGS
="$LDFLAGS"
9350 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9351 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9352 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9353 # The linker can only warn and ignore the option if not recognized
9354 # So say no if there are warnings
9355 if test -s conftest.err
; then
9356 # Append any errors to the config.log.
9357 cat conftest.err
1>&5
9358 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9359 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9360 if diff conftest.exp conftest.er2
>/dev
/null
; then
9361 lt_cv_prog_compiler_static_works
=yes
9364 lt_cv_prog_compiler_static_works
=yes
9368 LDFLAGS
="$save_LDFLAGS"
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9372 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9374 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9377 lt_prog_compiler_static
=
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9387 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9388 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9389 $as_echo_n "(cached) " >&6
9391 lt_cv_prog_compiler_c_o
=no
9392 $RM -r conftest
2>/dev
/null
9396 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9398 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9399 # Insert the option either (1) after the last *FLAGS variable, or
9400 # (2) before a word containing "conftest.", or (3) at the end.
9401 # Note that $ac_compile itself does not contain backslashes and begins
9402 # with a dollar sign (not a hyphen), so the echo should work correctly.
9403 lt_compile
=`echo "$ac_compile" | $SED \
9404 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9405 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9406 -e 's:$: $lt_compiler_flag:'`
9407 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9408 (eval "$lt_compile" 2>out
/conftest.err
)
9410 cat out
/conftest.err
>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9414 # The compiler can only warn and ignore the option if not recognized
9415 # So say no if there are warnings
9416 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9417 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9418 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9419 lt_cv_prog_compiler_c_o
=yes
9424 # SGI C++ compiler will create directory out/ii_files/ for
9425 # template instantiation
9426 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9427 $RM out
/* && rmdir out
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9434 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9442 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9443 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 lt_cv_prog_compiler_c_o
=no
9447 $RM -r conftest
2>/dev
/null
9451 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9453 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9454 # Insert the option either (1) after the last *FLAGS variable, or
9455 # (2) before a word containing "conftest.", or (3) at the end.
9456 # Note that $ac_compile itself does not contain backslashes and begins
9457 # with a dollar sign (not a hyphen), so the echo should work correctly.
9458 lt_compile
=`echo "$ac_compile" | $SED \
9459 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9460 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9461 -e 's:$: $lt_compiler_flag:'`
9462 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9463 (eval "$lt_compile" 2>out
/conftest.err
)
9465 cat out
/conftest.err
>&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9469 # The compiler can only warn and ignore the option if not recognized
9470 # So say no if there are warnings
9471 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9472 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9473 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9474 lt_cv_prog_compiler_c_o
=yes
9479 # SGI C++ compiler will create directory out/ii_files/ for
9480 # template instantiation
9481 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9482 $RM out
/* && rmdir out
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9489 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9494 hard_links
="nottested"
9495 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9496 # do not overwrite the value of need_locks provided by the user
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9498 $as_echo_n "checking if we can lock with hard links... " >&6; }
9501 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9503 ln conftest.a conftest.b
2>&5 || hard_links
=no
9504 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9506 $as_echo "$hard_links" >&6; }
9507 if test "$hard_links" = no
; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9509 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9522 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9525 allow_undefined_flag
=
9526 always_export_symbols
=no
9528 archive_expsym_cmds
=
9529 compiler_needs_object
=no
9530 enable_shared_with_static_runtimes
=no
9531 export_dynamic_flag_spec
=
9532 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9533 hardcode_automatic
=no
9535 hardcode_direct_absolute
=no
9536 hardcode_libdir_flag_spec
=
9537 hardcode_libdir_flag_spec_ld
=
9538 hardcode_libdir_separator
=
9540 hardcode_shlibpath_var
=unsupported
9542 link_all_deplibs
=unknown
9545 old_archive_from_new_cmds
=
9546 old_archive_from_expsyms_cmds
=
9547 thread_safe_flag_spec
=
9548 whole_archive_flag_spec
=
9549 # include_expsyms should be a list of space-separated symbols to be *always*
9550 # included in the symbol list
9552 # exclude_expsyms can be an extended regexp of symbols to exclude
9553 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9554 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9555 # as well as any symbol that contains `d'.
9556 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9557 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9558 # platforms (ab)use it in PIC code, but their linkers get confused if
9559 # the symbol is explicitly referenced. Since portable code cannot
9560 # rely on this symbol name, it's probably fine to never include it in
9561 # preloaded symbol tables.
9562 # Exclude shared library initialization/finalization symbols.
9563 extract_expsyms_cmds
=
9566 cygwin
* | mingw
* | pw32
* | cegcc
*)
9567 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9568 # When not using gcc, we currently assume that we are using
9569 # Microsoft Visual C++.
9570 if test "$GCC" != yes; then
9575 # we just hope/assume this is gcc and not c89 (= MSVC++)
9581 linux
* | k
*bsd
*-gnu | gnu
*)
9588 # On some targets, GNU ld is compatible enough with the native linker
9589 # that we're better off using the native interface for both.
9590 lt_use_gnu_ld_interface
=no
9591 if test "$with_gnu_ld" = yes; then
9594 # The AIX port of GNU ld has always aspired to compatibility
9595 # with the native linker. However, as the warning in the GNU ld
9596 # block says, versions before 2.19.5* couldn't really create working
9597 # shared libraries, regardless of the interface used.
9598 case `$LD -v 2>&1` in
9599 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9600 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9601 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9603 lt_use_gnu_ld_interface
=yes
9608 lt_use_gnu_ld_interface
=yes
9613 if test "$lt_use_gnu_ld_interface" = yes; then
9614 # If archive_cmds runs LD, not CC, wlarc should be empty
9617 # Set some defaults for GNU ld with shared library support. These
9618 # are reset later if shared libraries are not supported. Putting them
9619 # here allows them to be overridden if necessary.
9620 runpath_var
=LD_RUN_PATH
9621 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9622 export_dynamic_flag_spec
='${wl}--export-dynamic'
9623 # ancient GNU ld didn't support --whole-archive et. al.
9624 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9625 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9627 whole_archive_flag_spec
=
9629 supports_anon_versioning
=no
9630 case `$LD -v 2>&1` in
9631 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9632 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9633 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9634 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9635 *\
2.11.
*) ;; # other 2.11 versions
9636 *) supports_anon_versioning
=yes ;;
9639 # See if GNU ld supports shared libraries.
9642 # On AIX/PPC, the GNU linker is very broken
9643 if test "$host_cpu" != ia64
; then
9647 *** Warning: the GNU linker, at least up to release 2.19, is reported
9648 *** to be unable to reliably create shared libraries on AIX.
9649 *** Therefore, libtool is disabling shared libraries support. If you
9650 *** really care for shared libraries, you may want to install binutils
9651 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9652 *** You will then need to restart the configuration process.
9661 # see comment about AmigaOS4 .so support
9662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663 archive_expsym_cmds
=''
9666 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)'
9667 hardcode_libdir_flag_spec
='-L$libdir'
9668 hardcode_minus_L
=yes
9674 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9675 allow_undefined_flag
=unsupported
9676 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9677 # support --undefined. This deserves some investigation. FIXME
9678 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9684 cygwin
* | mingw
* | pw32
* | cegcc
*)
9685 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9686 # as there is no search path for DLLs.
9687 hardcode_libdir_flag_spec
='-L$libdir'
9688 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9689 allow_undefined_flag
=unsupported
9690 always_export_symbols
=no
9691 enable_shared_with_static_runtimes
=yes
9692 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'
9693 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9695 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9697 # If the export-symbols file already is a .def file (1st line
9698 # is EXPORTS), use it as is; otherwise, prepend...
9699 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9700 cp $export_symbols $output_objdir/$soname.def;
9702 echo EXPORTS > $output_objdir/$soname.def;
9703 cat $export_symbols >> $output_objdir/$soname.def;
9705 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9712 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9713 link_all_deplibs
=yes
9718 hardcode_shlibpath_var
=no
9719 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9720 export_dynamic_flag_spec
='${wl}-E'
9721 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9722 # Instead, shared libraries are loaded at an image base (0x10000000 by
9723 # default) and relocated if they conflict, which is a slow very memory
9724 # consuming and fragmenting process. To avoid this, we pick a random,
9725 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9726 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9727 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9728 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'
9731 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9733 if test "$host_os" = linux-dietlibc
; then
9734 case $cc_basename in
9735 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9738 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9739 && test "$tmp_diet" = no
9741 tmp_addflag
=' $pic_flag'
9742 tmp_sharedflag
='-shared'
9743 case $cc_basename,$host_cpu in
9744 pgcc
*) # Portland Group C compiler
9745 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'
9746 tmp_addflag
=' $pic_flag'
9748 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9749 # Portland Group f77 and f90 compilers
9750 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'
9751 tmp_addflag
=' $pic_flag -Mnomain' ;;
9752 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9753 tmp_addflag
=' -i_dynamic' ;;
9754 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9755 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9756 ifc
* | ifort
*) # Intel Fortran compiler
9757 tmp_addflag
=' -nofor_main' ;;
9758 lf95
*) # Lahey Fortran 8.1
9759 whole_archive_flag_spec
=
9760 tmp_sharedflag
='--shared' ;;
9761 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9762 tmp_sharedflag
='-qmkshrobj'
9764 nvcc
*) # Cuda Compiler Driver 2.2
9765 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'
9766 compiler_needs_object
=yes
9769 case `$CC -V 2>&1 | sed 5q` in
9770 *Sun\ C
*) # Sun C 5.9
9771 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'
9772 compiler_needs_object
=yes
9773 tmp_sharedflag
='-G' ;;
9774 *Sun\ F
*) # Sun Fortran 8.3
9775 tmp_sharedflag
='-G' ;;
9777 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9779 if test "x$supports_anon_versioning" = xyes
; then
9780 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9782 echo "local: *; };" >> $output_objdir/$libname.ver~
9783 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9786 case $cc_basename in
9787 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9788 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9789 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9790 hardcode_libdir_flag_spec
=
9791 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9792 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9793 if test "x$supports_anon_versioning" = xyes
; then
9794 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9795 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9796 echo "local: *; };" >> $output_objdir/$libname.ver~
9797 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9806 netbsd
* | netbsdelf
*-gnu)
9807 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9808 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9811 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9812 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9817 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9821 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9822 *** create shared libraries on Solaris systems. Therefore, libtool
9823 *** is disabling shared libraries support. We urge you to upgrade GNU
9824 *** binutils to release 2.9.1 or newer. Another option is to modify
9825 *** your PATH or compiler configuration so that the native linker is
9826 *** used, and then restart.
9829 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9830 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9831 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9837 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9838 case `$LD -v 2>&1` in
9839 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9843 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9844 *** reliably create shared libraries on SCO systems. Therefore, libtool
9845 *** is disabling shared libraries support. We urge you to upgrade GNU
9846 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9847 *** your PATH or compiler configuration so that the native linker is
9848 *** used, and then restart.
9853 # For security reasons, it is highly recommended that you always
9854 # use absolute paths for naming shared libraries, and exclude the
9855 # DT_RUNPATH tag from executables and libraries. But doing so
9856 # requires that you compile everything twice, which is a pain.
9857 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9858 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9859 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9860 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9869 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9872 hardcode_shlibpath_var
=no
9876 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9877 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9885 if test "$ld_shlibs" = no
; then
9887 hardcode_libdir_flag_spec
=
9888 export_dynamic_flag_spec
=
9889 whole_archive_flag_spec
=
9892 # PORTME fill in a description of your system's linker (not GNU ld)
9895 allow_undefined_flag
=unsupported
9896 always_export_symbols
=yes
9897 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'
9898 # Note: this linker hardcodes the directories in LIBPATH if there
9899 # are no directories specified by -L.
9900 hardcode_minus_L
=yes
9901 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9902 # Neither direct hardcoding nor static linking is supported with a
9904 hardcode_direct
=unsupported
9909 if test "$host_cpu" = ia64
; then
9910 # On IA64, the linker does run time linking by default, so we don't
9911 # have to do anything special.
9912 aix_use_runtimelinking
=no
9913 exp_sym_flag
='-Bexport'
9916 # If we're using GNU nm, then we don't want the "-C" option.
9917 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9918 # Also, AIX nm treats weak defined symbols like other global
9919 # defined symbols, whereas GNU nm marks them as "W".
9920 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9921 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'
9923 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'
9925 aix_use_runtimelinking
=no
9927 # Test if we are trying to use run time linking or normal
9928 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9929 # need to do runtime linking.
9930 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9931 for ld_flag
in $LDFLAGS; do
9932 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9933 aix_use_runtimelinking
=yes
9940 exp_sym_flag
='-bexport'
9941 no_entry_flag
='-bnoentry'
9944 # When large executables or shared objects are built, AIX ld can
9945 # have problems creating the table of contents. If linking a library
9946 # or program results in "error TOC overflow" add -mminimal-toc to
9947 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9948 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9952 hardcode_direct_absolute
=yes
9953 hardcode_libdir_separator
=':'
9954 link_all_deplibs
=yes
9955 file_list_spec
='${wl}-f,'
9957 if test "$GCC" = yes; then
9958 case $host_os in aix4.
[012]|aix4.
[012].
*)
9959 # We only want to do this on AIX 4.2 and lower, the check
9960 # below for broken collect2 doesn't work under 4.3+
9961 collect2name
=`${CC} -print-prog-name=collect2`
9962 if test -f "$collect2name" &&
9963 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9965 # We have reworked collect2
9968 # We have old collect2
9969 hardcode_direct
=unsupported
9970 # It fails to find uninstalled libraries when the uninstalled
9971 # path is not listed in the libpath. Setting hardcode_minus_L
9972 # to unsupported forces relinking
9973 hardcode_minus_L
=yes
9974 hardcode_libdir_flag_spec
='-L$libdir'
9975 hardcode_libdir_separator
=
9979 shared_flag
='-shared'
9980 if test "$aix_use_runtimelinking" = yes; then
9981 shared_flag
="$shared_flag "'${wl}-G'
9986 if test "$host_cpu" = ia64
; then
9987 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9988 # chokes on -Wl,-G. The following line is correct:
9991 if test "$aix_use_runtimelinking" = yes; then
9992 shared_flag
='${wl}-G'
9994 shared_flag
='${wl}-bM:SRE'
9999 export_dynamic_flag_spec
='${wl}-bexpall'
10000 # It seems that -bexpall does not export symbols beginning with
10001 # underscore (_), so it is better to generate a list of symbols to export.
10002 always_export_symbols
=yes
10003 if test "$aix_use_runtimelinking" = yes; then
10004 # Warning - without using the other runtime loading flags (-brtl),
10005 # -berok will link without error, but may produce a broken library.
10006 allow_undefined_flag
='-berok'
10007 # Determine the default libpath from the value encoded in an
10008 # empty executable.
10009 if test "${lt_cv_aix_libpath+set}" = set; then
10010 aix_libpath
=$lt_cv_aix_libpath
10012 if ${lt_cv_aix_libpath_+:} false
; then :
10013 $as_echo_n "(cached) " >&6
10015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10026 if ac_fn_c_try_link
"$LINENO"; then :
10028 lt_aix_libpath_sed
='
10029 /Import File Strings/,/^$/ {
10031 s/^0 *\([^ ]*\) *$/\1/
10035 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10036 # Check for a 64-bit object if we didn't find anything.
10037 if test -z "$lt_cv_aix_libpath_"; then
10038 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10041 rm -f core conftest.err conftest.
$ac_objext \
10042 conftest
$ac_exeext conftest.
$ac_ext
10043 if test -z "$lt_cv_aix_libpath_"; then
10044 lt_cv_aix_libpath_
="/usr/lib:/lib"
10049 aix_libpath
=$lt_cv_aix_libpath_
10052 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10053 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"
10055 if test "$host_cpu" = ia64
; then
10056 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10057 allow_undefined_flag
="-z nodefs"
10058 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"
10060 # Determine the default libpath from the value encoded in an
10061 # empty executable.
10062 if test "${lt_cv_aix_libpath+set}" = set; then
10063 aix_libpath
=$lt_cv_aix_libpath
10065 if ${lt_cv_aix_libpath_+:} false
; then :
10066 $as_echo_n "(cached) " >&6
10068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10079 if ac_fn_c_try_link
"$LINENO"; then :
10081 lt_aix_libpath_sed
='
10082 /Import File Strings/,/^$/ {
10084 s/^0 *\([^ ]*\) *$/\1/
10088 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10089 # Check for a 64-bit object if we didn't find anything.
10090 if test -z "$lt_cv_aix_libpath_"; then
10091 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10094 rm -f core conftest.err conftest.
$ac_objext \
10095 conftest
$ac_exeext conftest.
$ac_ext
10096 if test -z "$lt_cv_aix_libpath_"; then
10097 lt_cv_aix_libpath_
="/usr/lib:/lib"
10102 aix_libpath
=$lt_cv_aix_libpath_
10105 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10106 # Warning - without using the other run time loading flags,
10107 # -berok will link without error, but may produce a broken library.
10108 no_undefined_flag
=' ${wl}-bernotok'
10109 allow_undefined_flag
=' ${wl}-berok'
10110 if test "$with_gnu_ld" = yes; then
10111 # We only use this code for GNU lds that support --whole-archive.
10112 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10114 # Exported symbols can be pulled into shared objects from archives
10115 whole_archive_flag_spec
='$convenience'
10117 archive_cmds_need_lc
=yes
10118 # This is similar to how AIX traditionally builds its shared libraries.
10119 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'
10127 # see comment about AmigaOS4 .so support
10128 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10129 archive_expsym_cmds
=''
10132 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)'
10133 hardcode_libdir_flag_spec
='-L$libdir'
10134 hardcode_minus_L
=yes
10140 export_dynamic_flag_spec
=-rdynamic
10143 cygwin
* | mingw
* | pw32
* | cegcc
*)
10144 # When not using gcc, we currently assume that we are using
10145 # Microsoft Visual C++.
10146 # hardcode_libdir_flag_spec is actually meaningless, as there is
10147 # no search path for DLLs.
10148 case $cc_basename in
10151 hardcode_libdir_flag_spec
=' '
10152 allow_undefined_flag
=unsupported
10153 always_export_symbols
=yes
10155 # Tell ltmain to make .lib files, not .a files.
10157 # Tell ltmain to make .dll files, not .so files.
10159 # FIXME: Setting linknames here is a bad hack.
10160 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10161 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10162 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10164 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10166 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10168 # The linker will not automatically build a static lib if we build a DLL.
10169 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10170 enable_shared_with_static_runtimes
=yes
10171 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10173 old_postinstall_cmds
='chmod 644 $oldlib'
10174 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10175 lt_tool_outputfile="@TOOL_OUTPUT@"~
10176 case $lt_outputfile in
10179 lt_outputfile="$lt_outputfile.exe"
10180 lt_tool_outputfile="$lt_tool_outputfile.exe"
10183 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10184 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10185 $RM "$lt_outputfile.manifest";
10189 # Assume MSVC wrapper
10190 hardcode_libdir_flag_spec
=' '
10191 allow_undefined_flag
=unsupported
10192 # Tell ltmain to make .lib files, not .a files.
10194 # Tell ltmain to make .dll files, not .so files.
10196 # FIXME: Setting linknames here is a bad hack.
10197 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10198 # The linker will automatically build a .lib file if we build a DLL.
10199 old_archive_from_new_cmds
='true'
10200 # FIXME: Should let the user specify the lib program.
10201 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10202 enable_shared_with_static_runtimes
=yes
10207 darwin
* | rhapsody
*)
10210 archive_cmds_need_lc
=no
10212 hardcode_automatic
=yes
10213 hardcode_shlibpath_var
=unsupported
10214 if test "$lt_cv_ld_force_load" = "yes"; then
10215 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\"`'
10217 whole_archive_flag_spec
=''
10219 link_all_deplibs
=yes
10220 allow_undefined_flag
="$_lt_dar_allow_undefined"
10221 case $cc_basename in
10222 ifort
*) _lt_dar_can_shared
=yes ;;
10223 *) _lt_dar_can_shared
=$GCC ;;
10225 if test "$_lt_dar_can_shared" = "yes"; then
10226 output_verbose_link_cmd
=func_echo_all
10227 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10228 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10229 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}"
10230 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}"
10239 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_libdir_flag_spec
='-L$libdir'
10241 hardcode_shlibpath_var
=no
10248 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10249 # support. Future versions do this automatically, but an explicit c++rt0.o
10250 # does not break anything, and helps significantly (at the cost of a little
10253 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10254 hardcode_libdir_flag_spec
='-R$libdir'
10255 hardcode_direct
=yes
10256 hardcode_shlibpath_var
=no
10259 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10261 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10262 hardcode_direct
=yes
10263 hardcode_minus_L
=yes
10264 hardcode_shlibpath_var
=no
10267 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10268 freebsd
* | dragonfly
*)
10269 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10270 hardcode_libdir_flag_spec
='-R$libdir'
10271 hardcode_direct
=yes
10272 hardcode_shlibpath_var
=no
10276 if test "$GCC" = yes; then
10277 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'
10279 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'
10281 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10282 hardcode_libdir_separator
=:
10283 hardcode_direct
=yes
10285 # hardcode_minus_L: Not really in the search PATH,
10286 # but as the default location of the library.
10287 hardcode_minus_L
=yes
10288 export_dynamic_flag_spec
='${wl}-E'
10292 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10293 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10295 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10297 if test "$with_gnu_ld" = no
; then
10298 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10299 hardcode_libdir_flag_spec_ld
='+b $libdir'
10300 hardcode_libdir_separator
=:
10301 hardcode_direct
=yes
10302 hardcode_direct_absolute
=yes
10303 export_dynamic_flag_spec
='${wl}-E'
10304 # hardcode_minus_L: Not really in the search PATH,
10305 # but as the default location of the library.
10306 hardcode_minus_L
=yes
10311 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10314 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10329 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10333 # Older versions of the 11.00 compiler do not understand -b yet
10334 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10336 $as_echo_n "checking if $CC understands -b... " >&6; }
10337 if ${lt_cv_prog_compiler__b+:} false
; then :
10338 $as_echo_n "(cached) " >&6
10340 lt_cv_prog_compiler__b
=no
10341 save_LDFLAGS
="$LDFLAGS"
10342 LDFLAGS
="$LDFLAGS -b"
10343 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10344 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10345 # The linker can only warn and ignore the option if not recognized
10346 # So say no if there are warnings
10347 if test -s conftest.err
; then
10348 # Append any errors to the config.log.
10349 cat conftest.err
1>&5
10350 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10351 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10352 if diff conftest.exp conftest.er2
>/dev
/null
; then
10353 lt_cv_prog_compiler__b
=yes
10356 lt_cv_prog_compiler__b
=yes
10360 LDFLAGS
="$save_LDFLAGS"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10364 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10366 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10367 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10369 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10375 if test "$with_gnu_ld" = no
; then
10376 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10377 hardcode_libdir_separator
=:
10382 hardcode_shlibpath_var
=no
10385 hardcode_direct
=yes
10386 hardcode_direct_absolute
=yes
10387 export_dynamic_flag_spec
='${wl}-E'
10389 # hardcode_minus_L: Not really in the search PATH,
10390 # but as the default location of the library.
10391 hardcode_minus_L
=yes
10397 irix5
* | irix6
* | nonstopux
*)
10398 if test "$GCC" = yes; then
10399 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'
10400 # Try to use the -exported_symbol ld option, if it does not
10401 # work, assume that -exports_file does not work either and
10402 # implicitly export all symbols.
10403 # This should be the same for all languages, so no per-tag cache variable.
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10405 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10406 if ${lt_cv_irix_exported_symbol+:} false
; then :
10407 $as_echo_n "(cached) " >&6
10409 save_LDFLAGS
="$LDFLAGS"
10410 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10413 int foo (void) { return 0; }
10415 if ac_fn_c_try_link
"$LINENO"; then :
10416 lt_cv_irix_exported_symbol
=yes
10418 lt_cv_irix_exported_symbol
=no
10420 rm -f core conftest.err conftest.
$ac_objext \
10421 conftest
$ac_exeext conftest.
$ac_ext
10422 LDFLAGS
="$save_LDFLAGS"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10425 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10426 if test "$lt_cv_irix_exported_symbol" = yes; then
10427 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'
10430 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'
10431 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'
10433 archive_cmds_need_lc
='no'
10434 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10435 hardcode_libdir_separator
=:
10437 link_all_deplibs
=yes
10440 netbsd
* | netbsdelf
*-gnu)
10441 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10442 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10444 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10446 hardcode_libdir_flag_spec
='-R$libdir'
10447 hardcode_direct
=yes
10448 hardcode_shlibpath_var
=no
10452 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10453 hardcode_direct
=yes
10454 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10455 hardcode_libdir_separator
=:
10456 hardcode_shlibpath_var
=no
10463 if test -f /usr
/libexec
/ld.so
; then
10464 hardcode_direct
=yes
10465 hardcode_shlibpath_var
=no
10466 hardcode_direct_absolute
=yes
10467 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10468 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10470 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10471 export_dynamic_flag_spec
='${wl}-E'
10474 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10475 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10476 hardcode_libdir_flag_spec
='-R$libdir'
10479 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10480 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10490 hardcode_libdir_flag_spec
='-L$libdir'
10491 hardcode_minus_L
=yes
10492 allow_undefined_flag
=unsupported
10493 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'
10494 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10498 if test "$GCC" = yes; then
10499 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10500 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'
10502 allow_undefined_flag
=' -expect_unresolved \*'
10503 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'
10505 archive_cmds_need_lc
='no'
10506 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10507 hardcode_libdir_separator
=:
10510 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10511 if test "$GCC" = yes; then
10512 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10513 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'
10514 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10516 allow_undefined_flag
=' -expect_unresolved \*'
10517 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'
10518 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~
10519 $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'
10521 # Both c and cxx compiler support -rpath directly
10522 hardcode_libdir_flag_spec
='-rpath $libdir'
10524 archive_cmds_need_lc
='no'
10525 hardcode_libdir_separator
=:
10529 no_undefined_flag
=' -z defs'
10530 if test "$GCC" = yes; then
10532 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10533 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10534 $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'
10536 case `$CC -V 2>&1` in
10539 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10540 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10541 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10545 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10546 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10547 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10551 hardcode_libdir_flag_spec
='-R$libdir'
10552 hardcode_shlibpath_var
=no
10554 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10556 # The compiler driver will combine and reorder linker options,
10557 # but understands `-z linker_flag'. GCC discards it without `$wl',
10558 # but is careful enough not to reorder.
10559 # Supported since Solaris 2.6 (maybe 2.5.1?)
10560 if test "$GCC" = yes; then
10561 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10563 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10567 link_all_deplibs
=yes
10571 if test "x$host_vendor" = xsequent
; then
10572 # Use $CC to link under sequent, because it throws in some extra .o
10573 # files that make .init and .fini sections work.
10574 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10576 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10578 hardcode_libdir_flag_spec
='-L$libdir'
10579 hardcode_direct
=yes
10580 hardcode_minus_L
=yes
10581 hardcode_shlibpath_var
=no
10585 case $host_vendor in
10587 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10588 hardcode_direct
=yes # is this really true???
10591 ## LD is ld it makes a PLAMLIB
10592 ## CC just makes a GrossModule.
10593 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10594 reload_cmds
='$CC -r -o $output$reload_objs'
10598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10602 runpath_var
='LD_RUN_PATH'
10603 hardcode_shlibpath_var
=no
10607 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608 hardcode_shlibpath_var
=no
10609 export_dynamic_flag_spec
='-Bexport'
10613 if test -d /usr
/nec
; then
10614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10615 hardcode_shlibpath_var
=no
10616 runpath_var
=LD_RUN_PATH
10617 hardcode_runpath_var
=yes
10622 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10623 no_undefined_flag
='${wl}-z,text'
10624 archive_cmds_need_lc
=no
10625 hardcode_shlibpath_var
=no
10626 runpath_var
='LD_RUN_PATH'
10628 if test "$GCC" = yes; then
10629 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10630 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10633 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637 sysv5
* | sco3.2v5
* | sco5v6
*)
10638 # Note: We can NOT use -z defs as we might desire, because we do not
10639 # link with -lc, and that would cause any symbols used from libc to
10640 # always be unresolved, which means just about no library would
10641 # ever link correctly. If we're not using GNU ld we use -z text
10642 # though, which does catch some bad symbols but isn't as heavy-handed
10644 no_undefined_flag
='${wl}-z,text'
10645 allow_undefined_flag
='${wl}-z,nodefs'
10646 archive_cmds_need_lc
=no
10647 hardcode_shlibpath_var
=no
10648 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10649 hardcode_libdir_separator
=':'
10650 link_all_deplibs
=yes
10651 export_dynamic_flag_spec
='${wl}-Bexport'
10652 runpath_var
='LD_RUN_PATH'
10654 if test "$GCC" = yes; then
10655 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10665 hardcode_libdir_flag_spec
='-L$libdir'
10666 hardcode_shlibpath_var
=no
10674 if test x
$host_vendor = xsni
; then
10676 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10677 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10684 $as_echo "$ld_shlibs" >&6; }
10685 test "$ld_shlibs" = no
&& can_build_shared
=no
10687 with_gnu_ld
=$with_gnu_ld
10704 # Do we need to explicitly link libc?
10706 case "x$archive_cmds_need_lc" in
10708 # Assume -lc should be added
10709 archive_cmds_need_lc
=yes
10711 if test "$enable_shared" = yes && test "$GCC" = yes; then
10712 case $archive_cmds in
10714 # FIXME: we may have to deal with multi-command sequences.
10717 # Test whether the compiler implicitly links with -lc since on some
10718 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10719 # to ld, don't add -lc before -lgcc.
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10721 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10722 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10723 $as_echo_n "(cached) " >&6
10726 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10729 (eval $ac_compile) 2>&5
10731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10732 test $ac_status = 0; } 2>conftest.err
; then
10735 libobjs
=conftest.
$ac_objext
10737 wl
=$lt_prog_compiler_wl
10738 pic_flag
=$lt_prog_compiler_pic
10744 lt_save_allow_undefined_flag
=$allow_undefined_flag
10745 allow_undefined_flag
=
10746 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10747 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10750 test $ac_status = 0; }
10752 lt_cv_archive_cmds_need_lc
=no
10754 lt_cv_archive_cmds_need_lc
=yes
10756 allow_undefined_flag
=$lt_save_allow_undefined_flag
10758 cat conftest.err
1>&5
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10764 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10765 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10929 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10931 if test "$GCC" = yes; then
10933 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10934 *) lt_awk_arg
="/^libraries:/" ;;
10937 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10938 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10940 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10941 case $lt_search_path_spec in
10943 # if the path contains ";" then we assume it to be the separator
10944 # otherwise default to the standard path separator (i.e. ":") - it is
10945 # assumed that no part of a normal pathname contains ";" but that should
10946 # okay in the real world where ";" in dirpaths is itself problematic.
10947 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10950 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10953 # Ok, now we have the path, separated by spaces, we can step through it
10954 # and add multilib dir if necessary.
10955 lt_tmp_lt_search_path_spec
=
10956 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10957 for lt_sys_path
in $lt_search_path_spec; do
10958 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10959 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10961 test -d "$lt_sys_path" && \
10962 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10965 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10966 BEGIN {RS=" "; FS="/|\n";} {
10969 for (lt_i = NF; lt_i > 0; lt_i--) {
10970 if ($lt_i != "" && $lt_i != ".") {
10971 if ($lt_i == "..") {
10974 if (lt_count == 0) {
10975 lt_foo="/" $lt_i lt_foo;
10982 if (lt_foo != "") { lt_freq[lt_foo]++; }
10983 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10985 # AWK program above erroneously prepends '/' to C:/dos/paths
10988 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10989 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10991 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10993 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10995 library_names_spec
=
10996 libname_spec
='lib$name'
11000 postuninstall_cmds
=
11004 shlibpath_overrides_runpath
=unknown
11006 dynamic_linker
="$host_os ld.so"
11007 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11008 need_lib_prefix
=unknown
11009 hardcode_into_libs
=no
11011 # when you set need_version to no, make sure it does not cause -set_version
11012 # flags to be left without arguments
11013 need_version
=unknown
11018 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11019 shlibpath_var
=LIBPATH
11021 # AIX 3 has no versioning support, so we append a major version to the name.
11022 soname_spec
='${libname}${release}${shared_ext}$major'
11029 hardcode_into_libs
=yes
11030 if test "$host_cpu" = ia64
; then
11031 # AIX 5 supports IA64
11032 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11033 shlibpath_var
=LD_LIBRARY_PATH
11035 # With GCC up to 2.95.x, collect2 would create an import file
11036 # for dependence libraries. The import file would start with
11037 # the line `#! .'. This would cause the generated library to
11038 # depend on `.', always an invalid library. This was fixed in
11039 # development snapshots of GCC prior to 3.0.
11041 aix4 | aix4.
[01] | aix4.
[01].
*)
11042 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11044 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11047 can_build_shared
=no
11051 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11052 # soname into executable. Probably we can add versioning support to
11053 # collect2, so additional links can be useful in future.
11054 if test "$aix_use_runtimelinking" = yes; then
11055 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11056 # instead of lib<name>.a to let people know that these are not
11057 # typical AIX shared libraries.
11058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060 # We preserve .a as extension for shared libraries through AIX4.2
11061 # and later when we are not doing run time linking.
11062 library_names_spec
='${libname}${release}.a $libname.a'
11063 soname_spec
='${libname}${release}${shared_ext}$major'
11065 shlibpath_var
=LIBPATH
11072 # Since July 2007 AmigaOS4 officially supports .so libraries.
11073 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 library_names_spec
='$libname.ixlibrary $libname.a'
11078 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11079 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'
11085 library_names_spec
='${libname}${shared_ext}'
11086 dynamic_linker
="$host_os ld.so"
11087 shlibpath_var
=LIBRARY_PATH
11093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 soname_spec
='${libname}${release}${shared_ext}$major'
11095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11096 shlibpath_var
=LD_LIBRARY_PATH
11097 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11098 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11099 # the default ld.so.conf also contains /usr/contrib/lib and
11100 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11101 # libtool to hard-code these into programs
11104 cygwin
* | mingw
* | pw32
* | cegcc
*)
11105 version_type
=windows
11110 case $GCC,$cc_basename in
11113 library_names_spec
='$libname.dll.a'
11114 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11115 postinstall_cmds
='base_file=`basename \${file}`~
11116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11117 dldir=$destdir/`dirname \$dlpath`~
11118 test -d \$dldir || mkdir -p \$dldir~
11119 $install_prog $dir/$dlname \$dldir/$dlname~
11120 chmod a+x \$dldir/$dlname~
11121 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11122 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11124 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11125 dlpath=$dir/\$dldll~
11127 shlibpath_overrides_runpath
=yes
11131 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11132 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11134 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11137 # MinGW DLLs use traditional 'lib' prefix
11138 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11141 # pw32 DLLs use 'pw' prefix rather than 'lib'
11142 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11145 dynamic_linker
='Win32 ld.exe'
11150 libname_spec
='$name'
11151 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11152 library_names_spec
='${libname}.dll.lib'
11156 sys_lib_search_path_spec
=
11159 for lt_path
in $LIB
11162 # Let DOS variable expansion print the short 8.3 style file name.
11163 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11164 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11167 # Convert to MSYS style.
11168 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11171 # Convert to unix form, then to dos form, then back to unix form
11172 # but this time dos style (no spaces!) so that the unix form looks
11173 # like /cygdrive/c/PROGRA~1:/cygdr...
11174 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11175 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11176 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11179 sys_lib_search_path_spec
="$LIB"
11180 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11181 # It is most probably a Windows format PATH.
11182 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11184 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11186 # FIXME: find the short name or the path components, as spaces are
11187 # common. (e.g. "Program Files" -> "PROGRA~1")
11191 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11192 postinstall_cmds
='base_file=`basename \${file}`~
11193 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11194 dldir=$destdir/`dirname \$dlpath`~
11195 test -d \$dldir || mkdir -p \$dldir~
11196 $install_prog $dir/$dlname \$dldir/$dlname'
11197 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11198 dlpath=$dir/\$dldll~
11200 shlibpath_overrides_runpath
=yes
11201 dynamic_linker
='Win32 link.exe'
11205 # Assume MSVC wrapper
11206 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11207 dynamic_linker
='Win32 ld.exe'
11210 # FIXME: first we should search . and the directory the executable is in
11214 darwin
* | rhapsody
*)
11215 dynamic_linker
="$host_os dyld"
11216 version_type
=darwin
11219 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11220 soname_spec
='${libname}${release}${major}$shared_ext'
11221 shlibpath_overrides_runpath
=yes
11222 shlibpath_var
=DYLD_LIBRARY_PATH
11223 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11225 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11226 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11234 soname_spec
='${libname}${release}${shared_ext}$major'
11235 shlibpath_var
=LD_LIBRARY_PATH
11242 freebsd
* | dragonfly
*)
11243 # DragonFly does not have aout. When/if they implement a new
11244 # versioning mechanism, adjust this.
11245 if test -x /usr
/bin
/objformat
; then
11246 objformat
=`/usr/bin/objformat`
11249 freebsd
[123]*) objformat
=aout
;;
11250 *) objformat
=elf
;;
11253 version_type
=freebsd-
$objformat
11254 case $version_type in
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11261 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11265 shlibpath_var
=LD_LIBRARY_PATH
11268 shlibpath_overrides_runpath
=yes
11270 freebsd3.
[01]* | freebsdelf3.
[01]*)
11271 shlibpath_overrides_runpath
=yes
11272 hardcode_into_libs
=yes
11274 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11275 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11276 shlibpath_overrides_runpath
=no
11277 hardcode_into_libs
=yes
11279 *) # from 4.6 on, and DragonFly
11280 shlibpath_overrides_runpath
=yes
11281 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
11293 shlibpath_overrides_runpath
=no
11294 hardcode_into_libs
=yes
11301 dynamic_linker
="$host_os runtime_loader"
11302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11303 soname_spec
='${libname}${release}${shared_ext}$major'
11304 shlibpath_var
=LIBRARY_PATH
11305 shlibpath_overrides_runpath
=yes
11306 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11307 hardcode_into_libs
=yes
11310 hpux9
* | hpux10
* | hpux11
*)
11311 # Give a soname corresponding to the major version so that dld.sl refuses to
11312 # link against other versions.
11319 hardcode_into_libs
=yes
11320 dynamic_linker
="$host_os dld.so"
11321 shlibpath_var
=LD_LIBRARY_PATH
11322 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324 soname_spec
='${libname}${release}${shared_ext}$major'
11325 if test "X$HPUX_IA64_MODE" = X32
; then
11326 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11328 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11330 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11334 hardcode_into_libs
=yes
11335 dynamic_linker
="$host_os dld.sl"
11336 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11337 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339 soname_spec
='${libname}${release}${shared_ext}$major'
11340 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11341 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11345 dynamic_linker
="$host_os dld.sl"
11346 shlibpath_var
=SHLIB_PATH
11347 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349 soname_spec
='${libname}${release}${shared_ext}$major'
11352 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11353 postinstall_cmds
='chmod 555 $lib'
11354 # or fails outright, so override atomically:
11355 install_override_mode
=555
11362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11363 soname_spec
='${libname}${release}${shared_ext}$major'
11364 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11365 shlibpath_var
=LD_LIBRARY_PATH
11366 shlibpath_overrides_runpath
=no
11367 hardcode_into_libs
=yes
11370 irix5
* | irix6
* | nonstopux
*)
11372 nonstopux
*) version_type
=nonstopux
;;
11374 if test "$lt_cv_prog_gnu_ld" = yes; then
11382 soname_spec
='${libname}${release}${shared_ext}$major'
11383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11385 irix5
* | nonstopux
*)
11386 libsuff
= shlibsuff
=
11389 case $LD in # libtool.m4 will add one of these switches to LD
11390 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11391 libsuff
= shlibsuff
= libmagic
=32-bit;;
11392 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11393 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11394 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11395 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11396 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11400 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11401 shlibpath_overrides_runpath
=no
11402 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11403 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11404 hardcode_into_libs
=yes
11407 # No shared lib support for Linux oldld, aout, or coff.
11408 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11412 # This must be Linux ELF.
11413 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec
='${libname}${release}${shared_ext}$major'
11419 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11420 shlibpath_var
=LD_LIBRARY_PATH
11421 shlibpath_overrides_runpath
=no
11423 # Some binutils ld are patched to set DT_RUNPATH
11424 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 lt_cv_shlibpath_overrides_runpath
=no
11428 save_LDFLAGS
=$LDFLAGS
11429 save_libdir
=$libdir
11430 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11431 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11443 if ac_fn_c_try_link
"$LINENO"; then :
11444 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11445 lt_cv_shlibpath_overrides_runpath
=yes
11448 rm -f core conftest.err conftest.
$ac_objext \
11449 conftest
$ac_exeext conftest.
$ac_ext
11450 LDFLAGS
=$save_LDFLAGS
11451 libdir
=$save_libdir
11455 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11457 # This implies no fast_install, which is unacceptable.
11458 # Some rework will be needed to allow for fast_install
11459 # before this can be enabled.
11460 hardcode_into_libs
=yes
11462 # Append ld.so.conf contents to the search path
11463 if test -f /etc
/ld.so.conf
; then
11464 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' ' '`
11465 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11468 # We used to test for /lib/ld.so.1 and disable shared libraries on
11469 # powerpc, because MkLinux only supported shared libraries with the
11470 # GNU dynamic linker. Since this was broken with cross compilers,
11471 # most powerpc-linux boxes support dynamic linking these days and
11472 # people can always --disable-shared, the test was removed, and we
11473 # assume the GNU/Linux dynamic linker is in use.
11474 dynamic_linker
='GNU/Linux ld.so'
11481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11482 soname_spec
='${libname}${release}${shared_ext}$major'
11483 shlibpath_var
=LD_LIBRARY_PATH
11484 shlibpath_overrides_runpath
=no
11485 hardcode_into_libs
=yes
11486 dynamic_linker
='NetBSD ld.elf_so'
11493 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11495 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11496 dynamic_linker
='NetBSD (a.out) ld.so'
11498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11499 soname_spec
='${libname}${release}${shared_ext}$major'
11500 dynamic_linker
='NetBSD ld.elf_so'
11502 shlibpath_var
=LD_LIBRARY_PATH
11503 shlibpath_overrides_runpath
=yes
11504 hardcode_into_libs
=yes
11509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11510 shlibpath_var
=LD_LIBRARY_PATH
11511 shlibpath_overrides_runpath
=yes
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11520 shlibpath_var
=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath
=no
11522 hardcode_into_libs
=yes
11523 dynamic_linker
='ldqnx.so'
11528 sys_lib_dlsearch_path_spec
="/usr/lib"
11530 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11532 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11533 *) need_version
=no
;;
11535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11537 shlibpath_var
=LD_LIBRARY_PATH
11538 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11540 openbsd2.
[89] | openbsd2.
[89].
*)
11541 shlibpath_overrides_runpath
=no
11544 shlibpath_overrides_runpath
=yes
11548 shlibpath_overrides_runpath
=yes
11553 libname_spec
='$name'
11556 library_names_spec
='$libname${shared_ext} $libname.a'
11557 dynamic_linker
='OS/2 ld.exe'
11558 shlibpath_var
=LIBPATH
11561 osf3
* | osf4
* | osf5
*)
11565 soname_spec
='${libname}${release}${shared_ext}$major'
11566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 shlibpath_var
=LD_LIBRARY_PATH
11568 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11569 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11581 soname_spec
='${libname}${release}${shared_ext}$major'
11582 shlibpath_var
=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath
=yes
11584 hardcode_into_libs
=yes
11585 # ldd complains unless libraries are executable
11586 postinstall_cmds
='chmod +x $lib'
11591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11592 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11593 shlibpath_var
=LD_LIBRARY_PATH
11594 shlibpath_overrides_runpath
=yes
11595 if test "$with_gnu_ld" = yes; then
11603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11604 soname_spec
='${libname}${release}${shared_ext}$major'
11605 shlibpath_var
=LD_LIBRARY_PATH
11606 case $host_vendor in
11608 shlibpath_overrides_runpath
=no
11610 runpath_var
=LD_RUN_PATH
11618 shlibpath_overrides_runpath
=no
11619 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11625 if test -d /usr
/nec
;then
11627 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11628 soname_spec
='$libname${shared_ext}.$major'
11629 shlibpath_var
=LD_LIBRARY_PATH
11633 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11634 version_type
=freebsd-elf
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11638 soname_spec
='${libname}${release}${shared_ext}$major'
11639 shlibpath_var
=LD_LIBRARY_PATH
11640 shlibpath_overrides_runpath
=yes
11641 hardcode_into_libs
=yes
11642 if test "$with_gnu_ld" = yes; then
11643 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11645 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11648 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11652 sys_lib_dlsearch_path_spec
='/usr/lib'
11656 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11661 shlibpath_var
=LD_LIBRARY_PATH
11662 shlibpath_overrides_runpath
=no
11663 hardcode_into_libs
=yes
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 soname_spec
='${libname}${release}${shared_ext}$major'
11670 shlibpath_var
=LD_LIBRARY_PATH
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11678 $as_echo "$dynamic_linker" >&6; }
11679 test "$dynamic_linker" = no
&& can_build_shared
=no
11681 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11682 if test "$GCC" = yes; then
11683 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11686 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11687 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11689 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11690 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11787 if test -n "$hardcode_libdir_flag_spec" ||
11788 test -n "$runpath_var" ||
11789 test "X$hardcode_automatic" = "Xyes" ; then
11791 # We can hardcode non-existent directories.
11792 if test "$hardcode_direct" != no
&&
11793 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11794 # have to relink, otherwise we might link with an installed library
11795 # when we should be linking with a yet-to-be-installed one
11796 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11797 test "$hardcode_minus_L" != no
; then
11798 # Linking always hardcodes the temporary library directory.
11799 hardcode_action
=relink
11801 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11802 hardcode_action
=immediate
11805 # We cannot hardcode anything, or else we can only hardcode existing
11807 hardcode_action
=unsupported
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11810 $as_echo "$hardcode_action" >&6; }
11812 if test "$hardcode_action" = relink ||
11813 test "$inherit_rpath" = yes; then
11814 # Fast installation is not supported
11815 enable_fast_install
=no
11816 elif test "$shlibpath_overrides_runpath" = yes ||
11817 test "$enable_shared" = no
; then
11818 # Fast installation is not necessary
11819 enable_fast_install
=needless
11827 if test "x$enable_dlopen" != xyes
; then
11828 enable_dlopen
=unknown
11829 enable_dlopen_self
=unknown
11830 enable_dlopen_self_static
=unknown
11837 lt_cv_dlopen
="load_add_on"
11839 lt_cv_dlopen_self
=yes
11842 mingw
* | pw32
* | cegcc
*)
11843 lt_cv_dlopen
="LoadLibrary"
11848 lt_cv_dlopen
="dlopen"
11853 # if libdl is installed we need to link against it
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11855 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11856 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11857 $as_echo_n "(cached) " >&6
11859 ac_check_lib_save_LIBS
=$LIBS
11861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11879 if ac_fn_c_try_link
"$LINENO"; then :
11880 ac_cv_lib_dl_dlopen
=yes
11882 ac_cv_lib_dl_dlopen
=no
11884 rm -f core conftest.err conftest.
$ac_objext \
11885 conftest
$ac_exeext conftest.
$ac_ext
11886 LIBS
=$ac_check_lib_save_LIBS
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11889 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11890 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11891 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11894 lt_cv_dlopen
="dyld"
11896 lt_cv_dlopen_self
=yes
11903 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11904 if test "x$ac_cv_func_shl_load" = xyes
; then :
11905 lt_cv_dlopen
="shl_load"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11908 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11909 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11910 $as_echo_n "(cached) " >&6
11912 ac_check_lib_save_LIBS
=$LIBS
11914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11927 return shl_load ();
11932 if ac_fn_c_try_link
"$LINENO"; then :
11933 ac_cv_lib_dld_shl_load
=yes
11935 ac_cv_lib_dld_shl_load
=no
11937 rm -f core conftest.err conftest.
$ac_objext \
11938 conftest
$ac_exeext conftest.
$ac_ext
11939 LIBS
=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11942 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11943 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11944 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11946 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11947 if test "x$ac_cv_func_dlopen" = xyes
; then :
11948 lt_cv_dlopen
="dlopen"
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11951 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11952 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11953 $as_echo_n "(cached) " >&6
11955 ac_check_lib_save_LIBS
=$LIBS
11957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11975 if ac_fn_c_try_link
"$LINENO"; then :
11976 ac_cv_lib_dl_dlopen
=yes
11978 ac_cv_lib_dl_dlopen
=no
11980 rm -f core conftest.err conftest.
$ac_objext \
11981 conftest
$ac_exeext conftest.
$ac_ext
11982 LIBS
=$ac_check_lib_save_LIBS
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11985 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11986 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11987 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11990 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11991 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11992 $as_echo_n "(cached) " >&6
11994 ac_check_lib_save_LIBS
=$LIBS
11995 LIBS
="-lsvld $LIBS"
11996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12014 if ac_fn_c_try_link
"$LINENO"; then :
12015 ac_cv_lib_svld_dlopen
=yes
12017 ac_cv_lib_svld_dlopen
=no
12019 rm -f core conftest.err conftest.
$ac_objext \
12020 conftest
$ac_exeext conftest.
$ac_ext
12021 LIBS
=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12024 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12025 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12026 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12029 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12030 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12031 $as_echo_n "(cached) " >&6
12033 ac_check_lib_save_LIBS
=$LIBS
12035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12048 return dld_link ();
12053 if ac_fn_c_try_link
"$LINENO"; then :
12054 ac_cv_lib_dld_dld_link
=yes
12056 ac_cv_lib_dld_dld_link
=no
12058 rm -f core conftest.err conftest.
$ac_objext \
12059 conftest
$ac_exeext conftest.
$ac_ext
12060 LIBS
=$ac_check_lib_save_LIBS
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12063 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12064 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12065 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12086 if test "x$lt_cv_dlopen" != xno
; then
12092 case $lt_cv_dlopen in
12094 save_CPPFLAGS
="$CPPFLAGS"
12095 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12097 save_LDFLAGS
="$LDFLAGS"
12098 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12101 LIBS
="$lt_cv_dlopen_libs $LIBS"
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12104 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12105 if ${lt_cv_dlopen_self+:} false
; then :
12106 $as_echo_n "(cached) " >&6
12108 if test "$cross_compiling" = yes; then :
12109 lt_cv_dlopen_self
=cross
12111 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12112 lt_status
=$lt_dlunknown
12113 cat > conftest.
$ac_ext <<_LT_EOF
12114 #line $LINENO "configure"
12115 #include "confdefs.h"
12124 # define LT_DLGLOBAL RTLD_GLOBAL
12127 # define LT_DLGLOBAL DL_GLOBAL
12129 # define LT_DLGLOBAL 0
12133 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12134 find out it does not work in some platform. */
12135 #ifndef LT_DLLAZY_OR_NOW
12137 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12140 # define LT_DLLAZY_OR_NOW DL_LAZY
12143 # define LT_DLLAZY_OR_NOW RTLD_NOW
12146 # define LT_DLLAZY_OR_NOW DL_NOW
12148 # define LT_DLLAZY_OR_NOW 0
12155 /* When -fvisbility=hidden is used, assume the code has been annotated
12156 correspondingly for the symbols needed. */
12157 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12158 int fnord () __attribute__((visibility("default")));
12161 int fnord () { return 42; }
12164 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12165 int status = $lt_dlunknown;
12169 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12172 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12173 else puts (dlerror ());
12175 /* dlclose (self); */
12183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12184 (eval $ac_link) 2>&5
12186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12187 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12188 (.
/conftest
; exit; ) >&5 2>/dev
/null
12190 case x
$lt_status in
12191 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12192 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12193 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12196 # compilation failed
12197 lt_cv_dlopen_self
=no
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12205 $as_echo "$lt_cv_dlopen_self" >&6; }
12207 if test "x$lt_cv_dlopen_self" = xyes
; then
12208 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12210 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12211 if ${lt_cv_dlopen_self_static+:} false
; then :
12212 $as_echo_n "(cached) " >&6
12214 if test "$cross_compiling" = yes; then :
12215 lt_cv_dlopen_self_static
=cross
12217 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12218 lt_status
=$lt_dlunknown
12219 cat > conftest.
$ac_ext <<_LT_EOF
12220 #line $LINENO "configure"
12221 #include "confdefs.h"
12230 # define LT_DLGLOBAL RTLD_GLOBAL
12233 # define LT_DLGLOBAL DL_GLOBAL
12235 # define LT_DLGLOBAL 0
12239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12240 find out it does not work in some platform. */
12241 #ifndef LT_DLLAZY_OR_NOW
12243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12246 # define LT_DLLAZY_OR_NOW DL_LAZY
12249 # define LT_DLLAZY_OR_NOW RTLD_NOW
12252 # define LT_DLLAZY_OR_NOW DL_NOW
12254 # define LT_DLLAZY_OR_NOW 0
12261 /* When -fvisbility=hidden is used, assume the code has been annotated
12262 correspondingly for the symbols needed. */
12263 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12264 int fnord () __attribute__((visibility("default")));
12267 int fnord () { return 42; }
12270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12271 int status = $lt_dlunknown;
12275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12278 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12279 else puts (dlerror ());
12281 /* dlclose (self); */
12289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12290 (eval $ac_link) 2>&5
12292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12293 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12294 (.
/conftest
; exit; ) >&5 2>/dev
/null
12296 case x
$lt_status in
12297 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12298 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12299 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12302 # compilation failed
12303 lt_cv_dlopen_self_static
=no
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12311 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12314 CPPFLAGS
="$save_CPPFLAGS"
12315 LDFLAGS
="$save_LDFLAGS"
12320 case $lt_cv_dlopen_self in
12321 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12322 *) enable_dlopen_self
=unknown
;;
12325 case $lt_cv_dlopen_self_static in
12326 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12327 *) enable_dlopen_self_static
=unknown
;;
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12350 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12351 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12352 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12353 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12355 $as_echo "yes" >&6; }
12357 # FIXME - insert some real tests, host_os isn't really good enough
12360 if test -n "$STRIP" ; then
12361 striplib
="$STRIP -x"
12362 old_striplib
="$STRIP -S"
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12364 $as_echo "yes" >&6; }
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12372 $as_echo "no" >&6; }
12388 # Report which library types will actually be built
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12390 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12392 $as_echo "$can_build_shared" >&6; }
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12395 $as_echo_n "checking whether to build shared libraries... " >&6; }
12396 test "$can_build_shared" = "no" && enable_shared
=no
12398 # On AIX, shared libraries and static libraries use the same namespace, and
12399 # are all built from PIC.
12402 test "$enable_shared" = yes && enable_static
=no
12403 if test -n "$RANLIB"; then
12404 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12405 postinstall_cmds
='$RANLIB $lib'
12410 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12411 test "$enable_shared" = yes && enable_static
=no
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12416 $as_echo "$enable_shared" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12419 $as_echo_n "checking whether to build static libraries... " >&6; }
12420 # Make sure either enable_shared or enable_static is yes.
12421 test "$enable_shared" = yes || enable_static
=yes
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12423 $as_echo "$enable_static" >&6; }
12430 ac_cpp
='$CPP $CPPFLAGS'
12431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12437 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12438 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12439 (test "X$CXX" != "Xg++"))) ; then
12441 ac_cpp
='$CXXCPP $CPPFLAGS'
12442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12446 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12447 if test -z "$CXXCPP"; then
12448 if ${ac_cv_prog_CXXCPP+:} false
; then :
12449 $as_echo_n "(cached) " >&6
12451 # Double quotes because CXXCPP needs to be expanded
12452 for CXXCPP
in "$CXX -E" "/lib/cpp"
12454 ac_preproc_ok
=false
12455 for ac_cxx_preproc_warn_flag
in '' yes
12457 # Use a header file that comes with gcc, so configuring glibc
12458 # with a fresh cross-compiler works.
12459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12460 # <limits.h> exists even on freestanding compilers.
12461 # On the NeXT, cc -E runs the code through the compiler's parser,
12462 # not just through cpp. "Syntax error" is here to catch this case.
12463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 # include <limits.h>
12468 # include <assert.h>
12472 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12475 # Broken: fails on valid input.
12478 rm -f conftest.err conftest.i conftest.
$ac_ext
12480 # OK, works on sane cases. Now check whether nonexistent headers
12481 # can be detected and how.
12482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12484 #include <ac_nonexistent.h>
12486 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12487 # Broken: success on invalid input.
12490 # Passes both tests.
12494 rm -f conftest.err conftest.i conftest.
$ac_ext
12497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12498 rm -f conftest.i conftest.err conftest.
$ac_ext
12499 if $ac_preproc_ok; then :
12504 ac_cv_prog_CXXCPP
=$CXXCPP
12507 CXXCPP
=$ac_cv_prog_CXXCPP
12509 ac_cv_prog_CXXCPP
=$CXXCPP
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12512 $as_echo "$CXXCPP" >&6; }
12513 ac_preproc_ok
=false
12514 for ac_cxx_preproc_warn_flag
in '' yes
12516 # Use a header file that comes with gcc, so configuring glibc
12517 # with a fresh cross-compiler works.
12518 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12519 # <limits.h> exists even on freestanding compilers.
12520 # On the NeXT, cc -E runs the code through the compiler's parser,
12521 # not just through cpp. "Syntax error" is here to catch this case.
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 # include <limits.h>
12527 # include <assert.h>
12531 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12534 # Broken: fails on valid input.
12537 rm -f conftest.err conftest.i conftest.
$ac_ext
12539 # OK, works on sane cases. Now check whether nonexistent headers
12540 # can be detected and how.
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 #include <ac_nonexistent.h>
12545 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12546 # Broken: success on invalid input.
12549 # Passes both tests.
12553 rm -f conftest.err conftest.i conftest.
$ac_ext
12556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12557 rm -f conftest.i conftest.err conftest.
$ac_ext
12558 if $ac_preproc_ok; then :
12561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12563 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12564 See \`config.log' for more details" "$LINENO" 5; }
12568 ac_cpp
='$CPP $CPPFLAGS'
12569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12574 _lt_caught_CXX_error
=yes
12578 ac_cpp
='$CXXCPP $CPPFLAGS'
12579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12583 archive_cmds_need_lc_CXX
=no
12584 allow_undefined_flag_CXX
=
12585 always_export_symbols_CXX
=no
12586 archive_expsym_cmds_CXX
=
12587 compiler_needs_object_CXX
=no
12588 export_dynamic_flag_spec_CXX
=
12589 hardcode_direct_CXX
=no
12590 hardcode_direct_absolute_CXX
=no
12591 hardcode_libdir_flag_spec_CXX
=
12592 hardcode_libdir_flag_spec_ld_CXX
=
12593 hardcode_libdir_separator_CXX
=
12594 hardcode_minus_L_CXX
=no
12595 hardcode_shlibpath_var_CXX
=unsupported
12596 hardcode_automatic_CXX
=no
12597 inherit_rpath_CXX
=no
12599 module_expsym_cmds_CXX
=
12600 link_all_deplibs_CXX
=unknown
12601 old_archive_cmds_CXX
=$old_archive_cmds
12602 reload_flag_CXX
=$reload_flag
12603 reload_cmds_CXX
=$reload_cmds
12604 no_undefined_flag_CXX
=
12605 whole_archive_flag_spec_CXX
=
12606 enable_shared_with_static_runtimes_CXX
=no
12608 # Source file extension for C++ test sources.
12611 # Object file extension for compiled C++ test sources.
12615 # No sense in running all these tests if we already determined that
12616 # the CXX compiler isn't working. Some variables (like enable_shared)
12617 # are currently assumed to apply to all compilers on this platform,
12618 # and will be corrupted by setting them based on a non-working compiler.
12619 if test "$_lt_caught_CXX_error" != yes; then
12620 # Code to be used in simple compile tests
12621 lt_simple_compile_test_code
="int some_variable = 0;"
12623 # Code to be used in simple link tests
12624 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12626 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12633 # If no C compiler was specified, use CC.
12636 # If no C compiler flags were specified, use CFLAGS.
12637 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12639 # Allow CC to be a program name with arguments.
12643 # save warnings/boilerplate of simple test code
12644 ac_outfile
=conftest.
$ac_objext
12645 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12646 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12647 _lt_compiler_boilerplate
=`cat conftest.err`
12650 ac_outfile
=conftest.
$ac_objext
12651 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12652 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12653 _lt_linker_boilerplate
=`cat conftest.err`
12657 # Allow CC to be a program name with arguments.
12659 lt_save_CFLAGS
=$CFLAGS
12663 lt_save_with_gnu_ld
=$with_gnu_ld
12664 lt_save_path_LD
=$lt_cv_path_LD
12665 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12666 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12668 $as_unset lt_cv_prog_gnu_ld
12670 if test -n "${lt_cv_path_LDCXX+set}"; then
12671 lt_cv_path_LD
=$lt_cv_path_LDCXX
12673 $as_unset lt_cv_path_LD
12675 test -z "${LDCXX+set}" || LD
=$LDCXX
12680 for cc_temp
in $compiler""; do
12682 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12683 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12688 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12691 if test -n "$compiler"; then
12692 # We don't want -fno-exception when compiling C++ code, so set the
12693 # no_builtin_flag separately
12694 if test "$GXX" = yes; then
12695 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12697 lt_prog_compiler_no_builtin_flag_CXX
=
12700 if test "$GXX" = yes; then
12701 # Set up default GNU C++ configuration
12705 # Check whether --with-gnu-ld was given.
12706 if test "${with_gnu_ld+set}" = set; then :
12707 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12713 if test "$GCC" = yes; then
12714 # Check if gcc -print-prog-name=ld gives a path.
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12716 $as_echo_n "checking for ld used by $CC... " >&6; }
12719 # gcc leaves a trailing carriage return which upsets mingw
12720 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12722 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12725 # Accept absolute paths.
12727 re_direlt
='/[^/][^/]*/\.\./'
12728 # Canonicalize the pathname of ld
12729 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12730 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12731 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12733 test -z "$LD" && LD
="$ac_prog"
12736 # If it fails, then pretend we aren't using GCC.
12740 # If it is relative, then search for the first ld in PATH.
12741 with_gnu_ld
=unknown
12744 elif test "$with_gnu_ld" = yes; then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12746 $as_echo_n "checking for GNU ld... " >&6; }
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12749 $as_echo_n "checking for non-GNU ld... " >&6; }
12751 if ${lt_cv_path_LD+:} false
; then :
12752 $as_echo_n "(cached) " >&6
12754 if test -z "$LD"; then
12755 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12756 for ac_dir
in $PATH; do
12758 test -z "$ac_dir" && ac_dir
=.
12759 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12760 lt_cv_path_LD
="$ac_dir/$ac_prog"
12761 # Check to see if the program is GNU ld. I'd rather use --version,
12762 # but apparently some variants of GNU ld only accept -v.
12763 # Break only if it was the GNU/non-GNU ld that we prefer.
12764 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12765 *GNU
* |
*'with BFD'*)
12766 test "$with_gnu_ld" != no
&& break
12769 test "$with_gnu_ld" != yes && break
12776 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12780 LD
="$lt_cv_path_LD"
12781 if test -n "$LD"; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12783 $as_echo "$LD" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12788 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12790 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12791 if ${lt_cv_prog_gnu_ld+:} false
; then :
12792 $as_echo_n "(cached) " >&6
12794 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12795 case `$LD -v 2>&1 </dev/null` in
12796 *GNU
* |
*'with BFD'*)
12797 lt_cv_prog_gnu_ld
=yes
12800 lt_cv_prog_gnu_ld
=no
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12805 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12806 with_gnu_ld
=$lt_cv_prog_gnu_ld
12814 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12815 # archiving commands below assume that GNU ld is being used.
12816 if test "$with_gnu_ld" = yes; then
12817 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12818 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'
12820 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12821 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12823 # If archive_cmds runs LD, not CC, wlarc should be empty
12824 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12825 # investigate it a little bit more. (MM)
12828 # ancient GNU ld didn't support --whole-archive et. al.
12829 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12830 $GREP 'no-whole-archive' > /dev
/null
; then
12831 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12833 whole_archive_flag_spec_CXX
=
12839 # A generic and very simple default shared library creation
12840 # command for GNU C++ for the case where it uses the native
12841 # linker, instead of GNU ld. If possible, this setting should
12842 # overridden to take advantage of the native linker features on
12843 # the platform it is being used on.
12844 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12847 # Commands to make compiler produce verbose output that lists
12848 # what "hidden" libraries, object files and flags are used when
12849 # linking a shared library.
12850 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12858 # PORTME: fill in a description of your system's C++ link characteristics
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12860 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12864 # FIXME: insert proper C++ library support
12868 if test "$host_cpu" = ia64
; then
12869 # On IA64, the linker does run time linking by default, so we don't
12870 # have to do anything special.
12871 aix_use_runtimelinking
=no
12872 exp_sym_flag
='-Bexport'
12875 aix_use_runtimelinking
=no
12877 # Test if we are trying to use run time linking or normal
12878 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12879 # need to do runtime linking.
12880 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12881 for ld_flag
in $LDFLAGS; do
12884 aix_use_runtimelinking
=yes
12892 exp_sym_flag
='-bexport'
12893 no_entry_flag
='-bnoentry'
12896 # When large executables or shared objects are built, AIX ld can
12897 # have problems creating the table of contents. If linking a library
12898 # or program results in "error TOC overflow" add -mminimal-toc to
12899 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12900 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12902 archive_cmds_CXX
=''
12903 hardcode_direct_CXX
=yes
12904 hardcode_direct_absolute_CXX
=yes
12905 hardcode_libdir_separator_CXX
=':'
12906 link_all_deplibs_CXX
=yes
12907 file_list_spec_CXX
='${wl}-f,'
12909 if test "$GXX" = yes; then
12910 case $host_os in aix4.
[012]|aix4.
[012].
*)
12911 # We only want to do this on AIX 4.2 and lower, the check
12912 # below for broken collect2 doesn't work under 4.3+
12913 collect2name
=`${CC} -print-prog-name=collect2`
12914 if test -f "$collect2name" &&
12915 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12917 # We have reworked collect2
12920 # We have old collect2
12921 hardcode_direct_CXX
=unsupported
12922 # It fails to find uninstalled libraries when the uninstalled
12923 # path is not listed in the libpath. Setting hardcode_minus_L
12924 # to unsupported forces relinking
12925 hardcode_minus_L_CXX
=yes
12926 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12927 hardcode_libdir_separator_CXX
=
12930 shared_flag
='-shared'
12931 if test "$aix_use_runtimelinking" = yes; then
12932 shared_flag
="$shared_flag "'${wl}-G'
12936 if test "$host_cpu" = ia64
; then
12937 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12938 # chokes on -Wl,-G. The following line is correct:
12941 if test "$aix_use_runtimelinking" = yes; then
12942 shared_flag
='${wl}-G'
12944 shared_flag
='${wl}-bM:SRE'
12949 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12950 # It seems that -bexpall does not export symbols beginning with
12951 # underscore (_), so it is better to generate a list of symbols to
12953 always_export_symbols_CXX
=yes
12954 if test "$aix_use_runtimelinking" = yes; then
12955 # Warning - without using the other runtime loading flags (-brtl),
12956 # -berok will link without error, but may produce a broken library.
12957 allow_undefined_flag_CXX
='-berok'
12958 # Determine the default libpath from the value encoded in an empty
12960 if test "${lt_cv_aix_libpath+set}" = set; then
12961 aix_libpath
=$lt_cv_aix_libpath
12963 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12964 $as_echo_n "(cached) " >&6
12966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12977 if ac_fn_cxx_try_link
"$LINENO"; then :
12979 lt_aix_libpath_sed
='
12980 /Import File Strings/,/^$/ {
12982 s/^0 *\([^ ]*\) *$/\1/
12986 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12987 # Check for a 64-bit object if we didn't find anything.
12988 if test -z "$lt_cv_aix_libpath__CXX"; then
12989 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12992 rm -f core conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12994 if test -z "$lt_cv_aix_libpath__CXX"; then
12995 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13000 aix_libpath
=$lt_cv_aix_libpath__CXX
13003 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13005 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"
13007 if test "$host_cpu" = ia64
; then
13008 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13009 allow_undefined_flag_CXX
="-z nodefs"
13010 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"
13012 # Determine the default libpath from the value encoded in an
13013 # empty executable.
13014 if test "${lt_cv_aix_libpath+set}" = set; then
13015 aix_libpath
=$lt_cv_aix_libpath
13017 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13018 $as_echo_n "(cached) " >&6
13020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13031 if ac_fn_cxx_try_link
"$LINENO"; then :
13033 lt_aix_libpath_sed
='
13034 /Import File Strings/,/^$/ {
13036 s/^0 *\([^ ]*\) *$/\1/
13040 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13041 # Check for a 64-bit object if we didn't find anything.
13042 if test -z "$lt_cv_aix_libpath__CXX"; then
13043 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13046 rm -f core conftest.err conftest.
$ac_objext \
13047 conftest
$ac_exeext conftest.
$ac_ext
13048 if test -z "$lt_cv_aix_libpath__CXX"; then
13049 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13054 aix_libpath
=$lt_cv_aix_libpath__CXX
13057 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13058 # Warning - without using the other run time loading flags,
13059 # -berok will link without error, but may produce a broken library.
13060 no_undefined_flag_CXX
=' ${wl}-bernotok'
13061 allow_undefined_flag_CXX
=' ${wl}-berok'
13062 if test "$with_gnu_ld" = yes; then
13063 # We only use this code for GNU lds that support --whole-archive.
13064 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13066 # Exported symbols can be pulled into shared objects from archives
13067 whole_archive_flag_spec_CXX
='$convenience'
13069 archive_cmds_need_lc_CXX
=yes
13070 # This is similar to how AIX traditionally builds its shared
13072 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'
13078 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13079 allow_undefined_flag_CXX
=unsupported
13080 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13081 # support --undefined. This deserves some investigation. FIXME
13082 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13089 case $cc_basename in
13091 # FIXME: insert proper C++ library support
13097 cygwin
* | mingw
* | pw32
* | cegcc
*)
13098 case $GXX,$cc_basename in
13101 # hardcode_libdir_flag_spec is actually meaningless, as there is
13102 # no search path for DLLs.
13103 hardcode_libdir_flag_spec_CXX
=' '
13104 allow_undefined_flag_CXX
=unsupported
13105 always_export_symbols_CXX
=yes
13106 file_list_spec_CXX
='@'
13107 # Tell ltmain to make .lib files, not .a files.
13109 # Tell ltmain to make .dll files, not .so files.
13111 # FIXME: Setting linknames here is a bad hack.
13112 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13113 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13114 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13116 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13118 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13120 # The linker will not automatically build a static lib if we build a DLL.
13121 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13122 enable_shared_with_static_runtimes_CXX
=yes
13124 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13125 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13126 lt_tool_outputfile="@TOOL_OUTPUT@"~
13127 case $lt_outputfile in
13130 lt_outputfile="$lt_outputfile.exe"
13131 lt_tool_outputfile="$lt_tool_outputfile.exe"
13134 func_to_tool_file "$lt_outputfile"~
13135 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13136 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13137 $RM "$lt_outputfile.manifest";
13142 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13143 # as there is no search path for DLLs.
13144 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13145 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13146 allow_undefined_flag_CXX
=unsupported
13147 always_export_symbols_CXX
=no
13148 enable_shared_with_static_runtimes_CXX
=yes
13150 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13151 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'
13152 # If the export-symbols file already is a .def file (1st line
13153 # is EXPORTS), use it as is; otherwise, prepend...
13154 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13155 cp $export_symbols $output_objdir/$soname.def;
13157 echo EXPORTS > $output_objdir/$soname.def;
13158 cat $export_symbols >> $output_objdir/$soname.def;
13160 $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'
13167 darwin
* | rhapsody
*)
13170 archive_cmds_need_lc_CXX
=no
13171 hardcode_direct_CXX
=no
13172 hardcode_automatic_CXX
=yes
13173 hardcode_shlibpath_var_CXX
=unsupported
13174 if test "$lt_cv_ld_force_load" = "yes"; then
13175 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\"`'
13177 whole_archive_flag_spec_CXX
=''
13179 link_all_deplibs_CXX
=yes
13180 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13181 case $cc_basename in
13182 ifort
*) _lt_dar_can_shared
=yes ;;
13183 *) _lt_dar_can_shared
=$GCC ;;
13185 if test "$_lt_dar_can_shared" = "yes"; then
13186 output_verbose_link_cmd
=func_echo_all
13187 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}"
13188 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13189 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}"
13190 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}"
13191 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13192 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}"
13193 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}"
13203 case $cc_basename in
13205 # FIXME: insert proper C++ library support
13209 # Green Hills C++ Compiler
13210 # FIXME: insert proper C++ library support
13214 # FIXME: insert proper C++ library support
13221 # C++ shared libraries reported to be fairly broken before
13227 archive_cmds_need_lc_CXX
=no
13230 freebsd
* | dragonfly
*)
13231 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13240 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13241 link_all_deplibs_CXX
=yes
13245 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13246 hardcode_libdir_separator_CXX
=:
13247 export_dynamic_flag_spec_CXX
='${wl}-E'
13248 hardcode_direct_CXX
=yes
13249 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13250 # but as the default
13251 # location of the library.
13253 case $cc_basename in
13255 # FIXME: insert proper C++ library support
13259 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'
13260 # Commands to make compiler produce verbose output that lists
13261 # what "hidden" libraries, object files and flags are used when
13262 # linking a shared library.
13264 # There doesn't appear to be a way to prevent this compiler from
13265 # explicitly linking system object files so we need to strip them
13266 # from the output so that they don't get included in the library
13268 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"'
13271 if test "$GXX" = yes; then
13272 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'
13274 # FIXME: insert proper C++ library support
13282 if test $with_gnu_ld = no
; then
13283 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13284 hardcode_libdir_separator_CXX
=:
13290 export_dynamic_flag_spec_CXX
='${wl}-E'
13296 hardcode_direct_CXX
=no
13297 hardcode_shlibpath_var_CXX
=no
13300 hardcode_direct_CXX
=yes
13301 hardcode_direct_absolute_CXX
=yes
13302 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13303 # but as the default
13304 # location of the library.
13308 case $cc_basename in
13310 # FIXME: insert proper C++ library support
13316 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13319 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13322 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13325 # Commands to make compiler produce verbose output that lists
13326 # what "hidden" libraries, object files and flags are used when
13327 # linking a shared library.
13329 # There doesn't appear to be a way to prevent this compiler from
13330 # explicitly linking system object files so we need to strip them
13331 # from the output so that they don't get included in the library
13333 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"'
13336 if test "$GXX" = yes; then
13337 if test $with_gnu_ld = no
; then
13340 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13343 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13346 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'
13351 # FIXME: insert proper C++ library support
13359 hardcode_direct_CXX
=no
13360 hardcode_shlibpath_var_CXX
=no
13361 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13362 export_dynamic_flag_spec_CXX
='${wl}-E'
13363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13364 # Instead, shared libraries are loaded at an image base (0x10000000 by
13365 # default) and relocated if they conflict, which is a slow very memory
13366 # consuming and fragmenting process. To avoid this, we pick a random,
13367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13369 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'
13370 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'
13373 case $cc_basename in
13376 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'
13378 # Archives containing C++ object files must be created using
13379 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13380 # necessary to make sure instantiated templates are included
13382 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13385 if test "$GXX" = yes; then
13386 if test "$with_gnu_ld" = no
; then
13387 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'
13389 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'
13392 link_all_deplibs_CXX
=yes
13395 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13396 hardcode_libdir_separator_CXX
=:
13397 inherit_rpath_CXX
=yes
13400 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13401 case $cc_basename in
13403 # Kuck and Associates, Inc. (KAI) C++ Compiler
13405 # KCC will only create a shared library if the output file
13406 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13407 # to its proper name (with version) after linking.
13408 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'
13409 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'
13410 # Commands to make compiler produce verbose output that lists
13411 # what "hidden" libraries, object files and flags are used when
13412 # linking a shared library.
13414 # There doesn't appear to be a way to prevent this compiler from
13415 # explicitly linking system object files so we need to strip them
13416 # from the output so that they don't get included in the library
13418 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"'
13420 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13421 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13423 # Archives containing C++ object files must be created using
13424 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13425 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13430 # version 8.0 and above of icpc choke on multiply defined symbols
13431 # if we add $predep_objects and $postdep_objects, however 7.1 and
13432 # earlier do not add the objects themselves.
13433 case `$CC -V 2>&1` in
13435 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13436 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'
13438 *) # Version 8.0 or newer
13441 ia64
*) tmp_idyn
=' -i_dynamic';;
13443 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 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'
13447 archive_cmds_need_lc_CXX
=no
13448 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13449 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13450 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13453 # Portland Group C++ compiler
13455 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13456 prelink_cmds_CXX
='tpldir=Template.dir~
13458 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13459 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13460 old_archive_cmds_CXX
='tpldir=Template.dir~
13462 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13463 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13465 archive_cmds_CXX
='tpldir=Template.dir~
13467 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13468 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13469 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13471 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13472 $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'
13474 *) # Version 6 and above use weak symbols
13475 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13476 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'
13480 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13481 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13482 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'
13486 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13487 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'
13489 runpath_var
=LD_RUN_PATH
13490 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13491 hardcode_libdir_separator_CXX
=:
13493 # Commands to make compiler produce verbose output that lists
13494 # what "hidden" libraries, object files and flags are used when
13495 # linking a shared library.
13497 # There doesn't appear to be a way to prevent this compiler from
13498 # explicitly linking system object files so we need to strip them
13499 # from the output so that they don't get included in the library
13501 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'
13503 xl
* | mpixl
* | bgxl
*)
13504 # IBM XL 8.0 on PPC, with GNU ld
13505 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13506 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13507 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13508 if test "x$supports_anon_versioning" = xyes
; then
13509 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13510 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13511 echo "local: *; };" >> $output_objdir/$libname.ver~
13512 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13516 case `$CC -V 2>&1 | sed 5q` in
13519 no_undefined_flag_CXX
=' -zdefs'
13520 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13521 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'
13522 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13523 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'
13524 compiler_needs_object_CXX
=yes
13526 # Not sure whether something based on
13527 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13529 output_verbose_link_cmd
='func_echo_all'
13531 # Archives containing C++ object files must be created using
13532 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13533 # necessary to make sure instantiated templates are included
13535 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13543 # FIXME: insert proper C++ library support
13548 # FIXME: insert proper C++ library support
13553 case $cc_basename in
13555 # FIXME: insert proper C++ library support
13559 # FIXME: insert proper C++ library support
13566 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13567 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13569 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13570 hardcode_direct_CXX
=yes
13571 hardcode_shlibpath_var_CXX
=no
13573 # Workaround some broken pre-1.5 toolchains
13574 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13582 # C++ shared libraries are fairly broken
13587 if test -f /usr
/libexec
/ld.so
; then
13588 hardcode_direct_CXX
=yes
13589 hardcode_shlibpath_var_CXX
=no
13590 hardcode_direct_absolute_CXX
=yes
13591 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13592 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13593 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13594 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13595 export_dynamic_flag_spec_CXX
='${wl}-E'
13596 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13598 output_verbose_link_cmd
=func_echo_all
13604 osf3
* | osf4
* | osf5
*)
13605 case $cc_basename in
13607 # Kuck and Associates, Inc. (KAI) C++ Compiler
13609 # KCC will only create a shared library if the output file
13610 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13611 # to its proper name (with version) after linking.
13612 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'
13614 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13615 hardcode_libdir_separator_CXX
=:
13617 # Archives containing C++ object files must be created using
13618 # the KAI C++ compiler.
13620 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13621 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13625 # Rational C++ 2.4.1
13626 # FIXME: insert proper C++ library support
13632 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13633 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'
13634 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13637 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13638 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'
13639 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13640 echo "-hidden">> $lib.exp~
13641 $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~
13643 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13647 hardcode_libdir_separator_CXX
=:
13649 # Commands to make compiler produce verbose output that lists
13650 # what "hidden" libraries, object files and flags are used when
13651 # linking a shared library.
13653 # There doesn't appear to be a way to prevent this compiler from
13654 # explicitly linking system object files so we need to strip them
13655 # from the output so that they don't get included in the library
13657 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"'
13660 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13661 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13664 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'
13667 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'
13671 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13672 hardcode_libdir_separator_CXX
=:
13674 # Commands to make compiler produce verbose output that lists
13675 # what "hidden" libraries, object files and flags are used when
13676 # linking a shared library.
13677 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13680 # FIXME: insert proper C++ library support
13688 # FIXME: insert proper C++ library support
13693 case $cc_basename in
13696 # FIXME: insert proper C++ library support
13701 # FIXME: insert proper C++ library support
13705 # FIXME: insert proper C++ library support
13712 case $cc_basename in
13714 # Sun C++ 4.2, 5.x and Centerline C++
13715 archive_cmds_need_lc_CXX
=yes
13716 no_undefined_flag_CXX
=' -zdefs'
13717 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13718 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13719 $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'
13721 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13722 hardcode_shlibpath_var_CXX
=no
13724 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13726 # The compiler driver will combine and reorder linker options,
13727 # but understands `-z linker_flag'.
13728 # Supported since Solaris 2.6 (maybe 2.5.1?)
13729 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13732 link_all_deplibs_CXX
=yes
13734 output_verbose_link_cmd
='func_echo_all'
13736 # Archives containing C++ object files must be created using
13737 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13738 # necessary to make sure instantiated templates are included
13740 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13743 # Green Hills C++ Compiler
13744 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13746 # The C++ compiler must be used to create the archive.
13747 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13750 # GNU C++ compiler with Solaris linker
13751 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13752 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13753 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13754 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13755 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13756 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13758 # Commands to make compiler produce verbose output that lists
13759 # what "hidden" libraries, object files and flags are used when
13760 # linking a shared library.
13761 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13763 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13765 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13766 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13767 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13769 # Commands to make compiler produce verbose output that lists
13770 # what "hidden" libraries, object files and flags are used when
13771 # linking a shared library.
13772 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13775 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13777 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13779 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13787 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13788 no_undefined_flag_CXX
='${wl}-z,text'
13789 archive_cmds_need_lc_CXX
=no
13790 hardcode_shlibpath_var_CXX
=no
13791 runpath_var
='LD_RUN_PATH'
13793 case $cc_basename in
13795 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13796 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
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'
13805 sysv5
* | sco3.2v5
* | sco5v6
*)
13806 # Note: We can NOT use -z defs as we might desire, because we do not
13807 # link with -lc, and that would cause any symbols used from libc to
13808 # always be unresolved, which means just about no library would
13809 # ever link correctly. If we're not using GNU ld we use -z text
13810 # though, which does catch some bad symbols but isn't as heavy-handed
13812 no_undefined_flag_CXX
='${wl}-z,text'
13813 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13814 archive_cmds_need_lc_CXX
=no
13815 hardcode_shlibpath_var_CXX
=no
13816 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13817 hardcode_libdir_separator_CXX
=':'
13818 link_all_deplibs_CXX
=yes
13819 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13820 runpath_var
='LD_RUN_PATH'
13822 case $cc_basename in
13824 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13825 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13826 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13827 '"$old_archive_cmds_CXX"
13828 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13829 '"$reload_cmds_CXX"
13832 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13833 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13839 case $cc_basename in
13841 # NonStop-UX NCC 3.20
13842 # FIXME: insert proper C++ library support
13846 # FIXME: insert proper C++ library support
13853 # FIXME: insert proper C++ library support
13858 # FIXME: insert proper C++ library support
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13864 $as_echo "$ld_shlibs_CXX" >&6; }
13865 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13871 ## There is no encapsulation within the following macros, do not change
13872 ## the running order or otherwise move them around unless you know exactly
13873 ## what you are doing...
13874 # Dependencies to place before and after the object being linked:
13875 predep_objects_CXX
=
13876 postdep_objects_CXX
=
13879 compiler_lib_search_path_CXX
=
13881 cat > conftest.
$ac_ext <<_LT_EOF
13885 Foo (void) { a = 0; }
13892 _lt_libdeps_save_CFLAGS
=$CFLAGS
13893 case "$CC $CFLAGS " in #(
13894 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13895 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13899 (eval $ac_compile) 2>&5
13901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13902 test $ac_status = 0; }; then
13903 # Parse the compiler output and extract the necessary
13904 # objects, libraries and library flags.
13906 # Sentinel used to keep track of whether or not we are before
13907 # the conftest object file.
13908 pre_test_object_deps_done
=no
13910 for p
in `eval "$output_verbose_link_cmd"`; do
13911 case ${prev}${p} in
13914 # Some compilers place space between "-{L,R}" and the path.
13915 # Remove the space.
13916 if test $p = "-L" ||
13917 test $p = "-R"; then
13922 # Expand the sysroot to ease extracting the directories later.
13923 if test -z "$prev"; then
13925 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13926 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13927 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13931 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13933 if test "$pre_test_object_deps_done" = no
; then
13936 # Internal compiler library paths should come after those
13937 # provided the user. The postdeps already come after the
13938 # user supplied libs so there is no need to process them.
13939 if test -z "$compiler_lib_search_path_CXX"; then
13940 compiler_lib_search_path_CXX
="${prev}${p}"
13942 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13945 # The "-l" case would never come before the object being
13946 # linked, so don't bother handling this case.
13949 if test -z "$postdeps_CXX"; then
13950 postdeps_CXX
="${prev}${p}"
13952 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13958 *.lto.
$objext) ;; # Ignore GCC LTO objects
13960 # This assumes that the test object file only shows up
13961 # once in the compiler output.
13962 if test "$p" = "conftest.$objext"; then
13963 pre_test_object_deps_done
=yes
13967 if test "$pre_test_object_deps_done" = no
; then
13968 if test -z "$predep_objects_CXX"; then
13969 predep_objects_CXX
="$p"
13971 predep_objects_CXX
="$predep_objects_CXX $p"
13974 if test -z "$postdep_objects_CXX"; then
13975 postdep_objects_CXX
="$p"
13977 postdep_objects_CXX
="$postdep_objects_CXX $p"
13982 *) ;; # Ignore the rest.
13990 echo "libtool.m4: error: problem compiling CXX test program"
13993 $RM -f confest.
$objext
13994 CFLAGS
=$_lt_libdeps_save_CFLAGS
13996 # PORTME: override above test on systems where it is broken
13999 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14000 # hack all around it, let's just trust "g++" to DTRT.
14001 predep_objects_CXX
=
14002 postdep_objects_CXX
=
14007 case `$CC -V 2>&1 | sed 5q` in
14011 # The more standards-conforming stlport4 library is
14012 # incompatible with the Cstd library. Avoid specifying
14013 # it if it's in CXXFLAGS. Ignore libCrun as
14014 # -library=stlport4 depends on it.
14015 case " $CXX $CXXFLAGS " in
14016 *" -library=stlport4 "*)
14017 solaris_use_stlport4
=yes
14021 if test "$solaris_use_stlport4" != yes; then
14022 postdeps_CXX
='-library=Cstd -library=Crun'
14029 case $cc_basename in
14031 # The more standards-conforming stlport4 library is
14032 # incompatible with the Cstd library. Avoid specifying
14033 # it if it's in CXXFLAGS. Ignore libCrun as
14034 # -library=stlport4 depends on it.
14035 case " $CXX $CXXFLAGS " in
14036 *" -library=stlport4 "*)
14037 solaris_use_stlport4
=yes
14041 # Adding this requires a known-good setup of shared libraries for
14042 # Sun compiler versions before 5.6, else PIC objects from an old
14043 # archive will be linked into the output, leading to subtle bugs.
14044 if test "$solaris_use_stlport4" != yes; then
14045 postdeps_CXX
='-library=Cstd -library=Crun'
14053 case " $postdeps_CXX " in
14054 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14056 compiler_lib_search_dirs_CXX
=
14057 if test -n "${compiler_lib_search_path_CXX}"; then
14058 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14091 lt_prog_compiler_wl_CXX
=
14092 lt_prog_compiler_pic_CXX
=
14093 lt_prog_compiler_static_CXX
=
14096 # C++ specific cases for pic, static, wl, etc.
14097 if test "$GXX" = yes; then
14098 lt_prog_compiler_wl_CXX
='-Wl,'
14099 lt_prog_compiler_static_CXX
='-static'
14103 # All AIX code is PIC.
14104 if test "$host_cpu" = ia64
; then
14105 # AIX 5 now supports IA64 processor
14106 lt_prog_compiler_static_CXX
='-Bstatic'
14113 # see comment about AmigaOS4 .so support
14114 lt_prog_compiler_pic_CXX
='-fPIC'
14117 # FIXME: we need at least 68020 code to build shared libraries, but
14118 # adding the `-m68020' flag to GCC prevents building anything better,
14120 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14125 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14126 # PIC is the default for these OSes.
14128 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14129 # This hack is so that the source file can tell whether it is being
14130 # built for inclusion in a dll (and should export symbols for example).
14131 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14132 # (--disable-auto-import) libraries
14133 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14135 darwin
* | rhapsody
*)
14136 # PIC is the default on this platform
14137 # Common symbols not allowed in MH_DYLIB files
14138 lt_prog_compiler_pic_CXX
='-fno-common'
14141 # DJGPP does not support shared libraries at all
14142 lt_prog_compiler_pic_CXX
=
14145 # PIC is the default for Haiku.
14146 # The "-static" flag exists, but is broken.
14147 lt_prog_compiler_static_CXX
=
14150 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14151 # Instead, we relocate shared libraries at runtime.
14154 if test -d /usr
/nec
; then
14155 lt_prog_compiler_pic_CXX
=-Kconform_pic
14159 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14160 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14161 # sets the default TLS model and affects inlining.
14166 lt_prog_compiler_pic_CXX
='-fPIC'
14171 # QNX uses GNU C++, but need to define -shared option too, otherwise
14172 # it will coredump.
14173 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14176 lt_prog_compiler_pic_CXX
='-fPIC'
14182 # All AIX code is PIC.
14183 if test "$host_cpu" = ia64
; then
14184 # AIX 5 now supports IA64 processor
14185 lt_prog_compiler_static_CXX
='-Bstatic'
14187 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14191 case $cc_basename in
14193 # Green Hills C++ Compiler
14194 # _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"
14198 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14199 # This hack is so that the source file can tell whether it is being
14200 # built for inclusion in a dll (and should export symbols for example).
14201 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14204 case $cc_basename in
14206 lt_prog_compiler_pic_CXX
='-KPIC'
14209 # Green Hills C++ Compiler
14210 lt_prog_compiler_pic_CXX
='-pic'
14216 freebsd
* | dragonfly
*)
14217 # FreeBSD uses GNU C++
14219 hpux9
* | hpux10
* | hpux11
*)
14220 case $cc_basename in
14222 lt_prog_compiler_wl_CXX
='-Wl,'
14223 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14224 if test "$host_cpu" != ia64
; then
14225 lt_prog_compiler_pic_CXX
='+Z'
14229 lt_prog_compiler_wl_CXX
='-Wl,'
14230 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14236 lt_prog_compiler_pic_CXX
='+Z'
14245 # This is c89, which is MS Visual C++ (no shared libs)
14246 # Anyone wants to do a port?
14248 irix5
* | irix6
* | nonstopux
*)
14249 case $cc_basename in
14251 lt_prog_compiler_wl_CXX
='-Wl,'
14252 lt_prog_compiler_static_CXX
='-non_shared'
14253 # CC pic flag -KPIC is the default.
14259 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14260 case $cc_basename in
14263 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14264 lt_prog_compiler_pic_CXX
='-fPIC'
14267 # old Intel C++ for x86_64 which still supported -KPIC.
14268 lt_prog_compiler_wl_CXX
='-Wl,'
14269 lt_prog_compiler_pic_CXX
='-KPIC'
14270 lt_prog_compiler_static_CXX
='-static'
14273 # Intel C++, used to be incompatible with GCC.
14274 # ICC 10 doesn't accept -KPIC any more.
14275 lt_prog_compiler_wl_CXX
='-Wl,'
14276 lt_prog_compiler_pic_CXX
='-fPIC'
14277 lt_prog_compiler_static_CXX
='-static'
14280 # Portland Group C++ compiler
14281 lt_prog_compiler_wl_CXX
='-Wl,'
14282 lt_prog_compiler_pic_CXX
='-fpic'
14283 lt_prog_compiler_static_CXX
='-Bstatic'
14287 # Make sure the PIC flag is empty. It appears that all Alpha
14288 # Linux and Compaq Tru64 Unix objects are PIC.
14289 lt_prog_compiler_pic_CXX
=
14290 lt_prog_compiler_static_CXX
='-non_shared'
14292 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14293 # IBM XL 8.0, 9.0 on PPC and BlueGene
14294 lt_prog_compiler_wl_CXX
='-Wl,'
14295 lt_prog_compiler_pic_CXX
='-qpic'
14296 lt_prog_compiler_static_CXX
='-qstaticlink'
14299 case `$CC -V 2>&1 | sed 5q` in
14302 lt_prog_compiler_pic_CXX
='-KPIC'
14303 lt_prog_compiler_static_CXX
='-Bstatic'
14304 lt_prog_compiler_wl_CXX
='-Qoption ld '
14315 case $cc_basename in
14317 lt_prog_compiler_pic_CXX
='-W c,exportall'
14323 netbsd
* | netbsdelf
*-gnu)
14326 # QNX uses GNU C++, but need to define -shared option too, otherwise
14327 # it will coredump.
14328 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14330 osf3
* | osf4
* | osf5
*)
14331 case $cc_basename in
14333 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14336 # Rational C++ 2.4.1
14337 lt_prog_compiler_pic_CXX
='-pic'
14340 # Digital/Compaq C++
14341 lt_prog_compiler_wl_CXX
='-Wl,'
14342 # Make sure the PIC flag is empty. It appears that all Alpha
14343 # Linux and Compaq Tru64 Unix objects are PIC.
14344 lt_prog_compiler_pic_CXX
=
14345 lt_prog_compiler_static_CXX
='-non_shared'
14354 case $cc_basename in
14356 # Sun C++ 4.2, 5.x and Centerline C++
14357 lt_prog_compiler_pic_CXX
='-KPIC'
14358 lt_prog_compiler_static_CXX
='-Bstatic'
14359 lt_prog_compiler_wl_CXX
='-Qoption ld '
14362 # Green Hills C++ Compiler
14363 lt_prog_compiler_pic_CXX
='-PIC'
14370 case $cc_basename in
14373 lt_prog_compiler_pic_CXX
='-pic'
14374 lt_prog_compiler_static_CXX
='-Bstatic'
14378 lt_prog_compiler_pic_CXX
='-pic'
14384 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14385 case $cc_basename in
14387 lt_prog_compiler_wl_CXX
='-Wl,'
14388 lt_prog_compiler_pic_CXX
='-KPIC'
14389 lt_prog_compiler_static_CXX
='-Bstatic'
14394 case $cc_basename in
14396 # NonStop-UX NCC 3.20
14397 lt_prog_compiler_pic_CXX
='-KPIC'
14406 lt_prog_compiler_can_build_shared_CXX
=no
14412 # For platforms which do not support PIC, -DPIC is meaningless:
14414 lt_prog_compiler_pic_CXX
=
14417 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14422 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14423 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14424 $as_echo_n "(cached) " >&6
14426 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14429 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14430 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14433 # Check to make sure the PIC flag actually works.
14435 if test -n "$lt_prog_compiler_pic_CXX"; then
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14437 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14438 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14439 $as_echo_n "(cached) " >&6
14441 lt_cv_prog_compiler_pic_works_CXX
=no
14442 ac_outfile
=conftest.
$ac_objext
14443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14444 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14445 # Insert the option either (1) after the last *FLAGS variable, or
14446 # (2) before a word containing "conftest.", or (3) at the end.
14447 # Note that $ac_compile itself does not contain backslashes and begins
14448 # with a dollar sign (not a hyphen), so the echo should work correctly.
14449 # The option is referenced via a variable to avoid confusing sed.
14450 lt_compile
=`echo "$ac_compile" | $SED \
14451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14453 -e 's:$: $lt_compiler_flag:'`
14454 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14455 (eval "$lt_compile" 2>conftest.err
)
14457 cat conftest.err
>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 if (exit $ac_status) && test -s "$ac_outfile"; then
14460 # The compiler can only warn and ignore the option if not recognized
14461 # So say no if there are warnings other than the usual output.
14462 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14464 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14465 lt_cv_prog_compiler_pic_works_CXX
=yes
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14472 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14474 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14475 case $lt_prog_compiler_pic_CXX in
14477 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14480 lt_prog_compiler_pic_CXX
=
14481 lt_prog_compiler_can_build_shared_CXX
=no
14491 # Check to make sure the static flag actually works.
14493 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14495 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14496 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14497 $as_echo_n "(cached) " >&6
14499 lt_cv_prog_compiler_static_works_CXX
=no
14500 save_LDFLAGS
="$LDFLAGS"
14501 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14502 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14503 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14504 # The linker can only warn and ignore the option if not recognized
14505 # So say no if there are warnings
14506 if test -s conftest.err
; then
14507 # Append any errors to the config.log.
14508 cat conftest.err
1>&5
14509 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14510 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14511 if diff conftest.exp conftest.er2
>/dev
/null
; then
14512 lt_cv_prog_compiler_static_works_CXX
=yes
14515 lt_cv_prog_compiler_static_works_CXX
=yes
14519 LDFLAGS
="$save_LDFLAGS"
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14523 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14525 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14528 lt_prog_compiler_static_CXX
=
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14535 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14536 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14537 $as_echo_n "(cached) " >&6
14539 lt_cv_prog_compiler_c_o_CXX
=no
14540 $RM -r conftest
2>/dev
/null
14544 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14546 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14547 # Insert the option either (1) after the last *FLAGS variable, or
14548 # (2) before a word containing "conftest.", or (3) at the end.
14549 # Note that $ac_compile itself does not contain backslashes and begins
14550 # with a dollar sign (not a hyphen), so the echo should work correctly.
14551 lt_compile
=`echo "$ac_compile" | $SED \
14552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14554 -e 's:$: $lt_compiler_flag:'`
14555 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14556 (eval "$lt_compile" 2>out
/conftest.err
)
14558 cat out
/conftest.err
>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14562 # The compiler can only warn and ignore the option if not recognized
14563 # So say no if there are warnings
14564 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14565 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14566 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14567 lt_cv_prog_compiler_c_o_CXX
=yes
14572 # SGI C++ compiler will create directory out/ii_files/ for
14573 # template instantiation
14574 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14575 $RM out
/* && rmdir out
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14582 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14588 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14589 $as_echo_n "(cached) " >&6
14591 lt_cv_prog_compiler_c_o_CXX
=no
14592 $RM -r conftest
2>/dev
/null
14596 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14598 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14599 # Insert the option either (1) after the last *FLAGS variable, or
14600 # (2) before a word containing "conftest.", or (3) at the end.
14601 # Note that $ac_compile itself does not contain backslashes and begins
14602 # with a dollar sign (not a hyphen), so the echo should work correctly.
14603 lt_compile
=`echo "$ac_compile" | $SED \
14604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14606 -e 's:$: $lt_compiler_flag:'`
14607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14608 (eval "$lt_compile" 2>out
/conftest.err
)
14610 cat out
/conftest.err
>&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14614 # The compiler can only warn and ignore the option if not recognized
14615 # So say no if there are warnings
14616 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14617 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14618 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14619 lt_cv_prog_compiler_c_o_CXX
=yes
14624 # SGI C++ compiler will create directory out/ii_files/ for
14625 # template instantiation
14626 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14627 $RM out
/* && rmdir out
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14634 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14639 hard_links
="nottested"
14640 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14641 # do not overwrite the value of need_locks provided by the user
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14643 $as_echo_n "checking if we can lock with hard links... " >&6; }
14646 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14648 ln conftest.a conftest.b
2>&5 || hard_links
=no
14649 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14651 $as_echo "$hard_links" >&6; }
14652 if test "$hard_links" = no
; then
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14654 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14664 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14666 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14667 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14670 # If we're using GNU nm, then we don't want the "-C" option.
14671 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14672 # Also, AIX nm treats weak defined symbols like other global defined
14673 # symbols, whereas GNU nm marks them as "W".
14674 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14675 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'
14677 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'
14681 export_symbols_cmds_CXX
="$ltdll_cmds"
14683 cygwin
* | mingw
* | cegcc
*)
14684 case $cc_basename in
14687 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'
14688 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14692 linux
* | k
*bsd
*-gnu | gnu
*)
14693 link_all_deplibs_CXX
=no
14696 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14701 $as_echo "$ld_shlibs_CXX" >&6; }
14702 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14704 with_gnu_ld_CXX
=$with_gnu_ld
14712 # Do we need to explicitly link libc?
14714 case "x$archive_cmds_need_lc_CXX" in
14716 # Assume -lc should be added
14717 archive_cmds_need_lc_CXX
=yes
14719 if test "$enable_shared" = yes && test "$GCC" = yes; then
14720 case $archive_cmds_CXX in
14722 # FIXME: we may have to deal with multi-command sequences.
14725 # Test whether the compiler implicitly links with -lc since on some
14726 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14727 # to ld, don't add -lc before -lgcc.
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14729 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14730 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14731 $as_echo_n "(cached) " >&6
14734 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14737 (eval $ac_compile) 2>&5
14739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14740 test $ac_status = 0; } 2>conftest.err
; then
14743 libobjs
=conftest.
$ac_objext
14745 wl
=$lt_prog_compiler_wl_CXX
14746 pic_flag
=$lt_prog_compiler_pic_CXX
14752 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14753 allow_undefined_flag_CXX
=
14754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14755 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14758 test $ac_status = 0; }
14760 lt_cv_archive_cmds_need_lc_CXX
=no
14762 lt_cv_archive_cmds_need_lc_CXX
=yes
14764 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14766 cat conftest.err
1>&5
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14772 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14773 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14844 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14846 library_names_spec
=
14847 libname_spec
='lib$name'
14851 postuninstall_cmds
=
14855 shlibpath_overrides_runpath
=unknown
14857 dynamic_linker
="$host_os ld.so"
14858 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14859 need_lib_prefix
=unknown
14860 hardcode_into_libs
=no
14862 # when you set need_version to no, make sure it does not cause -set_version
14863 # flags to be left without arguments
14864 need_version
=unknown
14869 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14870 shlibpath_var
=LIBPATH
14872 # AIX 3 has no versioning support, so we append a major version to the name.
14873 soname_spec
='${libname}${release}${shared_ext}$major'
14880 hardcode_into_libs
=yes
14881 if test "$host_cpu" = ia64
; then
14882 # AIX 5 supports IA64
14883 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14884 shlibpath_var
=LD_LIBRARY_PATH
14886 # With GCC up to 2.95.x, collect2 would create an import file
14887 # for dependence libraries. The import file would start with
14888 # the line `#! .'. This would cause the generated library to
14889 # depend on `.', always an invalid library. This was fixed in
14890 # development snapshots of GCC prior to 3.0.
14892 aix4 | aix4.
[01] | aix4.
[01].
*)
14893 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14895 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14898 can_build_shared
=no
14902 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14903 # soname into executable. Probably we can add versioning support to
14904 # collect2, so additional links can be useful in future.
14905 if test "$aix_use_runtimelinking" = yes; then
14906 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14907 # instead of lib<name>.a to let people know that these are not
14908 # typical AIX shared libraries.
14909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14911 # We preserve .a as extension for shared libraries through AIX4.2
14912 # and later when we are not doing run time linking.
14913 library_names_spec
='${libname}${release}.a $libname.a'
14914 soname_spec
='${libname}${release}${shared_ext}$major'
14916 shlibpath_var
=LIBPATH
14923 # Since July 2007 AmigaOS4 officially supports .so libraries.
14924 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14928 library_names_spec
='$libname.ixlibrary $libname.a'
14929 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14930 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'
14936 library_names_spec
='${libname}${shared_ext}'
14937 dynamic_linker
="$host_os ld.so"
14938 shlibpath_var
=LIBRARY_PATH
14944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14945 soname_spec
='${libname}${release}${shared_ext}$major'
14946 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14947 shlibpath_var
=LD_LIBRARY_PATH
14948 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14949 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14950 # the default ld.so.conf also contains /usr/contrib/lib and
14951 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14952 # libtool to hard-code these into programs
14955 cygwin
* | mingw
* | pw32
* | cegcc
*)
14956 version_type
=windows
14961 case $GCC,$cc_basename in
14964 library_names_spec
='$libname.dll.a'
14965 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14966 postinstall_cmds
='base_file=`basename \${file}`~
14967 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14968 dldir=$destdir/`dirname \$dlpath`~
14969 test -d \$dldir || mkdir -p \$dldir~
14970 $install_prog $dir/$dlname \$dldir/$dlname~
14971 chmod a+x \$dldir/$dlname~
14972 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14973 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14975 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14976 dlpath=$dir/\$dldll~
14978 shlibpath_overrides_runpath
=yes
14982 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14983 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14987 # MinGW DLLs use traditional 'lib' prefix
14988 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14991 # pw32 DLLs use 'pw' prefix rather than 'lib'
14992 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14995 dynamic_linker
='Win32 ld.exe'
15000 libname_spec
='$name'
15001 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15002 library_names_spec
='${libname}.dll.lib'
15006 sys_lib_search_path_spec
=
15009 for lt_path
in $LIB
15012 # Let DOS variable expansion print the short 8.3 style file name.
15013 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15014 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15017 # Convert to MSYS style.
15018 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15021 # Convert to unix form, then to dos form, then back to unix form
15022 # but this time dos style (no spaces!) so that the unix form looks
15023 # like /cygdrive/c/PROGRA~1:/cygdr...
15024 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15025 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15026 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15029 sys_lib_search_path_spec
="$LIB"
15030 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15031 # It is most probably a Windows format PATH.
15032 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15034 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15036 # FIXME: find the short name or the path components, as spaces are
15037 # common. (e.g. "Program Files" -> "PROGRA~1")
15041 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15042 postinstall_cmds
='base_file=`basename \${file}`~
15043 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15044 dldir=$destdir/`dirname \$dlpath`~
15045 test -d \$dldir || mkdir -p \$dldir~
15046 $install_prog $dir/$dlname \$dldir/$dlname'
15047 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15048 dlpath=$dir/\$dldll~
15050 shlibpath_overrides_runpath
=yes
15051 dynamic_linker
='Win32 link.exe'
15055 # Assume MSVC wrapper
15056 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15057 dynamic_linker
='Win32 ld.exe'
15060 # FIXME: first we should search . and the directory the executable is in
15064 darwin
* | rhapsody
*)
15065 dynamic_linker
="$host_os dyld"
15066 version_type
=darwin
15069 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15070 soname_spec
='${libname}${release}${major}$shared_ext'
15071 shlibpath_overrides_runpath
=yes
15072 shlibpath_var
=DYLD_LIBRARY_PATH
15073 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15075 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15083 soname_spec
='${libname}${release}${shared_ext}$major'
15084 shlibpath_var
=LD_LIBRARY_PATH
15091 freebsd
* | dragonfly
*)
15092 # DragonFly does not have aout. When/if they implement a new
15093 # versioning mechanism, adjust this.
15094 if test -x /usr
/bin
/objformat
; then
15095 objformat
=`/usr/bin/objformat`
15098 freebsd
[123]*) objformat
=aout
;;
15099 *) objformat
=elf
;;
15102 version_type
=freebsd-
$objformat
15103 case $version_type in
15105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15110 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15114 shlibpath_var
=LD_LIBRARY_PATH
15117 shlibpath_overrides_runpath
=yes
15119 freebsd3.
[01]* | freebsdelf3.
[01]*)
15120 shlibpath_overrides_runpath
=yes
15121 hardcode_into_libs
=yes
15123 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15124 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15125 shlibpath_overrides_runpath
=no
15126 hardcode_into_libs
=yes
15128 *) # from 4.6 on, and DragonFly
15129 shlibpath_overrides_runpath
=yes
15130 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
15142 shlibpath_overrides_runpath
=no
15143 hardcode_into_libs
=yes
15150 dynamic_linker
="$host_os runtime_loader"
15151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15152 soname_spec
='${libname}${release}${shared_ext}$major'
15153 shlibpath_var
=LIBRARY_PATH
15154 shlibpath_overrides_runpath
=yes
15155 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15156 hardcode_into_libs
=yes
15159 hpux9
* | hpux10
* | hpux11
*)
15160 # Give a soname corresponding to the major version so that dld.sl refuses to
15161 # link against other versions.
15168 hardcode_into_libs
=yes
15169 dynamic_linker
="$host_os dld.so"
15170 shlibpath_var
=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 if test "X$HPUX_IA64_MODE" = X32
; then
15175 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15177 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15179 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15183 hardcode_into_libs
=yes
15184 dynamic_linker
="$host_os dld.sl"
15185 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15186 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15188 soname_spec
='${libname}${release}${shared_ext}$major'
15189 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15190 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15194 dynamic_linker
="$host_os dld.sl"
15195 shlibpath_var
=SHLIB_PATH
15196 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15198 soname_spec
='${libname}${release}${shared_ext}$major'
15201 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15202 postinstall_cmds
='chmod 555 $lib'
15203 # or fails outright, so override atomically:
15204 install_override_mode
=555
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15212 soname_spec
='${libname}${release}${shared_ext}$major'
15213 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15214 shlibpath_var
=LD_LIBRARY_PATH
15215 shlibpath_overrides_runpath
=no
15216 hardcode_into_libs
=yes
15219 irix5
* | irix6
* | nonstopux
*)
15221 nonstopux
*) version_type
=nonstopux
;;
15223 if test "$lt_cv_prog_gnu_ld" = yes; then
15231 soname_spec
='${libname}${release}${shared_ext}$major'
15232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15234 irix5
* | nonstopux
*)
15235 libsuff
= shlibsuff
=
15238 case $LD in # libtool.m4 will add one of these switches to LD
15239 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15240 libsuff
= shlibsuff
= libmagic
=32-bit;;
15241 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15242 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15243 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15244 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15245 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15249 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15250 shlibpath_overrides_runpath
=no
15251 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15252 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15253 hardcode_into_libs
=yes
15256 # No shared lib support for Linux oldld, aout, or coff.
15257 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15261 # This must be Linux ELF.
15262 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15267 soname_spec
='${libname}${release}${shared_ext}$major'
15268 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15269 shlibpath_var
=LD_LIBRARY_PATH
15270 shlibpath_overrides_runpath
=no
15272 # Some binutils ld are patched to set DT_RUNPATH
15273 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15274 $as_echo_n "(cached) " >&6
15276 lt_cv_shlibpath_overrides_runpath
=no
15277 save_LDFLAGS
=$LDFLAGS
15278 save_libdir
=$libdir
15279 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15280 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15292 if ac_fn_cxx_try_link
"$LINENO"; then :
15293 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15294 lt_cv_shlibpath_overrides_runpath
=yes
15297 rm -f core conftest.err conftest.
$ac_objext \
15298 conftest
$ac_exeext conftest.
$ac_ext
15299 LDFLAGS
=$save_LDFLAGS
15300 libdir
=$save_libdir
15304 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15306 # This implies no fast_install, which is unacceptable.
15307 # Some rework will be needed to allow for fast_install
15308 # before this can be enabled.
15309 hardcode_into_libs
=yes
15311 # Append ld.so.conf contents to the search path
15312 if test -f /etc
/ld.so.conf
; then
15313 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' ' '`
15314 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15317 # We used to test for /lib/ld.so.1 and disable shared libraries on
15318 # powerpc, because MkLinux only supported shared libraries with the
15319 # GNU dynamic linker. Since this was broken with cross compilers,
15320 # most powerpc-linux boxes support dynamic linking these days and
15321 # people can always --disable-shared, the test was removed, and we
15322 # assume the GNU/Linux dynamic linker is in use.
15323 dynamic_linker
='GNU/Linux ld.so'
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15331 soname_spec
='${libname}${release}${shared_ext}$major'
15332 shlibpath_var
=LD_LIBRARY_PATH
15333 shlibpath_overrides_runpath
=no
15334 hardcode_into_libs
=yes
15335 dynamic_linker
='NetBSD ld.elf_so'
15342 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15344 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15345 dynamic_linker
='NetBSD (a.out) ld.so'
15347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15348 soname_spec
='${libname}${release}${shared_ext}$major'
15349 dynamic_linker
='NetBSD ld.elf_so'
15351 shlibpath_var
=LD_LIBRARY_PATH
15352 shlibpath_overrides_runpath
=yes
15353 hardcode_into_libs
=yes
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15359 shlibpath_var
=LD_LIBRARY_PATH
15360 shlibpath_overrides_runpath
=yes
15367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15368 soname_spec
='${libname}${release}${shared_ext}$major'
15369 shlibpath_var
=LD_LIBRARY_PATH
15370 shlibpath_overrides_runpath
=no
15371 hardcode_into_libs
=yes
15372 dynamic_linker
='ldqnx.so'
15377 sys_lib_dlsearch_path_spec
="/usr/lib"
15379 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15381 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15382 *) need_version
=no
;;
15384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15385 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15386 shlibpath_var
=LD_LIBRARY_PATH
15387 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15389 openbsd2.
[89] | openbsd2.
[89].
*)
15390 shlibpath_overrides_runpath
=no
15393 shlibpath_overrides_runpath
=yes
15397 shlibpath_overrides_runpath
=yes
15402 libname_spec
='$name'
15405 library_names_spec
='$libname${shared_ext} $libname.a'
15406 dynamic_linker
='OS/2 ld.exe'
15407 shlibpath_var
=LIBPATH
15410 osf3
* | osf4
* | osf5
*)
15414 soname_spec
='${libname}${release}${shared_ext}$major'
15415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416 shlibpath_var
=LD_LIBRARY_PATH
15417 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15418 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430 soname_spec
='${libname}${release}${shared_ext}$major'
15431 shlibpath_var
=LD_LIBRARY_PATH
15432 shlibpath_overrides_runpath
=yes
15433 hardcode_into_libs
=yes
15434 # ldd complains unless libraries are executable
15435 postinstall_cmds
='chmod +x $lib'
15440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15441 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15442 shlibpath_var
=LD_LIBRARY_PATH
15443 shlibpath_overrides_runpath
=yes
15444 if test "$with_gnu_ld" = yes; then
15452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15453 soname_spec
='${libname}${release}${shared_ext}$major'
15454 shlibpath_var
=LD_LIBRARY_PATH
15455 case $host_vendor in
15457 shlibpath_overrides_runpath
=no
15459 runpath_var
=LD_RUN_PATH
15467 shlibpath_overrides_runpath
=no
15468 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15474 if test -d /usr
/nec
;then
15476 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15477 soname_spec
='$libname${shared_ext}.$major'
15478 shlibpath_var
=LD_LIBRARY_PATH
15482 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15483 version_type
=freebsd-elf
15486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15487 soname_spec
='${libname}${release}${shared_ext}$major'
15488 shlibpath_var
=LD_LIBRARY_PATH
15489 shlibpath_overrides_runpath
=yes
15490 hardcode_into_libs
=yes
15491 if test "$with_gnu_ld" = yes; then
15492 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15494 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15497 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15501 sys_lib_dlsearch_path_spec
='/usr/lib'
15505 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15510 shlibpath_var
=LD_LIBRARY_PATH
15511 shlibpath_overrides_runpath
=no
15512 hardcode_into_libs
=yes
15517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15518 soname_spec
='${libname}${release}${shared_ext}$major'
15519 shlibpath_var
=LD_LIBRARY_PATH
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15527 $as_echo "$dynamic_linker" >&6; }
15528 test "$dynamic_linker" = no
&& can_build_shared
=no
15530 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15531 if test "$GCC" = yes; then
15532 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15535 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15536 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15538 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15539 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15580 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15581 hardcode_action_CXX
=
15582 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15583 test -n "$runpath_var_CXX" ||
15584 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15586 # We can hardcode non-existent directories.
15587 if test "$hardcode_direct_CXX" != no
&&
15588 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15589 # have to relink, otherwise we might link with an installed library
15590 # when we should be linking with a yet-to-be-installed one
15591 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15592 test "$hardcode_minus_L_CXX" != no
; then
15593 # Linking always hardcodes the temporary library directory.
15594 hardcode_action_CXX
=relink
15596 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15597 hardcode_action_CXX
=immediate
15600 # We cannot hardcode anything, or else we can only hardcode existing
15602 hardcode_action_CXX
=unsupported
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15605 $as_echo "$hardcode_action_CXX" >&6; }
15607 if test "$hardcode_action_CXX" = relink ||
15608 test "$inherit_rpath_CXX" = yes; then
15609 # Fast installation is not supported
15610 enable_fast_install
=no
15611 elif test "$shlibpath_overrides_runpath" = yes ||
15612 test "$enable_shared" = no
; then
15613 # Fast installation is not necessary
15614 enable_fast_install
=needless
15623 fi # test -n "$compiler"
15626 CFLAGS
=$lt_save_CFLAGS
15630 with_gnu_ld
=$lt_save_with_gnu_ld
15631 lt_cv_path_LDCXX
=$lt_cv_path_LD
15632 lt_cv_path_LD
=$lt_save_path_LD
15633 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15634 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15635 fi # test "$_lt_caught_CXX_error" != yes
15638 ac_cpp
='$CPP $CPPFLAGS'
15639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15655 ac_config_commands
="$ac_config_commands libtool"
15660 # Only expand once:
15663 if test -n "$ac_tool_prefix"; then
15664 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15665 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15667 $as_echo_n "checking for $ac_word... " >&6; }
15668 if ${ac_cv_prog_RC+:} false
; then :
15669 $as_echo_n "(cached) " >&6
15671 if test -n "$RC"; then
15672 ac_cv_prog_RC
="$RC" # Let the user override the test.
15674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15675 for as_dir
in $PATH
15678 test -z "$as_dir" && as_dir
=.
15679 for ac_exec_ext
in '' $ac_executable_extensions; do
15680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15681 ac_cv_prog_RC
="${ac_tool_prefix}windres"
15682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15692 if test -n "$RC"; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
15694 $as_echo "$RC" >&6; }
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15697 $as_echo "no" >&6; }
15702 if test -z "$ac_cv_prog_RC"; then
15704 # Extract the first word of "windres", so it can be a program name with args.
15705 set dummy windres
; ac_word
=$2
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15707 $as_echo_n "checking for $ac_word... " >&6; }
15708 if ${ac_cv_prog_ac_ct_RC+:} false
; then :
15709 $as_echo_n "(cached) " >&6
15711 if test -n "$ac_ct_RC"; then
15712 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
15714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15715 for as_dir
in $PATH
15718 test -z "$as_dir" && as_dir
=.
15719 for ac_exec_ext
in '' $ac_executable_extensions; do
15720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15721 ac_cv_prog_ac_ct_RC
="windres"
15722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15731 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
15732 if test -n "$ac_ct_RC"; then
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
15734 $as_echo "$ac_ct_RC" >&6; }
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15737 $as_echo "no" >&6; }
15740 if test "x$ac_ct_RC" = x
; then
15743 case $cross_compiling:$ac_tool_warned in
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15747 ac_tool_warned
=yes ;;
15752 RC
="$ac_cv_prog_RC"
15757 # Source file extension for RC test sources.
15760 # Object file extension for compiled RC test sources.
15764 # Code to be used in simple compile tests
15765 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
15767 # Code to be used in simple link tests
15768 lt_simple_link_test_code
="$lt_simple_compile_test_code"
15770 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15777 # If no C compiler was specified, use CC.
15780 # If no C compiler flags were specified, use CFLAGS.
15781 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15783 # Allow CC to be a program name with arguments.
15787 # save warnings/boilerplate of simple test code
15788 ac_outfile
=conftest.
$ac_objext
15789 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15790 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15791 _lt_compiler_boilerplate
=`cat conftest.err`
15794 ac_outfile
=conftest.
$ac_objext
15795 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15796 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15797 _lt_linker_boilerplate
=`cat conftest.err`
15801 # Allow CC to be a program name with arguments.
15803 lt_save_CFLAGS
=$CFLAGS
15810 for cc_temp
in $compiler""; do
15812 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15813 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15818 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15820 lt_cv_prog_compiler_c_o_RC
=yes
15822 if test -n "$compiler"; then
15831 ac_cpp
='$CPP $CPPFLAGS'
15832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15837 CFLAGS
=$lt_save_CFLAGS
15840 # Extract the first word of "autogen", so it can be a program name with args.
15841 set dummy autogen
; ac_word
=$2
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15843 $as_echo_n "checking for $ac_word... " >&6; }
15844 if ${ac_cv_prog_HAVE_AUTOGEN+:} false
; then :
15845 $as_echo_n "(cached) " >&6
15847 if test -n "$HAVE_AUTOGEN"; then
15848 ac_cv_prog_HAVE_AUTOGEN
="$HAVE_AUTOGEN" # Let the user override the test.
15850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15851 for as_dir
in $PATH
15854 test -z "$as_dir" && as_dir
=.
15855 for ac_exec_ext
in '' $ac_executable_extensions; do
15856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15857 ac_cv_prog_HAVE_AUTOGEN
="yes"
15858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15865 test -z "$ac_cv_prog_HAVE_AUTOGEN" && ac_cv_prog_HAVE_AUTOGEN
="no"
15868 HAVE_AUTOGEN
=$ac_cv_prog_HAVE_AUTOGEN
15869 if test -n "$HAVE_AUTOGEN"; then
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_AUTOGEN" >&5
15871 $as_echo "$HAVE_AUTOGEN" >&6; }
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15874 $as_echo "no" >&6; }
15878 # Extract the first word of "wine", so it can be a program name with args.
15879 set dummy wine
; ac_word
=$2
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15881 $as_echo_n "checking for $ac_word... " >&6; }
15882 if ${ac_cv_prog_HAVE_WINE+:} false
; then :
15883 $as_echo_n "(cached) " >&6
15885 if test -n "$HAVE_WINE"; then
15886 ac_cv_prog_HAVE_WINE
="$HAVE_WINE" # Let the user override the test.
15888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15889 for as_dir
in $PATH
15892 test -z "$as_dir" && as_dir
=.
15893 for ac_exec_ext
in '' $ac_executable_extensions; do
15894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15895 ac_cv_prog_HAVE_WINE
="yes"
15896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15903 test -z "$ac_cv_prog_HAVE_WINE" && ac_cv_prog_HAVE_WINE
="no"
15906 HAVE_WINE
=$ac_cv_prog_HAVE_WINE
15907 if test -n "$HAVE_WINE"; then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_WINE" >&5
15909 $as_echo "$HAVE_WINE" >&6; }
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15912 $as_echo "no" >&6; }
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15919 $as_echo_n "checking whether ln -s works... " >&6; }
15921 if test "$LN_S" = "ln -s"; then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15923 $as_echo "yes" >&6; }
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15926 $as_echo "no, using $LN_S" >&6; }
15930 #------------------------------------------------------------------------------------
15931 # Rules for library version information:
15933 # 1. Start with version information of `0:0:0' for each libtool library.
15934 # 2. Update the version information only immediately before a public release of
15935 # your software. More frequent updates are unnecessary, and only guarantee
15936 # that the current interface number gets larger faster.
15937 # 3. If the library source code has changed at all since the last update, then
15938 # increment revision (`c:r:a' becomes `c:r+1:a').
15939 # 4. If any interfaces have been added, removed, or changed since the last update,
15940 # increment current, and set revision to 0.
15941 # 5. If any interfaces have been added since the last public release, then increment
15943 # 6. If any interfaces have been removed since the last public release, then set age
15946 CLEAN_VERSION
=`echo $PACKAGE_VERSION | $SED "s/p.*//"`
15947 VERSION_MINOR
=`echo $CLEAN_VERSION | $SED "s/.*\.//"`
15949 SHARED_VERSION_INFO
="1:$VERSION_MINOR:0"
15951 #------------------------------------------------------------------------------------
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15954 $as_echo_n "checking for ANSI C header files... " >&6; }
15955 if ${ac_cv_header_stdc+:} false
; then :
15956 $as_echo_n "(cached) " >&6
15958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15960 #include <stdlib.h>
15961 #include <stdarg.h>
15962 #include <string.h>
15973 if ac_fn_c_try_compile
"$LINENO"; then :
15974 ac_cv_header_stdc
=yes
15976 ac_cv_header_stdc
=no
15978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15980 if test $ac_cv_header_stdc = yes; then
15981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15984 #include <string.h>
15987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15988 $EGREP "memchr" >/dev
/null
2>&1; then :
15991 ac_cv_header_stdc
=no
15997 if test $ac_cv_header_stdc = yes; then
15998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 #include <stdlib.h>
16004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16005 $EGREP "free" >/dev
/null
2>&1; then :
16008 ac_cv_header_stdc
=no
16014 if test $ac_cv_header_stdc = yes; then
16015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16016 if test "$cross_compiling" = yes; then :
16019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16022 #include <stdlib.h>
16023 #if ((' ' & 0x0FF) == 0x020)
16024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16027 # define ISLOWER(c) \
16028 (('a' <= (c) && (c) <= 'i') \
16029 || ('j' <= (c) && (c) <= 'r') \
16030 || ('s' <= (c) && (c) <= 'z'))
16031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16039 for (i = 0; i < 256; i++)
16040 if (XOR (islower (i), ISLOWER (i))
16041 || toupper (i) != TOUPPER (i))
16046 if ac_fn_c_try_run
"$LINENO"; then :
16049 ac_cv_header_stdc
=no
16051 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16052 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16058 $as_echo "$ac_cv_header_stdc" >&6; }
16059 if test $ac_cv_header_stdc = yes; then
16061 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16066 for ac_header
in endian.h
16068 ac_fn_c_check_header_mongrel
"$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
16069 if test "x$ac_cv_header_endian_h" = xyes
; then :
16070 cat >>confdefs.h
<<_ACEOF
16071 #define HAVE_ENDIAN_H 1
16078 for ac_header
in byteswap.h
16080 ac_fn_c_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
16081 if test "x$ac_cv_header_byteswap_h" = xyes
; then :
16082 cat >>confdefs.h
<<_ACEOF
16083 #define HAVE_BYTESWAP_H 1
16090 for ac_header
in locale.h
16092 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
16093 if test "x$ac_cv_header_locale_h" = xyes
; then :
16094 cat >>confdefs.h
<<_ACEOF
16095 #define HAVE_LOCALE_H 1
16102 for ac_header
in sys
/time.h
16104 ac_fn_c_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
16105 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_SYS_TIME_H 1
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
16116 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
16117 if ${ac_cv_header_sys_wait_h+:} false
; then :
16118 $as_echo_n "(cached) " >&6
16120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 #include <sys/types.h>
16123 #include <sys/wait.h>
16124 #ifndef WEXITSTATUS
16125 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
16128 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
16136 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
16141 if ac_fn_c_try_compile
"$LINENO"; then :
16142 ac_cv_header_sys_wait_h
=yes
16144 ac_cv_header_sys_wait_h
=no
16146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
16149 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
16150 if test $ac_cv_header_sys_wait_h = yes; then
16152 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
16157 ac_fn_c_check_decl
"$LINENO" "S_IRGRP" "ac_cv_have_decl_S_IRGRP" "$ac_includes_default"
16158 if test "x$ac_cv_have_decl_S_IRGRP" = xyes
; then :
16164 cat >>confdefs.h
<<_ACEOF
16165 #define HAVE_DECL_S_IRGRP $ac_have_decl
16168 if test x
$ac_cv_have_decl_S_IRGRP = xyes
; then
16170 cat >>confdefs.h
<<_ACEOF
16171 #define HAVE_DECL_S_IRGRP 1
16175 cat >>confdefs.h
<<_ACEOF
16176 #define HAVE_DECL_S_IRGRP 0
16181 if test "$build_os:$target_os:$host_os:$HAVE_WINE" = "linux-gnu:mingw32msvc:mingw32msvc:yes"; then
16182 LINUX_MINGW_CROSS_TEST_TRUE
=
16183 LINUX_MINGW_CROSS_TEST_FALSE
='#'
16185 LINUX_MINGW_CROSS_TEST_TRUE
='#'
16186 LINUX_MINGW_CROSS_TEST_FALSE
=
16190 #====================================================================================
16191 # Check for support of the struct hack.
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking C99 struct flexible array support" >&5
16194 $as_echo_n "checking C99 struct flexible array support... " >&6; }
16195 if ${ac_cv_c99_flexible_array+:} false
; then :
16196 $as_echo_n "(cached) " >&6
16198 # Initialize to unknown
16199 ac_cv_c99_flexible_array
=no
16201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16204 #include <stdlib.h>
16213 MY_STRUCT *p = calloc (1, sizeof (MY_STRUCT) + 42);
16218 if ac_fn_c_try_link
"$LINENO"; then :
16219 ac_cv_c99_flexible_array
=yes
16221 ac_cv_c99_flexible_array
=no
16224 rm -f core conftest.err conftest.
$ac_objext \
16225 conftest
$ac_exeext conftest.
$ac_ext
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_flexible_array" >&5
16228 $as_echo "$ac_cv_c99_flexible_array" >&6; }
16231 if test x
$ac_cv_c99_flexible_array = xyes
; then
16233 $as_echo "#define HAVE_FLEXIBLE_ARRAY 1" >>confdefs.h
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** This compiler does not support the 1999 ISO C Standard ***" >&5
16237 $as_echo "$as_me: WARNING: *** This compiler does not support the 1999 ISO C Standard ***" >&2;}
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** feature known as the flexible array struct member. ***" >&5
16239 $as_echo "$as_me: WARNING: *** feature known as the flexible array struct member. ***" >&2;}
16240 $as_echo "#define HAVE_FLEXIBLE_ARRAY 0" >>confdefs.h
16244 #====================================================================================
16245 # Couple of initializations here. Fill in real values later.
16247 SHLIB_VERSION_ARG
=""
16249 #====================================================================================
16250 # Finished checking, handle options.
16252 # Check whether --enable-experimental was given.
16253 if test "${enable_experimental+set}" = set; then :
16254 enableval
=$enable_experimental;
16258 EXPERIMENTAL_CODE
=0
16259 if test x
$enable_experimental = xyes
; then
16260 EXPERIMENTAL_CODE
=1
16263 cat >>confdefs.h
<<_ACEOF
16264 #define ENABLE_EXPERIMENTAL_CODE ${EXPERIMENTAL_CODE}
16268 # Check whether --enable-gcc-werror was given.
16269 if test "${enable_gcc_werror+set}" = set; then :
16270 enableval
=$enable_gcc_werror;
16274 # Check whether --enable-gcc-pipe was given.
16275 if test "${enable_gcc_pipe+set}" = set; then :
16276 enableval
=$enable_gcc_pipe;
16280 # Check whether --enable-gcc-opt was given.
16281 if test "${enable_gcc_opt+set}" = set; then :
16282 enableval
=$enable_gcc_opt;
16286 # Check whether --enable-cpu-clip was given.
16287 if test "${enable_cpu_clip+set}" = set; then :
16288 enableval
=$enable_cpu_clip;
16292 # Check whether --enable-bow-docs was given.
16293 if test "${enable_bow_docs+set}" = set; then :
16294 enableval
=$enable_bow_docs;
16298 # Check whether --enable-sqlite was given.
16299 if test "${enable_sqlite+set}" = set; then :
16300 enableval
=$enable_sqlite;
16304 # Check whether --enable-alsa was given.
16305 if test "${enable_alsa+set}" = set; then :
16306 enableval
=$enable_alsa;
16310 # Check whether --enable-external-libs was given.
16311 if test "${enable_external_libs+set}" = set; then :
16312 enableval
=$enable_external_libs;
16316 # Check whether --enable-octave was given.
16317 if test "${enable_octave+set}" = set; then :
16318 enableval
=$enable_octave;
16322 # Check whether --enable-test-coverage was given.
16323 if test "${enable_test_coverage+set}" = set; then :
16324 enableval
=$enable_test_coverage;
16327 if test "$enable_test_coverage" = yes; then
16328 ENABLE_TEST_COVERAGE_TRUE
=
16329 ENABLE_TEST_COVERAGE_FALSE
='#'
16331 ENABLE_TEST_COVERAGE_TRUE
='#'
16332 ENABLE_TEST_COVERAGE_FALSE
=
16336 #====================================================================================
16337 # Check types and their sizes.
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 wchar_t" >&5
16344 $as_echo_n "checking size of wchar_t... " >&6; }
16345 if ${ac_cv_sizeof_wchar_t+:} false
; then :
16346 $as_echo_n "(cached) " >&6
16348 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then :
16351 if test "$ac_cv_type_wchar_t" = 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 (wchar_t)
16355 See \`config.log' for more details" "$LINENO" 5; }
16357 ac_cv_sizeof_wchar_t
=0
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
16363 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
16367 cat >>confdefs.h
<<_ACEOF
16368 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
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 short" >&5
16377 $as_echo_n "checking size of short... " >&6; }
16378 if ${ac_cv_sizeof_short+:} false
; then :
16379 $as_echo_n "(cached) " >&6
16381 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16384 if test "$ac_cv_type_short" = 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 (short)
16388 See \`config.log' for more details" "$LINENO" 5; }
16390 ac_cv_sizeof_short
=0
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16396 $as_echo "$ac_cv_sizeof_short" >&6; }
16400 cat >>confdefs.h
<<_ACEOF
16401 #define SIZEOF_SHORT $ac_cv_sizeof_short
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 int" >&5
16410 $as_echo_n "checking size of int... " >&6; }
16411 if ${ac_cv_sizeof_int+:} false
; then :
16412 $as_echo_n "(cached) " >&6
16414 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16417 if test "$ac_cv_type_int" = 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 (int)
16421 See \`config.log' for more details" "$LINENO" 5; }
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16429 $as_echo "$ac_cv_sizeof_int" >&6; }
16433 cat >>confdefs.h
<<_ACEOF
16434 #define SIZEOF_INT $ac_cv_sizeof_int
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 long" >&5
16443 $as_echo_n "checking size of long... " >&6; }
16444 if ${ac_cv_sizeof_long+:} false
; then :
16445 $as_echo_n "(cached) " >&6
16447 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16450 if test "$ac_cv_type_long" = 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 (long)
16454 See \`config.log' for more details" "$LINENO" 5; }
16456 ac_cv_sizeof_long
=0
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16462 $as_echo "$ac_cv_sizeof_long" >&6; }
16466 cat >>confdefs.h
<<_ACEOF
16467 #define SIZEOF_LONG $ac_cv_sizeof_long
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 float" >&5
16476 $as_echo_n "checking size of float... " >&6; }
16477 if ${ac_cv_sizeof_float+:} false
; then :
16478 $as_echo_n "(cached) " >&6
16480 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
16483 if test "$ac_cv_type_float" = 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 (float)
16487 See \`config.log' for more details" "$LINENO" 5; }
16489 ac_cv_sizeof_float
=0
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
16495 $as_echo "$ac_cv_sizeof_float" >&6; }
16499 cat >>confdefs.h
<<_ACEOF
16500 #define SIZEOF_FLOAT $ac_cv_sizeof_float
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 double" >&5
16509 $as_echo_n "checking size of double... " >&6; }
16510 if ${ac_cv_sizeof_double+:} false
; then :
16511 $as_echo_n "(cached) " >&6
16513 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
16516 if test "$ac_cv_type_double" = 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 (double)
16520 See \`config.log' for more details" "$LINENO" 5; }
16522 ac_cv_sizeof_double
=0
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
16528 $as_echo "$ac_cv_sizeof_double" >&6; }
16532 cat >>confdefs.h
<<_ACEOF
16533 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
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 void*" >&5
16542 $as_echo_n "checking size of void*... " >&6; }
16543 if ${ac_cv_sizeof_voidp+:} false
; then :
16544 $as_echo_n "(cached) " >&6
16546 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
16549 if test "$ac_cv_type_voidp" = 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 (void*)
16553 See \`config.log' for more details" "$LINENO" 5; }
16555 ac_cv_sizeof_voidp
=0
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
16561 $as_echo "$ac_cv_sizeof_voidp" >&6; }
16565 cat >>confdefs.h
<<_ACEOF
16566 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
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 size_t" >&5
16575 $as_echo_n "checking size of size_t... " >&6; }
16576 if ${ac_cv_sizeof_size_t+:} false
; then :
16577 $as_echo_n "(cached) " >&6
16579 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
16582 if test "$ac_cv_type_size_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 (size_t)
16586 See \`config.log' for more details" "$LINENO" 5; }
16588 ac_cv_sizeof_size_t
=0
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
16594 $as_echo "$ac_cv_sizeof_size_t" >&6; }
16598 cat >>confdefs.h
<<_ACEOF
16599 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_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 int64_t" >&5
16608 $as_echo_n "checking size of int64_t... " >&6; }
16609 if ${ac_cv_sizeof_int64_t+:} false
; then :
16610 $as_echo_n "(cached) " >&6
16612 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then :
16615 if test "$ac_cv_type_int64_t" = 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 (int64_t)
16619 See \`config.log' for more details" "$LINENO" 5; }
16621 ac_cv_sizeof_int64_t
=0
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
16627 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
16631 cat >>confdefs.h
<<_ACEOF
16632 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
16636 # The cast to long int works around a bug in the HP C Compiler
16637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16639 # This bug is HP SR number 8606223364.
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
16641 $as_echo_n "checking size of long long... " >&6; }
16642 if ${ac_cv_sizeof_long_long+:} false
; then :
16643 $as_echo_n "(cached) " >&6
16645 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
16648 if test "$ac_cv_type_long_long" = yes; then
16649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16651 as_fn_error
77 "cannot compute sizeof (long long)
16652 See \`config.log' for more details" "$LINENO" 5; }
16654 ac_cv_sizeof_long_long
=0
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
16660 $as_echo "$ac_cv_sizeof_long_long" >&6; }
16664 cat >>confdefs.h
<<_ACEOF
16665 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16670 #====================================================================================
16671 # Find an appropriate type for sf_count_t.
16672 # On systems supporting files larger than 2 Gig, sf_count_t must be a 64 bit value.
16673 # Unfortunately there is more than one way of ensuring this so need to do some
16674 # pretty rigourous testing here.
16676 unset ac_cv_sizeof_off_t
16678 # The cast to long int works around a bug in the HP C Compiler
16679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16681 # This bug is HP SR number 8606223364.
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
16683 $as_echo_n "checking size of off_t... " >&6; }
16684 if ${ac_cv_sizeof_off_t+:} false
; then :
16685 $as_echo_n "(cached) " >&6
16687 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
16690 if test "$ac_cv_type_off_t" = yes; then
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error
77 "cannot compute sizeof (off_t)
16694 See \`config.log' for more details" "$LINENO" 5; }
16696 ac_cv_sizeof_off_t
=0
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
16702 $as_echo "$ac_cv_sizeof_off_t" >&6; }
16706 cat >>confdefs.h
<<_ACEOF
16707 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
16710 # Fake default value.
16713 mingw32msvc | mingw32
)
16714 TYPEOF_SF_COUNT_T
="__int64"
16715 SF_COUNT_MAX
="0x7FFFFFFFFFFFFFFFLL"
16716 SIZEOF_SF_COUNT_T
=8
16718 $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
16722 if test "x$ac_cv_sizeof_off_t" = "x8" ; then
16723 # If sizeof (off_t) is 8, no further checking is needed.
16724 TYPEOF_SF_COUNT_T
="int64_t"
16725 SF_COUNT_MAX
="0x7FFFFFFFFFFFFFFFLL"
16726 SIZEOF_SF_COUNT_T
=8
16728 # Check for common 64 bit file offset types.
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 loff_t" >&5
16734 $as_echo_n "checking size of loff_t... " >&6; }
16735 if ${ac_cv_sizeof_loff_t+:} false
; then :
16736 $as_echo_n "(cached) " >&6
16738 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (loff_t))" "ac_cv_sizeof_loff_t" "$ac_includes_default"; then :
16741 if test "$ac_cv_type_loff_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 (loff_t)
16745 See \`config.log' for more details" "$LINENO" 5; }
16747 ac_cv_sizeof_loff_t
=0
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_loff_t" >&5
16753 $as_echo "$ac_cv_sizeof_loff_t" >&6; }
16757 cat >>confdefs.h
<<_ACEOF
16758 #define SIZEOF_LOFF_T $ac_cv_sizeof_loff_t
16761 # Fake default value.
16762 # The cast to long int works around a bug in the HP C Compiler
16763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16765 # This bug is HP SR number 8606223364.
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off64_t" >&5
16767 $as_echo_n "checking size of off64_t... " >&6; }
16768 if ${ac_cv_sizeof_off64_t+:} false
; then :
16769 $as_echo_n "(cached) " >&6
16771 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off64_t))" "ac_cv_sizeof_off64_t" "$ac_includes_default"; then :
16774 if test "$ac_cv_type_off64_t" = yes; then
16775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16777 as_fn_error
77 "cannot compute sizeof (off64_t)
16778 See \`config.log' for more details" "$LINENO" 5; }
16780 ac_cv_sizeof_off64_t
=0
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off64_t" >&5
16786 $as_echo "$ac_cv_sizeof_off64_t" >&6; }
16790 cat >>confdefs.h
<<_ACEOF
16791 #define SIZEOF_OFF64_T $ac_cv_sizeof_off64_t
16794 # Fake default value.
16796 TYPEOF_SF_COUNT_T
="unknown"
16797 if test "x$ac_cv_sizeof_loff_t" = "x8" ; then
16798 TYPEOF_SF_COUNT_T
="int64_t"
16799 SIZEOF_SF_COUNT_T
=8
16800 elif test "x$ac_cv_sizeof_off64_t" = "x8" ; then
16801 TYPEOF_SF_COUNT_T
="int64_t"
16802 SIZEOF_SF_COUNT_T
=8
16805 # Save the old sizeof (off_t) value and then unset it to see if it
16806 # changes when Large File Support is enabled.
16808 pre_largefile_sizeof_off_t
=$ac_cv_sizeof_off_t
16809 unset ac_cv_sizeof_off_t
16812 # Check whether --enable-largefile was given.
16813 if test "${enable_largefile+set}" = set; then :
16814 enableval
=$enable_largefile;
16817 if test "$enable_largefile" != no
; then
16818 if test -n "$ac_tool_prefix"; then
16819 # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args.
16820 set dummy
${ac_tool_prefix}getconf
; ac_word
=$2
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16822 $as_echo_n "checking for $ac_word... " >&6; }
16823 if ${ac_cv_prog_GETCONF+:} false
; then :
16824 $as_echo_n "(cached) " >&6
16826 if test -n "$GETCONF"; then
16827 ac_cv_prog_GETCONF
="$GETCONF" # Let the user override the test.
16829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16830 for as_dir
in $PATH
16833 test -z "$as_dir" && as_dir
=.
16834 for ac_exec_ext
in '' $ac_executable_extensions; do
16835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16836 ac_cv_prog_GETCONF
="${ac_tool_prefix}getconf"
16837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16846 GETCONF
=$ac_cv_prog_GETCONF
16847 if test -n "$GETCONF"; then
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETCONF" >&5
16849 $as_echo "$GETCONF" >&6; }
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16852 $as_echo "no" >&6; }
16857 if test -z "$ac_cv_prog_GETCONF"; then
16858 ac_ct_GETCONF
=$GETCONF
16859 # Extract the first word of "getconf", so it can be a program name with args.
16860 set dummy getconf
; ac_word
=$2
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16862 $as_echo_n "checking for $ac_word... " >&6; }
16863 if ${ac_cv_prog_ac_ct_GETCONF+:} false
; then :
16864 $as_echo_n "(cached) " >&6
16866 if test -n "$ac_ct_GETCONF"; then
16867 ac_cv_prog_ac_ct_GETCONF
="$ac_ct_GETCONF" # Let the user override the test.
16869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16870 for as_dir
in $PATH
16873 test -z "$as_dir" && as_dir
=.
16874 for ac_exec_ext
in '' $ac_executable_extensions; do
16875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16876 ac_cv_prog_ac_ct_GETCONF
="getconf"
16877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16886 ac_ct_GETCONF
=$ac_cv_prog_ac_ct_GETCONF
16887 if test -n "$ac_ct_GETCONF"; then
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GETCONF" >&5
16889 $as_echo "$ac_ct_GETCONF" >&6; }
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16892 $as_echo "no" >&6; }
16895 if test "x$ac_ct_GETCONF" = x
; then
16898 case $cross_compiling:$ac_tool_warned in
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16902 ac_tool_warned
=yes ;;
16904 GETCONF
=$ac_ct_GETCONF
16907 GETCONF
="$ac_cv_prog_GETCONF"
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLAGS value to request large file support" >&5
16911 $as_echo_n "checking for CFLAGS value to request large file support... " >&6; }
16912 if ${ac_cv_sys_largefile_CFLAGS+:} false
; then :
16913 $as_echo_n "(cached) " >&6
16915 ac_cv_sys_largefile_CFLAGS
=`($GETCONF LFS_CFLAGS) 2>/dev/null` ||
{
16916 ac_cv_sys_largefile_CFLAGS
=no
16918 # IRIX 6.2 and later require cc -n32.
16919 irix6.
[2-9]* | irix6.1
[0-9]* | irix
[7-9].
* | irix
[1-9][0-9]*)
16920 if test "$GCC" != yes; then
16921 ac_cv_sys_largefile_CFLAGS
=-n32
16924 CC
="$CC $ac_cv_sys_largefile_CFLAGS"
16925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16936 if ac_fn_c_try_link
"$LINENO"; then :
16939 ac_cv_sys_largefile_CFLAGS
=no
16941 rm -f core conftest.err conftest.
$ac_objext \
16942 conftest
$ac_exeext conftest.
$ac_ext
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CFLAGS" >&5
16948 $as_echo "$ac_cv_sys_largefile_CFLAGS" >&6; }
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDFLAGS value to request large file support" >&5
16950 $as_echo_n "checking for LDFLAGS value to request large file support... " >&6; }
16951 if ${ac_cv_sys_largefile_LDFLAGS+:} false
; then :
16952 $as_echo_n "(cached) " >&6
16954 ac_cv_sys_largefile_LDFLAGS
=`($GETCONF LFS_LDFLAGS) 2>/dev/null` ||
{
16955 ac_cv_sys_largefile_LDFLAGS
=no
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_LDFLAGS" >&5
16960 $as_echo "$ac_cv_sys_largefile_LDFLAGS" >&6; }
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBS value to request large file support" >&5
16962 $as_echo_n "checking for LIBS value to request large file support... " >&6; }
16963 if ${ac_cv_sys_largefile_LIBS+:} false
; then :
16964 $as_echo_n "(cached) " >&6
16966 ac_cv_sys_largefile_LIBS
=`($GETCONF LFS_LIBS) 2>/dev/null` ||
{
16967 ac_cv_sys_largefile_LIBS
=no
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_LIBS" >&5
16972 $as_echo "$ac_cv_sys_largefile_LIBS" >&6; }
16974 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
16977 -D_FILE_OFFSET_BITS=*) ;;
16978 -D_LARGEFILE_SOURCE |
-D_LARGEFILE_SOURCE=*) ;;
16979 -D_LARGE_FILES |
-D_LARGE_FILES=*) ;;
16984 case "$CPPFLAGS" in
16985 '') CPPFLAGS
="$ac_flag" ;;
16986 *) CPPFLAGS
=$CPPFLAGS' '"$ac_flag" ;;
16994 '') CFLAGS
="$ac_flag" ;;
16995 *) CFLAGS
=$CFLAGS' '"$ac_flag" ;;
17000 case "$ac_cv_sys_largefile_LDFLAGS" in
17004 '') LDFLAGS
="$ac_cv_sys_largefile_LDFLAGS" ;;
17005 *) LDFLAGS
=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;;
17008 case "$ac_cv_sys_largefile_LIBS" in
17012 '') LIBS
="$ac_cv_sys_largefile_LIBS" ;;
17013 *) LIBS
=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;;
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS" >&5
17017 $as_echo_n "checking for _FILE_OFFSET_BITS... " >&6; }
17018 if ${ac_cv_sys_file_offset_bits+:} false
; then :
17019 $as_echo_n "(cached) " >&6
17021 ac_cv_sys_file_offset_bits
=no
17023 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
17025 -D_FILE_OFFSET_BITS)
17026 ac_cv_sys_file_offset_bits
=1 ;;
17027 -D_FILE_OFFSET_BITS=*)
17028 ac_cv_sys_file_offset_bits
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17034 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17035 if test "$ac_cv_sys_file_offset_bits" != no
; then
17037 cat >>confdefs.h
<<_ACEOF
17038 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17043 # HP-UX 10.20 and later
17044 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
17045 ac_cv_sys_file_offset_bits
=64 ;;
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE" >&5
17048 $as_echo_n "checking for _LARGEFILE_SOURCE... " >&6; }
17049 if ${ac_cv_sys_largefile_source+:} false
; then :
17050 $as_echo_n "(cached) " >&6
17052 ac_cv_sys_largefile_source
=no
17054 # HP-UX 10.20 and later
17055 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
17056 ac_cv_sys_largefile_source
=1 ;;
17058 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
17060 -D_LARGEFILE_SOURCE)
17061 ac_cv_sys_largefile_source
=1 ;;
17062 -D_LARGEFILE_SOURCE=*)
17063 ac_cv_sys_largefile_source
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
17069 $as_echo "$ac_cv_sys_largefile_source" >&6; }
17070 if test "$ac_cv_sys_largefile_source" != no
; then
17072 cat >>confdefs.h
<<_ACEOF
17073 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES" >&5
17078 $as_echo_n "checking for _LARGE_FILES... " >&6; }
17079 if ${ac_cv_sys_large_files+:} false
; then :
17080 $as_echo_n "(cached) " >&6
17082 ac_cv_sys_large_files
=no
17084 # AIX 4.2 and later
17085 aix4.
[2-9]* | aix4.1
[0-9]* | aix
[5-9].
* | aix
[1-9][0-9]*)
17086 ac_cv_sys_large_files
=1 ;;
17088 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
17091 ac_cv_sys_large_files
=1 ;;
17093 ac_cv_sys_large_files
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17099 $as_echo "$ac_cv_sys_large_files" >&6; }
17100 if test "$ac_cv_sys_large_files" != no
; then
17102 cat >>confdefs.h
<<_ACEOF
17103 #define _LARGE_FILES $ac_cv_sys_large_files
17110 if test "x$ac_cv_sys_largefile_CFLAGS" = "xno" ; then
17111 ac_cv_sys_largefile_CFLAGS
=""
17113 if test "x$ac_cv_sys_largefile_LDFLAGS" = "xno" ; then
17114 ac_cv_sys_largefile_LDFLAGS
=""
17116 if test "x$ac_cv_sys_largefile_LIBS" = "xno" ; then
17117 ac_cv_sys_largefile_LIBS
=""
17120 # The cast to long int works around a bug in the HP C Compiler
17121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17122 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17123 # This bug is HP SR number 8606223364.
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
17125 $as_echo_n "checking size of off_t... " >&6; }
17126 if ${ac_cv_sizeof_off_t+:} false
; then :
17127 $as_echo_n "(cached) " >&6
17129 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
17132 if test "$ac_cv_type_off_t" = yes; then
17133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17135 as_fn_error
77 "cannot compute sizeof (off_t)
17136 See \`config.log' for more details" "$LINENO" 5; }
17138 ac_cv_sizeof_off_t
=0
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
17144 $as_echo "$ac_cv_sizeof_off_t" >&6; }
17148 cat >>confdefs.h
<<_ACEOF
17149 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
17152 # Fake default value.
17154 if test "x$ac_cv_sizeof_off_t" = "x8" ; then
17155 TYPEOF_SF_COUNT_T
="int64_t"
17156 SF_COUNT_MAX
="0x7FFFFFFFFFFFFFFFLL"
17157 elif test "x$ac_cv_sizeof_off_t" = "x$pre_largefile_sizeof_off_t" ; then
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This machine does not seem to support 64 bit file offsets." >&5
17159 $as_echo "$as_me: WARNING: This machine does not seem to support 64 bit file offsets." >&2;}
17160 TYPEOF_SF_COUNT_T
="off_t"
17161 SIZEOF_SF_COUNT_T
=$ac_cv_sizeof_off_t
17162 elif test "x$TYPEOF_SF_COUNT_T" = "xunknown" ; then
17164 echo "*** The configure process has determined that this system is capable"
17165 echo "*** of Large File Support but has not been able to find a type which"
17166 echo "*** is an unambiguous 64 bit file offset."
17167 echo "*** Please contact the author to help resolve this problem."
17169 as_fn_error $?
"Bad file offset type." "$LINENO" 5
17175 if test $SIZEOF_SF_COUNT_T = 4 ; then
17176 SF_COUNT_MAX
="0x7FFFFFFF"
17180 cat >>confdefs.h
<<_ACEOF
17181 #define TYPEOF_SF_COUNT_T ${TYPEOF_SF_COUNT_T}
17187 cat >>confdefs.h
<<_ACEOF
17188 #define SIZEOF_SF_COUNT_T ${SIZEOF_SF_COUNT_T}
17194 cat >>confdefs.h
<<_ACEOF
17195 #define SF_COUNT_MAX ${SF_COUNT_MAX}
17200 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17201 if test "x$ac_cv_type_ssize_t" = xyes
; then :
17203 cat >>confdefs.h
<<_ACEOF
17204 #define HAVE_SSIZE_T 1
17210 # The cast to long int works around a bug in the HP C Compiler
17211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17213 # This bug is HP SR number 8606223364.
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
17215 $as_echo_n "checking size of ssize_t... " >&6; }
17216 if ${ac_cv_sizeof_ssize_t+:} false
; then :
17217 $as_echo_n "(cached) " >&6
17219 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
17222 if test "$ac_cv_type_ssize_t" = yes; then
17223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17225 as_fn_error
77 "cannot compute sizeof (ssize_t)
17226 See \`config.log' for more details" "$LINENO" 5; }
17228 ac_cv_sizeof_ssize_t
=0
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
17234 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
17238 cat >>confdefs.h
<<_ACEOF
17239 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
17244 #====================================================================================
17245 # Determine endian-ness of target processor.
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor byte ordering" >&5
17248 $as_echo_n "checking processor byte ordering... " >&6; }
17249 if ${ac_cv_c_byte_order+:} false
; then :
17250 $as_echo_n "(cached) " >&6
17252 # Initialize to unknown
17253 ac_cv_c_byte_order
=unknown
17255 if test x
$ac_cv_header_endian_h = xyes
; then
17257 # First try <endian.h> which should set BYTE_ORDER.
17259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17262 #include <endian.h>
17263 #if BYTE_ORDER != LITTLE_ENDIAN
17275 if ac_fn_c_try_link
"$LINENO"; then :
17276 ac_cv_c_byte_order
=little
17279 rm -f core conftest.err conftest.
$ac_objext \
17280 conftest
$ac_exeext conftest.
$ac_ext
17282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17285 #include <endian.h>
17286 #if BYTE_ORDER != BIG_ENDIAN
17298 if ac_fn_c_try_link
"$LINENO"; then :
17299 ac_cv_c_byte_order
=big
17302 rm -f core conftest.err conftest.
$ac_objext \
17303 conftest
$ac_exeext conftest.
$ac_ext
17307 if test $ac_cv_c_byte_order = unknown
; then
17309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17312 #include <sys/types.h>
17313 #include <sys/param.h>
17314 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17315 bogus endian macros
17326 if ac_fn_c_try_link
"$LINENO"; then :
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17330 #include <sys/types.h>
17331 #include <sys/param.h>
17332 #if BYTE_ORDER != LITTLE_ENDIAN
17344 if ac_fn_c_try_link
"$LINENO"; then :
17345 ac_cv_c_byte_order
=little
17348 rm -f core conftest.err conftest.
$ac_objext \
17349 conftest
$ac_exeext conftest.
$ac_ext
17351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17354 #include <sys/types.h>
17355 #include <sys/param.h>
17356 #if BYTE_ORDER != LITTLE_ENDIAN
17368 if ac_fn_c_try_link
"$LINENO"; then :
17369 ac_cv_c_byte_order
=little
17372 rm -f core conftest.err conftest.
$ac_objext \
17373 conftest
$ac_exeext conftest.
$ac_ext
17377 rm -f core conftest.err conftest.
$ac_objext \
17378 conftest
$ac_exeext conftest.
$ac_ext
17382 if test $ac_cv_c_byte_order = unknown
; then
17383 if test $cross_compiling = yes ; then
17384 # This is the last resort. Try to guess the target processor endian-ness
17385 # by looking at the target CPU type.
17387 case "$target_cpu" in
17388 alpha
* | i?
86* | mipsel
* | ia64
*)
17389 ac_cv_c_byte_order
=little
17392 m68
* | mips
* | powerpc
* | hppa
* | sparc
*)
17393 ac_cv_c_byte_order
=big
17399 if test "$cross_compiling" = yes; then :
17400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17402 as_fn_error $?
"cannot run test program while cross compiling
17403 See \`config.log' for more details" "$LINENO" 5; }
17405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17409 { /* Are we little or big endian? From Harbison&Steele. */
17412 char c [sizeof (long)] ;
17415 return (u.c [sizeof (long) - 1] == 1);
17419 if ac_fn_c_try_run
"$LINENO"; then :
17422 ac_cv_c_byte_order
=big
17424 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17425 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17429 if test "$cross_compiling" = yes; then :
17430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17432 as_fn_error $?
"cannot run test program while cross compiling
17433 See \`config.log' for more details" "$LINENO" 5; }
17435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17438 { /* Are we little or big endian? From Harbison&Steele. */
17441 char c [sizeof (long)] ;
17444 return (u.c [0] == 1);
17447 if ac_fn_c_try_run
"$LINENO"; then :
17450 ac_cv_c_byte_order
=little
17452 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17453 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_byte_order" >&5
17462 $as_echo "$ac_cv_c_byte_order" >&6; }
17464 if test $ac_cv_c_byte_order = big
; then
17465 ac_cv_c_big_endian
=1
17466 ac_cv_c_little_endian
=0
17467 elif test $ac_cv_c_byte_order = little
; then
17468 ac_cv_c_big_endian
=0
17469 ac_cv_c_little_endian
=1
17471 ac_cv_c_big_endian
=0
17472 ac_cv_c_little_endian
=0
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
17475 $as_echo "$as_me: WARNING: *****************************************************************" >&2;}
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Not able to determine endian-ness of target processor. " >&5
17477 $as_echo "$as_me: WARNING: *** Not able to determine endian-ness of target processor. " >&2;}
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in " >&5
17479 $as_echo "$as_me: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in " >&2;}
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** src/config.h may need to be hand editied. " >&5
17481 $as_echo "$as_me: WARNING: *** src/config.h may need to be hand editied. " >&2;}
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
17483 $as_echo "$as_me: WARNING: *****************************************************************" >&2;}
17490 cat >>confdefs.h
<<_ACEOF
17491 #define CPU_IS_BIG_ENDIAN ${ac_cv_c_big_endian}
17495 cat >>confdefs.h
<<_ACEOF
17496 #define CPU_IS_LITTLE_ENDIAN ${ac_cv_c_little_endian}
17500 cat >>confdefs.h
<<_ACEOF
17501 #define WORDS_BIGENDIAN ${ac_cv_c_big_endian}
17505 #====================================================================================
17506 # Check for functions.
17508 for ac_func
in malloc calloc realloc free
17510 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17511 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17512 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17513 cat >>confdefs.h
<<_ACEOF
17514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17520 for ac_func
in open
read write lseek pread pwrite
17522 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17523 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17524 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17525 cat >>confdefs.h
<<_ACEOF
17526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17532 for ac_func
in fstat ftruncate fsync
17534 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17535 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17536 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17537 cat >>confdefs.h
<<_ACEOF
17538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17544 for ac_func
in snprintf vsnprintf
17546 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17547 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17548 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17549 cat >>confdefs.h
<<_ACEOF
17550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17556 for ac_func
in gmtime gmtime_r localtime localtime_r gettimeofday
17558 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17559 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17560 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17561 cat >>confdefs.h
<<_ACEOF
17562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17568 for ac_func
in mmap getpagesize
17570 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17571 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17572 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17573 cat >>confdefs.h
<<_ACEOF
17574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17580 for ac_func
in setlocale
17582 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
17583 if test "x$ac_cv_func_setlocale" = xyes
; then :
17584 cat >>confdefs.h
<<_ACEOF
17585 #define HAVE_SETLOCALE 1
17591 for ac_func
in pipe waitpid
17593 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17594 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17595 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17596 cat >>confdefs.h
<<_ACEOF
17597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
17605 $as_echo_n "checking for floor in -lm... " >&6; }
17606 if ${ac_cv_lib_m_floor+:} false
; then :
17607 $as_echo_n "(cached) " >&6
17609 ac_check_lib_save_LIBS
=$LIBS
17611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17614 /* Override any GCC internal prototype to avoid an error.
17615 Use char because int might match the return type of a GCC
17616 builtin and then its argument prototype would still apply. */
17629 if ac_fn_c_try_link
"$LINENO"; then :
17630 ac_cv_lib_m_floor
=yes
17632 ac_cv_lib_m_floor
=no
17634 rm -f core conftest.err conftest.
$ac_objext \
17635 conftest
$ac_exeext conftest.
$ac_ext
17636 LIBS
=$ac_check_lib_save_LIBS
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
17639 $as_echo "$ac_cv_lib_m_floor" >&6; }
17640 if test "x$ac_cv_lib_m_floor" = xyes
; then :
17641 cat >>confdefs.h
<<_ACEOF
17642 #define HAVE_LIBM 1
17649 for ac_func
in floor ceil fmod
17651 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17652 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17653 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17654 cat >>confdefs.h
<<_ACEOF
17655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
17663 $as_echo_n "checking for lrint... " >&6; }
17664 if ${ac_cv_c99_lrint+:} false
; then :
17665 $as_echo_n "(cached) " >&6
17668 lrint_save_CFLAGS
=$CFLAGS
17670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17673 #define _ISOC9X_SOURCE 1
17674 #define _ISOC99_SOURCE 1
17675 #define __USE_ISOC99 1
17676 #define __USE_ISOC9X 1
17683 if (!lrint(3.14159)) lrint(2.7183);
17688 if ac_fn_c_try_link
"$LINENO"; then :
17689 ac_cv_c99_lrint
=yes
17693 rm -f core conftest.err conftest.
$ac_objext \
17694 conftest
$ac_exeext conftest.
$ac_ext
17696 CFLAGS
=$lrint_save_CFLAGS
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
17701 $as_echo "$ac_cv_c99_lrint" >&6; }
17703 if test "$ac_cv_c99_lrint" = yes; then
17705 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
17710 $as_echo_n "checking for lrintf... " >&6; }
17711 if ${ac_cv_c99_lrintf+:} false
; then :
17712 $as_echo_n "(cached) " >&6
17715 lrintf_save_CFLAGS
=$CFLAGS
17717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 #define _ISOC9X_SOURCE 1
17721 #define _ISOC99_SOURCE 1
17722 #define __USE_ISOC99 1
17723 #define __USE_ISOC9X 1
17730 if (!lrintf(3.14159)) lrintf(2.7183);
17735 if ac_fn_c_try_link
"$LINENO"; then :
17736 ac_cv_c99_lrintf
=yes
17738 ac_cv_c99_lrintf
=no
17740 rm -f core conftest.err conftest.
$ac_objext \
17741 conftest
$ac_exeext conftest.
$ac_ext
17743 CFLAGS
=$lrintf_save_CFLAGS
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
17748 $as_echo "$ac_cv_c99_lrintf" >&6; }
17750 if test "$ac_cv_c99_lrintf" = yes; then
17752 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
17757 #====================================================================================
17758 # Check for requirements for building plugins for other languages/enviroments.
17760 if test x
$cross_compiling = xno
; then
17761 if test x
$enable_octave = xno
; then
17763 BUILD_OCTAVE_MOD_TRUE
=
17764 BUILD_OCTAVE_MOD_FALSE
='#'
17766 BUILD_OCTAVE_MOD_TRUE
='#'
17767 BUILD_OCTAVE_MOD_FALSE
=
17778 # Check whether --with-octave was given.
17779 if test "${with_octave+set}" = set; then :
17780 withval
=$with_octave; with_octave
=$withval
17784 test -z "$with_octave" && with_octave
=octave
17786 # Extract the first word of "$with_octave", so it can be a program name with args.
17787 set dummy
$with_octave; ac_word
=$2
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17789 $as_echo_n "checking for $ac_word... " >&6; }
17790 if ${ac_cv_prog_HAVE_OCTAVE+:} false
; then :
17791 $as_echo_n "(cached) " >&6
17793 if test -n "$HAVE_OCTAVE"; then
17794 ac_cv_prog_HAVE_OCTAVE
="$HAVE_OCTAVE" # Let the user override the test.
17796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17797 for as_dir
in $PATH
17800 test -z "$as_dir" && as_dir
=.
17801 for ac_exec_ext
in '' $ac_executable_extensions; do
17802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17803 ac_cv_prog_HAVE_OCTAVE
="yes"
17804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17811 test -z "$ac_cv_prog_HAVE_OCTAVE" && ac_cv_prog_HAVE_OCTAVE
="no"
17814 HAVE_OCTAVE
=$ac_cv_prog_HAVE_OCTAVE
17815 if test -n "$HAVE_OCTAVE"; then
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OCTAVE" >&5
17817 $as_echo "$HAVE_OCTAVE" >&6; }
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17820 $as_echo "no" >&6; }
17825 if test "x$ac_cv_prog_HAVE_OCTAVE" = "xyes" ; then
17826 OCTAVE
=$with_octave
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCTAVE_VERSION in $OCTAVE" >&5
17829 $as_echo_n "checking for OCTAVE_VERSION in $OCTAVE... " >&6; }
17830 OCTAVE_VERSION
=`TERM=;$OCTAVE -qfH --eval "disp(OCTAVE_VERSION)"`
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE_VERSION" >&5
17832 $as_echo "$OCTAVE_VERSION" >&6; }
17845 # Check whether --with-mkoctfile was given.
17846 if test "${with_mkoctfile+set}" = set; then :
17847 withval
=$with_mkoctfile; with_mkoctfile
=$withval
17851 test -z "$with_mkoctfile" && with_mkoctfile
=mkoctfile
17853 # Extract the first word of "$with_mkoctfile", so it can be a program name with args.
17854 set dummy
$with_mkoctfile; ac_word
=$2
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17856 $as_echo_n "checking for $ac_word... " >&6; }
17857 if ${ac_cv_prog_HAVE_MKOCTFILE+:} false
; then :
17858 $as_echo_n "(cached) " >&6
17860 if test -n "$HAVE_MKOCTFILE"; then
17861 ac_cv_prog_HAVE_MKOCTFILE
="$HAVE_MKOCTFILE" # Let the user override the test.
17863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17864 for as_dir
in $PATH
17867 test -z "$as_dir" && as_dir
=.
17868 for ac_exec_ext
in '' $ac_executable_extensions; do
17869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17870 ac_cv_prog_HAVE_MKOCTFILE
="yes"
17871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17878 test -z "$ac_cv_prog_HAVE_MKOCTFILE" && ac_cv_prog_HAVE_MKOCTFILE
="no"
17881 HAVE_MKOCTFILE
=$ac_cv_prog_HAVE_MKOCTFILE
17882 if test -n "$HAVE_MKOCTFILE"; then
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MKOCTFILE" >&5
17884 $as_echo "$HAVE_MKOCTFILE" >&6; }
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17887 $as_echo "no" >&6; }
17892 if test "x$ac_cv_prog_HAVE_MKOCTFILE" = "xyes" ; then
17893 MKOCTFILE
=$with_mkoctfile
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $MKOCTFILE" >&5
17896 $as_echo_n "checking for version of $MKOCTFILE... " >&6; }
17897 MKOCTFILE_VERSION
=`$with_mkoctfile --version 2>&1 | sed 's/mkoctfile, version //g'`
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE_VERSION" >&5
17899 $as_echo "$MKOCTFILE_VERSION" >&6; }
17909 # Check whether --with-octave-config was given.
17910 if test "${with_octave_config+set}" = set; then :
17911 withval
=$with_octave_config; with_octave_config
=$withval
17915 test -z "$with_octave_config" && with_octave_config
=octave-config
17917 # Extract the first word of "$with_octave_config", so it can be a program name with args.
17918 set dummy
$with_octave_config; ac_word
=$2
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17920 $as_echo_n "checking for $ac_word... " >&6; }
17921 if ${ac_cv_prog_HAVE_OCTAVE_CONFIG+:} false
; then :
17922 $as_echo_n "(cached) " >&6
17924 if test -n "$HAVE_OCTAVE_CONFIG"; then
17925 ac_cv_prog_HAVE_OCTAVE_CONFIG
="$HAVE_OCTAVE_CONFIG" # Let the user override the test.
17927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17928 for as_dir
in $PATH
17931 test -z "$as_dir" && as_dir
=.
17932 for ac_exec_ext
in '' $ac_executable_extensions; do
17933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17934 ac_cv_prog_HAVE_OCTAVE_CONFIG
="yes"
17935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17942 test -z "$ac_cv_prog_HAVE_OCTAVE_CONFIG" && ac_cv_prog_HAVE_OCTAVE_CONFIG
="no"
17945 HAVE_OCTAVE_CONFIG
=$ac_cv_prog_HAVE_OCTAVE_CONFIG
17946 if test -n "$HAVE_OCTAVE_CONFIG"; then
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OCTAVE_CONFIG" >&5
17948 $as_echo "$HAVE_OCTAVE_CONFIG" >&6; }
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17951 $as_echo "no" >&6; }
17956 if test "x$ac_cv_prog_HAVE_OCTAVE_CONFIG" = "xyes" ; then
17957 OCTAVE_CONFIG
=$with_octave_config
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $OCTAVE_CONFIG" >&5
17959 $as_echo_n "checking for version of $OCTAVE_CONFIG... " >&6; }
17960 OCTAVE_CONFIG_VERSION
=`$OCTAVE_CONFIG --version`
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE_CONFIG_VERSION" >&5
17962 $as_echo "$OCTAVE_CONFIG_VERSION" >&6; }
17970 prog_concat
="$ac_cv_prog_HAVE_OCTAVE$ac_cv_prog_HAVE_OCTAVE_CONFIG$ac_cv_prog_HAVE_MKOCTFILE"
17972 if test "x$prog_concat" = "xyesyesyes" ; then
17973 if test "x$OCTAVE_VERSION" != "x$MKOCTFILE_VERSION" ; then
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Mismatch between versions of octave and mkoctfile. **" >&5
17975 $as_echo "$as_me: WARNING: ** Mismatch between versions of octave and mkoctfile. **" >&2;}
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Octave libsndfile modules will not be built. **" >&5
17977 $as_echo "$as_me: WARNING: ** Octave libsndfile modules will not be built. **" >&2;}
17978 elif test "x$OCTAVE_VERSION" != "x$OCTAVE_CONFIG_VERSION" ; then
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Mismatch between versions of octave and octave-config. **" >&5
17980 $as_echo "$as_me: WARNING: ** Mismatch between versions of octave and octave-config. **" >&2;}
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Octave libsndfile modules will not be built. **" >&5
17982 $as_echo "$as_me: WARNING: ** Octave libsndfile modules will not be built. **" >&2;}
17984 case "$MKOCTFILE_VERSION" in
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Octave version 2.X is not supported." >&5
17987 $as_echo "$as_me: WARNING: Octave version 2.X is not supported." >&2;}
17990 OCTAVE_DEST_ODIR
=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'`
17991 OCTAVE_DEST_MDIR
=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'`
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Octave version $MKOCTFILE_VERSION is not supported." >&5
17997 $as_echo "$as_me: WARNING: Octave version $MKOCTFILE_VERSION is not supported." >&2;}
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: building octave libsndfile module... $OCTAVE_BUILD" >&5
18002 $as_echo "building octave libsndfile module... $OCTAVE_BUILD" >&6; }
18010 if test "x$OCTAVE_BUILD" = xyes
; then
18011 BUILD_OCTAVE_MOD_TRUE
=
18012 BUILD_OCTAVE_MOD_FALSE
='#'
18014 BUILD_OCTAVE_MOD_TRUE
='#'
18015 BUILD_OCTAVE_MOD_FALSE
=
18023 BUILD_OCTAVE_MOD_TRUE
=
18024 BUILD_OCTAVE_MOD_FALSE
='#'
18026 BUILD_OCTAVE_MOD_TRUE
='#'
18027 BUILD_OCTAVE_MOD_FALSE
=
18032 #====================================================================================
18033 # Check for Ogg, Vorbis and FLAC.
18035 HAVE_EXTERNAL_LIBS
=0
18039 # Check for pkg-config outside the if statement.
18047 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18048 if test -n "$ac_tool_prefix"; then
18049 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18050 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18052 $as_echo_n "checking for $ac_word... " >&6; }
18053 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18054 $as_echo_n "(cached) " >&6
18056 case $PKG_CONFIG in
18058 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18062 for as_dir
in $PATH
18065 test -z "$as_dir" && as_dir
=.
18066 for ac_exec_ext
in '' $ac_executable_extensions; do
18067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18068 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18079 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18080 if test -n "$PKG_CONFIG"; then
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18082 $as_echo "$PKG_CONFIG" >&6; }
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18085 $as_echo "no" >&6; }
18090 if test -z "$ac_cv_path_PKG_CONFIG"; then
18091 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18092 # Extract the first word of "pkg-config", so it can be a program name with args.
18093 set dummy pkg-config
; ac_word
=$2
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18095 $as_echo_n "checking for $ac_word... " >&6; }
18096 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18097 $as_echo_n "(cached) " >&6
18099 case $ac_pt_PKG_CONFIG in
18101 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18105 for as_dir
in $PATH
18108 test -z "$as_dir" && as_dir
=.
18109 for ac_exec_ext
in '' $ac_executable_extensions; do
18110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18111 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18122 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18123 if test -n "$ac_pt_PKG_CONFIG"; then
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18125 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18128 $as_echo "no" >&6; }
18131 if test "x$ac_pt_PKG_CONFIG" = x
; then
18134 case $cross_compiling:$ac_tool_warned in
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18138 ac_tool_warned
=yes ;;
18140 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18143 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18147 if test -n "$PKG_CONFIG"; then
18148 _pkg_min_version
=0.9.0
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18150 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18151 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18153 $as_echo "yes" >&6; }
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18156 $as_echo "no" >&6; }
18161 if test -n "$PKG_CONFIG" ; then
18162 if test x
$enable_external_libs = xno
; then
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** External libs (FLAC, Ogg, Vorbis) disabled. ***" >&5
18164 $as_echo "$as_me: WARNING: *** External libs (FLAC, Ogg, Vorbis) disabled. ***" >&2;}
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flac >= 1.2.1 " >&5
18169 $as_echo_n "checking for flac >= 1.2.1 ... " >&6; }
18171 if test -n "$FLAC_CFLAGS"; then
18172 pkg_cv_FLAC_CFLAGS
="$FLAC_CFLAGS"
18173 elif test -n "$PKG_CONFIG"; then
18174 if test -n "$PKG_CONFIG" && \
18175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.2.1\""; } >&5
18176 ($PKG_CONFIG --exists --print-errors "flac >= 1.2.1") 2>&5
18178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18179 test $ac_status = 0; }; then
18180 pkg_cv_FLAC_CFLAGS
=`$PKG_CONFIG --cflags "flac >= 1.2.1" 2>/dev/null`
18181 test "x$?" != "x0" && pkg_failed
=yes
18188 if test -n "$FLAC_LIBS"; then
18189 pkg_cv_FLAC_LIBS
="$FLAC_LIBS"
18190 elif test -n "$PKG_CONFIG"; then
18191 if test -n "$PKG_CONFIG" && \
18192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.2.1\""; } >&5
18193 ($PKG_CONFIG --exists --print-errors "flac >= 1.2.1") 2>&5
18195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18196 test $ac_status = 0; }; then
18197 pkg_cv_FLAC_LIBS
=`$PKG_CONFIG --libs "flac >= 1.2.1" 2>/dev/null`
18198 test "x$?" != "x0" && pkg_failed
=yes
18208 if test $pkg_failed = yes; then
18210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18211 _pkg_short_errors_supported
=yes
18213 _pkg_short_errors_supported
=no
18215 if test $_pkg_short_errors_supported = yes; then
18216 FLAC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "flac >= 1.2.1"`
18218 FLAC_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "flac >= 1.2.1"`
18220 # Put the nasty error message in config.log where it belongs
18221 echo "$FLAC_PKG_ERRORS" >&5
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18224 $as_echo "no" >&6; }
18226 elif test $pkg_failed = untried
; then
18229 FLAC_CFLAGS
=$pkg_cv_FLAC_CFLAGS
18230 FLAC_LIBS
=$pkg_cv_FLAC_LIBS
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18232 $as_echo "yes" >&6; }
18236 # Make sure the FLAC_CFLAGS value is sane.
18237 FLAC_CFLAGS
=`echo $FLAC_CLFAGS | $SED "s/FLAC$//"`
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg >= 1.1.3 " >&5
18242 $as_echo_n "checking for ogg >= 1.1.3 ... " >&6; }
18244 if test -n "$OGG_CFLAGS"; then
18245 pkg_cv_OGG_CFLAGS
="$OGG_CFLAGS"
18246 elif test -n "$PKG_CONFIG"; then
18247 if test -n "$PKG_CONFIG" && \
18248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1.3\""; } >&5
18249 ($PKG_CONFIG --exists --print-errors "ogg >= 1.1.3") 2>&5
18251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18252 test $ac_status = 0; }; then
18253 pkg_cv_OGG_CFLAGS
=`$PKG_CONFIG --cflags "ogg >= 1.1.3" 2>/dev/null`
18254 test "x$?" != "x0" && pkg_failed
=yes
18261 if test -n "$OGG_LIBS"; then
18262 pkg_cv_OGG_LIBS
="$OGG_LIBS"
18263 elif test -n "$PKG_CONFIG"; then
18264 if test -n "$PKG_CONFIG" && \
18265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1.3\""; } >&5
18266 ($PKG_CONFIG --exists --print-errors "ogg >= 1.1.3") 2>&5
18268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18269 test $ac_status = 0; }; then
18270 pkg_cv_OGG_LIBS
=`$PKG_CONFIG --libs "ogg >= 1.1.3" 2>/dev/null`
18271 test "x$?" != "x0" && pkg_failed
=yes
18281 if test $pkg_failed = yes; then
18283 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18284 _pkg_short_errors_supported
=yes
18286 _pkg_short_errors_supported
=no
18288 if test $_pkg_short_errors_supported = yes; then
18289 OGG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.1.3"`
18291 OGG_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.1.3"`
18293 # Put the nasty error message in config.log where it belongs
18294 echo "$OGG_PKG_ERRORS" >&5
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18297 $as_echo "no" >&6; }
18299 elif test $pkg_failed = untried
; then
18302 OGG_CFLAGS
=$pkg_cv_OGG_CFLAGS
18303 OGG_LIBS
=$pkg_cv_OGG_LIBS
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18305 $as_echo "yes" >&6; }
18309 if test x
$enable_experimental = xyes
; then
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex >= 1.2 " >&5
18313 $as_echo_n "checking for speex >= 1.2 ... " >&6; }
18315 if test -n "$SPEEX_CFLAGS"; then
18316 pkg_cv_SPEEX_CFLAGS
="$SPEEX_CFLAGS"
18317 elif test -n "$PKG_CONFIG"; then
18318 if test -n "$PKG_CONFIG" && \
18319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex >= 1.2\""; } >&5
18320 ($PKG_CONFIG --exists --print-errors "speex >= 1.2") 2>&5
18322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18323 test $ac_status = 0; }; then
18324 pkg_cv_SPEEX_CFLAGS
=`$PKG_CONFIG --cflags "speex >= 1.2" 2>/dev/null`
18325 test "x$?" != "x0" && pkg_failed
=yes
18332 if test -n "$SPEEX_LIBS"; then
18333 pkg_cv_SPEEX_LIBS
="$SPEEX_LIBS"
18334 elif test -n "$PKG_CONFIG"; then
18335 if test -n "$PKG_CONFIG" && \
18336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex >= 1.2\""; } >&5
18337 ($PKG_CONFIG --exists --print-errors "speex >= 1.2") 2>&5
18339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18340 test $ac_status = 0; }; then
18341 pkg_cv_SPEEX_LIBS
=`$PKG_CONFIG --libs "speex >= 1.2" 2>/dev/null`
18342 test "x$?" != "x0" && pkg_failed
=yes
18352 if test $pkg_failed = yes; then
18354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18355 _pkg_short_errors_supported
=yes
18357 _pkg_short_errors_supported
=no
18359 if test $_pkg_short_errors_supported = yes; then
18360 SPEEX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "speex >= 1.2"`
18362 SPEEX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "speex >= 1.2"`
18364 # Put the nasty error message in config.log where it belongs
18365 echo "$SPEEX_PKG_ERRORS" >&5
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18368 $as_echo "no" >&6; }
18370 elif test $pkg_failed = untried
; then
18373 SPEEX_CFLAGS
=$pkg_cv_SPEEX_CFLAGS
18374 SPEEX_LIBS
=$pkg_cv_SPEEX_LIBS
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18376 $as_echo "yes" >&6; }
18384 # Vorbis versions earlier than 1.2.3 have bugs that cause the libsndfile
18385 # test suite to fail on MIPS, PowerPC and others.
18386 # See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis >= 1.2.3 " >&5
18390 $as_echo_n "checking for vorbis >= 1.2.3 ... " >&6; }
18392 if test -n "$VORBIS_CFLAGS"; then
18393 pkg_cv_VORBIS_CFLAGS
="$VORBIS_CFLAGS"
18394 elif test -n "$PKG_CONFIG"; then
18395 if test -n "$PKG_CONFIG" && \
18396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.2.3\""; } >&5
18397 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.2.3") 2>&5
18399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18400 test $ac_status = 0; }; then
18401 pkg_cv_VORBIS_CFLAGS
=`$PKG_CONFIG --cflags "vorbis >= 1.2.3" 2>/dev/null`
18402 test "x$?" != "x0" && pkg_failed
=yes
18409 if test -n "$VORBIS_LIBS"; then
18410 pkg_cv_VORBIS_LIBS
="$VORBIS_LIBS"
18411 elif test -n "$PKG_CONFIG"; then
18412 if test -n "$PKG_CONFIG" && \
18413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.2.3\""; } >&5
18414 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.2.3") 2>&5
18416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18417 test $ac_status = 0; }; then
18418 pkg_cv_VORBIS_LIBS
=`$PKG_CONFIG --libs "vorbis >= 1.2.3" 2>/dev/null`
18419 test "x$?" != "x0" && pkg_failed
=yes
18429 if test $pkg_failed = yes; then
18431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18432 _pkg_short_errors_supported
=yes
18434 _pkg_short_errors_supported
=no
18436 if test $_pkg_short_errors_supported = yes; then
18437 VORBIS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.2.3"`
18439 VORBIS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.2.3"`
18441 # Put the nasty error message in config.log where it belongs
18442 echo "$VORBIS_PKG_ERRORS" >&5
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18445 $as_echo "no" >&6; }
18447 elif test $pkg_failed = untried
; then
18450 VORBIS_CFLAGS
=$pkg_cv_VORBIS_CFLAGS
18451 VORBIS_LIBS
=$pkg_cv_VORBIS_LIBS
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18453 $as_echo "yes" >&6; }
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbisenc >= 1.2.3 " >&5
18459 $as_echo_n "checking for vorbisenc >= 1.2.3 ... " >&6; }
18461 if test -n "$VORBISENC_CFLAGS"; then
18462 pkg_cv_VORBISENC_CFLAGS
="$VORBISENC_CFLAGS"
18463 elif test -n "$PKG_CONFIG"; then
18464 if test -n "$PKG_CONFIG" && \
18465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.2.3\""; } >&5
18466 ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.2.3") 2>&5
18468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18469 test $ac_status = 0; }; then
18470 pkg_cv_VORBISENC_CFLAGS
=`$PKG_CONFIG --cflags "vorbisenc >= 1.2.3" 2>/dev/null`
18471 test "x$?" != "x0" && pkg_failed
=yes
18478 if test -n "$VORBISENC_LIBS"; then
18479 pkg_cv_VORBISENC_LIBS
="$VORBISENC_LIBS"
18480 elif test -n "$PKG_CONFIG"; then
18481 if test -n "$PKG_CONFIG" && \
18482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.2.3\""; } >&5
18483 ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.2.3") 2>&5
18485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18486 test $ac_status = 0; }; then
18487 pkg_cv_VORBISENC_LIBS
=`$PKG_CONFIG --libs "vorbisenc >= 1.2.3" 2>/dev/null`
18488 test "x$?" != "x0" && pkg_failed
=yes
18498 if test $pkg_failed = yes; then
18500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18501 _pkg_short_errors_supported
=yes
18503 _pkg_short_errors_supported
=no
18505 if test $_pkg_short_errors_supported = yes; then
18506 VORBISENC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbisenc >= 1.2.3"`
18508 VORBISENC_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbisenc >= 1.2.3"`
18510 # Put the nasty error message in config.log where it belongs
18511 echo "$VORBISENC_PKG_ERRORS" >&5
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18514 $as_echo "no" >&6; }
18516 elif test $pkg_failed = untried
; then
18519 VORBISENC_CFLAGS
=$pkg_cv_VORBISENC_CFLAGS
18520 VORBISENC_LIBS
=$pkg_cv_VORBISENC_LIBS
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18522 $as_echo "yes" >&6; }
18523 ac_cv_vorbisenc
=yes
18525 enable_external_libs
=yes
18528 if test x
$ac_cv_flac$ac_cv_ogg$ac_cv_vorbis$ac_cv_vorbisenc = "xyesyesyesyes" ; then
18529 HAVE_EXTERNAL_LIBS
=1
18530 enable_external_libs
=yes
18532 EXTERNAL_CFLAGS
="$FLAC_CFLAGS $OGG_CFLAGS $VORBISENC_CFLAGS $SPEEX_CFLAGS"
18533 EXTERNAL_LIBS
="$FLAC_LIBS $VORBISENC_LIBS $SPEEX_LIBS"
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** One or more of the external libraries (ie libflac, libogg and" >&5
18537 $as_echo "$as_me: WARNING: *** One or more of the external libraries (ie libflac, libogg and" >&2;}
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libvorbis) is either missing (possibly only the development" >&5
18539 $as_echo "$as_me: WARNING: *** libvorbis) is either missing (possibly only the development" >&2;}
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** headers) or is of an unsupported version." >&5
18541 $as_echo "$as_me: WARNING: *** headers) or is of an unsupported version." >&2;}
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***" >&5
18543 $as_echo "$as_me: WARNING: ***" >&2;}
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Unfortunately, for ease of maintenance, the external libs" >&5
18545 $as_echo "$as_me: WARNING: *** Unfortunately, for ease of maintenance, the external libs" >&2;}
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** are an all or nothing affair." >&5
18547 $as_echo "$as_me: WARNING: *** are an all or nothing affair." >&2;}
18549 enable_external_libs
=no
18554 cat >>confdefs.h
<<_ACEOF
18555 #define HAVE_EXTERNAL_LIBS $HAVE_EXTERNAL_LIBS
18559 #====================================================================================
18560 # Check for libsqlite3 (only used in regtest).
18563 if test x
$enable_sqlite != xno
; then
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.2 " >&5
18567 $as_echo_n "checking for sqlite3 >= 3.2 ... " >&6; }
18569 if test -n "$SQLITE3_CFLAGS"; then
18570 pkg_cv_SQLITE3_CFLAGS
="$SQLITE3_CFLAGS"
18571 elif test -n "$PKG_CONFIG"; then
18572 if test -n "$PKG_CONFIG" && \
18573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.2\""; } >&5
18574 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.2") 2>&5
18576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18577 test $ac_status = 0; }; then
18578 pkg_cv_SQLITE3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 >= 3.2" 2>/dev/null`
18579 test "x$?" != "x0" && pkg_failed
=yes
18586 if test -n "$SQLITE3_LIBS"; then
18587 pkg_cv_SQLITE3_LIBS
="$SQLITE3_LIBS"
18588 elif test -n "$PKG_CONFIG"; then
18589 if test -n "$PKG_CONFIG" && \
18590 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.2\""; } >&5
18591 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.2") 2>&5
18593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18594 test $ac_status = 0; }; then
18595 pkg_cv_SQLITE3_LIBS
=`$PKG_CONFIG --libs "sqlite3 >= 3.2" 2>/dev/null`
18596 test "x$?" != "x0" && pkg_failed
=yes
18606 if test $pkg_failed = yes; then
18608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18609 _pkg_short_errors_supported
=yes
18611 _pkg_short_errors_supported
=no
18613 if test $_pkg_short_errors_supported = yes; then
18614 SQLITE3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3 >= 3.2"`
18616 SQLITE3_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3 >= 3.2"`
18618 # Put the nasty error message in config.log where it belongs
18619 echo "$SQLITE3_PKG_ERRORS" >&5
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18622 $as_echo "no" >&6; }
18624 elif test $pkg_failed = untried
; then
18627 SQLITE3_CFLAGS
=$pkg_cv_SQLITE3_CFLAGS
18628 SQLITE3_LIBS
=$pkg_cv_SQLITE3_LIBS
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18630 $as_echo "yes" >&6; }
18635 if test x
$ac_cv_sqlite3 = "xyes" ; then
18642 cat >>confdefs.h
<<_ACEOF
18643 #define HAVE_SQLITE3 $HAVE_SQLITE3
18647 #====================================================================================
18648 # Determine if the processor can do clipping on float to int conversions.
18650 if test x
$enable_cpu_clip != "xno" ; then
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor clipping capabilities" >&5
18652 $as_echo_n "checking processor clipping capabilities... " >&6; }
18653 if ${ac_cv_c_clip_type+:} false
; then :
18654 $as_echo_n "(cached) " >&6
18656 # Initialize to unknown
18657 ac_cv_c_clip_positive
=unknown
18658 ac_cv_c_clip_negative
=unknown
18661 if test $ac_cv_c_clip_positive = unknown
; then
18662 if test "$cross_compiling" = yes; then :
18663 ac_cv_c_clip_positive
=unknown
18666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18669 #define _ISOC9X_SOURCE 1
18670 #define _ISOC99_SOURCE 1
18671 #define __USE_ISOC99 1
18672 #define __USE_ISOC9X 1
18678 fval = 1.0 * 0x7FFFFFFF ;
18679 for (k = 0 ; k < 100 ; k++)
18680 { ival = (lrint (fval)) >> 24 ;
18684 fval *= 1.2499999 ;
18691 if ac_fn_c_try_run
"$LINENO"; then :
18692 ac_cv_c_clip_positive
=yes
18694 ac_cv_c_clip_positive
=no
18696 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18697 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18701 if test "$cross_compiling" = yes; then :
18702 ac_cv_c_clip_negative
=unknown
18705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18708 #define _ISOC9X_SOURCE 1
18709 #define _ISOC99_SOURCE 1
18710 #define __USE_ISOC99 1
18711 #define __USE_ISOC9X 1
18717 fval = -8.0 * 0x10000000 ;
18718 for (k = 0 ; k < 100 ; k++)
18719 { ival = (lrint (fval)) >> 24 ;
18723 fval *= 1.2499999 ;
18730 if ac_fn_c_try_run
"$LINENO"; then :
18731 ac_cv_c_clip_negative
=yes
18733 ac_cv_c_clip_negative
=no
18735 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18736 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18741 if test $ac_cv_c_clip_positive = yes ; then
18742 ac_cv_c_clip_positive
=1
18744 ac_cv_c_clip_positive
=0
18747 if test $ac_cv_c_clip_negative = yes ; then
18748 ac_cv_c_clip_negative
=1
18750 ac_cv_c_clip_negative
=0
18754 case "$ac_cv_c_clip_positive$ac_cv_c_clip_negative" in
18756 ac_cv_c_clip_type
="none"
18759 ac_cv_c_clip_type
="positive"
18762 ac_cv_c_clip_type
="negative"
18765 ac_cv_c_clip_type
="both"
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_clip_type" >&5
18773 $as_echo "$ac_cv_c_clip_type" >&6; }
18778 echo "checking processor clipping capabilities... disabled"
18779 ac_cv_c_clip_positive
=0
18780 ac_cv_c_clip_negative
=0
18784 cat >>confdefs.h
<<_ACEOF
18785 #define CPU_CLIPS_POSITIVE ${ac_cv_c_clip_positive}
18789 cat >>confdefs.h
<<_ACEOF
18790 #define CPU_CLIPS_NEGATIVE ${ac_cv_c_clip_negative}
18794 #====================================================================================
18795 # Target OS specific stuff.
18797 OS_SPECIFIC_CFLAGS
=""
18798 OS_SPECIFIC_LINKS
=""
18804 darwin
* | rhapsody
*)
18806 OS_SPECIFIC_CFLAGS
="-I/Developer/Headers/FlatCarbon"
18807 OS_SPECIFIC_LINKS
="-framework CoreAudio"
18812 OS_SPECIFIC_LINKS
="-lwinmm"
18817 cat >>confdefs.h
<<_ACEOF
18818 #define OS_IS_WIN32 ${os_is_win32}
18822 cat >>confdefs.h
<<_ACEOF
18823 #define OS_IS_MACOSX ${os_is_macosx}
18827 cat >>confdefs.h
<<_ACEOF
18828 #define USE_WINDOWS_API ${use_windows_api}
18832 if test ${use_windows_api} -eq 1; then
18833 USE_WIN_VERSION_FILE_TRUE
=
18834 USE_WIN_VERSION_FILE_FALSE
='#'
18836 USE_WIN_VERSION_FILE_TRUE
='#'
18837 USE_WIN_VERSION_FILE_FALSE
=
18841 #====================================================================================
18846 if test x
$enable_alsa != xno
; then
18847 for ac_header
in alsa
/asoundlib.h
18849 ac_fn_c_check_header_mongrel
"$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
18850 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes
; then :
18851 cat >>confdefs.h
<<_ACEOF
18852 #define HAVE_ALSA_ASOUNDLIB_H 1
18859 if test x
$ac_cv_header_alsa_asoundlib_h = xyes
; then
18860 ALSA_LIBS
="-lasound"
18865 #====================================================================================
18866 # Check for OpenBSD's sndio.
18869 for ac_header
in sndio.h
18871 ac_fn_c_check_header_mongrel
"$LINENO" "sndio.h" "ac_cv_header_sndio_h" "$ac_includes_default"
18872 if test "x$ac_cv_header_sndio_h" = xyes
; then :
18873 cat >>confdefs.h
<<_ACEOF
18874 #define HAVE_SNDIO_H 1
18881 if test x
$ac_cv_header_sndio_h = xyes
; then
18882 SNDIO_LIBS
="-lsndio"
18885 #====================================================================================
18886 # Test for sanity when cross-compiling.
18888 if test x
$cross_compiling = xyes
; then
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18890 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** We are cross-compiling, so have to assume sizeof (short) == 2 " >&5
18892 $as_echo "$as_me: WARNING: *** We are cross-compiling, so have to assume sizeof (short) == 2 " >&2;}
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** and sizeof (int) == 4. If this is not the case there is no " >&5
18894 $as_echo "$as_me: WARNING: *** and sizeof (int) == 4. If this is not the case there is no " >&2;}
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** chance of this working. Please contact the mantainer. " >&5
18896 $as_echo "$as_me: WARNING: *** chance of this working. Please contact the mantainer. " >&2;}
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18898 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18901 if test $ac_cv_sizeof_short != 2 ; then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18903 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (short) != 2. " >&5
18905 $as_echo "$as_me: WARNING: *** sizeof (short) != 2. " >&2;}
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18907 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18910 if test $ac_cv_sizeof_int != 4 ; then
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18912 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (int) != 4 " >&5
18914 $as_echo "$as_me: WARNING: *** sizeof (int) != 4 " >&2;}
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18916 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18919 if test $ac_cv_sizeof_float != 4 ; then
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18921 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (float) != 4. " >&5
18923 $as_echo "$as_me: WARNING: *** sizeof (float) != 4. " >&2;}
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18925 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18928 if test $ac_cv_sizeof_double != 8 ; then
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18930 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (double) != 8. " >&5
18932 $as_echo "$as_me: WARNING: *** sizeof (double) != 8. " >&2;}
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
18934 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
18937 if test x
"$ac_cv_prog_HAVE_AUTOGEN" = "xno" ; then
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Touching files in directory tests/." >&5
18939 $as_echo "$as_me: WARNING: Touching files in directory tests/." >&2;}
18940 touch tests
/*.c
tests
/*.h
18943 #====================================================================================
18944 # Settings for the HTML documentation.
18946 htmldocdir
=$prefix/share
/doc
/libsndfile1-dev
/html
18948 if test $prefix = "NONE" ; then
18949 htmldocdir
=/usr
/local
/share
/doc
/libsndfile1-dev
/html
18951 htmldocdir
=$prefix/share
/doc
/libsndfile1-dev
/html
18954 if test x
$enable_bow_docs = "xyes" ; then
18955 HTML_BGCOLOUR
="white"
18956 HTML_FGCOLOUR
="black"
18958 HTML_BGCOLOUR
="black"
18959 HTML_FGCOLOUR
="white"
18962 #====================================================================================
18963 # Now use the information from the checking stage.
18968 if test x
$ac_cv_c_compiler_gnu = xyes
; then
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=gnu99" >&5
18970 $as_echo_n "checking if $CC accepts -std=gnu99... " >&6; }
18971 ac_add_cflags__old_cflags
="$CFLAGS"
18972 CFLAGS
="-std=gnu99"
18973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18981 puts("Hello, World!"); return 0;
18986 if ac_fn_c_try_link
"$LINENO"; then :
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18988 $as_echo "yes" >&6; }
18989 CFLAGS
="$ac_add_cflags__old_cflags -std=gnu99"
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992 $as_echo "no" >&6; }
18993 CFLAGS
="$ac_add_cflags__old_cflags"
18996 rm -f core conftest.err conftest.
$ac_objext \
18997 conftest
$ac_exeext conftest.
$ac_ext
19001 if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $CC" >&5
19004 $as_echo_n "checking for version of $CC... " >&6; }
19005 GCC_VERSION
=`$CC -dumpversion`
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
19007 $as_echo "$GCC_VERSION" >&6; }
19009 GCC_MINOR_VERSION
=`echo $GCC_VERSION | sed "s/^[0-9]\+\.//" | sed "s/\..*//"`
19010 GCC_MAJOR_VERSION
=`echo $GCC_VERSION | sed "s/\..*//"`
19019 if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****************************************************************" >&5
19021 $as_echo "$as_me: WARNING: ****************************************************************" >&2;}
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** GCC version 4.2 warns about the inline keyword for no good **" >&5
19023 $as_echo "$as_me: WARNING: ** GCC version 4.2 warns about the inline keyword for no good **" >&2;}
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** reason but the maintainers do not see it as a bug. **" >&5
19025 $as_echo "$as_me: WARNING: ** reason but the maintainers do not see it as a bug. **" >&2;}
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995 **" >&5
19027 $as_echo "$as_me: WARNING: ** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995 **" >&2;}
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Using -fgnu-inline to avoid this stupidity. **" >&5
19029 $as_echo "$as_me: WARNING: ** Using -fgnu-inline to avoid this stupidity. **" >&2;}
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****************************************************************" >&5
19031 $as_echo "$as_me: WARNING: ****************************************************************" >&2;}
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fgnu89-inline" >&5
19033 $as_echo_n "checking if $CC accepts -fgnu89-inline... " >&6; }
19034 ac_add_cflags__old_cflags
="$CFLAGS"
19035 CFLAGS
="-fgnu89-inline"
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19044 puts("Hello, World!"); return 0;
19049 if ac_fn_c_try_link
"$LINENO"; then :
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19051 $as_echo "yes" >&6; }
19052 CFLAGS
="$ac_add_cflags__old_cflags -fgnu89-inline"
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19055 $as_echo "no" >&6; }
19056 CFLAGS
="$ac_add_cflags__old_cflags"
19059 rm -f core conftest.err conftest.
$ac_objext \
19060 conftest
$ac_exeext conftest.
$ac_ext
19064 CFLAGS
="$CFLAGS -Wall"
19065 CXXFLAGS
="$CXXFLAGS -Wall"
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra" >&5
19068 $as_echo_n "checking if $CC accepts -Wextra... " >&6; }
19069 ac_add_cflags__old_cflags
="$CFLAGS"
19071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19079 puts("Hello, World!"); return 0;
19084 if ac_fn_c_try_link
"$LINENO"; then :
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19086 $as_echo "yes" >&6; }
19087 CFLAGS
="$ac_add_cflags__old_cflags -Wextra"
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19090 $as_echo "no" >&6; }
19091 CFLAGS
="$ac_add_cflags__old_cflags"
19094 rm -f core conftest.err conftest.
$ac_objext \
19095 conftest
$ac_exeext conftest.
$ac_ext
19099 ac_cpp
='$CXXCPP $CPPFLAGS'
19100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra" >&5
19105 $as_echo_n "checking if $CXX accepts -Wextra... " >&6; }
19107 ac_add_cxxflags__old_cxxflags
="$CXXFLAGS"
19109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19117 puts("Hello, World!"); return 0;
19122 if ac_fn_cxx_try_link
"$LINENO"; then :
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19124 $as_echo "yes" >&6; }
19125 CXXFLAGS
="$ac_add_cxxflags__old_cxxflags -Wextra"
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19128 $as_echo "no" >&6; }
19129 CXXFLAGS
="$ac_add_cxxflags__old_cxxflags"
19132 rm -f core conftest.err conftest.
$ac_objext \
19133 conftest
$ac_exeext conftest.
$ac_ext
19136 ac_cpp
='$CPP $CPPFLAGS'
19137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wdeclaration-after-statement" >&5
19143 $as_echo_n "checking if $CC accepts -Wdeclaration-after-statement... " >&6; }
19144 ac_add_cflags__old_cflags
="$CFLAGS"
19145 CFLAGS
="-Wdeclaration-after-statement"
19146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19154 puts("Hello, World!"); return 0;
19159 if ac_fn_c_try_link
"$LINENO"; then :
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19161 $as_echo "yes" >&6; }
19162 CFLAGS
="$ac_add_cflags__old_cflags -Wdeclaration-after-statement"
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19165 $as_echo "no" >&6; }
19166 CFLAGS
="$ac_add_cflags__old_cflags"
19169 rm -f core conftest.err conftest.
$ac_objext \
19170 conftest
$ac_exeext conftest.
$ac_ext
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wpointer-arith" >&5
19173 $as_echo_n "checking if $CC accepts -Wpointer-arith... " >&6; }
19174 ac_add_cflags__old_cflags
="$CFLAGS"
19175 CFLAGS
="-Wpointer-arith"
19176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19184 puts("Hello, World!"); return 0;
19189 if ac_fn_c_try_link
"$LINENO"; then :
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19191 $as_echo "yes" >&6; }
19192 CFLAGS
="$ac_add_cflags__old_cflags -Wpointer-arith"
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19195 $as_echo "no" >&6; }
19196 CFLAGS
="$ac_add_cflags__old_cflags"
19199 rm -f core conftest.err conftest.
$ac_objext \
19200 conftest
$ac_exeext conftest.
$ac_ext
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -funsigned-char" >&5
19203 $as_echo_n "checking if $CC accepts -funsigned-char... " >&6; }
19204 ac_add_cflags__old_cflags
="$CFLAGS"
19205 CFLAGS
="-funsigned-char"
19206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19214 puts("Hello, World!"); return 0;
19219 if ac_fn_c_try_link
"$LINENO"; then :
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19221 $as_echo "yes" >&6; }
19222 CFLAGS
="$ac_add_cflags__old_cflags -funsigned-char"
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19225 $as_echo "no" >&6; }
19226 CFLAGS
="$ac_add_cflags__old_cflags"
19229 rm -f core conftest.err conftest.
$ac_objext \
19230 conftest
$ac_exeext conftest.
$ac_ext
19233 if test x
$enable_gcc_werror = "xyes" ; then
19234 CFLAGS
="-Werror $CFLAGS"
19235 CXXFLAGS
="-Werror $CXXFLAGS"
19238 if test x
$enable_test_coverage = "xyes" ; then
19239 # MN_ADD_CFLAGS([-ftest-coverage])
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -coverage" >&5
19241 $as_echo_n "checking if $CC accepts -coverage... " >&6; }
19242 ac_add_cflags__old_cflags
="$CFLAGS"
19244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19252 puts("Hello, World!"); return 0;
19257 if ac_fn_c_try_link
"$LINENO"; then :
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19259 $as_echo "yes" >&6; }
19260 CFLAGS
="$ac_add_cflags__old_cflags -coverage"
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19263 $as_echo "no" >&6; }
19264 CFLAGS
="$ac_add_cflags__old_cflags"
19267 rm -f core conftest.err conftest.
$ac_objext \
19268 conftest
$ac_exeext conftest.
$ac_ext
19272 CFLAGS
="$CFLAGS -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -Wundef "
19273 # -Wundef -Wmissing-declarations -Winline -Wconversion"
19274 CXXFLAGS
="$CXXFLAGS -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo -Wundef "
19276 if test "x$enable_gcc_opt" = "xno" ; then
19277 temp_CFLAGS
=`echo $CFLAGS | $SED "s/O2/O0/"`
19278 CFLAGS
=$temp_CFLAGS
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Compiler optimisations switched off. ***" >&5
19280 $as_echo "$as_me: WARNING: *** Compiler optimisations switched off. ***" >&2;}
19283 # OS specific tweaks.
19285 darwin
* | rhapsody
*)
19286 # Disable -Wall, -pedantic and -Wshadow for Apple Darwin/Rhapsody.
19287 # System headers on these systems are broken.
19288 temp_CFLAGS
=`echo $CFLAGS | $SED "s/-Wall -pedantic//" | $SED "s/-Wshadow//" | $SED "s/-Waggregate-return//"`
19289 CFLAGS
=$temp_CFLAGS
19290 SHLIB_VERSION_ARG
="-Wl,-exported_symbols_list -Wl,\$(srcdir)/Symbols.darwin"
19292 linux
*|kfreebsd
*-gnu*|gnu
*)
19293 SHLIB_VERSION_ARG
="-Wl,--version-script=\$(srcdir)/Symbols.gnu-binutils"
19296 # Linker flag '-Wl,--out-implib' does not work with mingw cross compiler
19297 # so we don't use it here.
19298 SHLIB_VERSION_ARG
="-Wl,\$(srcdir)/libsndfile-1.def"
19300 if test x
"$enable_shared" = xno
; then
19305 SHLIB_VERSION_ARG
="-Wl,-export-symbols \$(srcdir)/Symbols.os2"
19310 if test x
$enable_gcc_pipe != "xno" ; then
19311 CFLAGS
="$CFLAGS -pipe"
19318 cat >>confdefs.h
<<_ACEOF
19319 #define WIN32_TARGET_DLL ${win32_target_dll}
19323 cat >>confdefs.h
<<_ACEOF
19324 #define COMPILER_IS_GCC ${COMPILER_IS_GCC}
19328 CFLAGS
="$CFLAGS $OS_SPECIFIC_CFLAGS"
19330 if test x
"$CFLAGS" = x
; then
19331 echo "Error in configure script. CFLAGS has been screwed up."
19335 HOST_TRIPLET
="${host_cpu}-${host_vendor}-${host_os}"
19337 if test "$HOST_TRIPLET" = "x86_64-w64-mingw32" ; then
19338 OS_SPECIFIC_LINKS
=" -static-libgcc $OS_SPECIFIC_LINKS"
19341 WIN_RC_VERSION
=`echo $PACKAGE_VERSION | $SED -e "s/p.*//" -e "s/\./,/g"`
19343 #-------------------------------------------------------------------------------
19366 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"
19368 cat >confcache
<<\_ACEOF
19369 # This file is a shell script that caches the results of configure
19370 # tests run on this system so they can be shared between configure
19371 # scripts and configure runs, see configure's option --config-cache.
19372 # It is not useful on other systems. If it contains results you don't
19373 # want to keep, you may remove or edit it.
19375 # config.status only pays attention to the cache file if you give it
19376 # the --recheck option to rerun configure.
19378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19380 # following values.
19384 # The following way of writing the cache mishandles newlines in values,
19385 # but we know of no workaround that is simple, portable, and efficient.
19386 # So, we kill variables containing newlines.
19387 # Ultrix sh set writes to stderr and can't be redirected directly,
19388 # and sets the high bit in the cache file unless we assign to the vars.
19390 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19391 eval ac_val
=\$
$ac_var
19395 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19399 _ | IFS | as_nl
) ;; #(
19400 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19401 *) { eval $ac_var=; unset $ac_var;} ;;
19407 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19408 *${as_nl}ac_space
=\
*)
19409 # `set' does not quote correctly, so add quotes: double-quote
19410 # substitution turns \\\\ into \\, and sed turns \\ into \.
19413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19416 # `set' quotes correctly as required by POSIX, so do not add quotes.
19417 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19426 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19428 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19430 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19431 if test -w "$cache_file"; then
19432 if test "x$cache_file" != "x/dev/null"; then
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19434 $as_echo "$as_me: updating cache $cache_file" >&6;}
19435 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19436 cat confcache
>"$cache_file"
19438 case $cache_file in #(
19440 mv -f confcache
"$cache_file"$$
&&
19441 mv -f "$cache_file"$$
"$cache_file" ;; #(
19443 mv -f confcache
"$cache_file" ;;
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19449 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19454 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19455 # Let make expand exec_prefix.
19456 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19458 DEFS
=-DHAVE_CONFIG_H
19463 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19464 # 1. Remove the extension, and $U if already installed.
19465 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19466 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19467 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19468 # will be set to the directory where LIBOBJS objects are built.
19469 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19470 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19472 LIBOBJS
=$ac_libobjs
19474 LTLIBOBJS
=$ac_ltlibobjs
19477 if test -n "$EXEEXT"; then
19479 am__EXEEXT_FALSE
='#'
19481 am__EXEEXT_TRUE
='#'
19485 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19486 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19489 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19490 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19493 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19494 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19497 if test -z "${LINUX_MINGW_CROSS_TEST_TRUE}" && test -z "${LINUX_MINGW_CROSS_TEST_FALSE}"; then
19498 as_fn_error $?
"conditional \"LINUX_MINGW_CROSS_TEST\" was never defined.
19499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19501 if test -z "${ENABLE_TEST_COVERAGE_TRUE}" && test -z "${ENABLE_TEST_COVERAGE_FALSE}"; then
19502 as_fn_error $?
"conditional \"ENABLE_TEST_COVERAGE\" was never defined.
19503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19505 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
19506 as_fn_error $?
"conditional \"BUILD_OCTAVE_MOD\" was never defined.
19507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19509 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
19510 as_fn_error $?
"conditional \"BUILD_OCTAVE_MOD\" was never defined.
19511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19513 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
19514 as_fn_error $?
"conditional \"BUILD_OCTAVE_MOD\" was never defined.
19515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19517 if test -z "${USE_WIN_VERSION_FILE_TRUE}" && test -z "${USE_WIN_VERSION_FILE_FALSE}"; then
19518 as_fn_error $?
"conditional \"USE_WIN_VERSION_FILE\" was never defined.
19519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19522 : "${CONFIG_STATUS=./config.status}"
19524 ac_clean_files_save
=$ac_clean_files
19525 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19527 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19529 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19531 # Generated by $as_me.
19532 # Run this file to recreate the current configuration.
19533 # Compiler output produced by configure, useful for debugging
19534 # configure, is in config.log if it exists.
19537 ac_cs_recheck=false
19540 SHELL=\${CONFIG_SHELL-$SHELL}
19543 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19544 ## -------------------- ##
19545 ## M4sh Initialization. ##
19546 ## -------------------- ##
19548 # Be more Bourne compatible
19549 DUALCASE
=1; export DUALCASE
# for MKS sh
19550 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19553 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19554 # is contrary to our usage. Disable this feature.
19555 alias -g '${1+"$@"}'='"$@"'
19556 setopt NO_GLOB_SUBST
19558 case `(set -o) 2>/dev/null` in #(
19570 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19571 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19573 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19574 # Prefer a ksh shell builtin over an external printf program on Solaris,
19575 # but without wasting forks for bash or zsh.
19576 if test -z "$BASH_VERSION$ZSH_VERSION" \
19577 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19578 as_echo='print
-r --'
19579 as_echo_n='print
-rn --'
19580 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19581 as_echo='printf %s
\n'
19582 as_echo_n='printf %s
'
19584 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19585 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19586 as_echo_n='/usr
/ucb
/echo -n'
19588 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19589 as_echo_n_body='eval
19593 expr "X$arg" : "X\\(.*\\)$as_nl";
19594 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19596 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19598 export as_echo_n_body
19599 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19601 export as_echo_body
19602 as_echo='sh
-c $as_echo_body as_echo
'
19605 # The user is always right.
19606 if test "${PATH_SEPARATOR+set}" != set; then
19608 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19609 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19616 # We need space, tab and new line, in precisely that order. Quoting is
19617 # there to prevent editors from complaining about space-tab.
19618 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19619 # splitting by setting IFS to empty value.)
19622 # Find who we are. Look in the path if we contain no directory separator.
19625 *[\\/]* ) as_myself=$0 ;;
19626 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19627 for as_dir in $PATH
19630 test -z "$as_dir" && as_dir=.
19631 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19637 # We did not find ourselves, most probably we were run as `sh COMMAND'
19638 # in which case we are not to be found in the path.
19639 if test "x$as_myself" = x
; then
19642 if test ! -f "$as_myself"; then
19643 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19647 # Unset variables that we do not need and which cause bugs (e.g. in
19648 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19649 # suppresses any "Segmentation fault" message there. '((' could
19650 # trigger a bug in pdksh 5.2.14.
19651 for as_var
in BASH_ENV ENV MAIL MAILPATH
19652 do eval test x\
${$as_var+set} = xset \
19653 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19666 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19669 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19670 # ----------------------------------------
19671 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19672 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19673 # script with STATUS, using 1 if that was 0.
19676 as_status
=$1; test $as_status -eq 0 && as_status
=1
19678 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19679 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19681 $as_echo "$as_me: error: $2" >&2
19682 as_fn_exit
$as_status
19686 # as_fn_set_status STATUS
19687 # -----------------------
19688 # Set $? to STATUS, without forking.
19689 as_fn_set_status
()
19692 } # as_fn_set_status
19694 # as_fn_exit STATUS
19695 # -----------------
19696 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19700 as_fn_set_status
$1
19706 # Portably unset VAR.
19709 { eval $1=; unset $1;}
19711 as_unset
=as_fn_unset
19712 # as_fn_append VAR VALUE
19713 # ----------------------
19714 # Append the text in VALUE to the end of the definition contained in VAR. Take
19715 # advantage of any shell optimizations that allow amortized linear growth over
19716 # repeated appends, instead of the typical quadratic growth present in naive
19718 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19719 eval 'as_fn_append ()
19730 # as_fn_arith ARG...
19731 # ------------------
19732 # Perform arithmetic evaluation on the ARGs, and store the result in the
19733 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19734 # must be portable across $(()) and expr.
19735 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19736 eval 'as_fn_arith ()
19743 as_val
=`expr "$@" || test $? -eq 1`
19748 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19749 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19755 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19756 as_basename
=basename
19761 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19767 as_me
=`$as_basename -- "$0" ||
19768 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19769 X"$0" : 'X\(//\)$' \| \
19770 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19772 sed '/^.*\/\([^/][^/]*\)\/*$/{
19786 # Avoid depending upon Character Ranges.
19787 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19788 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19789 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19790 as_cr_digits
='0123456789'
19791 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19793 ECHO_C
= ECHO_N
= ECHO_T
=
19794 case `echo -n x` in #(((((
19796 case `echo 'xy\c'` in
19797 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19799 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19806 rm -f conf$$ conf$$.exe conf$$.
file
19807 if test -d conf$$.dir
; then
19808 rm -f conf$$.dir
/conf$$.
file
19811 mkdir conf$$.dir
2>/dev
/null
19813 if (echo >conf$$.
file) 2>/dev
/null
; then
19814 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19816 # ... but there are two gotchas:
19817 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19818 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19819 # In both cases, we have to default to `cp -p'.
19820 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19822 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19830 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19831 rmdir conf$$.dir
2>/dev
/null
19836 # Create "$as_dir" as a directory, including parents if necessary.
19841 -*) as_dir
=.
/$as_dir;;
19843 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19847 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19848 *) as_qdir
=$as_dir;;
19850 as_dirs
="'$as_qdir' $as_dirs"
19851 as_dir
=`$as_dirname -- "$as_dir" ||
19852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19853 X"$as_dir" : 'X\(//\)[^/]' \| \
19854 X"$as_dir" : 'X\(//\)$' \| \
19855 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19856 $as_echo X"$as_dir" |
19857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19861 /^X\(\/\/\)[^/].*/{
19874 test -d "$as_dir" && break
19876 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19877 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19881 if mkdir
-p .
2>/dev
/null
; then
19882 as_mkdir_p
='mkdir -p "$as_dir"'
19884 test -d .
/-p && rmdir .
/-p
19888 if test -x / >/dev
/null
2>&1; then
19889 as_test_x
='test -x'
19891 if ls -dL / >/dev
/null
2>&1; then
19898 if test -d "$1"; then
19904 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19905 ???[sx]*):;;*)false;;esac;fi
19909 as_executable_p
=$as_test_x
19911 # Sed expression to map a string onto a valid CPP name.
19912 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19914 # Sed expression to map a string onto a valid variable name.
19915 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19919 ## ----------------------------------- ##
19920 ## Main body of $CONFIG_STATUS script. ##
19921 ## ----------------------------------- ##
19923 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19926 # Save the log message, to keep $0 and so on meaningful, and to
19927 # report actual input values of CONFIG_FILES etc. instead of their
19928 # values after options handling.
19930 This file was extended by libsndfile $as_me 1.0.25, which was
19931 generated by GNU Autoconf 2.68. Invocation command line was
19933 CONFIG_FILES = $CONFIG_FILES
19934 CONFIG_HEADERS = $CONFIG_HEADERS
19935 CONFIG_LINKS = $CONFIG_LINKS
19936 CONFIG_COMMANDS = $CONFIG_COMMANDS
19939 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19944 case $ac_config_files in *"
19945 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19948 case $ac_config_headers in *"
19949 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19954 # Files that config.status was made for.
19955 config_files="$ac_config_files"
19956 config_headers="$ac_config_headers"
19957 config_commands="$ac_config_commands"
19961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19963 \`$as_me' instantiates files and other configuration actions
19964 from templates according to the current configuration. Unless the files
19965 and actions are specified as TAGs, all are instantiated by default.
19967 Usage: $0 [OPTION]... [TAG]...
19969 -h, --help print this help, then exit
19970 -V, --version print version number and configuration settings, then exit
19971 --config print configuration, then exit
19972 -q, --quiet, --silent
19973 do not print progress messages
19974 -d, --debug don't remove temporary files
19975 --recheck update $as_me by reconfiguring in the same conditions
19976 --file=FILE[:TEMPLATE]
19977 instantiate the configuration file FILE
19978 --header=FILE[:TEMPLATE]
19979 instantiate the configuration header FILE
19981 Configuration files:
19984 Configuration headers:
19987 Configuration commands:
19990 Report bugs to <sndfile@mega-nerd.com>.
19991 libsndfile home page: <http://www.mega-nerd.com/libsndfile/>."
19994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19995 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19997 libsndfile config.status 1.0.25
19998 configured by $0, generated by GNU Autoconf 2.68,
19999 with options \\"\$ac_cs_config\\"
20001 Copyright (C) 2010 Free Software Foundation, Inc.
20002 This config.status script is free software; the Free Software Foundation
20003 gives unlimited permission to copy, distribute and modify it."
20010 test -n "\$AWK" || AWK=awk
20013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20014 # The default lists apply if the user does not specify any file.
20020 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20021 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20025 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20037 # Handling of the options.
20038 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20040 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20041 $as_echo "$ac_cs_version"; exit ;;
20042 --config |
--confi |
--conf |
--con |
--co |
--c )
20043 $as_echo "$ac_cs_config"; exit ;;
20044 --debug |
--debu |
--deb |
--de |
--d |
-d )
20046 --file |
--fil |
--fi |
--f )
20049 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20050 '') as_fn_error $?
"missing file argument" ;;
20052 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20053 ac_need_defaults
=false
;;
20054 --header |
--heade |
--head |
--hea )
20057 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20059 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20060 ac_need_defaults
=false
;;
20062 # Conflict between --help and --header
20063 as_fn_error $?
"ambiguous option: \`$1'
20064 Try \`$0 --help' for more information.";;
20065 --help |
--hel |
-h )
20066 $as_echo "$ac_cs_usage"; exit ;;
20067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20068 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20071 # This is an error.
20072 -*) as_fn_error $?
"unrecognized option: \`$1'
20073 Try \`$0 --help' for more information." ;;
20075 *) as_fn_append ac_config_targets
" $1"
20076 ac_need_defaults
=false
;;
20082 ac_configure_extra_args
=
20084 if $ac_cs_silent; then
20086 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20091 if \$ac_cs_recheck; then
20092 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20094 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20095 CONFIG_SHELL='$SHELL'
20096 export CONFIG_SHELL
20101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20105 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20106 ## Running $as_me. ##
20112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20116 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20119 # The HP-UX ksh and POSIX shell print the target directory to stdout
20120 # if CDPATH is set.
20121 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20123 sed_quote_subst='$sed_quote_subst'
20124 double_quote_subst='$double_quote_subst'
20125 delay_variable_subst='$delay_variable_subst'
20126 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20127 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20128 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20129 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20130 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20131 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20132 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20133 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20134 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20135 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20136 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20137 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20138 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20139 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20140 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20141 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20142 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20143 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20144 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20145 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20146 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20147 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20148 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20149 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20150 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20151 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20152 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20153 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20154 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20155 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20156 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20157 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20158 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20159 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20160 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20161 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20162 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20163 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20164 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20165 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20166 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20167 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20168 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20169 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20170 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20171 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20172 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20173 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20174 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20175 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20176 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20177 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20178 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20179 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20180 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20181 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"`'
20182 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20183 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20184 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20185 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20186 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20187 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20188 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20189 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20190 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20191 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20192 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20193 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20194 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20195 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20196 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20197 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20198 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20199 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20200 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20201 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20202 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20203 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20204 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20205 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20206 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20207 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20208 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20209 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20210 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20211 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20212 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20213 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20214 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20215 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20216 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20217 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20218 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20219 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20220 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20221 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20222 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20223 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20224 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20225 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20226 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20227 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20228 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20229 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20230 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20231 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20232 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20233 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20234 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20235 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20236 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20237 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20238 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20239 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20240 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20241 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20242 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20243 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20244 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20245 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20246 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20247 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20248 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20249 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20250 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20251 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20252 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20253 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20254 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20255 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20256 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20257 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20258 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20259 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20260 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20261 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20262 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20263 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
20264 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20265 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
20266 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20267 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
20268 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20269 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
20270 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20271 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
20272 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20273 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
20274 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20275 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
20276 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20277 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
20278 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20279 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
20280 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20281 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
20282 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20283 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
20284 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20285 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
20286 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20287 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
20288 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20289 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20290 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20291 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20292 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20293 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
20294 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20295 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
20296 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20297 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
20298 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20299 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
20300 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20301 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
20302 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20303 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
20304 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20305 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
20306 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20307 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
20308 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20309 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
20310 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20311 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
20312 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20313 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
20314 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20315 hardcode_libdir_flag_spec_ld_RC='`$ECHO "$hardcode_libdir_flag_spec_ld_RC" | $SED "$delay_single_quote_subst"`'
20316 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20317 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
20318 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20319 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
20320 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20321 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
20322 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20323 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
20324 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20325 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
20326 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20327 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
20328 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20329 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
20330 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20331 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
20332 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20333 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
20334 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20335 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
20336 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20337 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
20338 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20339 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
20340 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20341 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
20342 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20343 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
20344 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20345 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
20346 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20347 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
20348 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20349 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
20350 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20351 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
20352 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20353 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
20354 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20355 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
20356 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20357 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
20358 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20359 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
20362 LTCFLAGS='$LTCFLAGS'
20363 compiler='$compiler_DEFAULT'
20365 # A function that is used when there is no print builtin or printf.
20366 func_fallback_echo ()
20368 eval 'cat <<_LTECHO_EOF
20373 # Quote evaled strings.
20387 deplibs_check_method \
20392 sharedlib_from_linklib_cmd \
20395 archiver_list_spec \
20401 lt_cv_sys_global_symbol_pipe \
20402 lt_cv_sys_global_symbol_to_cdecl \
20403 lt_cv_sys_global_symbol_to_c_name_address \
20404 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20405 nm_file_list_spec \
20406 lt_prog_compiler_no_builtin_flag \
20407 lt_prog_compiler_pic \
20408 lt_prog_compiler_wl \
20409 lt_prog_compiler_static \
20410 lt_cv_prog_compiler_c_o \
20419 export_dynamic_flag_spec \
20420 whole_archive_flag_spec \
20421 compiler_needs_object \
20423 allow_undefined_flag \
20424 no_undefined_flag \
20425 hardcode_libdir_flag_spec \
20426 hardcode_libdir_flag_spec_ld \
20427 hardcode_libdir_separator \
20431 variables_saved_for_relink \
20433 library_names_spec \
20435 install_override_mode \
20439 compiler_lib_search_dirs \
20444 compiler_lib_search_path \
20451 lt_prog_compiler_no_builtin_flag_CXX \
20452 lt_prog_compiler_no_builtin_flag_RC \
20453 lt_prog_compiler_pic_CXX \
20454 lt_prog_compiler_pic_RC \
20455 lt_prog_compiler_wl_CXX \
20456 lt_prog_compiler_wl_RC \
20457 lt_prog_compiler_static_CXX \
20458 lt_prog_compiler_static_RC \
20459 lt_cv_prog_compiler_c_o_CXX \
20460 lt_cv_prog_compiler_c_o_RC \
20461 export_dynamic_flag_spec_CXX \
20462 export_dynamic_flag_spec_RC \
20463 whole_archive_flag_spec_CXX \
20464 whole_archive_flag_spec_RC \
20465 compiler_needs_object_CXX \
20466 compiler_needs_object_RC \
20469 allow_undefined_flag_CXX \
20470 allow_undefined_flag_RC \
20471 no_undefined_flag_CXX \
20472 no_undefined_flag_RC \
20473 hardcode_libdir_flag_spec_CXX \
20474 hardcode_libdir_flag_spec_RC \
20475 hardcode_libdir_flag_spec_ld_CXX \
20476 hardcode_libdir_flag_spec_ld_RC \
20477 hardcode_libdir_separator_CXX \
20478 hardcode_libdir_separator_RC \
20479 exclude_expsyms_CXX \
20480 exclude_expsyms_RC \
20481 include_expsyms_CXX \
20482 include_expsyms_RC \
20483 file_list_spec_CXX \
20484 file_list_spec_RC \
20485 compiler_lib_search_dirs_CXX \
20486 compiler_lib_search_dirs_RC \
20487 predep_objects_CXX \
20488 predep_objects_RC \
20489 postdep_objects_CXX \
20490 postdep_objects_RC \
20495 compiler_lib_search_path_CXX \
20496 compiler_lib_search_path_RC; do
20497 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20498 *[\\\\\\\`\\"\\\$]*)
20499 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20502 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20507 # Double-quote double-evaled strings.
20508 for var in reload_cmds \
20509 old_postinstall_cmds \
20510 old_postuninstall_cmds \
20512 extract_expsyms_cmds \
20513 old_archive_from_new_cmds \
20514 old_archive_from_expsyms_cmds \
20516 archive_expsym_cmds \
20518 module_expsym_cmds \
20519 export_symbols_cmds \
20523 postuninstall_cmds \
20525 sys_lib_search_path_spec \
20526 sys_lib_dlsearch_path_spec \
20529 old_archive_cmds_CXX \
20530 old_archive_cmds_RC \
20531 old_archive_from_new_cmds_CXX \
20532 old_archive_from_new_cmds_RC \
20533 old_archive_from_expsyms_cmds_CXX \
20534 old_archive_from_expsyms_cmds_RC \
20537 archive_expsym_cmds_CXX \
20538 archive_expsym_cmds_RC \
20541 module_expsym_cmds_CXX \
20542 module_expsym_cmds_RC \
20543 export_symbols_cmds_CXX \
20544 export_symbols_cmds_RC \
20547 postlink_cmds_CXX \
20548 postlink_cmds_RC; do
20549 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20550 *[\\\\\\\`\\"\\\$]*)
20551 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20554 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20559 ac_aux_dir='$ac_aux_dir'
20560 xsi_shell='$xsi_shell'
20561 lt_shell_append='$lt_shell_append'
20563 # See if we are running on zsh, and set the options which allow our
20564 # commands through without removal of \ escapes INIT.
20565 if test -n "\${ZSH_VERSION+set}" ; then
20566 setopt NO_GLOB_SUBST
20572 TIMESTAMP='$TIMESTAMP'
20585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20587 # Handling of arguments.
20588 for ac_config_target
in $ac_config_targets
20590 case $ac_config_target in
20591 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
20592 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20593 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20594 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20595 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
20596 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20597 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20598 "regtest/Makefile") CONFIG_FILES
="$CONFIG_FILES regtest/Makefile" ;;
20599 "M4/Makefile") CONFIG_FILES
="$CONFIG_FILES M4/Makefile" ;;
20600 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20601 "Win32/Makefile") CONFIG_FILES
="$CONFIG_FILES Win32/Makefile" ;;
20602 "Octave/Makefile") CONFIG_FILES
="$CONFIG_FILES Octave/Makefile" ;;
20603 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20604 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20605 "src/version-metadata.rc") CONFIG_FILES
="$CONFIG_FILES src/version-metadata.rc" ;;
20606 "tests/test_wrapper.sh") CONFIG_FILES
="$CONFIG_FILES tests/test_wrapper.sh" ;;
20607 "tests/pedantic-header-test.sh") CONFIG_FILES
="$CONFIG_FILES tests/pedantic-header-test.sh" ;;
20608 "doc/libsndfile.css") CONFIG_FILES
="$CONFIG_FILES doc/libsndfile.css" ;;
20609 "build-test-tarball.mk") CONFIG_FILES
="$CONFIG_FILES build-test-tarball.mk" ;;
20610 "libsndfile.spec") CONFIG_FILES
="$CONFIG_FILES libsndfile.spec" ;;
20611 "sndfile.pc") CONFIG_FILES
="$CONFIG_FILES sndfile.pc" ;;
20612 "src/sndfile.h") CONFIG_FILES
="$CONFIG_FILES src/sndfile.h" ;;
20614 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20619 # If the user did not use the arguments to specify the items to instantiate,
20620 # then the envvar interface is used. Set only those that are not.
20621 # We use the long form for the default assignment because of an extremely
20622 # bizarre bug on SunOS 4.1.3.
20623 if $ac_need_defaults; then
20624 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20625 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20629 # Have a temporary directory for convenience. Make it in the build tree
20630 # simply because there is no reason against having it here, and in addition,
20631 # creating and moving files from /tmp can sometimes cause problems.
20632 # Hook for its removal unless debugging.
20633 # Note that there is a small window in which the directory will not be cleaned:
20634 # after its creation but before its name has been assigned to `$tmp'.
20638 trap 'exit_status=$?
20639 : "${ac_tmp:=$tmp}"
20640 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20642 trap 'as_fn_exit 1' 1 2 13 15
20644 # Create a (secure) tmp directory for tmp files.
20647 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20651 tmp
=.
/conf$$
-$RANDOM
20652 (umask 077 && mkdir
"$tmp")
20653 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20656 # Set up the scripts for CONFIG_FILES section.
20657 # No need to generate them if there are no CONFIG_FILES.
20658 # This happens for instance with `./config.status config.h'.
20659 if test -n "$CONFIG_FILES"; then
20662 ac_cr
=`echo X | tr X '\015'`
20663 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20664 # But we know of no other shell where ac_cr would be empty at this
20665 # point, so we can use a bashism as a fallback.
20666 if test "x$ac_cr" = x
; then
20667 eval ac_cr
=\$
\'\\r
\'
20669 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20670 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20673 ac_cs_awk_cr
=$ac_cr
20676 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20681 echo "cat >conf$$subs.awk <<_ACEOF" &&
20682 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20684 } >conf$$subs.sh ||
20685 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20686 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20688 for ac_last_try in false false false false false :; do
20689 . ./conf$$subs.sh ||
20690 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20692 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20693 if test $ac_delim_n = $ac_delim_num; then
20695 elif $ac_last_try; then
20696 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20698 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20701 rm -f conf$$subs.sh
20703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20704 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20708 s/^/S["/; s
/!.
*/"]=/
20718 s/\(.\{148\}\)..*/\1/
20720 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20725 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20732 s/\(.\{148\}\)..*/\1/
20734 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20738 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20743 ' <conf$$subs.awk | sed '
20748 ' >>$CONFIG_STATUS || ac_write_fail=1
20749 rm -f conf$$subs.awk
20750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20752 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20753 for (key in S) S_is_set[key] = 1
20759 nfields = split(line, field, "@
")
20761 len = length(field[1])
20762 for (i = 2; i < nfields; i++) {
20764 keylen = length(key)
20765 if (S_is_set[key]) {
20767 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20768 len += length(value) + length(field[++i])
20779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20780 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20781 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20784 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20785 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20788 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20789 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20790 # trailing colons and then remove the whole line if VPATH becomes empty
20791 # (actually we leave an empty line to preserve line numbers).
20792 if test "x
$srcdir" = x.; then
20793 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20812 fi # test -n "$CONFIG_FILES"
20814 # Set up the scripts for CONFIG_HEADERS section.
20815 # No need to generate them if there are no CONFIG_HEADERS.
20816 # This happens for instance with `./config.status Makefile'.
20817 if test -n "$CONFIG_HEADERS"; then
20818 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20822 # Transform confdefs.h into an awk script `defines.awk', embedded as
20823 # here-document in config.status, that substitutes the proper values into
20824 # config.h.in to produce config.h.
20826 # Create a delimiter string that does not exist in confdefs.h, to ease
20827 # handling of long lines.
20829 for ac_last_try in false false :; do
20830 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20831 if test -z "$ac_tt"; then
20833 elif $ac_last_try; then
20834 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20836 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20840 # For the awk script, D is an array of macro values keyed by name,
20841 # likewise P contains macro parameters if any. Preserve backslash
20842 # newline sequences.
20844 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20846 s/.\{148\}/&'"$ac_delim"'/g
20849 s/^[ ]*#[ ]*define[ ][ ]*/ /
20856 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20858 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20862 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20863 D["\
1"]=" \
3\\\\\\n
"\\/p
20865 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20870 s/.\{148\}/&'"$ac_delim"'/g
20875 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20878 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20880 ' <confdefs.h | sed '
20881 s/'"$ac_delim"'/"\\\
20882 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 for (key in D) D_is_set[key] = 1
20888 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20890 split(line, arg, " ")
20891 if (arg[1] == "#") {
20895 defundef
= substr
(arg
[1], 2)
20898 split(mac1
, mac2
, "(") #)
20900 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20901 if (D_is_set
[macro
]) {
20902 # Preserve the white space surrounding the "#".
20903 print prefix
"define", macro P
[macro
] D
[macro
]
20906 # Replace #undef with comments. This is necessary, for example,
20907 # in the case of _POSIX_SOURCE, which is predefined and required
20908 # on some systems where configure will not decide to define it.
20909 if (defundef
== "undef") {
20910 print
"/*", prefix defundef
, macro
, "*/"
20918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20919 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20920 fi # test -n "$CONFIG_HEADERS"
20923 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20928 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20930 case $ac_mode$ac_tag in
20932 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20933 :[FH
]-) ac_tag
=-:-;;
20934 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20951 -) ac_f
="$ac_tmp/stdin";;
20952 *) # Look for the file first in the build tree, then in the source tree
20953 # (if the path is not absolute). The absolute path cannot be DOS-style,
20954 # because $ac_f cannot contain `:'.
20958 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20960 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20962 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20963 as_fn_append ac_file_inputs
" '$ac_f'"
20966 # Let's still pretend it is `configure' which instantiates (i.e., don't
20967 # use $as_me), people would be surprised to read:
20968 # /* config.h. Generated by config.status. */
20969 configure_input
='Generated from '`
20970 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20972 if test x
"$ac_file" != x-
; then
20973 configure_input
="$ac_file. $configure_input"
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20975 $as_echo "$as_me: creating $ac_file" >&6;}
20977 # Neutralize special characters interpreted by sed in replacement strings.
20978 case $configure_input in #(
20979 *\
&* |
*\|
* |
*\\* )
20980 ac_sed_conf_input
=`$as_echo "$configure_input" |
20981 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20982 *) ac_sed_conf_input
=$configure_input;;
20986 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20987 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20992 ac_dir
=`$as_dirname -- "$ac_file" ||
20993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20994 X"$ac_file" : 'X\(//\)[^/]' \| \
20995 X"$ac_file" : 'X\(//\)$' \| \
20996 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20997 $as_echo X"$ac_file" |
20998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21002 /^X\(\/\/\)[^/].*/{
21015 as_dir
="$ac_dir"; as_fn_mkdir_p
21019 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21021 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21022 # A ".." for each directory in $ac_dir_suffix.
21023 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21024 case $ac_top_builddir_sub in
21025 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21026 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21029 ac_abs_top_builddir
=$ac_pwd
21030 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21031 # for backward compatibility:
21032 ac_top_builddir
=$ac_top_build_prefix
21035 .
) # We are building in place.
21037 ac_top_srcdir
=$ac_top_builddir_sub
21038 ac_abs_top_srcdir
=$ac_pwd ;;
21039 [\\/]* | ?
:[\\/]* ) # Absolute name.
21040 ac_srcdir
=$srcdir$ac_dir_suffix;
21041 ac_top_srcdir
=$srcdir
21042 ac_abs_top_srcdir
=$srcdir ;;
21043 *) # Relative name.
21044 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21045 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21046 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21048 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21058 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21059 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21061 ac_MKDIR_P
=$MKDIR_P
21063 [\\/$
]* | ?
:[\\/]* ) ;;
21064 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21069 # If the template does not know about datarootdir, expand it.
21070 # FIXME: This hack should be removed a few years after 2.60.
21071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21083 *datarootdir
*) ac_datarootdir_seen
=yes;;
21084 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21089 ac_datarootdir_hack='
21090 s&@datadir@&$datadir&g
21091 s&@docdir@&$docdir&g
21092 s&@infodir@&$infodir&g
21093 s&@localedir@&$localedir&g
21094 s&@mandir@&$mandir&g
21095 s&\\\${datarootdir}&$datarootdir&g' ;;
21099 # Neutralize VPATH when `$srcdir' = `.'.
21100 # Shell code in configure.ac might set extrasub.
21101 # FIXME: do we really want to maintain this feature?
21102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21103 ac_sed_extra="$ac_vpsub
21106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21108 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21109 s|@configure_input@|
$ac_sed_conf_input|
;t t
21110 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21111 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21112 s
&@srcdir@
&$ac_srcdir&;t t
21113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21116 s
&@builddir@
&$ac_builddir&;t t
21117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21119 s
&@INSTALL@
&$ac_INSTALL&;t t
21120 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21121 $ac_datarootdir_hack
21123 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21124 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21126 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21127 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21128 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21129 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21131 which seems to be undefined. Please make sure it is defined" >&5
21132 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21133 which seems to be undefined. Please make sure it is defined" >&2;}
21135 rm -f "$ac_tmp/stdin"
21137 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21138 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21146 if test x"$ac_file" != x-; then
21148 $as_echo "/* $configure_input */" \
21149 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21150 } >"$ac_tmp/config.h" \
21151 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21152 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21154 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21157 mv "$ac_tmp/config.h" "$ac_file" \
21158 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21161 $as_echo "/* $configure_input */" \
21162 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21163 || as_fn_error $? "could not create -" "$LINENO" 5
21165 # Compute "$ac_file"'s index
in $config_headers.
21168 for _am_header
in $config_headers :; do
21169 case $_am_header in
21170 $_am_arg |
$_am_arg:* )
21173 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21176 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21177 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21178 X"$_am_arg" : 'X\(//\)[^/]' \| \
21179 X"$_am_arg" : 'X\(//\)$' \| \
21180 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21181 $as_echo X"$_am_arg" |
21182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21186 /^X\(\/\/\)[^/].*/{
21198 s/.*/./; q'`/stamp-h
$_am_stamp_count
21201 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21202 $as_echo "$as_me: executing $ac_file commands" >&6;}
21207 case $ac_file$ac_mode in
21208 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21209 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21210 # are listed without --file. Let's play safe and only enable the eval
21211 # if we detect the quoting.
21212 case $CONFIG_FILES in
21213 *\'*) eval set x
"$CONFIG_FILES" ;;
21214 *) set x
$CONFIG_FILES ;;
21219 # Strip MF so we end up with the name of the file.
21220 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21221 # Check whether this is an Automake generated Makefile or not.
21222 # We used to match only the files named `Makefile.in', but
21223 # some people rename them; so instead we look at the file content.
21224 # Grep'ing the first line is not enough: some people post-process
21225 # each Makefile.in and add a new line on top of each file to say so.
21226 # Grep'ing the whole file is not good either: AIX grep has a line
21227 # limit of 2048, but all sed's we know have understand at least 4000.
21228 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21229 dirpart
=`$as_dirname -- "$mf" ||
21230 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21231 X"$mf" : 'X\(//\)[^/]' \| \
21232 X"$mf" : 'X\(//\)$' \| \
21233 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21239 /^X\(\/\/\)[^/].*/{
21255 # Extract the definition of DEPDIR, am__include, and am__quote
21256 # from the Makefile without running `make'.
21257 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21258 test -z "$DEPDIR" && continue
21259 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21260 test -z "am__include" && continue
21261 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21262 # When using ansi2knr, U may be empty or an underscore; expand it
21263 U
=`sed -n 's/^U = //p' < "$mf"`
21264 # Find all dependency output files, they are included files with
21265 # $(DEPDIR) in their names. We invoke sed twice because it is the
21266 # simplest approach to changing $(DEPDIR) to its actual value in the
21268 for file in `sed -n "
21269 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21270 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21271 # Make sure the directory exists.
21272 test -f "$dirpart/$file" && continue
21273 fdir
=`$as_dirname -- "$file" ||
21274 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21275 X"$file" : 'X\(//\)[^/]' \| \
21276 X"$file" : 'X\(//\)$' \| \
21277 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21278 $as_echo X"$file" |
21279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21283 /^X\(\/\/\)[^/].*/{
21296 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21297 # echo "creating $dirpart/$file"
21298 echo '# dummy' > "$dirpart/$file"
21305 # See if we are running on zsh, and set the options which allow our
21306 # commands through without removal of \ escapes.
21307 if test -n "${ZSH_VERSION+set}" ; then
21308 setopt NO_GLOB_SUBST
21311 cfgfile
="${ofile}T"
21312 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21315 cat <<_LT_EOF >> "$cfgfile"
21318 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21319 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21320 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21321 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21323 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21324 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21326 # Written by Gordon Matzigkeit, 1996
21328 # This file is part of GNU Libtool.
21330 # GNU Libtool is free software; you can redistribute it and/or
21331 # modify it under the terms of the GNU General Public License as
21332 # published by the Free Software Foundation; either version 2 of
21333 # the License, or (at your option) any later version.
21335 # As a special exception to the GNU General Public License,
21336 # if you distribute this file as part of a program or library that
21337 # is built using GNU Libtool, you may include this file under the
21338 # same distribution terms that you use for the rest of that program.
21340 # GNU Libtool is distributed in the hope that it will be useful,
21341 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21343 # GNU General Public License for more details.
21345 # You should have received a copy of the GNU General Public License
21346 # along with GNU Libtool; see the file COPYING. If not, a copy
21347 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21348 # obtained by writing to the Free Software Foundation, Inc.,
21349 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21352 # The names of the tagged configurations supported by this script.
21353 available_tags="CXX RC "
21355 # ### BEGIN LIBTOOL CONFIG
21357 # Which release of libtool.m4 was used?
21358 macro_version=$macro_version
21359 macro_revision=$macro_revision
21361 # Whether or not to build shared libraries.
21362 build_libtool_libs=$enable_shared
21364 # Whether or not to build static libraries.
21365 build_old_libs=$enable_static
21367 # What type of objects to build.
21370 # Whether or not to optimize for fast installation.
21371 fast_install=$enable_fast_install
21373 # Shell to use when invoking shell scripts.
21376 # An echo program that protects backslashes.
21380 host_alias=$host_alias
21384 # The build system.
21385 build_alias=$build_alias
21389 # A sed program that does not truncate output.
21392 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21393 Xsed="\$SED -e 1s/^X//"
21395 # A grep program that handles long lines.
21401 # A literal string matcher.
21404 # A BSD- or MS-compatible name lister.
21407 # Whether we need soft or hard links.
21410 # What is the maximum length of a command?
21411 max_cmd_len=$max_cmd_len
21413 # Object file suffix (normally "o").
21416 # Executable file suffix (normally "").
21419 # whether the shell understands "unset".
21422 # turn spaces into newlines.
21425 # turn newlines into spaces.
21428 # convert \$build file names to \$host format.
21429 to_host_file_cmd=$lt_cv_to_host_file_cmd
21431 # convert \$build files to toolchain format.
21432 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21434 # An object symbol dumper.
21435 OBJDUMP=$lt_OBJDUMP
21437 # Method to check whether dependent libraries are shared objects.
21438 deplibs_check_method=$lt_deplibs_check_method
21440 # Command to use when deplibs_check_method = "file_magic".
21441 file_magic_cmd=$lt_file_magic_cmd
21443 # How to find potential files when deplibs_check_method = "file_magic".
21444 file_magic_glob=$lt_file_magic_glob
21446 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21447 want_nocaseglob=$lt_want_nocaseglob
21449 # DLL creation program.
21450 DLLTOOL=$lt_DLLTOOL
21452 # Command to associate shared and link libraries.
21453 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21458 # Flags to create an archive.
21459 AR_FLAGS=$lt_AR_FLAGS
21461 # How to feed a file listing to the archiver.
21462 archiver_list_spec=$lt_archiver_list_spec
21464 # A symbol stripping program.
21467 # Commands used to install an old-style archive.
21469 old_postinstall_cmds=$lt_old_postinstall_cmds
21470 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21472 # Whether to use a lock for old archive extraction.
21473 lock_old_archive_extraction=$lock_old_archive_extraction
21478 # LTCC compiler flags.
21479 LTCFLAGS=$lt_CFLAGS
21481 # Take the output of nm and produce a listing of raw symbols and C names.
21482 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21484 # Transform the output of nm in a proper C declaration.
21485 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21487 # Transform the output of nm in a C name address pair.
21488 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21490 # Transform the output of nm in a C name address pair when lib prefix is needed.
21491 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21493 # Specify filename containing input files for \$NM.
21494 nm_file_list_spec=$lt_nm_file_list_spec
21496 # The root where to search for dependent libraries,and in which our libraries should be installed.
21497 lt_sysroot=$lt_sysroot
21499 # The name of the directory that contains temporary libtool files.
21502 # Used to examine libraries when file_magic_cmd begins with "file".
21503 MAGIC_CMD=$MAGIC_CMD
21505 # Must we lock files when doing compilation?
21506 need_locks=$lt_need_locks
21509 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21511 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21512 DSYMUTIL=$lt_DSYMUTIL
21514 # Tool to change global to local symbols on Mac OS X.
21517 # Tool to manipulate fat objects and archives on Mac OS X.
21520 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21523 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21524 OTOOL64=$lt_OTOOL64
21526 # Old archive suffix (normally "a").
21529 # Shared library suffix (normally ".so").
21530 shrext_cmds=$lt_shrext_cmds
21532 # The commands to extract the exported symbol list from a shared archive.
21533 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21535 # Variables whose values should be saved in libtool wrapper scripts and
21536 # restored at link time.
21537 variables_saved_for_relink=$lt_variables_saved_for_relink
21539 # Do we need the "lib" prefix for modules?
21540 need_lib_prefix=$need_lib_prefix
21542 # Do we need a version for libraries?
21543 need_version=$need_version
21545 # Library versioning type.
21546 version_type=$version_type
21548 # Shared library runtime path variable.
21549 runpath_var=$runpath_var
21551 # Shared library path variable.
21552 shlibpath_var=$shlibpath_var
21554 # Is shlibpath searched before the hard-coded library search path?
21555 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21557 # Format of library name prefix.
21558 libname_spec=$lt_libname_spec
21560 # List of archive names. First name is the real one, the rest are links.
21561 # The last name is the one that the linker finds with -lNAME
21562 library_names_spec=$lt_library_names_spec
21564 # The coded name of the library, if different from the real name.
21565 soname_spec=$lt_soname_spec
21567 # Permission mode override for installation of shared libraries.
21568 install_override_mode=$lt_install_override_mode
21570 # Command to use after installation of a shared archive.
21571 postinstall_cmds=$lt_postinstall_cmds
21573 # Command to use after uninstallation of a shared archive.
21574 postuninstall_cmds=$lt_postuninstall_cmds
21576 # Commands used to finish a libtool library installation in a directory.
21577 finish_cmds=$lt_finish_cmds
21579 # As "finish_cmds", except a single script fragment to be evaled but
21581 finish_eval=$lt_finish_eval
21583 # Whether we should hardcode library paths into libraries.
21584 hardcode_into_libs=$hardcode_into_libs
21586 # Compile-time system search path for libraries.
21587 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21589 # Run-time system search path for libraries.
21590 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21592 # Whether dlopen is supported.
21593 dlopen_support=$enable_dlopen
21595 # Whether dlopen of programs is supported.
21596 dlopen_self=$enable_dlopen_self
21598 # Whether dlopen of statically linked programs is supported.
21599 dlopen_self_static=$enable_dlopen_self_static
21601 # Commands to strip libraries.
21602 old_striplib=$lt_old_striplib
21603 striplib=$lt_striplib
21606 # The linker used to build libraries.
21609 # How to create reloadable object files.
21610 reload_flag=$lt_reload_flag
21611 reload_cmds=$lt_reload_cmds
21613 # Commands used to build an old-style archive.
21614 old_archive_cmds=$lt_old_archive_cmds
21616 # A language specific compiler.
21619 # Is the compiler the GNU compiler?
21622 # Compiler flag to turn off builtin functions.
21623 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21625 # Additional compiler flags for building library objects.
21626 pic_flag=$lt_lt_prog_compiler_pic
21628 # How to pass a linker flag through the compiler.
21629 wl=$lt_lt_prog_compiler_wl
21631 # Compiler flag to prevent dynamic linking.
21632 link_static_flag=$lt_lt_prog_compiler_static
21634 # Does compiler simultaneously support -c and -o options?
21635 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21637 # Whether or not to add -lc for building shared libraries.
21638 build_libtool_need_lc=$archive_cmds_need_lc
21640 # Whether or not to disallow shared libs when runtime libs are static.
21641 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21643 # Compiler flag to allow reflexive dlopens.
21644 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21646 # Compiler flag to generate shared objects directly from archives.
21647 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21649 # Whether the compiler copes with passing no objects directly.
21650 compiler_needs_object=$lt_compiler_needs_object
21652 # Create an old-style archive from a shared archive.
21653 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21655 # Create a temporary old-style archive to link instead of a shared archive.
21656 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21658 # Commands used to build a shared archive.
21659 archive_cmds=$lt_archive_cmds
21660 archive_expsym_cmds=$lt_archive_expsym_cmds
21662 # Commands used to build a loadable module if different from building
21663 # a shared archive.
21664 module_cmds=$lt_module_cmds
21665 module_expsym_cmds=$lt_module_expsym_cmds
21667 # Whether we are building with GNU ld or not.
21668 with_gnu_ld=$lt_with_gnu_ld
21670 # Flag that allows shared libraries with undefined symbols to be built.
21671 allow_undefined_flag=$lt_allow_undefined_flag
21673 # Flag that enforces no undefined symbols.
21674 no_undefined_flag=$lt_no_undefined_flag
21676 # Flag to hardcode \$libdir into a binary during linking.
21677 # This must work even if \$libdir does not exist
21678 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21680 # If ld is used when linking, flag to hardcode \$libdir into a binary
21681 # during linking. This must work even if \$libdir does not exist.
21682 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21684 # Whether we need a single "-rpath" flag with a separated argument.
21685 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21687 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21688 # DIR into the resulting binary.
21689 hardcode_direct=$hardcode_direct
21691 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21692 # DIR into the resulting binary and the resulting library dependency is
21693 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21694 # library is relocated.
21695 hardcode_direct_absolute=$hardcode_direct_absolute
21697 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21698 # into the resulting binary.
21699 hardcode_minus_L=$hardcode_minus_L
21701 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21702 # into the resulting binary.
21703 hardcode_shlibpath_var=$hardcode_shlibpath_var
21705 # Set to "yes" if building a shared library automatically hardcodes DIR
21706 # into the library and all subsequent libraries and executables linked
21708 hardcode_automatic=$hardcode_automatic
21710 # Set to yes if linker adds runtime paths of dependent libraries
21711 # to runtime path list.
21712 inherit_rpath=$inherit_rpath
21714 # Whether libtool must link a program against all its dependency libraries.
21715 link_all_deplibs=$link_all_deplibs
21717 # Set to "yes" if exported symbols are required.
21718 always_export_symbols=$always_export_symbols
21720 # The commands to list exported symbols.
21721 export_symbols_cmds=$lt_export_symbols_cmds
21723 # Symbols that should not be listed in the preloaded symbols.
21724 exclude_expsyms=$lt_exclude_expsyms
21726 # Symbols that must always be exported.
21727 include_expsyms=$lt_include_expsyms
21729 # Commands necessary for linking programs (against libraries) with templates.
21730 prelink_cmds=$lt_prelink_cmds
21732 # Commands necessary for finishing linking programs.
21733 postlink_cmds=$lt_postlink_cmds
21735 # Specify filename containing input files.
21736 file_list_spec=$lt_file_list_spec
21738 # How to hardcode a shared library path into an executable.
21739 hardcode_action=$hardcode_action
21741 # The directories searched by this compiler when creating a shared library.
21742 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21744 # Dependencies to place before and after the objects being linked to
21745 # create a shared library.
21746 predep_objects=$lt_predep_objects
21747 postdep_objects=$lt_postdep_objects
21748 predeps=$lt_predeps
21749 postdeps=$lt_postdeps
21751 # The library search path used internally by the compiler when linking
21752 # a shared library.
21753 compiler_lib_search_path=$lt_compiler_lib_search_path
21755 # ### END LIBTOOL CONFIG
21761 cat <<\_LT_EOF
>> "$cfgfile"
21762 # AIX sometimes has problems with the GCC collect2 program. For some
21763 # reason, if we set the COLLECT_NAMES environment variable, the problems
21764 # vanish in a puff of smoke.
21765 if test "X${COLLECT_NAMES+set}" != Xset
; then
21767 export COLLECT_NAMES
21774 ltmain
="$ac_aux_dir/ltmain.sh"
21777 # We use sed instead of cat because bash on DJGPP gets confused if
21778 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21779 # text mode, it properly converts lines to CR/LF. This bash problem
21780 # is reportedly fixed, but why not run on old versions too?
21781 sed '$q' "$ltmain" >> "$cfgfile" \
21782 ||
(rm -f "$cfgfile"; exit 1)
21784 if test x
"$xsi_shell" = xyes
; then
21785 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21789 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21790 \ * ) func_dirname_result="${3}" ;;\
21792 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21793 && mv -f "$cfgfile.tmp" "$cfgfile" \
21794 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21795 test 0 -eq $? || _lt_function_replace_fail
=:
21798 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21801 \ func_basename_result="${1##*/}"\
21802 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21803 && mv -f "$cfgfile.tmp" "$cfgfile" \
21804 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21805 test 0 -eq $? || _lt_function_replace_fail
=:
21808 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21809 func_dirname_and_basename ()\
21812 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21813 \ * ) func_dirname_result="${3}" ;;\
21815 \ func_basename_result="${1##*/}"\
21816 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21817 && mv -f "$cfgfile.tmp" "$cfgfile" \
21818 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21819 test 0 -eq $? || _lt_function_replace_fail
=:
21822 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21825 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21826 \ # positional parameters, so assign one to ordinary parameter first.\
21827 \ func_stripname_result=${3}\
21828 \ func_stripname_result=${func_stripname_result#"${1}"}\
21829 \ func_stripname_result=${func_stripname_result%"${2}"}\
21830 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21831 && mv -f "$cfgfile.tmp" "$cfgfile" \
21832 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21833 test 0 -eq $? || _lt_function_replace_fail
=:
21836 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21837 func_split_long_opt ()\
21839 \ func_split_long_opt_name=${1%%=*}\
21840 \ func_split_long_opt_arg=${1#*=}\
21841 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21842 && mv -f "$cfgfile.tmp" "$cfgfile" \
21843 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21844 test 0 -eq $? || _lt_function_replace_fail
=:
21847 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21848 func_split_short_opt ()\
21850 \ func_split_short_opt_arg=${1#??}\
21851 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21852 } # Extended-shell func_split_short_opt 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_lo2o ()$/,/^} # func_lo2o /c\
21862 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21863 \ *) func_lo2o_result=${1} ;;\
21865 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21866 && mv -f "$cfgfile.tmp" "$cfgfile" \
21867 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21868 test 0 -eq $? || _lt_function_replace_fail
=:
21871 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21874 func_xform_result=${1%.*}.lo\
21875 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21876 && mv -f "$cfgfile.tmp" "$cfgfile" \
21877 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21878 test 0 -eq $? || _lt_function_replace_fail
=:
21881 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21884 func_arith_result=$(( $* ))\
21885 } # Extended-shell func_arith 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 sed -e '/^func_len ()$/,/^} # func_len /c\
21894 func_len_result=${#1}\
21895 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21896 && mv -f "$cfgfile.tmp" "$cfgfile" \
21897 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21898 test 0 -eq $? || _lt_function_replace_fail
=:
21902 if test x
"$lt_shell_append" = xyes
; then
21903 sed -e '/^func_append ()$/,/^} # func_append /c\
21906 eval "${1}+=\\${2}"\
21907 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21908 && mv -f "$cfgfile.tmp" "$cfgfile" \
21909 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21910 test 0 -eq $? || _lt_function_replace_fail
=:
21913 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21914 func_append_quoted ()\
21916 \ func_quote_for_eval "${2}"\
21917 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21918 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21919 && mv -f "$cfgfile.tmp" "$cfgfile" \
21920 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21921 test 0 -eq $? || _lt_function_replace_fail
=:
21924 # Save a `func_append' function call where possible by direct use of '+='
21925 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21926 && mv -f "$cfgfile.tmp" "$cfgfile" \
21927 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21928 test 0 -eq $? || _lt_function_replace_fail
=:
21930 # Save a `func_append' function call even when '+=' is not available
21931 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21932 && mv -f "$cfgfile.tmp" "$cfgfile" \
21933 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21934 test 0 -eq $? || _lt_function_replace_fail
=:
21937 if test x
"$_lt_function_replace_fail" = x
":"; then
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21939 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21943 mv -f "$cfgfile" "$ofile" ||
21944 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21948 cat <<_LT_EOF >> "$ofile"
21950 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21952 # The linker used to build libraries.
21955 # How to create reloadable object files.
21956 reload_flag=$lt_reload_flag_CXX
21957 reload_cmds=$lt_reload_cmds_CXX
21959 # Commands used to build an old-style archive.
21960 old_archive_cmds=$lt_old_archive_cmds_CXX
21962 # A language specific compiler.
21963 CC=$lt_compiler_CXX
21965 # Is the compiler the GNU compiler?
21968 # Compiler flag to turn off builtin functions.
21969 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21971 # Additional compiler flags for building library objects.
21972 pic_flag=$lt_lt_prog_compiler_pic_CXX
21974 # How to pass a linker flag through the compiler.
21975 wl=$lt_lt_prog_compiler_wl_CXX
21977 # Compiler flag to prevent dynamic linking.
21978 link_static_flag=$lt_lt_prog_compiler_static_CXX
21980 # Does compiler simultaneously support -c and -o options?
21981 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21983 # Whether or not to add -lc for building shared libraries.
21984 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21986 # Whether or not to disallow shared libs when runtime libs are static.
21987 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21989 # Compiler flag to allow reflexive dlopens.
21990 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21992 # Compiler flag to generate shared objects directly from archives.
21993 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21995 # Whether the compiler copes with passing no objects directly.
21996 compiler_needs_object=$lt_compiler_needs_object_CXX
21998 # Create an old-style archive from a shared archive.
21999 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22001 # Create a temporary old-style archive to link instead of a shared archive.
22002 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22004 # Commands used to build a shared archive.
22005 archive_cmds=$lt_archive_cmds_CXX
22006 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22008 # Commands used to build a loadable module if different from building
22009 # a shared archive.
22010 module_cmds=$lt_module_cmds_CXX
22011 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22013 # Whether we are building with GNU ld or not.
22014 with_gnu_ld=$lt_with_gnu_ld_CXX
22016 # Flag that allows shared libraries with undefined symbols to be built.
22017 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22019 # Flag that enforces no undefined symbols.
22020 no_undefined_flag=$lt_no_undefined_flag_CXX
22022 # Flag to hardcode \$libdir into a binary during linking.
22023 # This must work even if \$libdir does not exist
22024 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22026 # If ld is used when linking, flag to hardcode \$libdir into a binary
22027 # during linking. This must work even if \$libdir does not exist.
22028 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22030 # Whether we need a single "-rpath" flag with a separated argument.
22031 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22033 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22034 # DIR into the resulting binary.
22035 hardcode_direct=$hardcode_direct_CXX
22037 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22038 # DIR into the resulting binary and the resulting library dependency is
22039 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22040 # library is relocated.
22041 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22043 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22044 # into the resulting binary.
22045 hardcode_minus_L=$hardcode_minus_L_CXX
22047 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22048 # into the resulting binary.
22049 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22051 # Set to "yes" if building a shared library automatically hardcodes DIR
22052 # into the library and all subsequent libraries and executables linked
22054 hardcode_automatic=$hardcode_automatic_CXX
22056 # Set to yes if linker adds runtime paths of dependent libraries
22057 # to runtime path list.
22058 inherit_rpath=$inherit_rpath_CXX
22060 # Whether libtool must link a program against all its dependency libraries.
22061 link_all_deplibs=$link_all_deplibs_CXX
22063 # Set to "yes" if exported symbols are required.
22064 always_export_symbols=$always_export_symbols_CXX
22066 # The commands to list exported symbols.
22067 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22069 # Symbols that should not be listed in the preloaded symbols.
22070 exclude_expsyms=$lt_exclude_expsyms_CXX
22072 # Symbols that must always be exported.
22073 include_expsyms=$lt_include_expsyms_CXX
22075 # Commands necessary for linking programs (against libraries) with templates.
22076 prelink_cmds=$lt_prelink_cmds_CXX
22078 # Commands necessary for finishing linking programs.
22079 postlink_cmds=$lt_postlink_cmds_CXX
22081 # Specify filename containing input files.
22082 file_list_spec=$lt_file_list_spec_CXX
22084 # How to hardcode a shared library path into an executable.
22085 hardcode_action=$hardcode_action_CXX
22087 # The directories searched by this compiler when creating a shared library.
22088 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22090 # Dependencies to place before and after the objects being linked to
22091 # create a shared library.
22092 predep_objects=$lt_predep_objects_CXX
22093 postdep_objects=$lt_postdep_objects_CXX
22094 predeps=$lt_predeps_CXX
22095 postdeps=$lt_postdeps_CXX
22097 # The library search path used internally by the compiler when linking
22098 # a shared library.
22099 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22101 # ### END LIBTOOL TAG CONFIG: CXX
22105 cat <<_LT_EOF >> "$ofile"
22107 # ### BEGIN LIBTOOL TAG CONFIG: RC
22109 # The linker used to build libraries.
22112 # How to create reloadable object files.
22113 reload_flag=$lt_reload_flag_RC
22114 reload_cmds=$lt_reload_cmds_RC
22116 # Commands used to build an old-style archive.
22117 old_archive_cmds=$lt_old_archive_cmds_RC
22119 # A language specific compiler.
22122 # Is the compiler the GNU compiler?
22125 # Compiler flag to turn off builtin functions.
22126 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22128 # Additional compiler flags for building library objects.
22129 pic_flag=$lt_lt_prog_compiler_pic_RC
22131 # How to pass a linker flag through the compiler.
22132 wl=$lt_lt_prog_compiler_wl_RC
22134 # Compiler flag to prevent dynamic linking.
22135 link_static_flag=$lt_lt_prog_compiler_static_RC
22137 # Does compiler simultaneously support -c and -o options?
22138 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22140 # Whether or not to add -lc for building shared libraries.
22141 build_libtool_need_lc=$archive_cmds_need_lc_RC
22143 # Whether or not to disallow shared libs when runtime libs are static.
22144 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22146 # Compiler flag to allow reflexive dlopens.
22147 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22149 # Compiler flag to generate shared objects directly from archives.
22150 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22152 # Whether the compiler copes with passing no objects directly.
22153 compiler_needs_object=$lt_compiler_needs_object_RC
22155 # Create an old-style archive from a shared archive.
22156 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22158 # Create a temporary old-style archive to link instead of a shared archive.
22159 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22161 # Commands used to build a shared archive.
22162 archive_cmds=$lt_archive_cmds_RC
22163 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22165 # Commands used to build a loadable module if different from building
22166 # a shared archive.
22167 module_cmds=$lt_module_cmds_RC
22168 module_expsym_cmds=$lt_module_expsym_cmds_RC
22170 # Whether we are building with GNU ld or not.
22171 with_gnu_ld=$lt_with_gnu_ld_RC
22173 # Flag that allows shared libraries with undefined symbols to be built.
22174 allow_undefined_flag=$lt_allow_undefined_flag_RC
22176 # Flag that enforces no undefined symbols.
22177 no_undefined_flag=$lt_no_undefined_flag_RC
22179 # Flag to hardcode \$libdir into a binary during linking.
22180 # This must work even if \$libdir does not exist
22181 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22183 # If ld is used when linking, flag to hardcode \$libdir into a binary
22184 # during linking. This must work even if \$libdir does not exist.
22185 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22187 # Whether we need a single "-rpath" flag with a separated argument.
22188 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22190 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22191 # DIR into the resulting binary.
22192 hardcode_direct=$hardcode_direct_RC
22194 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22195 # DIR into the resulting binary and the resulting library dependency is
22196 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22197 # library is relocated.
22198 hardcode_direct_absolute=$hardcode_direct_absolute_RC
22200 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22201 # into the resulting binary.
22202 hardcode_minus_L=$hardcode_minus_L_RC
22204 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22205 # into the resulting binary.
22206 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22208 # Set to "yes" if building a shared library automatically hardcodes DIR
22209 # into the library and all subsequent libraries and executables linked
22211 hardcode_automatic=$hardcode_automatic_RC
22213 # Set to yes if linker adds runtime paths of dependent libraries
22214 # to runtime path list.
22215 inherit_rpath=$inherit_rpath_RC
22217 # Whether libtool must link a program against all its dependency libraries.
22218 link_all_deplibs=$link_all_deplibs_RC
22220 # Set to "yes" if exported symbols are required.
22221 always_export_symbols=$always_export_symbols_RC
22223 # The commands to list exported symbols.
22224 export_symbols_cmds=$lt_export_symbols_cmds_RC
22226 # Symbols that should not be listed in the preloaded symbols.
22227 exclude_expsyms=$lt_exclude_expsyms_RC
22229 # Symbols that must always be exported.
22230 include_expsyms=$lt_include_expsyms_RC
22232 # Commands necessary for linking programs (against libraries) with templates.
22233 prelink_cmds=$lt_prelink_cmds_RC
22235 # Commands necessary for finishing linking programs.
22236 postlink_cmds=$lt_postlink_cmds_RC
22238 # Specify filename containing input files.
22239 file_list_spec=$lt_file_list_spec_RC
22241 # How to hardcode a shared library path into an executable.
22242 hardcode_action=$hardcode_action_RC
22244 # The directories searched by this compiler when creating a shared library.
22245 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
22247 # Dependencies to place before and after the objects being linked to
22248 # create a shared library.
22249 predep_objects=$lt_predep_objects_RC
22250 postdep_objects=$lt_postdep_objects_RC
22251 predeps=$lt_predeps_RC
22252 postdeps=$lt_postdeps_RC
22254 # The library search path used internally by the compiler when linking
22255 # a shared library.
22256 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22258 # ### END LIBTOOL TAG CONFIG: RC
22269 ac_clean_files
=$ac_clean_files_save
22271 test $ac_write_fail = 0 ||
22272 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22275 # configure is writing to config.log, and then calls config.status.
22276 # config.status does its own redirection, appending to config.log.
22277 # Unfortunately, on DOS this fails, as config.log is still kept open
22278 # by configure, so config.status won't be able to write to it; its
22279 # output is simply discarded. So we exec the FD to /dev/null,
22280 # effectively closing config.log, so it can be properly (re)opened and
22281 # appended to by config.status. When coming back to configure, we
22282 # need to make the FD available again.
22283 if test "$no_create" != yes; then
22285 ac_config_status_args
=
22286 test "$silent" = yes &&
22287 ac_config_status_args
="$ac_config_status_args --quiet"
22289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22292 # would make configure fail if this is the last instruction.
22293 $ac_cs_success || as_fn_exit
1
22295 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22297 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22301 # Make sure these are executable.
22302 chmod u
+x
tests
/test_wrapper.sh build-test-tarball.mk
22304 #====================================================================================
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22307 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
22309 Configuration summary :
22311 libsndfile version : .................. ${VERSION}
22313 Host CPU : ............................ ${host_cpu}
22314 Host Vendor : ......................... ${host_vendor}
22315 Host OS : ............................. ${host_os}
22317 Experimental code : ................... ${enable_experimental:-no}
22318 Using ALSA in example programs : ...... ${enable_alsa:-no}
22319 External FLAC/Ogg/Vorbis : ............ ${enable_external_libs:-no}
22322 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
22324 Configuration summary :
22326 libsndfile version : .................. ${VERSION}
22328 Host CPU : ............................ ${host_cpu}
22329 Host Vendor : ......................... ${host_vendor}
22330 Host OS : ............................. ${host_os}
22332 Experimental code : ................... ${enable_experimental:-no}
22333 Using ALSA in example programs : ...... ${enable_alsa:-no}
22334 External FLAC/Ogg/Vorbis : ............ ${enable_external_libs:-no}
22337 if test -z "$PKG_CONFIG" ; then
22338 echo " *****************************************************************"
22339 echo " *** The pkg-config program is missing. ***"
22340 echo " *** External FLAC/Ogg/Vorbis libs cannot be found without it. ***"
22341 echo " *** http://pkg-config.freedesktop.org/wiki/ ***"
22342 echo " *****************************************************************"
22346 if test x
$ac_cv_c_compiler_gnu = xyes
; then
22349 echo " Compiler is GCC : ..................... ${ac_cv_c_compiler_gnu}"
22350 echo " GCC version : ......................... ${GCC_VERSION}"
22351 if test $GCC_MAJOR_VERSION -lt 3 ; then
22353 echo " ** This compiler version allows applications to write"
22354 echo " ** to static strings within the library."
22355 echo " ** Compile with GCC version 3.X or above to avoid this problem."
22359 if test $libdir = "\${exec_prefix}/lib" ; then
22360 libdir
="$prefix/lib"
22363 if test $bindir = "\${exec_prefix}/bin" ; then
22364 bindir
="$prefix/bin"
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22368 Installation directories :
22370 Library directory : ................... $libdir
22371 Program directory : ................... $bindir
22372 Pkgconfig directory : ................. $libdir/pkgconfig
22373 HTML docs directory : ................. $htmldocdir
22376 Installation directories :
22378 Library directory : ................... $libdir
22379 Program directory : ................... $bindir
22380 Pkgconfig directory : ................. $libdir/pkgconfig
22381 HTML docs directory : ................. $htmldocdir
22384 if test x
$prefix != "x/usr" ; then
22385 echo "Compiling some other packages against libsndfile may require"
22386 echo "the addition of '$libdir/pkgconfig' to the"
22387 echo "PKG_CONFIG_PATH environment variable."
22391 (cd src
&& make genfiles
)
22392 (cd tests
&& make genfiles
)