2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for RtAudio 5.0.0.
5 # Report bugs to <gary@music.mcgill.ca>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: gary@music.mcgill.ca about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='RtAudio'
592 PACKAGE_TARNAME='rtaudio'
593 PACKAGE_VERSION='5.0.0'
594 PACKAGE_STRING='RtAudio 5.0.0'
595 PACKAGE_BUGREPORT='gary@music.mcgill.ca'
598 ac_unique_file="RtAudio.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
689 MAINTAINER_MODE_FALSE
721 INSTALL_STRIP_PROGRAM
764 program_transform_name
777 enable_option_checking
779 enable_dependency_tracking
780 enable_maintainer_mode
799 ac_precious_vars='build_alias
818 # Initialize some variables set by options.
820 ac_init_version=false
821 ac_unrecognized_opts=
823 # The variables have the same names as the options, with
824 # dashes changed to underlines.
832 program_transform_name=s,x,x,
840 # Installation directory options.
841 # These are left unexpanded so users can "make install exec_prefix=/foo"
842 # and all the variables that are supposed to be based on exec_prefix
843 # by default will actually change.
844 # Use braces instead of parens because sh, perl, etc. also accept them.
845 # (The list follows the same order as the GNU Coding Standards.)
846 bindir='${exec_prefix}/bin'
847 sbindir='${exec_prefix}/sbin'
848 libexecdir='${exec_prefix}/libexec'
849 datarootdir='${prefix}/share'
850 datadir='${datarootdir}'
851 sysconfdir='${prefix}/etc'
852 sharedstatedir='${prefix}/com'
853 localstatedir='${prefix}/var'
854 runstatedir='${localstatedir}/run'
855 includedir='${prefix}/include'
856 oldincludedir='/usr/include'
857 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
858 infodir='${datarootdir}/info'
863 libdir='${exec_prefix}/lib'
864 localedir='${datarootdir}/locale'
865 mandir='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\$ac_option
879 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir | --bindir | --bindi | --bind | --bin | --bi)
892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
895 -build | --build | --buil | --bui | --bu)
896 ac_prev=build_alias ;;
897 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898 build_alias=$ac_optarg ;;
900 -cache-file | --cache-file | --cache-fil | --cache-fi \
901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902 ac_prev=cache_file ;;
903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905 cache_file=$ac_optarg ;;
908 cache_file=config.cache ;;
910 -datadir | --datadir | --datadi | --datad)
912 -datadir=* | --datadir=* | --datadi=* | --datad=*)
913 datadir=$ac_optarg ;;
915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916 | --dataroo | --dataro | --datar)
917 ac_prev=datarootdir ;;
918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920 datarootdir=$ac_optarg ;;
922 -disable-* | --disable-*)
923 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926 as_fn_error $? "invalid feature name: $ac_useropt"
927 ac_useropt_orig=$ac_useropt
928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep=', ';;
936 eval enable_$ac_useropt=no ;;
938 -docdir | --docdir | --docdi | --doc | --do)
940 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
943 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
945 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
948 -enable-* | --enable-*)
949 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952 as_fn_error $? "invalid feature name: $ac_useropt"
953 ac_useropt_orig=$ac_useropt
954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep=', ';;
962 eval enable_$ac_useropt=\$ac_optarg ;;
964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
966 | --exec | --exe | --ex)
967 ac_prev=exec_prefix ;;
968 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
969 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
970 | --exec=* | --exe=* | --ex=*)
971 exec_prefix=$ac_optarg ;;
973 -gas | --gas | --ga | --g)
974 # Obsolete; use --with-gas.
977 -help | --help | --hel | --he | -h)
979 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
980 ac_init_help=recursive ;;
981 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
982 ac_init_help=short ;;
984 -host | --host | --hos | --ho)
985 ac_prev=host_alias ;;
986 -host=* | --host=* | --hos=* | --ho=*)
987 host_alias=$ac_optarg ;;
989 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
991 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
993 htmldir=$ac_optarg ;;
995 -includedir | --includedir | --includedi | --included | --include \
996 | --includ | --inclu | --incl | --inc)
997 ac_prev=includedir ;;
998 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
999 | --includ=* | --inclu=* | --incl=* | --inc=*)
1000 includedir=$ac_optarg ;;
1002 -infodir | --infodir | --infodi | --infod | --info | --inf)
1004 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1005 infodir=$ac_optarg ;;
1007 -libdir | --libdir | --libdi | --libd)
1009 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1010 libdir=$ac_optarg ;;
1012 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1013 | --libexe | --libex | --libe)
1014 ac_prev=libexecdir ;;
1015 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1016 | --libexe=* | --libex=* | --libe=*)
1017 libexecdir=$ac_optarg ;;
1019 -localedir | --localedir | --localedi | --localed | --locale)
1020 ac_prev=localedir ;;
1021 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1022 localedir=$ac_optarg ;;
1024 -localstatedir | --localstatedir | --localstatedi | --localstated \
1025 | --localstate | --localstat | --localsta | --localst | --locals)
1026 ac_prev=localstatedir ;;
1027 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1028 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1029 localstatedir=$ac_optarg ;;
1031 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1033 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1034 mandir=$ac_optarg ;;
1036 -nfp | --nfp | --nf)
1037 # Obsolete; use --without-fp.
1040 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1041 | --no-cr | --no-c | -n)
1044 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1045 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1048 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1049 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1050 | --oldin | --oldi | --old | --ol | --o)
1051 ac_prev=oldincludedir ;;
1052 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1053 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1054 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1055 oldincludedir=$ac_optarg ;;
1057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1060 prefix=$ac_optarg ;;
1062 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1063 | --program-pre | --program-pr | --program-p)
1064 ac_prev=program_prefix ;;
1065 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1066 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1067 program_prefix=$ac_optarg ;;
1069 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1070 | --program-suf | --program-su | --program-s)
1071 ac_prev=program_suffix ;;
1072 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1073 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1074 program_suffix=$ac_optarg ;;
1076 -program-transform-name | --program-transform-name \
1077 | --program-transform-nam | --program-transform-na \
1078 | --program-transform-n | --program-transform- \
1079 | --program-transform | --program-transfor \
1080 | --program-transfo | --program-transf \
1081 | --program-trans | --program-tran \
1082 | --progr-tra | --program-tr | --program-t)
1083 ac_prev=program_transform_name ;;
1084 -program-transform-name=* | --program-transform-name=* \
1085 | --program-transform-nam=* | --program-transform-na=* \
1086 | --program-transform-n=* | --program-transform-=* \
1087 | --program-transform=* | --program-transfor=* \
1088 | --program-transfo=* | --program-transf=* \
1089 | --program-trans=* | --program-tran=* \
1090 | --progr-tra=* | --program-tr=* | --program-t=*)
1091 program_transform_name=$ac_optarg ;;
1093 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1095 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1096 pdfdir=$ac_optarg ;;
1098 -psdir | --psdir | --psdi | --psd | --ps)
1100 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1104 | -silent | --silent | --silen | --sile | --sil)
1107 -runstatedir | --runstatedir | --runstatedi | --runstated \
1108 | --runstate | --runstat | --runsta | --runst | --runs \
1109 | --run | --ru | --r)
1110 ac_prev=runstatedir ;;
1111 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1112 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1113 | --run=* | --ru=* | --r=*)
1114 runstatedir=$ac_optarg ;;
1116 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1118 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1120 sbindir=$ac_optarg ;;
1122 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124 | --sharedst | --shareds | --shared | --share | --shar \
1126 ac_prev=sharedstatedir ;;
1127 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1131 sharedstatedir=$ac_optarg ;;
1133 -site | --site | --sit)
1135 -site=* | --site=* | --sit=*)
1138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141 srcdir=$ac_optarg ;;
1143 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144 | --syscon | --sysco | --sysc | --sys | --sy)
1145 ac_prev=sysconfdir ;;
1146 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148 sysconfdir=$ac_optarg ;;
1150 -target | --target | --targe | --targ | --tar | --ta | --t)
1151 ac_prev=target_alias ;;
1152 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153 target_alias=$ac_optarg ;;
1155 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 -version | --version | --versio | --versi | --vers | -V)
1159 ac_init_version=: ;;
1162 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165 as_fn_error $? "invalid package name: $ac_useropt"
1166 ac_useropt_orig=$ac_useropt
1167 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep=', ';;
1175 eval with_$ac_useropt=\$ac_optarg ;;
1177 -without-* | --without-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=no ;;
1194 # Obsolete; use --with-x.
1197 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198 | --x-incl | --x-inc | --x-in | --x-i)
1199 ac_prev=x_includes ;;
1200 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202 x_includes=$ac_optarg ;;
1204 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206 ac_prev=x_libraries ;;
1207 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209 x_libraries=$ac_optarg ;;
1211 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' | [0-9]* | *[!_$as_cr_alnum]* )
1220 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 if test -n "$ac_prev"; then
1237 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error $? "missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir runstatedir
1255 eval ac_val=\$$ac_var
1256 # Remove trailing slashes.
1259 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$]* | ?:[\\/]* ) continue;;
1265 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1267 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279 if test "x$build_alias" = x; then
1280 cross_compiling=maybe
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1289 test "$silent" = yes && exec 6>/dev/null
1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di=`ls -di .` &&
1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error $? "working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error $? "pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 for ac_var in $ac_precious_vars; do
1353 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354 eval ac_env_${ac_var}_value=\$${ac_var}
1355 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360 # Report the --help message.
1362 if test "$ac_init_help" = "long"; then
1363 # Omit some internal or obsolete options to make the list less imposing.
1364 # This message is too long to be a string in the A/UX 3.1 sh.
1366 \`configure' configures RtAudio 5.0.0 to adapt to many kinds of systems.
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE. See below for descriptions of some of the useful variables.
1373 Defaults for the options are specified in brackets.
1376 -h, --help display this help and exit
1377 --help=short display options specific to this package
1378 --help=recursive display the short help of all the included packages
1379 -V, --version display version information and exit
1380 -q, --quiet, --silent do not print \`checking ...' messages
1381 --cache-file=FILE cache test results in FILE [disabled]
1382 -C, --config-cache alias for \`--cache-file=config.cache'
1383 -n, --no-create do not create output files
1384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386 Installation directories:
1387 --prefix=PREFIX install architecture-independent files in PREFIX
1388 [$ac_default_prefix]
1389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1397 For better control, use the options below.
1399 Fine tuning of the installation directories:
1400 --bindir=DIR user executables [EPREFIX/bin]
1401 --sbindir=DIR system admin executables [EPREFIX/sbin]
1402 --libexecdir=DIR program executables [EPREFIX/libexec]
1403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1407 --libdir=DIR object code libraries [EPREFIX/lib]
1408 --includedir=DIR C header files [PREFIX/include]
1409 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1410 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1411 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1412 --infodir=DIR info documentation [DATAROOTDIR/info]
1413 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1414 --mandir=DIR man documentation [DATAROOTDIR/man]
1415 --docdir=DIR documentation root [DATAROOTDIR/doc/rtaudio]
1416 --htmldir=DIR html documentation [DOCDIR]
1417 --dvidir=DIR dvi documentation [DOCDIR]
1418 --pdfdir=DIR pdf documentation [DOCDIR]
1419 --psdir=DIR ps documentation [DOCDIR]
1425 --program-prefix=PREFIX prepend PREFIX to installed program names
1426 --program-suffix=SUFFIX append SUFFIX to installed program names
1427 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1430 --build=BUILD configure for building on BUILD [guessed]
1431 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1435 if test -n "$ac_init_help"; then
1436 case $ac_init_help in
1437 short | recursive ) echo "Configuration of RtAudio 5.0.0:";;
1442 --disable-option-checking ignore unrecognized --enable/--with options
1443 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1444 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1445 --enable-silent-rules less verbose build output (undo: "make V=1")
1446 --disable-silent-rules verbose build output (undo: "make V=0")
1447 --enable-dependency-tracking
1448 do not reject slow dependency extractors
1449 --disable-dependency-tracking
1450 speeds up one-time build
1451 --enable-maintainer-mode
1452 enable make rules and dependencies not useful (and
1453 sometimes confusing) to the casual installer
1454 --enable-debug enable various debug output
1455 --enable-shared[=PKGS] build shared libraries [default=yes]
1456 --enable-static[=PKGS] build static libraries [default=yes]
1457 --enable-fast-install[=PKGS]
1458 optimize for fast installation [default=yes]
1459 --disable-libtool-lock avoid locking (might break parallel builds)
1462 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1463 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1464 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1466 --with-aix-soname=aix|svr4|both
1467 shared library versioning (aka "SONAME") variant to
1468 provide on AIX, [default=aix].
1469 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1470 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1471 compiler's sysroot if not specified).
1472 --with-jack = choose JACK server support (mac and linux only)
1473 --with-alsa = choose native ALSA API support (linux only)
1474 --with-pulse = choose PulseAudio API support (linux only)
1475 --with-oss = choose OSS API support (unixes)
1476 --with-core = choose CoreAudio API support (mac only)
1477 --with-asio = choose ASIO API support (windoze only)
1478 --with-ds = choose DirectSound API support (windoze only)
1479 --with-wasapi = choose Windows Audio Session API support (windoze only)
1481 Some influential environment variables:
1482 CC C compiler command
1483 CFLAGS C compiler flags
1484 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1485 nonstandard directory <lib dir>
1486 LIBS libraries to pass to the linker, e.g. -l<library>
1487 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1488 you have headers in a nonstandard directory <include dir>
1489 PKG_CONFIG path to pkg-config utility
1491 directories to add to pkg-config's search path
1493 path overriding pkg-config's built-in search path
1494 CXX C++ compiler command
1495 CXXFLAGS C++ compiler flags
1497 User-defined run-time library search path.
1499 CXXCPP C++ preprocessor
1501 Use these variables to override the choices made by `configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to <gary@music.mcgill.ca>.
1509 if test "$ac_init_help" = "recursive"; then
1510 # If there are subdirs, report their specific --help.
1511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512 test -d "$ac_dir" ||
1513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1534 .) # We are building in place.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1567 RtAudio configure 5.0.0
1568 generated by GNU Autoconf 2.69
1570 Copyright (C) 2012 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1577 ## ------------------------ ##
1578 ## Autoconf initialization. ##
1579 ## ------------------------ ##
1581 # ac_fn_c_try_compile LINENO
1582 # --------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_c_try_compile
1619 # ac_fn_c_try_run LINENO
1620 # ----------------------
1621 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1622 # that executables *can* be run.
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 if { { ac_try="$ac_link"
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_link") 2>&5
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1637 { { case "(($ac_try" in
1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_try") 2>&5
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; }; }; then :
1649 $as_echo "$as_me: program exited with status $ac_status" >&5
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1653 ac_retval=$ac_status
1655 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1661 # ac_fn_cxx_try_compile LINENO
1662 # ----------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_cxx_try_compile ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1668 if { { ac_try="$ac_compile"
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_cxx_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_cxx_try_compile
1699 # ac_fn_c_try_link LINENO
1700 # -----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded.
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext conftest$ac_exeext
1706 if { { ac_try="$ac_link"
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_link") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest$ac_exeext && {
1725 test "$cross_compiling" = yes ||
1726 test -x conftest$ac_exeext
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737 # interfere with the next link command; also delete a directory that is
1738 # left behind by Apple's compiler. We do this before executing the actions.
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 as_fn_set_status $ac_retval
1743 } # ac_fn_c_try_link
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_try_cpp LINENO
1777 # ----------------------
1778 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_cpp conftest.$ac_ext"
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } > conftest.i && {
1798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 as_fn_set_status $ac_retval
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \${$3+:} false; then :
1822 $as_echo_n "(cached) " >&6
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link "$LINENO"; then :
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 } # ac_fn_c_check_func
1880 # ac_fn_cxx_try_cpp LINENO
1881 # ------------------------
1882 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_cxx_try_cpp ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { { ac_try="$ac_cpp conftest.$ac_ext"
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1895 if test -s conftest.err; then
1896 grep -v '^ *+' conftest.err >conftest.er1
1897 cat conftest.er1 >&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } > conftest.i && {
1902 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1903 test ! -s conftest.err
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 as_fn_set_status $ac_retval
1915 } # ac_fn_cxx_try_cpp
1917 # ac_fn_cxx_try_link LINENO
1918 # -------------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_cxx_try_link ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext conftest$ac_exeext
1924 if { { ac_try="$ac_link"
1926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>conftest.err
1933 if test -s conftest.err; then
1934 grep -v '^ *+' conftest.err >conftest.er1
1935 cat conftest.er1 >&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_cxx_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest$ac_exeext && {
1943 test "$cross_compiling" = yes ||
1944 test -x conftest$ac_exeext
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.$ac_ext >&5
1953 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1954 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1955 # interfere with the next link command; also delete a directory that is
1956 # left behind by Apple's compiler. We do this before executing the actions.
1957 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 as_fn_set_status $ac_retval
1961 } # ac_fn_cxx_try_link
1963 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1964 # -------------------------------------------------------
1965 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1966 # the include files in INCLUDES and setting the cache variable VAR
1968 ac_fn_c_check_header_mongrel ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 if eval \${$3+:} false; then :
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1973 $as_echo_n "checking for $2... " >&6; }
1974 if eval \${$3+:} false; then :
1975 $as_echo_n "(cached) " >&6
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1981 # Is the header compilable?
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1983 $as_echo_n "checking $2 usability... " >&6; }
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 ac_header_compiler=yes
1992 ac_header_compiler=no
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1996 $as_echo "$ac_header_compiler" >&6; }
1998 # Is the header present?
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2000 $as_echo_n "checking $2 presence... " >&6; }
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2005 if ac_fn_c_try_cpp "$LINENO"; then :
2006 ac_header_preproc=yes
2008 ac_header_preproc=no
2010 rm -f conftest.err conftest.i conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2012 $as_echo "$ac_header_preproc" >&6; }
2014 # So? What about this header?
2015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2018 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2024 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2026 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2028 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2030 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033 ( $as_echo "## ----------------------------------- ##
2034 ## Report this to gary@music.mcgill.ca ##
2035 ## ----------------------------------- ##"
2036 ) | sed "s/^/$as_me: WARNING: /" >&2
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \${$3+:} false; then :
2042 $as_echo_n "(cached) " >&6
2044 eval "$3=\$ac_header_compiler"
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_header_mongrel
2053 cat >config.log <<_ACEOF
2054 This file contains any messages produced by compilers while
2055 running configure, to aid debugging if configure makes a mistake.
2057 It was created by RtAudio $as_me 5.0.0, which was
2058 generated by GNU Autoconf 2.69. Invocation command line was
2070 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2071 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2072 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2073 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2074 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2076 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2077 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2079 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2080 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2081 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2082 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2083 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2084 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2085 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir=.
2094 $as_echo "PATH: $as_dir"
2110 # Keep a trace of the command line.
2111 # Strip out --no-create and --no-recursion so they do not pile up.
2112 # Strip out --silent because we don't want to record it for future runs.
2113 # Also quote any args containing shell meta-characters.
2114 # Make two passes to allow for proper duplicate-argument suppression.
2118 ac_must_keep_next=false
2124 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2126 | -silent | --silent | --silen | --sile | --sil)
2129 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2134 as_fn_append ac_configure_args1 " '$ac_arg'"
2135 if test $ac_must_keep_next = true; then
2136 ac_must_keep_next=false # Got value, back to normal.
2139 *=* | --config-cache | -C | -disable-* | --disable-* \
2140 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2141 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2142 | -with-* | --with-* | -without-* | --without-* | --x)
2143 case "$ac_configure_args0 " in
2144 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2147 -* ) ac_must_keep_next=true ;;
2150 as_fn_append ac_configure_args " '$ac_arg'"
2155 { ac_configure_args0=; unset ac_configure_args0;}
2156 { ac_configure_args1=; unset ac_configure_args1;}
2158 # When interrupted or exit'd, cleanup temporary files, and complete
2159 # config.log. We remove comments because anyway the quotes in there
2160 # would cause problems or look ugly.
2161 # WARNING: Use '\'' to represent an apostrophe within the trap.
2162 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2163 trap 'exit_status=$?
2164 # Save into config.log some information that might help in debugging.
2168 $as_echo "## ---------------- ##
2169 ## Cache variables. ##
2170 ## ---------------- ##"
2172 # The following way of writing the cache mishandles newlines in values,
2174 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2175 eval ac_val=\$$ac_var
2179 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2180 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2183 _ | IFS | as_nl) ;; #(
2184 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2185 *) { eval $ac_var=; unset $ac_var;} ;;
2190 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2191 *${as_nl}ac_space=\ *)
2193 "s/'\''/'\''\\\\'\'''\''/g;
2194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2204 $as_echo "## ----------------- ##
2205 ## Output variables. ##
2206 ## ----------------- ##"
2208 for ac_var in $ac_subst_vars
2210 eval ac_val=\$$ac_var
2212 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2214 $as_echo "$ac_var='\''$ac_val'\''"
2218 if test -n "$ac_subst_files"; then
2219 $as_echo "## ------------------- ##
2220 ## File substitutions. ##
2221 ## ------------------- ##"
2223 for ac_var in $ac_subst_files
2225 eval ac_val=\$$ac_var
2227 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 $as_echo "$ac_var='\''$ac_val'\''"
2234 if test -s confdefs.h; then
2235 $as_echo "## ----------- ##
2242 test "$ac_signal" != 0 &&
2243 $as_echo "$as_me: caught signal $ac_signal"
2244 $as_echo "$as_me: exit $exit_status"
2246 rm -f core *.core core.conftest.* &&
2247 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2250 for ac_signal in 1 2 13 15; do
2251 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2256 rm -f -r conftest* confdefs.h
2258 $as_echo "/* confdefs.h */" > confdefs.h
2260 # Predefined preprocessor variables.
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_NAME "$PACKAGE_NAME"
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_STRING "$PACKAGE_STRING"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_URL "$PACKAGE_URL"
2287 # Let the site file select an alternate cache file if it wants to.
2288 # Prefer an explicitly selected file to automatically selected ones.
2291 if test -n "$CONFIG_SITE"; then
2292 # We do not want a PATH search for config.site.
2293 case $CONFIG_SITE in #((
2294 -*) ac_site_file1=./$CONFIG_SITE;;
2295 */*) ac_site_file1=$CONFIG_SITE;;
2296 *) ac_site_file1=./$CONFIG_SITE;;
2298 elif test "x$prefix" != xNONE; then
2299 ac_site_file1=$prefix/share/config.site
2300 ac_site_file2=$prefix/etc/config.site
2302 ac_site_file1=$ac_default_prefix/share/config.site
2303 ac_site_file2=$ac_default_prefix/etc/config.site
2305 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2307 test "x$ac_site_file" = xNONE && continue
2308 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2310 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2311 sed 's/^/| /' "$ac_site_file" >&5
2313 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $? "failed to load site script $ac_site_file
2316 See \`config.log' for more details" "$LINENO" 5; }
2320 if test -r "$cache_file"; then
2321 # Some versions of bash will fail to source /dev/null (special files
2322 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2323 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2325 $as_echo "$as_me: loading cache $cache_file" >&6;}
2327 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2328 *) . "./$cache_file";;
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2333 $as_echo "$as_me: creating cache $cache_file" >&6;}
2337 # Check that the precious variables saved in the cache have kept the same
2339 ac_cache_corrupted=false
2340 for ac_var in $ac_precious_vars; do
2341 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2342 eval ac_new_set=\$ac_env_${ac_var}_set
2343 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2344 eval ac_new_val=\$ac_env_${ac_var}_value
2345 case $ac_old_set,$ac_new_set in
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2348 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2349 ac_cache_corrupted=: ;;
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2352 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2353 ac_cache_corrupted=: ;;
2356 if test "x$ac_old_val" != "x$ac_new_val"; then
2357 # differences in whitespace do not lead to failure.
2358 ac_old_val_w=`echo x $ac_old_val`
2359 ac_new_val_w=`echo x $ac_new_val`
2360 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2362 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2363 ac_cache_corrupted=:
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2366 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2367 eval $ac_var=\$ac_old_val
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2370 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2372 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2375 # Pass precious variables to config.status.
2376 if test "$ac_new_set" = set; then
2378 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2379 *) ac_arg=$ac_var=$ac_new_val ;;
2381 case " $ac_configure_args " in
2382 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2383 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2387 if $ac_cache_corrupted; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2391 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2392 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2394 ## -------------------- ##
2395 ## Main body of script. ##
2396 ## -------------------- ##
2399 ac_cpp='$CPP $CPPFLAGS'
2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2406 for ac_dir in config "$srcdir"/config; do
2407 if test -f "$ac_dir/install-sh"; then
2409 ac_install_sh="$ac_aux_dir/install-sh -c"
2411 elif test -f "$ac_dir/install.sh"; then
2413 ac_install_sh="$ac_aux_dir/install.sh -c"
2415 elif test -f "$ac_dir/shtool"; then
2417 ac_install_sh="$ac_aux_dir/shtool install -c"
2421 if test -z "$ac_aux_dir"; then
2422 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2425 # These three variables are undocumented and unsupported,
2426 # and are intended to be withdrawn in a future Autoconf release.
2427 # They can cause serious problems if a builder's source tree is in a directory
2428 # whose full name contains unusual characters.
2429 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2430 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2431 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2435 ac_config_files="$ac_config_files rtaudio.pc Makefile tests/Makefile doc/Makefile doc/doxygen/Doxyfile"
2437 am__api_version='1.15'
2439 # Find a good install program. We prefer a C program (faster),
2440 # so one script is as good as another. But avoid the broken or
2441 # incompatible versions:
2442 # SysV /etc/install, /usr/sbin/install
2443 # SunOS /usr/etc/install
2444 # IRIX /sbin/install
2446 # AmigaOS /C/install, which installs bootblocks on floppy discs
2447 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2448 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2449 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2450 # OS/2's system install, which has a completely different semantic
2451 # ./install, which can be erroneously created by make from ./install.sh.
2452 # Reject install programs that cannot install multiple files.
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2454 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2455 if test -z "$INSTALL"; then
2456 if ${ac_cv_path_install+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 # Account for people who put trailing slashes in PATH elements.
2465 case $as_dir/ in #((
2466 ./ | .// | /[cC]/* | \
2467 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2468 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2471 # OSF1 and SCO ODT 3.0 have their own names for install.
2472 # Don't use installbsd from OSF since it installs stuff as root
2474 for ac_prog in ginstall scoinst install; do
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2477 if test $ac_prog = install &&
2478 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2479 # AIX install. It has an incompatible calling convention.
2481 elif test $ac_prog = install &&
2482 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483 # program-specific install script used by HP pwplus--don't use.
2486 rm -rf conftest.one conftest.two conftest.dir
2487 echo one > conftest.one
2488 echo two > conftest.two
2490 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2491 test -s conftest.one && test -s conftest.two &&
2492 test -s conftest.dir/conftest.one &&
2493 test -s conftest.dir/conftest.two
2495 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2508 rm -rf conftest.one conftest.two conftest.dir
2511 if test "${ac_cv_path_install+set}" = set; then
2512 INSTALL=$ac_cv_path_install
2514 # As a last resort, use the slow shell script. Don't cache a
2515 # value for INSTALL within a source directory, because that will
2516 # break other packages using the cache if that directory is
2517 # removed, or if the value is a relative name.
2518 INSTALL=$ac_install_sh
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2522 $as_echo "$INSTALL" >&6; }
2524 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2525 # It thinks the first close brace ends the variable substitution.
2526 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2528 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2530 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2533 $as_echo_n "checking whether build environment is sane... " >&6; }
2534 # Reject unsafe characters in $srcdir or the absolute working directory
2535 # name. Accept space and tab only in the latter.
2539 *[\\\"\#\$\&\'\`$am_lf]*)
2540 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2543 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2544 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2547 # Do 'set' in a subshell so we don't clobber the current shell's
2548 # arguments. Must try -L first in case configure is actually a
2549 # symlink; some systems play weird games with the mod time of symlinks
2550 # (eg FreeBSD returns the mod time of the symlink's containing
2554 for am_try in 1 2; do
2555 echo "timestamp, slept: $am_has_slept" > conftest.file
2556 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2557 if test "$*" = "X"; then
2559 set X `ls -t "$srcdir/configure" conftest.file`
2561 if test "$*" != "X $srcdir/configure conftest.file" \
2562 && test "$*" != "X conftest.file $srcdir/configure"; then
2564 # If neither matched, then we have a broken ls. This can happen
2565 # if, for instance, CONFIG_SHELL is bash and it inherits a
2566 # broken ls alias from the environment. This has actually
2567 # happened. Such a system could not be considered "sane".
2568 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2569 alias in your environment" "$LINENO" 5
2571 if test "$2" = conftest.file || test $am_try -eq 2; then
2578 test "$2" = conftest.file
2584 as_fn_error $? "newly created file is older than distributed files!
2585 Check your system clock" "$LINENO" 5
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2588 $as_echo "yes" >&6; }
2589 # If we didn't sleep, we still need to ensure time stamps of config.status and
2590 # generated files are strictly newer.
2592 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2599 test "$program_prefix" != NONE &&
2600 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2601 # Use a double $ so make ignores it.
2602 test "$program_suffix" != NONE &&
2603 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2604 # Double any \ or $.
2605 # By default was `s,x,x', remove it if useless.
2606 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2607 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2609 # Expand $ac_aux_dir to an absolute path.
2610 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2612 if test x"${MISSING+set}" != xset; then
2615 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2617 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2620 # Use eval to expand $SHELL
2621 if eval "$MISSING --is-lightweight"; then
2622 am_missing_run="$MISSING "
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2626 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2629 if test x"${install_sh+set}" != xset; then
2632 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2634 install_sh="\${SHELL} $am_aux_dir/install-sh"
2638 # Installed binaries are usually stripped using 'strip' when the user
2639 # run "make install-strip". However 'strip' might not be the right
2640 # tool to use in cross-compilation environments, therefore Automake
2641 # will honor the 'STRIP' environment variable to overrule this program.
2642 if test "$cross_compiling" != no; then
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2645 set dummy ${ac_tool_prefix}strip; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_STRIP+:} false; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$STRIP"; then
2652 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 STRIP=$ac_cv_prog_STRIP
2672 if test -n "$STRIP"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2674 $as_echo "$STRIP" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2682 if test -z "$ac_cv_prog_STRIP"; then
2684 # Extract the first word of "strip", so it can be a program name with args.
2685 set dummy strip; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$ac_ct_STRIP"; then
2692 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_ac_ct_STRIP="strip"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2712 if test -n "$ac_ct_STRIP"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2714 $as_echo "$ac_ct_STRIP" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2720 if test "x$ac_ct_STRIP" = x; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727 ac_tool_warned=yes ;;
2732 STRIP="$ac_cv_prog_STRIP"
2736 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2739 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2740 if test -z "$MKDIR_P"; then
2741 if ${ac_cv_path_mkdir+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2748 test -z "$as_dir" && as_dir=.
2749 for ac_prog in mkdir gmkdir; do
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2752 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2753 'mkdir (GNU coreutils) '* | \
2754 'mkdir (coreutils) '* | \
2755 'mkdir (fileutils) '4.1*)
2756 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766 test -d ./--version && rmdir ./--version
2767 if test "${ac_cv_path_mkdir+set}" = set; then
2768 MKDIR_P="$ac_cv_path_mkdir -p"
2770 # As a last resort, use the slow shell script. Don't cache a
2771 # value for MKDIR_P within a source directory, because that will
2772 # break other packages using the cache if that directory is
2773 # removed, or if the value is a relative name.
2774 MKDIR_P="$ac_install_sh -d"
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2778 $as_echo "$MKDIR_P" >&6; }
2780 for ac_prog in gawk mawk nawk awk
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_AWK+:} false; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$AWK"; then
2790 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_AWK="$ac_prog"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$AWK"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2812 $as_echo "$AWK" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2819 test -n "$AWK" && break
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2825 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2826 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 cat >conftest.make <<\_ACEOF
2832 @echo '@@@%%%=$(MAKE)=@@@%%%'
2834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2837 eval ac_cv_prog_make_${ac_make}_set=yes;;
2839 eval ac_cv_prog_make_${ac_make}_set=no;;
2843 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845 $as_echo "yes" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 SET_MAKE="MAKE=${MAKE-make}"
2853 rm -rf .tst 2>/dev/null
2854 mkdir .tst 2>/dev/null
2855 if test -d .tst; then
2860 rmdir .tst 2>/dev/null
2862 # Check whether --enable-silent-rules was given.
2863 if test "${enable_silent_rules+set}" = set; then :
2864 enableval=$enable_silent_rules;
2867 case $enable_silent_rules in # (((
2868 yes) AM_DEFAULT_VERBOSITY=0;;
2869 no) AM_DEFAULT_VERBOSITY=1;;
2870 *) AM_DEFAULT_VERBOSITY=1;;
2872 am_make=${MAKE-make}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2874 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2875 if ${am_cv_make_support_nested_variables+:} false; then :
2876 $as_echo_n "(cached) " >&6
2878 if $as_echo 'TRUE=$(BAR$(V))
2884 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2885 am_cv_make_support_nested_variables=yes
2887 am_cv_make_support_nested_variables=no
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2891 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2892 if test $am_cv_make_support_nested_variables = yes; then
2894 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2896 AM_V=$AM_DEFAULT_VERBOSITY
2897 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2901 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2902 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2903 # is not polluted with repeated "-I."
2904 am__isrc=' -I$(srcdir)'
2905 # test to see if srcdir already configured
2906 if test -f $srcdir/config.status; then
2907 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2911 # test whether we have cygpath
2912 if test -z "$CYGPATH_W"; then
2913 if (cygpath --version) >/dev/null 2>/dev/null; then
2914 CYGPATH_W='cygpath -w'
2921 # Define the identity of the package.
2926 cat >>confdefs.h <<_ACEOF
2927 #define PACKAGE "$PACKAGE"
2931 cat >>confdefs.h <<_ACEOF
2932 #define VERSION "$VERSION"
2935 # Some tools Automake needs.
2937 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2940 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2943 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2946 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2949 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2951 # For better backward compatibility. To be removed once Automake 1.9.x
2952 # dies out for good. For more background, see:
2953 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2954 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2955 mkdir_p='$(MKDIR_P)'
2957 # We need awk for the "check" target (and possibly the TAP driver). The
2958 # system "awk" is bad on some platforms.
2959 # Always define AMTAR for backward compatibility. Yes, it's still used
2960 # in the wild :-( We should find a proper way to deprecate it ...
2964 # We'll loop over all known methods to create a tar archive until one works.
2965 _am_tools='gnutar pax cpio none'
2967 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2974 # POSIX will say in a future version that running "rm -f" with no argument
2975 # is OK; and we want to be able to make that assumption in our Makefile
2976 # recipes. So use an aggressive probe to check that the usage we want is
2977 # actually supported "in the wild" to an acceptable degree.
2978 # See automake bug#10828.
2979 # To make any issue more visible, cause the running configure to be aborted
2980 # by default if the 'rm' program in use doesn't match our expectations; the
2981 # user can still override this though.
2982 if rm -f && rm -fr && rm -rf; then : OK; else
2986 Your 'rm' program seems unable to run without file operands specified
2987 on the command line, even when the '-f' option is present. This is contrary
2988 to the behaviour of most rm programs out there, and not conforming with
2989 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2991 Please tell bug-automake@gnu.org about your system, including the value
2992 of your $PATH and any error possibly output before this message. This
2993 can help us improve future automake versions.
2996 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2997 echo 'Configuration will proceed anyway, since you have set the' >&2
2998 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3002 Aborting the configuration process, to ensure you take notice of the issue.
3004 You can download and install GNU coreutils to get an 'rm' implementation
3005 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3007 If you want to complete the configuration process using your problematic
3008 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3009 to "yes", and re-run configure.
3012 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3017 # libtool version: current:revision:age
3019 # If the library source code has changed at all since the last update, then
3020 # increment revision (`c:r:a' becomes `c:r+1:a').
3022 # If any interfaces have been added, removed, or changed since the last update,
3023 # increment current, and set revision to 0.
3025 # If any interfaces have been added since the last public release, then
3028 # If any interfaces have been removed since the last public release, then set
3040 # Check version number coherency between RtAudio.h and configure.ac
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that version numbers are coherent" >&5
3042 $as_echo_n "checking that version numbers are coherent... " >&6; }
3043 DEPDIR="${am__leading_dot}deps"
3045 ac_config_commands="$ac_config_commands depfiles"
3048 am_make=${MAKE-make}
3049 cat > confinc << 'END'
3051 @echo this is the am__doit target
3054 # If we don't find an include directive, just comment out the code.
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3056 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3060 # First try GNU make style include.
3061 echo "include confinc" > confmf
3062 # Ignore all kinds of additional output from 'make'.
3063 case `$am_make -s -f confmf 2> /dev/null` in #(
3064 *the\ am__doit\ target*)
3070 # Now try BSD make style include.
3071 if test "$am__include" = "#"; then
3072 echo '.include "confinc"' > confmf
3073 case `$am_make -s -f confmf 2> /dev/null` in #(
3074 *the\ am__doit\ target*)
3075 am__include=.include
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3084 $as_echo "$_am_result" >&6; }
3085 rm -f confinc confmf
3087 # Check whether --enable-dependency-tracking was given.
3088 if test "${enable_dependency_tracking+set}" = set; then :
3089 enableval=$enable_dependency_tracking;
3092 if test "x$enable_dependency_tracking" != xno; then
3093 am_depcomp="$ac_aux_dir/depcomp"
3097 if test "x$enable_dependency_tracking" != xno; then
3107 ac_cpp='$CPP $CPPFLAGS'
3108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3111 if test -n "$ac_tool_prefix"; then
3112 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3113 set dummy ${ac_tool_prefix}gcc; 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_CC+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$CC"; then
3120 ac_cv_prog_CC="$CC" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3150 if test -z "$ac_cv_prog_CC"; then
3152 # Extract the first word of "gcc", so it can be a program name with args.
3153 set dummy gcc; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$ac_ct_CC"; then
3160 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169 ac_cv_prog_ac_ct_CC="gcc"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3180 if test -n "$ac_ct_CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3182 $as_echo "$ac_ct_CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3188 if test "x$ac_ct_CC" = x; then
3191 case $cross_compiling:$ac_tool_warned in
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3195 ac_tool_warned=yes ;;
3203 if test -z "$CC"; then
3204 if test -n "$ac_tool_prefix"; then
3205 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3206 set dummy ${ac_tool_prefix}cc; ac_word=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_CC+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$CC"; then
3213 ac_cv_prog_CC="$CC" # Let the user override the test.
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir=.
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_CC="${ac_tool_prefix}cc"
3223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 if test -n "$CC"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3235 $as_echo "$CC" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3244 if test -z "$CC"; then
3245 # Extract the first word of "cc", so it can be a program name with args.
3246 set dummy cc; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if ${ac_cv_prog_CC+:} false; then :
3250 $as_echo_n "(cached) " >&6
3252 if test -n "$CC"; then
3253 ac_cv_prog_CC="$CC" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3264 ac_prog_rejected=yes
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 if test $ac_prog_rejected = yes; then
3276 # We found a bogon in the path, so make sure we never use it.
3277 set dummy $ac_cv_prog_CC
3279 if test $# != 0; then
3280 # We chose a different compiler from the bogus one.
3281 # However, it has the same basename, so the bogon will be chosen
3282 # first if we set CC to just the basename; use the full file name.
3284 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3300 if test -z "$CC"; then
3301 if test -n "$ac_tool_prefix"; then
3302 for ac_prog in cl.exe
3304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_CC+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC="$CC" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test -n "$CC"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3334 $as_echo "$CC" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3341 test -n "$CC" && break
3344 if test -z "$CC"; then
3346 for ac_prog in cl.exe
3348 # Extract the first word of "$ac_prog", so it can be a program name with args.
3349 set dummy $ac_prog; ac_word=$2
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351 $as_echo_n "checking for $ac_word... " >&6; }
3352 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3353 $as_echo_n "(cached) " >&6
3355 if test -n "$ac_ct_CC"; then
3356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir=.
3363 for ac_exec_ext in '' $ac_executable_extensions; do
3364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3365 ac_cv_prog_ac_ct_CC="$ac_prog"
3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3376 if test -n "$ac_ct_CC"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3378 $as_echo "$ac_ct_CC" >&6; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3385 test -n "$ac_ct_CC" && break
3388 if test "x$ac_ct_CC" = x; then
3391 case $cross_compiling:$ac_tool_warned in
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3395 ac_tool_warned=yes ;;
3404 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error $? "no acceptable C compiler found in \$PATH
3407 See \`config.log' for more details" "$LINENO" 5; }
3409 # Provide some information about the compiler.
3410 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3413 for ac_option in --version -v -V -qversion; do
3414 { { ac_try="$ac_compiler $ac_option >&5"
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3420 $as_echo "$ac_try_echo"; } >&5
3421 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3423 if test -s conftest.err; then
3425 ... rest of stderr output deleted ...
3426 10q' conftest.err >conftest.er1
3427 cat conftest.er1 >&5
3429 rm -f conftest.er1 conftest.err
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 ac_clean_files_save=$ac_clean_files
3446 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3447 # Try to create an executable without -o first, disregard a.out.
3448 # It will help us diagnose broken compilers, and finding out an intuition
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3451 $as_echo_n "checking whether the C compiler works... " >&6; }
3452 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3454 # The possible output files:
3455 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3458 for ac_file in $ac_files
3461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3462 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3467 if { { ac_try="$ac_link_default"
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473 $as_echo "$ac_try_echo"; } >&5
3474 (eval "$ac_link_default") 2>&5
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }; then :
3478 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3479 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3480 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3481 # so that the user can short-circuit this test for compilers unknown to
3483 for ac_file in $ac_files ''
3485 test -f "$ac_file" || continue
3487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3490 # We found the default executable, but exeext='' is most
3494 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3496 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3498 # We set ac_cv_exeext here because the later test for it is not
3499 # safe: cross compilers may not add the suffix if given an `-o'
3500 # argument, so we may need to know it at that point already.
3501 # Even if this section looks crufty: it has the advantage of
3508 test "$ac_cv_exeext" = no && ac_cv_exeext=
3513 if test -z "$ac_file"; then :
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3515 $as_echo "no" >&6; }
3516 $as_echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521 as_fn_error 77 "C compiler cannot create executables
3522 See \`config.log' for more details" "$LINENO" 5; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3525 $as_echo "yes" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3528 $as_echo_n "checking for C compiler default output file name... " >&6; }
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3530 $as_echo "$ac_file" >&6; }
3531 ac_exeext=$ac_cv_exeext
3533 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3534 ac_clean_files=$ac_clean_files_save
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3536 $as_echo_n "checking for suffix of executables... " >&6; }
3537 if { { ac_try="$ac_link"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 $as_echo "$ac_try_echo"; } >&5
3544 (eval "$ac_link") 2>&5
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }; then :
3548 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3549 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3550 # work properly (i.e., refer to `conftest.exe'), while it won't with
3552 for ac_file in conftest.exe conftest conftest.*; do
3553 test -f "$ac_file" || continue
3555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3556 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 rm -f conftest conftest$ac_cv_exeext
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3569 $as_echo "$ac_cv_exeext" >&6; }
3571 rm -f conftest.$ac_ext
3572 EXEEXT=$ac_cv_exeext
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3580 FILE *f = fopen ("conftest.out", "w");
3581 return ferror (f) || fclose (f) != 0;
3587 ac_clean_files="$ac_clean_files conftest.out"
3588 # Check that the compiler produces executables we can run. If not, either
3589 # the compiler is broken, or we cross compile.
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3591 $as_echo_n "checking whether we are cross compiling... " >&6; }
3592 if test "$cross_compiling" != yes; then
3593 { { ac_try="$ac_link"
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3599 $as_echo "$ac_try_echo"; } >&5
3600 (eval "$ac_link") 2>&5
3602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603 test $ac_status = 0; }
3604 if { ac_try='./conftest$ac_cv_exeext'
3605 { { case "(($ac_try" in
3606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611 (eval "$ac_try") 2>&5
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; }; then
3617 if test "$cross_compiling" = maybe; then
3620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622 as_fn_error $? "cannot run C compiled programs.
3623 If you meant to cross compile, use \`--host'.
3624 See \`config.log' for more details" "$LINENO" 5; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3629 $as_echo "$cross_compiling" >&6; }
3631 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3632 ac_clean_files=$ac_clean_files_save
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3634 $as_echo_n "checking for suffix of object files... " >&6; }
3635 if ${ac_cv_objext+:} false; then :
3636 $as_echo_n "(cached) " >&6
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3649 rm -f conftest.o conftest.obj
3650 if { { ac_try="$ac_compile"
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_compile") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }; then :
3661 for ac_file in conftest.o conftest.obj conftest.*; do
3662 test -f "$ac_file" || continue;
3664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3665 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3670 $as_echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $? "cannot compute suffix of object files: cannot compile
3676 See \`config.log' for more details" "$LINENO" 5; }
3678 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3681 $as_echo "$ac_cv_objext" >&6; }
3682 OBJEXT=$ac_cv_objext
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3685 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3686 if ${ac_cv_c_compiler_gnu+:} false; then :
3687 $as_echo_n "(cached) " >&6
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3703 if ac_fn_c_try_compile "$LINENO"; then :
3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3713 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3714 if test $ac_compiler_gnu = yes; then
3719 ac_test_CFLAGS=${CFLAGS+set}
3720 ac_save_CFLAGS=$CFLAGS
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3722 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3723 if ${ac_cv_prog_cc_g+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 ac_save_c_werror_flag=$ac_c_werror_flag
3727 ac_c_werror_flag=yes
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 if ac_fn_c_try_compile "$LINENO"; then :
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3756 if ac_fn_c_try_compile "$LINENO"; then :
3759 ac_c_werror_flag=$ac_save_c_werror_flag
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 ac_c_werror_flag=$ac_save_c_werror_flag
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3783 $as_echo "$ac_cv_prog_cc_g" >&6; }
3784 if test "$ac_test_CFLAGS" = set; then
3785 CFLAGS=$ac_save_CFLAGS
3786 elif test $ac_cv_prog_cc_g = yes; then
3787 if test "$GCC" = yes; then
3793 if test "$GCC" = yes; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3800 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3801 if ${ac_cv_prog_cc_c89+:} false; then :
3802 $as_echo_n "(cached) " >&6
3804 ac_cv_prog_cc_c89=no
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3812 struct buf { int x; };
3813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3814 static char *e (p, i)
3820 static char *f (char * (*g) (char **, int), char **p, ...)
3825 s = g (p, va_arg (v,int));
3830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3831 function prototypes and stuff, but not '\xHH' hex character constants.
3832 These don't provoke an error unfortunately, instead are silently treated
3833 as 'x'. The following induces an error, until -std is added to get
3834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3835 array size at least. It's necessary to write '\x00'==0 to get something
3836 that's true only with -std. */
3837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3840 inside strings and character constants. */
3842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3844 int test (int i, double x);
3845 struct s1 {int (*f) (int a);};
3846 struct s2 {int (*f) (double a);};
3847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3861 CC="$ac_save_CC $ac_arg"
3862 if ac_fn_c_try_compile "$LINENO"; then :
3863 ac_cv_prog_cc_c89=$ac_arg
3865 rm -f core conftest.err conftest.$ac_objext
3866 test "x$ac_cv_prog_cc_c89" != "xno" && break
3868 rm -f conftest.$ac_ext
3873 case "x$ac_cv_prog_cc_c89" in
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3876 $as_echo "none needed" >&6; } ;;
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3879 $as_echo "unsupported" >&6; } ;;
3881 CC="$CC $ac_cv_prog_cc_c89"
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3883 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3885 if test "x$ac_cv_prog_cc_c89" != xno; then :
3890 ac_cpp='$CPP $CPPFLAGS'
3891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 ac_cpp='$CPP $CPPFLAGS'
3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3901 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3902 if ${am_cv_prog_cc_c_o+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 # Make sure it works both with $CC and with simple cc.
3917 # Following AC_PROG_CC_C_O, we do the test twice because some
3918 # compilers refuse to overwrite an existing .o file with -o,
3919 # though they will create one.
3920 am_cv_prog_cc_c_o=yes
3922 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3923 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); } \
3927 && test -f conftest2.$ac_objext; then
3930 am_cv_prog_cc_c_o=no
3934 rm -f core conftest*
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3938 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3939 if test "$am_cv_prog_cc_c_o" != yes; then
3940 # Losing compiler, so override with the script.
3941 # FIXME: It is wrong to rewrite CC.
3942 # But if we don't then we get into trouble of one sort or another.
3943 # A longer-term fix would be to have automake use am__CC in this case,
3944 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3945 CC="$am_aux_dir/compile $CC"
3948 ac_cpp='$CPP $CPPFLAGS'
3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3954 depcc="$CC" am_compiler_list=
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3957 $as_echo_n "checking dependency style of $depcc... " >&6; }
3958 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3959 $as_echo_n "(cached) " >&6
3961 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3962 # We make a subdir and do the tests there. Otherwise we can end up
3963 # making bogus files that we don't know about and never remove. For
3964 # instance it was reported that on HP-UX the gcc test will end up
3965 # making a dummy file named 'D' -- because '-MD' means "put the output
3969 # Copy depcomp to subdir because otherwise we won't find it if we're
3970 # using a relative directory.
3971 cp "$am_depcomp" conftest.dir
3973 # We will build objects and dependencies in a subdirectory because
3974 # it helps to detect inapplicable dependency modes. For instance
3975 # both Tru64's cc and ICC support -MD to output dependencies as a
3976 # side effect of compilation, but ICC will put the dependencies in
3977 # the current directory while Tru64 will put them in the object
3981 am_cv_CC_dependencies_compiler_type=none
3982 if test "$am_compiler_list" = ""; then
3983 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3986 case " $depcc " in #(
3987 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3990 for depmode in $am_compiler_list; do
3991 # Setup a source with many dependencies, because some compilers
3992 # like to wrap large dependency lists on column 80 (with \), and
3993 # we should not choose a depcomp mode which is confused by this.
3995 # We need to recreate these files for each test, as the compiler may
3996 # overwrite some of them when testing with obscure command lines.
3997 # This happens at least with the AIX C compiler.
3999 for i in 1 2 3 4 5 6; do
4000 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4001 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4002 # Solaris 10 /bin/sh.
4003 echo '/* dummy */' > sub/conftst$i.h
4005 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4007 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4008 # mode. It turns out that the SunPro C++ compiler does not properly
4009 # handle '-M -o', and we need to detect this. Also, some Intel
4010 # versions had trouble with output in subdirs.
4011 am__obj=sub/conftest.${OBJEXT-o}
4012 am__minus_obj="-o $am__obj"
4015 # This depmode causes a compiler race in universal mode.
4016 test "$am__universal" = false || continue
4019 # After this tag, mechanisms are not by side-effect, so they'll
4020 # only be used when explicitly requested.
4021 if test "x$enable_dependency_tracking" = xyes; then
4027 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4028 # This compiler won't grok '-c -o', but also, the minuso test has
4029 # not run yet. These depmodes are late enough in the game, and
4030 # so weak that their functioning should not be impacted.
4031 am__obj=conftest.${OBJEXT-o}
4036 if depmode=$depmode \
4037 source=sub/conftest.c object=$am__obj \
4038 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4039 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4040 >/dev/null 2>conftest.err &&
4041 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4042 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4043 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4044 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4045 # icc doesn't choke on unknown options, it will just issue warnings
4046 # or remarks (even with -Werror). So we grep stderr for any message
4047 # that says an option was ignored or not supported.
4048 # When given -MP, icc 7.0 and 7.1 complain thusly:
4049 # icc: Command line warning: ignoring option '-M'; no argument required
4050 # The diagnosis changed in icc 8.0:
4051 # icc: Command line remark: option '-MP' not supported
4052 if (grep 'ignoring option' conftest.err ||
4053 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4054 am_cv_CC_dependencies_compiler_type=$depmode
4063 am_cv_CC_dependencies_compiler_type=none
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4068 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4069 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4072 test "x$enable_dependency_tracking" != xno \
4073 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4075 am__fastdepCC_FALSE='#'
4077 am__fastdepCC_TRUE='#'
4078 am__fastdepCC_FALSE=
4083 # Enable some nice automake features if they are available
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4086 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4087 # Check whether --enable-maintainer-mode was given.
4088 if test "${enable_maintainer_mode+set}" = set; then :
4089 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4091 USE_MAINTAINER_MODE=no
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4095 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4096 if test $USE_MAINTAINER_MODE = yes; then
4097 MAINTAINER_MODE_TRUE=
4098 MAINTAINER_MODE_FALSE='#'
4100 MAINTAINER_MODE_TRUE='#'
4101 MAINTAINER_MODE_FALSE=
4104 MAINT=$MAINTAINER_MODE_TRUE
4107 # Check whether --enable-silent-rules was given.
4108 if test "${enable_silent_rules+set}" = set; then :
4109 enableval=$enable_silent_rules;
4112 case $enable_silent_rules in # (((
4113 yes) AM_DEFAULT_VERBOSITY=0;;
4114 no) AM_DEFAULT_VERBOSITY=1;;
4115 *) AM_DEFAULT_VERBOSITY=0;;
4117 am_make=${MAKE-make}
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4119 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4120 if ${am_cv_make_support_nested_variables+:} false; then :
4121 $as_echo_n "(cached) " >&6
4123 if $as_echo 'TRUE=$(BAR$(V))
4129 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4130 am_cv_make_support_nested_variables=yes
4132 am_cv_make_support_nested_variables=no
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4136 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4137 if test $am_cv_make_support_nested_variables = yes; then
4139 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4141 AM_V=$AM_DEFAULT_VERBOSITY
4142 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4147 # Fill GXX with something before test.
4160 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4161 if test -n "$ac_tool_prefix"; then
4162 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4163 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4167 $as_echo_n "(cached) " >&6
4171 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir=.
4179 for ac_exec_ext in '' $ac_executable_extensions; do
4180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4181 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4193 if test -n "$PKG_CONFIG"; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4195 $as_echo "$PKG_CONFIG" >&6; }
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4203 if test -z "$ac_cv_path_PKG_CONFIG"; then
4204 ac_pt_PKG_CONFIG=$PKG_CONFIG
4205 # Extract the first word of "pkg-config", so it can be a program name with args.
4206 set dummy pkg-config; ac_word=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4210 $as_echo_n "(cached) " >&6
4212 case $ac_pt_PKG_CONFIG in
4214 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4236 if test -n "$ac_pt_PKG_CONFIG"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4238 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4244 if test "x$ac_pt_PKG_CONFIG" = x; then
4247 case $cross_compiling:$ac_tool_warned in
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4251 ac_tool_warned=yes ;;
4253 PKG_CONFIG=$ac_pt_PKG_CONFIG
4256 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4260 if test -n "$PKG_CONFIG"; then
4261 _pkg_min_version=0.9.0
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4263 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4264 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4266 $as_echo "yes" >&6; }
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile debug version" >&5
4278 $as_echo_n "checking whether to compile debug version... " >&6; }
4279 # Check whether --enable-debug was given.
4280 if test "${enable_debug+set}" = set; then :
4281 enableval=$enable_debug; : ${CXXFLAGS="-g -O0"}; $as_echo "#define __RTAUDIO_DEBUG__ 1" >>confdefs.h
4288 # Checks for programs.
4290 ac_cpp='$CXXCPP $CPPFLAGS'
4291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4294 if test -z "$CXX"; then
4295 if test -n "$CCC"; then
4298 if test -n "$ac_tool_prefix"; then
4299 for ac_prog in g++ CC c++ cxx
4301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_CXX+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$CXX"; then
4309 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4318 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$CXX"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4331 $as_echo "$CXX" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$CXX" && break
4341 if test -z "$CXX"; then
4343 for ac_prog in g++ CC c++ cxx
4345 # Extract the first word of "$ac_prog", so it can be a program name with args.
4346 set dummy $ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$ac_ct_CXX"; then
4353 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_ac_ct_CXX="$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4373 if test -n "$ac_ct_CXX"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4375 $as_echo "$ac_ct_CXX" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$ac_ct_CXX" && break
4385 if test "x$ac_ct_CXX" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned=yes ;;
4400 # Provide some information about the compiler.
4401 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4404 for ac_option in --version -v -V -qversion; do
4405 { { ac_try="$ac_compiler $ac_option >&5"
4407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;;
4410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4411 $as_echo "$ac_try_echo"; } >&5
4412 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4414 if test -s conftest.err; then
4416 ... rest of stderr output deleted ...
4417 10q' conftest.err >conftest.er1
4418 cat conftest.er1 >&5
4420 rm -f conftest.er1 conftest.err
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4422 test $ac_status = 0; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4426 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4427 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4428 $as_echo_n "(cached) " >&6
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4444 if ac_fn_cxx_try_compile "$LINENO"; then :
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4454 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4455 if test $ac_compiler_gnu = yes; then
4460 ac_test_CXXFLAGS=${CXXFLAGS+set}
4461 ac_save_CXXFLAGS=$CXXFLAGS
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4463 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4464 if ${ac_cv_prog_cxx_g+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4468 ac_cxx_werror_flag=yes
4471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4482 if ac_fn_cxx_try_compile "$LINENO"; then :
4483 ac_cv_prog_cxx_g=yes
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4500 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4513 if ac_fn_cxx_try_compile "$LINENO"; then :
4514 ac_cv_prog_cxx_g=yes
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4524 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4525 if test "$ac_test_CXXFLAGS" = set; then
4526 CXXFLAGS=$ac_save_CXXFLAGS
4527 elif test $ac_cv_prog_cxx_g = yes; then
4528 if test "$GXX" = yes; then
4534 if test "$GXX" = yes; then
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 depcc="$CXX" am_compiler_list=
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4549 $as_echo_n "checking dependency style of $depcc... " >&6; }
4550 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4554 # We make a subdir and do the tests there. Otherwise we can end up
4555 # making bogus files that we don't know about and never remove. For
4556 # instance it was reported that on HP-UX the gcc test will end up
4557 # making a dummy file named 'D' -- because '-MD' means "put the output
4561 # Copy depcomp to subdir because otherwise we won't find it if we're
4562 # using a relative directory.
4563 cp "$am_depcomp" conftest.dir
4565 # We will build objects and dependencies in a subdirectory because
4566 # it helps to detect inapplicable dependency modes. For instance
4567 # both Tru64's cc and ICC support -MD to output dependencies as a
4568 # side effect of compilation, but ICC will put the dependencies in
4569 # the current directory while Tru64 will put them in the object
4573 am_cv_CXX_dependencies_compiler_type=none
4574 if test "$am_compiler_list" = ""; then
4575 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4578 case " $depcc " in #(
4579 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4582 for depmode in $am_compiler_list; do
4583 # Setup a source with many dependencies, because some compilers
4584 # like to wrap large dependency lists on column 80 (with \), and
4585 # we should not choose a depcomp mode which is confused by this.
4587 # We need to recreate these files for each test, as the compiler may
4588 # overwrite some of them when testing with obscure command lines.
4589 # This happens at least with the AIX C compiler.
4591 for i in 1 2 3 4 5 6; do
4592 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4593 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4594 # Solaris 10 /bin/sh.
4595 echo '/* dummy */' > sub/conftst$i.h
4597 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4599 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4600 # mode. It turns out that the SunPro C++ compiler does not properly
4601 # handle '-M -o', and we need to detect this. Also, some Intel
4602 # versions had trouble with output in subdirs.
4603 am__obj=sub/conftest.${OBJEXT-o}
4604 am__minus_obj="-o $am__obj"
4607 # This depmode causes a compiler race in universal mode.
4608 test "$am__universal" = false || continue
4611 # After this tag, mechanisms are not by side-effect, so they'll
4612 # only be used when explicitly requested.
4613 if test "x$enable_dependency_tracking" = xyes; then
4619 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4620 # This compiler won't grok '-c -o', but also, the minuso test has
4621 # not run yet. These depmodes are late enough in the game, and
4622 # so weak that their functioning should not be impacted.
4623 am__obj=conftest.${OBJEXT-o}
4628 if depmode=$depmode \
4629 source=sub/conftest.c object=$am__obj \
4630 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4631 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4632 >/dev/null 2>conftest.err &&
4633 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4634 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4635 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4636 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4637 # icc doesn't choke on unknown options, it will just issue warnings
4638 # or remarks (even with -Werror). So we grep stderr for any message
4639 # that says an option was ignored or not supported.
4640 # When given -MP, icc 7.0 and 7.1 complain thusly:
4641 # icc: Command line warning: ignoring option '-M'; no argument required
4642 # The diagnosis changed in icc 8.0:
4643 # icc: Command line remark: option '-MP' not supported
4644 if (grep 'ignoring option' conftest.err ||
4645 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4646 am_cv_CXX_dependencies_compiler_type=$depmode
4655 am_cv_CXX_dependencies_compiler_type=none
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4660 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4661 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4664 test "x$enable_dependency_tracking" != xno \
4665 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4666 am__fastdepCXX_TRUE=
4667 am__fastdepCXX_FALSE='#'
4669 am__fastdepCXX_TRUE='#'
4670 am__fastdepCXX_FALSE=
4674 if test -n "$ac_tool_prefix"; then
4675 for ac_prog in ar lib "link -lib"
4677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_AR+:} false; then :
4682 $as_echo_n "(cached) " >&6
4684 if test -n "$AR"; then
4685 ac_cv_prog_AR="$AR" # Let the user override the test.
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 if test -n "$AR"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4707 $as_echo "$AR" >&6; }
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4714 test -n "$AR" && break
4717 if test -z "$AR"; then
4719 for ac_prog in ar lib "link -lib"
4721 # Extract the first word of "$ac_prog", so it can be a program name with args.
4722 set dummy $ac_prog; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 if test -n "$ac_ct_AR"; then
4729 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_ac_ct_AR="$ac_prog"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4749 if test -n "$ac_ct_AR"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4751 $as_echo "$ac_ct_AR" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4758 test -n "$ac_ct_AR" && break
4761 if test "x$ac_ct_AR" = x; then
4764 case $cross_compiling:$ac_tool_warned in
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4768 ac_tool_warned=yes ;;
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4777 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4778 if ${am_cv_ar_interface+:} false; then :
4779 $as_echo_n "(cached) " >&6
4782 ac_cpp='$CPP $CPPFLAGS'
4783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4787 am_cv_ar_interface=ar
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 int some_variable = 0;
4792 if ac_fn_c_try_compile "$LINENO"; then :
4793 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4794 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4795 (eval $am_ar_try) 2>&5
4797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4798 test $ac_status = 0; }
4799 if test "$ac_status" -eq 0; then
4800 am_cv_ar_interface=ar
4802 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4803 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4804 (eval $am_ar_try) 2>&5
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }
4808 if test "$ac_status" -eq 0; then
4809 am_cv_ar_interface=lib
4811 am_cv_ar_interface=unknown
4814 rm -f conftest.lib libconftest.a
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 ac_cpp='$CPP $CPPFLAGS'
4820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4826 $as_echo "$am_cv_ar_interface" >&6; }
4828 case $am_cv_ar_interface in
4832 # Microsoft lib, so override with the ar-lib wrapper script.
4833 # FIXME: It is wrong to rewrite AR.
4834 # But if we don't then we get into trouble of one sort or another.
4835 # A longer-term fix would be to have automake use am__AR in this case,
4836 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4838 AR="$am_aux_dir/ar-lib $AR"
4841 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4845 # Extract the first word of "ar", so it can be a program name with args.
4846 set dummy ar; ac_word=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_path_AR+:} false; then :
4850 $as_echo_n "(cached) " >&6
4854 ac_cv_path_AR="$AR" # Let the user override the test with a path.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 test -z "$ac_cv_path_AR" && ac_cv_path_AR="no"
4877 if test -n "$AR"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4879 $as_echo "$AR" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4886 if [ $AR = "no" ] ; then
4887 as_fn_error $? "\"Could not find ar - needed to create a library\"" "$LINENO" 5;
4890 # Initialize libtool
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4894 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4899 macro_version='2.4.6'
4900 macro_revision='2.4.6'
4914 ltmain=$ac_aux_dir/ltmain.sh
4916 # Make sure we can run config.sub.
4917 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4918 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4921 $as_echo_n "checking build system type... " >&6; }
4922 if ${ac_cv_build+:} false; then :
4923 $as_echo_n "(cached) " >&6
4925 ac_build_alias=$build_alias
4926 test "x$ac_build_alias" = x &&
4927 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4928 test "x$ac_build_alias" = x &&
4929 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4931 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4935 $as_echo "$ac_cv_build" >&6; }
4936 case $ac_cv_build in
4938 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4941 ac_save_IFS=$IFS; IFS='-'
4947 # Remember, the first character of IFS is used to create $*,
4948 # except with old shells:
4951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4955 $as_echo_n "checking host system type... " >&6; }
4956 if ${ac_cv_host+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 if test "x$host_alias" = x; then
4960 ac_cv_host=$ac_cv_build
4962 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4963 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4968 $as_echo "$ac_cv_host" >&6; }
4971 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4974 ac_save_IFS=$IFS; IFS='-'
4980 # Remember, the first character of IFS is used to create $*,
4981 # except with old shells:
4984 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4987 # Backslashify metacharacters that are still active within
4988 # double-quoted strings.
4989 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4991 # Same as above, but do not quote variable references.
4992 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4994 # Sed substitution to delay expansion of an escaped shell variable in a
4995 # double_quote_subst'ed string.
4996 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4998 # Sed substitution to delay expansion of an escaped single quote.
4999 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5001 # Sed substitution to avoid accidental globbing in evaled expressions
5002 no_glob_subst='s/\*/\\\*/g'
5004 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5005 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5006 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5009 $as_echo_n "checking how to print strings... " >&6; }
5010 # Test print first, because it will be a builtin if present.
5011 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5012 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5014 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5017 # Use this function as a fallback that always works.
5018 func_fallback_echo ()
5020 eval 'cat <<_LTECHO_EOF
5024 ECHO='func_fallback_echo'
5027 # func_echo_all arg...
5028 # Invoke $ECHO with all args, space-separated.
5035 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5036 $as_echo "printf" >&6; } ;;
5037 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5038 $as_echo "print -r" >&6; } ;;
5039 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5040 $as_echo "cat" >&6; } ;;
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5057 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5058 if ${ac_cv_path_SED+:} false; then :
5059 $as_echo_n "(cached) " >&6
5061 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5062 for ac_i in 1 2 3 4 5 6 7; do
5063 ac_script="$ac_script$as_nl$ac_script"
5065 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5066 { ac_script=; unset ac_script;}
5067 if test -z "$SED"; then
5068 ac_path_SED_found=false
5069 # Loop through the user's path and test for each of PROGNAME-LIST
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir=.
5075 for ac_prog in sed gsed; do
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5078 as_fn_executable_p "$ac_path_SED" || continue
5079 # Check for GNU ac_path_SED and select it if it is found.
5080 # Check for GNU $ac_path_SED
5081 case `"$ac_path_SED" --version 2>&1` in
5083 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5086 $as_echo_n 0123456789 >"conftest.in"
5089 cat "conftest.in" "conftest.in" >"conftest.tmp"
5090 mv "conftest.tmp" "conftest.in"
5091 cp "conftest.in" "conftest.nl"
5092 $as_echo '' >> "conftest.nl"
5093 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5094 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5095 as_fn_arith $ac_count + 1 && ac_count=$as_val
5096 if test $ac_count -gt ${ac_path_SED_max-0}; then
5097 # Best one so far, save it but keep looking for a better one
5098 ac_cv_path_SED="$ac_path_SED"
5099 ac_path_SED_max=$ac_count
5101 # 10*(2^10) chars as input seems more than enough
5102 test $ac_count -gt 10 && break
5104 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5107 $ac_path_SED_found && break 3
5112 if test -z "$ac_cv_path_SED"; then
5113 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5121 $as_echo "$ac_cv_path_SED" >&6; }
5122 SED="$ac_cv_path_SED"
5125 test -z "$SED" && SED=sed
5126 Xsed="$SED -e 1s/^X//"
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5139 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5140 if ${ac_cv_path_GREP+:} false; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -z "$GREP"; then
5144 ac_path_GREP_found=false
5145 # Loop through the user's path and test for each of PROGNAME-LIST
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5150 test -z "$as_dir" && as_dir=.
5151 for ac_prog in grep ggrep; do
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5154 as_fn_executable_p "$ac_path_GREP" || continue
5155 # Check for GNU ac_path_GREP and select it if it is found.
5156 # Check for GNU $ac_path_GREP
5157 case `"$ac_path_GREP" --version 2>&1` in
5159 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5162 $as_echo_n 0123456789 >"conftest.in"
5165 cat "conftest.in" "conftest.in" >"conftest.tmp"
5166 mv "conftest.tmp" "conftest.in"
5167 cp "conftest.in" "conftest.nl"
5168 $as_echo 'GREP' >> "conftest.nl"
5169 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5171 as_fn_arith $ac_count + 1 && ac_count=$as_val
5172 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5173 # Best one so far, save it but keep looking for a better one
5174 ac_cv_path_GREP="$ac_path_GREP"
5175 ac_path_GREP_max=$ac_count
5177 # 10*(2^10) chars as input seems more than enough
5178 test $ac_count -gt 10 && break
5180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5183 $ac_path_GREP_found && break 3
5188 if test -z "$ac_cv_path_GREP"; then
5189 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5192 ac_cv_path_GREP=$GREP
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5197 $as_echo "$ac_cv_path_GREP" >&6; }
5198 GREP="$ac_cv_path_GREP"
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5202 $as_echo_n "checking for egrep... " >&6; }
5203 if ${ac_cv_path_EGREP+:} false; then :
5204 $as_echo_n "(cached) " >&6
5206 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5207 then ac_cv_path_EGREP="$GREP -E"
5209 if test -z "$EGREP"; then
5210 ac_path_EGREP_found=false
5211 # Loop through the user's path and test for each of PROGNAME-LIST
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5216 test -z "$as_dir" && as_dir=.
5217 for ac_prog in egrep; do
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5220 as_fn_executable_p "$ac_path_EGREP" || continue
5221 # Check for GNU ac_path_EGREP and select it if it is found.
5222 # Check for GNU $ac_path_EGREP
5223 case `"$ac_path_EGREP" --version 2>&1` in
5225 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5228 $as_echo_n 0123456789 >"conftest.in"
5231 cat "conftest.in" "conftest.in" >"conftest.tmp"
5232 mv "conftest.tmp" "conftest.in"
5233 cp "conftest.in" "conftest.nl"
5234 $as_echo 'EGREP' >> "conftest.nl"
5235 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5236 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5237 as_fn_arith $ac_count + 1 && ac_count=$as_val
5238 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5239 # Best one so far, save it but keep looking for a better one
5240 ac_cv_path_EGREP="$ac_path_EGREP"
5241 ac_path_EGREP_max=$ac_count
5243 # 10*(2^10) chars as input seems more than enough
5244 test $ac_count -gt 10 && break
5246 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5249 $ac_path_EGREP_found && break 3
5254 if test -z "$ac_cv_path_EGREP"; then
5255 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5258 ac_cv_path_EGREP=$EGREP
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5264 $as_echo "$ac_cv_path_EGREP" >&6; }
5265 EGREP="$ac_cv_path_EGREP"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5269 $as_echo_n "checking for fgrep... " >&6; }
5270 if ${ac_cv_path_FGREP+:} false; then :
5271 $as_echo_n "(cached) " >&6
5273 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5274 then ac_cv_path_FGREP="$GREP -F"
5276 if test -z "$FGREP"; then
5277 ac_path_FGREP_found=false
5278 # Loop through the user's path and test for each of PROGNAME-LIST
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5283 test -z "$as_dir" && as_dir=.
5284 for ac_prog in fgrep; do
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5287 as_fn_executable_p "$ac_path_FGREP" || continue
5288 # Check for GNU ac_path_FGREP and select it if it is found.
5289 # Check for GNU $ac_path_FGREP
5290 case `"$ac_path_FGREP" --version 2>&1` in
5292 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5295 $as_echo_n 0123456789 >"conftest.in"
5298 cat "conftest.in" "conftest.in" >"conftest.tmp"
5299 mv "conftest.tmp" "conftest.in"
5300 cp "conftest.in" "conftest.nl"
5301 $as_echo 'FGREP' >> "conftest.nl"
5302 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5304 as_fn_arith $ac_count + 1 && ac_count=$as_val
5305 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5306 # Best one so far, save it but keep looking for a better one
5307 ac_cv_path_FGREP="$ac_path_FGREP"
5308 ac_path_FGREP_max=$ac_count
5310 # 10*(2^10) chars as input seems more than enough
5311 test $ac_count -gt 10 && break
5313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5316 $ac_path_FGREP_found && break 3
5321 if test -z "$ac_cv_path_FGREP"; then
5322 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5325 ac_cv_path_FGREP=$FGREP
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5331 $as_echo "$ac_cv_path_FGREP" >&6; }
5332 FGREP="$ac_cv_path_FGREP"
5335 test -z "$GREP" && GREP=grep
5355 # Check whether --with-gnu-ld was given.
5356 if test "${with_gnu_ld+set}" = set; then :
5357 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5363 if test yes = "$GCC"; then
5364 # Check if gcc -print-prog-name=ld gives a path.
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5366 $as_echo_n "checking for ld used by $CC... " >&6; }
5369 # gcc leaves a trailing carriage return, which upsets mingw
5370 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5372 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5375 # Accept absolute paths.
5377 re_direlt='/[^/][^/]*/\.\./'
5378 # Canonicalize the pathname of ld
5379 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5380 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5381 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5383 test -z "$LD" && LD=$ac_prog
5386 # If it fails, then pretend we aren't using GCC.
5390 # If it is relative, then search for the first ld in PATH.
5394 elif test yes = "$with_gnu_ld"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5396 $as_echo_n "checking for GNU ld... " >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5399 $as_echo_n "checking for non-GNU ld... " >&6; }
5401 if ${lt_cv_path_LD+:} false; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -z "$LD"; then
5405 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5406 for ac_dir in $PATH; do
5408 test -z "$ac_dir" && ac_dir=.
5409 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5410 lt_cv_path_LD=$ac_dir/$ac_prog
5411 # Check to see if the program is GNU ld. I'd rather use --version,
5412 # but apparently some variants of GNU ld only accept -v.
5413 # Break only if it was the GNU/non-GNU ld that we prefer.
5414 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5415 *GNU* | *'with BFD'*)
5416 test no != "$with_gnu_ld" && break
5419 test yes != "$with_gnu_ld" && break
5426 lt_cv_path_LD=$LD # Let the user override the test with a path.
5431 if test -n "$LD"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5433 $as_echo "$LD" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5438 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5440 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5441 if ${lt_cv_prog_gnu_ld+:} false; then :
5442 $as_echo_n "(cached) " >&6
5444 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5445 case `$LD -v 2>&1 </dev/null` in
5446 *GNU* | *'with BFD'*)
5447 lt_cv_prog_gnu_ld=yes
5450 lt_cv_prog_gnu_ld=no
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5455 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5456 with_gnu_ld=$lt_cv_prog_gnu_ld
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5467 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5468 if ${lt_cv_path_NM+:} false; then :
5469 $as_echo_n "(cached) " >&6
5471 if test -n "$NM"; then
5472 # Let the user override the test.
5475 lt_nm_to_check=${ac_tool_prefix}nm
5476 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5477 lt_nm_to_check="$lt_nm_to_check nm"
5479 for lt_tmp_nm in $lt_nm_to_check; do
5480 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5481 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5483 test -z "$ac_dir" && ac_dir=.
5484 tmp_nm=$ac_dir/$lt_tmp_nm
5485 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5486 # Check to see if the nm accepts a BSD-compat flag.
5487 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5488 # nm: unknown option "B" ignored
5489 # Tru64's nm complains that /dev/null is an invalid object file
5490 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5492 mingw*) lt_bad_file=conftest.nm/nofile ;;
5493 *) lt_bad_file=/dev/null ;;
5495 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5496 *$lt_bad_file* | *'Invalid file or object type'*)
5497 lt_cv_path_NM="$tmp_nm -B"
5501 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5503 lt_cv_path_NM="$tmp_nm -p"
5507 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5508 continue # so that we can try to find one that supports BSD flags
5517 : ${lt_cv_path_NM=no}
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5521 $as_echo "$lt_cv_path_NM" >&6; }
5522 if test no != "$lt_cv_path_NM"; then
5525 # Didn't find any BSD compatible name lister, look for dumpbin.
5526 if test -n "$DUMPBIN"; then :
5527 # Let the user override the test.
5529 if test -n "$ac_tool_prefix"; then
5530 for ac_prog in dumpbin "link -dump"
5532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5535 $as_echo_n "checking for $ac_word... " >&6; }
5536 if ${ac_cv_prog_DUMPBIN+:} false; then :
5537 $as_echo_n "(cached) " >&6
5539 if test -n "$DUMPBIN"; then
5540 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir=.
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 DUMPBIN=$ac_cv_prog_DUMPBIN
5560 if test -n "$DUMPBIN"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5562 $as_echo "$DUMPBIN" >&6; }
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }
5569 test -n "$DUMPBIN" && break
5572 if test -z "$DUMPBIN"; then
5573 ac_ct_DUMPBIN=$DUMPBIN
5574 for ac_prog in dumpbin "link -dump"
5576 # Extract the first word of "$ac_prog", so it can be a program name with args.
5577 set dummy $ac_prog; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5581 $as_echo_n "(cached) " >&6
5583 if test -n "$ac_ct_DUMPBIN"; then
5584 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5604 if test -n "$ac_ct_DUMPBIN"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5606 $as_echo "$ac_ct_DUMPBIN" >&6; }
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }
5613 test -n "$ac_ct_DUMPBIN" && break
5616 if test "x$ac_ct_DUMPBIN" = x; then
5619 case $cross_compiling:$ac_tool_warned in
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623 ac_tool_warned=yes ;;
5625 DUMPBIN=$ac_ct_DUMPBIN
5629 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5631 DUMPBIN="$DUMPBIN -symbols -headers"
5639 if test : != "$DUMPBIN"; then
5643 test -z "$NM" && NM=nm
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5651 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5652 if ${lt_cv_nm_interface+:} false; then :
5653 $as_echo_n "(cached) " >&6
5655 lt_cv_nm_interface="BSD nm"
5656 echo "int some_variable = 0;" > conftest.$ac_ext
5657 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5658 (eval "$ac_compile" 2>conftest.err)
5659 cat conftest.err >&5
5660 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5661 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5662 cat conftest.err >&5
5663 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5664 cat conftest.out >&5
5665 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5666 lt_cv_nm_interface="MS dumpbin"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5671 $as_echo "$lt_cv_nm_interface" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5674 $as_echo_n "checking whether ln -s works... " >&6; }
5676 if test "$LN_S" = "ln -s"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5678 $as_echo "yes" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5681 $as_echo "no, using $LN_S" >&6; }
5684 # find the maximum length of command line arguments
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5686 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5687 if ${lt_cv_sys_max_cmd_len+:} false; then :
5688 $as_echo_n "(cached) " >&6
5695 # On DJGPP, this test can blow up pretty badly due to problems in libc
5696 # (any single argument exceeding 2000 bytes causes a buffer overrun
5697 # during glob expansion). Even if it were fixed, the result of this
5698 # check would be larger than it should be.
5699 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5703 # Under GNU Hurd, this test is not required because there is
5704 # no limit to the length of command line arguments.
5705 # Libtool will interpret -1 as no limit whatsoever
5706 lt_cv_sys_max_cmd_len=-1;
5709 cygwin* | mingw* | cegcc*)
5710 # On Win9x/ME, this test blows up -- it succeeds, but takes
5711 # about 5 minutes as the teststring grows exponentially.
5712 # Worse, since 9x/ME are not pre-emptively multitasking,
5713 # you end up with a "frozen" computer, even though with patience
5714 # the test eventually succeeds (with a max line length of 256k).
5715 # Instead, let's just punt: use the minimum linelength reported by
5716 # all of the supported platforms: 8192 (on NT/2K/XP).
5717 lt_cv_sys_max_cmd_len=8192;
5721 # On MiNT this can take a long time and run out of memory.
5722 lt_cv_sys_max_cmd_len=8192;
5726 # On AmigaOS with pdksh, this test takes hours, literally.
5727 # So we just punt and use a minimum line length of 8192.
5728 lt_cv_sys_max_cmd_len=8192;
5731 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5732 # This has been around since 386BSD, at least. Likely further.
5733 if test -x /sbin/sysctl; then
5734 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5735 elif test -x /usr/sbin/sysctl; then
5736 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5738 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5740 # And add a safety zone
5741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5742 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5746 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5747 lt_cv_sys_max_cmd_len=196608
5751 # The test takes a long time on OS/2.
5752 lt_cv_sys_max_cmd_len=8192
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" && \
5782 test undefined != "$lt_cv_sys_max_cmd_len"; then
5783 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5786 # Make teststring a little bigger before we do anything with it.
5787 # a 1K string should be a reasonable start.
5788 for i in 1 2 3 4 5 6 7 8; do
5789 teststring=$teststring$teststring
5791 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5792 # If test is not a shell built-in, we'll probably end up computing a
5793 # maximum length that is only half of the actual maximum length, but
5795 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5796 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5797 test 17 != "$i" # 1/2 MB should be enough
5800 teststring=$teststring$teststring
5802 # Only check the string length outside the loop.
5803 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5805 # Add a significant safety factor because C++ compilers can tack on
5806 # massive amounts of additional arguments before passing them to the
5807 # linker. It appears as though 1/2 is a usable value.
5808 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5815 if test -n "$lt_cv_sys_max_cmd_len"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5817 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5820 $as_echo "none" >&6; }
5822 max_cmd_len=$lt_cv_sys_max_cmd_len
5833 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5843 # test EBCDIC or ASCII
5844 case `echo X|tr X '\101'` in
5845 A) # ASCII based system
5846 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5847 lt_SP2NL='tr \040 \012'
5848 lt_NL2SP='tr \015\012 \040\040'
5850 *) # EBCDIC based system
5851 lt_SP2NL='tr \100 \n'
5852 lt_NL2SP='tr \r\n \100\100'
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5865 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5866 if ${lt_cv_to_host_file_cmd+:} false; then :
5867 $as_echo_n "(cached) " >&6
5872 *-*-mingw* ) # actually msys
5873 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5876 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5878 * ) # otherwise, assume *nix
5879 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5885 *-*-mingw* ) # actually msys
5886 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5889 lt_cv_to_host_file_cmd=func_convert_file_noop
5891 * ) # otherwise, assume *nix
5892 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5896 * ) # unhandled hosts (and "normal" native builds)
5897 lt_cv_to_host_file_cmd=func_convert_file_noop
5903 to_host_file_cmd=$lt_cv_to_host_file_cmd
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5905 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5912 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5913 if ${lt_cv_to_tool_file_cmd+:} false; then :
5914 $as_echo_n "(cached) " >&6
5916 #assume ordinary cross tools, or native build.
5917 lt_cv_to_tool_file_cmd=func_convert_file_noop
5921 *-*-mingw* ) # actually msys
5922 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5930 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5932 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5939 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5940 if ${lt_cv_ld_reload_flag+:} false; then :
5941 $as_echo_n "(cached) " >&6
5943 lt_cv_ld_reload_flag='-r'
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5946 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5947 reload_flag=$lt_cv_ld_reload_flag
5948 case $reload_flag in
5950 *) reload_flag=" $reload_flag" ;;
5952 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5954 cygwin* | mingw* | pw32* | cegcc*)
5955 if test yes != "$GCC"; then
5960 if test yes = "$GCC"; then
5961 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5963 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5978 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_OBJDUMP+:} false; then :
5982 $as_echo_n "(cached) " >&6
5984 if test -n "$OBJDUMP"; then
5985 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 OBJDUMP=$ac_cv_prog_OBJDUMP
6005 if test -n "$OBJDUMP"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6007 $as_echo "$OBJDUMP" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6015 if test -z "$ac_cv_prog_OBJDUMP"; then
6016 ac_ct_OBJDUMP=$OBJDUMP
6017 # Extract the first word of "objdump", so it can be a program name with args.
6018 set dummy objdump; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$ac_ct_OBJDUMP"; then
6025 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6045 if test -n "$ac_ct_OBJDUMP"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6047 $as_echo "$ac_ct_OBJDUMP" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6053 if test "x$ac_ct_OBJDUMP" = x; then
6056 case $cross_compiling:$ac_tool_warned in
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6062 OBJDUMP=$ac_ct_OBJDUMP
6065 OBJDUMP="$ac_cv_prog_OBJDUMP"
6068 test -z "$OBJDUMP" && OBJDUMP=objdump
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6076 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6077 if ${lt_cv_deplibs_check_method+:} false; then :
6078 $as_echo_n "(cached) " >&6
6080 lt_cv_file_magic_cmd='$MAGIC_CMD'
6081 lt_cv_file_magic_test_file=
6082 lt_cv_deplibs_check_method='unknown'
6083 # Need to set the preceding variable on all platforms that support
6084 # interlibrary dependencies.
6085 # 'none' -- dependencies not supported.
6086 # 'unknown' -- same as none, but documents that we really don't know.
6087 # 'pass_all' -- all dependencies passed with no checks.
6088 # 'test_compile' -- check by making test program.
6089 # 'file_magic [[regex]]' -- check by looking for files in library path
6090 # that responds to the $file_magic_cmd with a given extended regex.
6091 # If you have 'file' or equivalent on your system and you're not sure
6092 # whether 'pass_all' will *always* work, you probably want this one.
6096 lt_cv_deplibs_check_method=pass_all
6100 lt_cv_deplibs_check_method=pass_all
6104 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6105 lt_cv_file_magic_cmd='/usr/bin/file -L'
6106 lt_cv_file_magic_test_file=/shlib/libc.so
6110 # func_win32_libid is a shell function defined in ltmain.sh
6111 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6112 lt_cv_file_magic_cmd='func_win32_libid'
6116 # Base MSYS/MinGW do not provide the 'file' command needed by
6117 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6118 # unless we find 'file', for example because we are cross-compiling.
6119 if ( file / ) >/dev/null 2>&1; then
6120 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6121 lt_cv_file_magic_cmd='func_win32_libid'
6123 # Keep this pattern in sync with the one in func_win32_libid.
6124 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6125 lt_cv_file_magic_cmd='$OBJDUMP -f'
6130 # use the weaker test based on 'objdump'. See mingw*.
6131 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6132 lt_cv_file_magic_cmd='$OBJDUMP -f'
6135 darwin* | rhapsody*)
6136 lt_cv_deplibs_check_method=pass_all
6139 freebsd* | dragonfly*)
6140 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6143 # Not sure whether the presence of OpenBSD here was a mistake.
6144 # Let's accept both of them until this is cleared up.
6145 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6146 lt_cv_file_magic_cmd=/usr/bin/file
6147 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6151 lt_cv_deplibs_check_method=pass_all
6156 lt_cv_deplibs_check_method=pass_all
6159 hpux10.20* | hpux11*)
6160 lt_cv_file_magic_cmd=/usr/bin/file
6163 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6164 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6167 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]'
6168 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6171 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6172 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6178 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6179 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6182 irix5* | irix6* | nonstopux*)
6184 *-32|*"-32 ") libmagic=32-bit;;
6185 *-n32|*"-n32 ") libmagic=N32;;
6186 *-64|*"-64 ") libmagic=64-bit;;
6187 *) libmagic=never-match;;
6189 lt_cv_deplibs_check_method=pass_all
6192 # This must be glibc/ELF.
6193 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6194 lt_cv_deplibs_check_method=pass_all
6197 netbsd* | netbsdelf*-gnu)
6198 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6201 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6206 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6207 lt_cv_file_magic_cmd=/usr/bin/file
6208 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6212 lt_cv_deplibs_check_method=pass_all
6216 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6219 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6223 osf3* | osf4* | osf5*)
6224 lt_cv_deplibs_check_method=pass_all
6228 lt_cv_deplibs_check_method=pass_all
6232 lt_cv_deplibs_check_method=pass_all
6235 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6236 lt_cv_deplibs_check_method=pass_all
6240 case $host_vendor in
6242 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]'
6243 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6246 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_file_magic_cmd='/bin/file'
6250 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6253 lt_cv_file_magic_cmd='/bin/file'
6254 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6255 lt_cv_file_magic_test_file=/lib/libc.so
6258 lt_cv_deplibs_check_method=pass_all
6261 lt_cv_deplibs_check_method=pass_all
6267 lt_cv_deplibs_check_method=pass_all
6270 lt_cv_deplibs_check_method=pass_all
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6276 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6280 if test "$build" = "$host"; then
6283 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6286 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6292 file_magic_cmd=$lt_cv_file_magic_cmd
6293 deplibs_check_method=$lt_cv_deplibs_check_method
6294 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6317 if test -n "$ac_tool_prefix"; then
6318 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6319 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321 $as_echo_n "checking for $ac_word... " >&6; }
6322 if ${ac_cv_prog_DLLTOOL+:} false; then :
6323 $as_echo_n "(cached) " >&6
6325 if test -n "$DLLTOOL"; then
6326 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6335 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 DLLTOOL=$ac_cv_prog_DLLTOOL
6346 if test -n "$DLLTOOL"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6348 $as_echo "$DLLTOOL" >&6; }
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6356 if test -z "$ac_cv_prog_DLLTOOL"; then
6357 ac_ct_DLLTOOL=$DLLTOOL
6358 # Extract the first word of "dlltool", so it can be a program name with args.
6359 set dummy dlltool; ac_word=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -n "$ac_ct_DLLTOOL"; then
6366 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir=.
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6375 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6386 if test -n "$ac_ct_DLLTOOL"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6388 $as_echo "$ac_ct_DLLTOOL" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6394 if test "x$ac_ct_DLLTOOL" = x; then
6397 case $cross_compiling:$ac_tool_warned in
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6401 ac_tool_warned=yes ;;
6403 DLLTOOL=$ac_ct_DLLTOOL
6406 DLLTOOL="$ac_cv_prog_DLLTOOL"
6409 test -z "$DLLTOOL" && DLLTOOL=dlltool
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6418 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6419 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6420 $as_echo_n "(cached) " >&6
6422 lt_cv_sharedlib_from_linklib_cmd='unknown'
6425 cygwin* | mingw* | pw32* | cegcc*)
6426 # two different shell functions defined in ltmain.sh;
6427 # decide which one to use based on capabilities of $DLLTOOL
6428 case `$DLLTOOL --help 2>&1` in
6429 *--identify-strict*)
6430 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6433 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6438 # fallback: assume linklib IS sharedlib
6439 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6445 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6446 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6447 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6455 if test -n "$ac_tool_prefix"; then
6458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_prog_AR+:} false; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -n "$AR"; then
6466 ac_cv_prog_AR="$AR" # Let the user override the test.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 if test -n "$AR"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6488 $as_echo "$AR" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6495 test -n "$AR" && break
6498 if test -z "$AR"; then
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6507 $as_echo_n "(cached) " >&6
6509 if test -n "$ac_ct_AR"; then
6510 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_ac_ct_AR="$ac_prog"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6530 if test -n "$ac_ct_AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6532 $as_echo "$ac_ct_AR" >&6; }
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6539 test -n "$ac_ct_AR" && break
6542 if test "x$ac_ct_AR" = x; then
6545 case $cross_compiling:$ac_tool_warned in
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6549 ac_tool_warned=yes ;;
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6569 $as_echo_n "checking for archiver @FILE support... " >&6; }
6570 if ${lt_cv_ar_at_file+:} false; then :
6571 $as_echo_n "(cached) " >&6
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6585 if ac_fn_c_try_compile "$LINENO"; then :
6586 echo conftest.$ac_objext > conftest.lst
6587 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6588 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6589 (eval $lt_ar_try) 2>&5
6591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6592 test $ac_status = 0; }
6593 if test 0 -eq "$ac_status"; then
6594 # Ensure the archiver fails upon bogus file names.
6595 rm -f conftest.$ac_objext libconftest.a
6596 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6597 (eval $lt_ar_try) 2>&5
6599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6600 test $ac_status = 0; }
6601 if test 0 -ne "$ac_status"; then
6605 rm -f conftest.* libconftest.a
6608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6612 $as_echo "$lt_cv_ar_at_file" >&6; }
6614 if test no = "$lt_cv_ar_at_file"; then
6617 archiver_list_spec=$lt_cv_ar_at_file
6626 if test -n "$ac_tool_prefix"; then
6627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}strip; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_STRIP+:} false; then :
6632 $as_echo_n "(cached) " >&6
6634 if test -n "$STRIP"; then
6635 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 STRIP=$ac_cv_prog_STRIP
6655 if test -n "$STRIP"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6657 $as_echo "$STRIP" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6665 if test -z "$ac_cv_prog_STRIP"; then
6667 # Extract the first word of "strip", so it can be a program name with args.
6668 set dummy strip; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6672 $as_echo_n "(cached) " >&6
6674 if test -n "$ac_ct_STRIP"; then
6675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_STRIP="strip"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6695 if test -n "$ac_ct_STRIP"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6697 $as_echo "$ac_ct_STRIP" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6703 if test "x$ac_ct_STRIP" = x; then
6706 case $cross_compiling:$ac_tool_warned in
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6715 STRIP="$ac_cv_prog_STRIP"
6718 test -z "$STRIP" && STRIP=:
6725 if test -n "$ac_tool_prefix"; then
6726 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6727 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 $as_echo_n "checking for $ac_word... " >&6; }
6730 if ${ac_cv_prog_RANLIB+:} false; then :
6731 $as_echo_n "(cached) " >&6
6733 if test -n "$RANLIB"; then
6734 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753 RANLIB=$ac_cv_prog_RANLIB
6754 if test -n "$RANLIB"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6756 $as_echo "$RANLIB" >&6; }
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 $as_echo "no" >&6; }
6764 if test -z "$ac_cv_prog_RANLIB"; then
6765 ac_ct_RANLIB=$RANLIB
6766 # Extract the first word of "ranlib", so it can be a program name with args.
6767 set dummy ranlib; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6771 $as_echo_n "(cached) " >&6
6773 if test -n "$ac_ct_RANLIB"; then
6774 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_ac_ct_RANLIB="ranlib"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6794 if test -n "$ac_ct_RANLIB"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6796 $as_echo "$ac_ct_RANLIB" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6802 if test "x$ac_ct_RANLIB" = x; then
6805 case $cross_compiling:$ac_tool_warned in
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6809 ac_tool_warned=yes ;;
6811 RANLIB=$ac_ct_RANLIB
6814 RANLIB="$ac_cv_prog_RANLIB"
6817 test -z "$RANLIB" && RANLIB=:
6824 # Determine commands to create old-style static archives.
6825 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6826 old_postinstall_cmds='chmod 644 $oldlib'
6827 old_postuninstall_cmds=
6829 if test -n "$RANLIB"; then
6832 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6835 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6838 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6843 lock_old_archive_extraction=yes ;;
6845 lock_old_archive_extraction=no ;;
6886 # If no C compiler was specified, use CC.
6889 # If no C compiler flags were specified, use CFLAGS.
6890 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6892 # Allow CC to be a program name with arguments.
6896 # Check for command to grab the raw symbol name followed by C symbol from nm.
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6898 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6899 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6900 $as_echo_n "(cached) " >&6
6903 # These are sane defaults that work on at least a few old systems.
6904 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6906 # Character class describing NM global symbol codes.
6907 symcode='[BCDEGRST]'
6909 # Regexp to match symbols that can be accessed directly from C.
6910 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6912 # Define system-specific variables.
6917 cygwin* | mingw* | pw32* | cegcc*)
6918 symcode='[ABCDGISTW]'
6921 if test ia64 = "$host_cpu"; then
6922 symcode='[ABCDEGRST]'
6926 symcode='[BCDEGRST]'
6929 symcode='[BCDEGQRST]'
6940 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6948 # If we're using GNU nm, then use its standard symbol codes.
6949 case `$NM -V 2>&1` in
6950 *GNU* | *'with BFD'*)
6951 symcode='[ABCDGIRSTW]' ;;
6954 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6955 # Gets list of data symbols to import.
6956 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6957 # Adjust the below global symbol transforms to fixup imported variables.
6958 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6959 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6960 lt_c_name_lib_hook="\
6961 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6962 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6964 # Disable hooks by default.
6965 lt_cv_sys_global_symbol_to_import=
6971 # Transform an extracted symbol line into a proper C declaration.
6972 # Some systems (esp. on ia64) link data and code symbols differently,
6973 # so use this general approach.
6974 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6976 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6977 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6979 # Transform an extracted symbol line into symbol name and symbol address
6980 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6982 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6983 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6985 # Transform an extracted symbol line into symbol name with lib prefix and
6987 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6988 $lt_c_name_lib_hook\
6989 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6990 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6991 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6993 # Handle CRLF in mingw tool chain
6997 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7001 # Try without a prefix underscore, then with it.
7002 for ac_symprfx in "" "_"; do
7004 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7005 symxfrm="\\1 $ac_symprfx\\2 \\2"
7007 # Write the raw and C identifiers.
7008 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7009 # Fake it for dumpbin and say T for any non-static function,
7010 # D for any global variable and I for any imported variable.
7011 # Also find C++ and __fastcall symbols from MSVC++,
7012 # which start with @ or ?.
7013 lt_cv_sys_global_symbol_pipe="$AWK '"\
7014 " {last_section=section; section=\$ 3};"\
7015 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7016 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7017 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7018 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7019 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7020 " \$ 0!~/External *\|/{next};"\
7021 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7022 " {if(hide[section]) next};"\
7023 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7024 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7025 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7026 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7027 " ' prfx=^$ac_symprfx"
7029 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7031 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7033 # Check to see that the pipe works correctly.
7037 cat > conftest.$ac_ext <<_LT_EOF
7042 void nm_test_func(void);
7043 void nm_test_func(void){}
7047 int main(){nm_test_var='a';nm_test_func();return(0);}
7050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7051 (eval $ac_compile) 2>&5
7053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7054 test $ac_status = 0; }; then
7055 # Now try to grab the symbols.
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7058 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s "$nlist"; then
7062 # Try sorting and uniquifying the output.
7063 if sort "$nlist" | uniq > "$nlist"T; then
7064 mv -f "$nlist"T "$nlist"
7069 # Make sure that we snagged all the symbols we need.
7070 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7071 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7072 cat <<_LT_EOF > conftest.$ac_ext
7073 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7074 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7075 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7076 relocations are performed -- see ld's documentation on pseudo-relocs. */
7077 # define LT_DLSYM_CONST
7078 #elif defined __osf__
7079 /* This system does not cope well with relocations in const data. */
7080 # define LT_DLSYM_CONST
7082 # define LT_DLSYM_CONST const
7090 # Now generate the symbol file.
7091 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7093 cat <<_LT_EOF >> conftest.$ac_ext
7095 /* The mapping between symbol names and symbols. */
7096 LT_DLSYM_CONST struct {
7100 lt__PROGRAM__LTX_preloaded_symbols[] =
7102 { "@PROGRAM@", (void *) 0 },
7104 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7105 cat <<\_LT_EOF >> conftest.$ac_ext
7109 /* This works around a problem in FreeBSD linker */
7110 #ifdef FREEBSD_WORKAROUND
7111 static const void *lt_preloaded_setup() {
7112 return lt__PROGRAM__LTX_preloaded_symbols;
7120 # Now try linking the two files.
7121 mv conftest.$ac_objext conftstm.$ac_objext
7122 lt_globsym_save_LIBS=$LIBS
7123 lt_globsym_save_CFLAGS=$CFLAGS
7124 LIBS=conftstm.$ac_objext
7125 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7127 (eval $ac_link) 2>&5
7129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7130 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7133 LIBS=$lt_globsym_save_LIBS
7134 CFLAGS=$lt_globsym_save_CFLAGS
7136 echo "cannot find nm_test_func in $nlist" >&5
7139 echo "cannot find nm_test_var in $nlist" >&5
7142 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7145 echo "$progname: failed program was:" >&5
7146 cat conftest.$ac_ext >&5
7148 rm -rf conftest* conftst*
7150 # Do not use the global_symbol_pipe unless it works.
7151 if test yes = "$pipe_works"; then
7154 lt_cv_sys_global_symbol_pipe=
7160 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7161 lt_cv_sys_global_symbol_to_cdecl=
7163 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7165 $as_echo "failed" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7168 $as_echo "ok" >&6; }
7171 # Response file support.
7172 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7173 nm_file_list_spec='@'
7174 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7175 nm_file_list_spec='@'
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7215 $as_echo_n "checking for sysroot... " >&6; }
7217 # Check whether --with-sysroot was given.
7218 if test "${with_sysroot+set}" = set; then :
7219 withval=$with_sysroot;
7226 case $with_sysroot in #(
7228 if test yes = "$GCC"; then
7229 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7233 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7239 $as_echo "$with_sysroot" >&6; }
7240 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7245 $as_echo "${lt_sysroot:-no}" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7252 $as_echo_n "checking for a working dd... " >&6; }
7253 if ${ac_cv_path_lt_DD+:} false; then :
7254 $as_echo_n "(cached) " >&6
7256 printf 0123456789abcdef0123456789abcdef >conftest.i
7257 cat conftest.i conftest.i >conftest2.i
7259 if test -z "$lt_DD"; then
7260 ac_path_lt_DD_found=false
7261 # Loop through the user's path and test for each of PROGNAME-LIST
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 test -z "$as_dir" && as_dir=.
7267 for ac_prog in dd; do
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7270 as_fn_executable_p "$ac_path_lt_DD" || continue
7271 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7272 cmp -s conftest.i conftest.out \
7273 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7275 $ac_path_lt_DD_found && break 3
7280 if test -z "$ac_cv_path_lt_DD"; then
7284 ac_cv_path_lt_DD=$lt_DD
7287 rm -f conftest.i conftest2.i conftest.out
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7290 $as_echo "$ac_cv_path_lt_DD" >&6; }
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7294 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7295 if ${lt_cv_truncate_bin+:} false; then :
7296 $as_echo_n "(cached) " >&6
7298 printf 0123456789abcdef0123456789abcdef >conftest.i
7299 cat conftest.i conftest.i >conftest2.i
7301 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7302 cmp -s conftest.i conftest.out \
7303 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7305 rm -f conftest.i conftest2.i conftest.out
7306 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7309 $as_echo "$lt_cv_truncate_bin" >&6; }
7317 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7320 for cc_temp in $*""; do
7322 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7323 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7328 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7331 # Check whether --enable-libtool-lock was given.
7332 if test "${enable_libtool_lock+set}" = set; then :
7333 enableval=$enable_libtool_lock;
7336 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7338 # Some flags need to be propagated to the compiler or linker for good
7342 # Find out what ABI is being produced by ac_compile, and set mode
7343 # options accordingly.
7344 echo 'int i;' > conftest.$ac_ext
7345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7346 (eval $ac_compile) 2>&5
7348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7349 test $ac_status = 0; }; then
7350 case `/usr/bin/file conftest.$ac_objext` in
7362 # Find out what ABI is being produced by ac_compile, and set linker
7363 # options accordingly.
7364 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7366 (eval $ac_compile) 2>&5
7368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7369 test $ac_status = 0; }; then
7370 if test yes = "$lt_cv_prog_gnu_ld"; then
7371 case `/usr/bin/file conftest.$ac_objext` in
7373 LD="${LD-ld} -melf32bsmip"
7376 LD="${LD-ld} -melf32bmipn32"
7379 LD="${LD-ld} -melf64bmip"
7383 case `/usr/bin/file conftest.$ac_objext` in
7400 # Find out what ABI is being produced by ac_compile, and set linker
7401 # options accordingly.
7402 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7404 (eval $ac_compile) 2>&5
7406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7407 test $ac_status = 0; }; then
7409 case `/usr/bin/file conftest.$ac_objext` in
7417 case `/usr/bin/file conftest.$ac_objext` in
7419 emul="${emul}btsmip"
7422 emul="${emul}ltsmip"
7425 case `/usr/bin/file conftest.$ac_objext` in
7430 LD="${LD-ld} -m $emul"
7435 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7436 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7437 # Find out what ABI is being produced by ac_compile, and set linker
7438 # options accordingly. Note that the listed cases only cover the
7439 # situations where additional linker options are needed (such as when
7440 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7441 # vice versa); the common cases where no linker options are needed do
7442 # not appear in the list.
7443 echo 'int i;' > conftest.$ac_ext
7444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445 (eval $ac_compile) 2>&5
7447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448 test $ac_status = 0; }; then
7449 case `/usr/bin/file conftest.o` in
7452 x86_64-*kfreebsd*-gnu)
7453 LD="${LD-ld} -m elf_i386_fbsd"
7456 case `/usr/bin/file conftest.o` in
7458 LD="${LD-ld} -m elf32_x86_64"
7461 LD="${LD-ld} -m elf_i386"
7465 powerpc64le-*linux*)
7466 LD="${LD-ld} -m elf32lppclinux"
7469 LD="${LD-ld} -m elf32ppclinux"
7472 LD="${LD-ld} -m elf_s390"
7475 LD="${LD-ld} -m elf32_sparc"
7481 x86_64-*kfreebsd*-gnu)
7482 LD="${LD-ld} -m elf_x86_64_fbsd"
7485 LD="${LD-ld} -m elf_x86_64"
7488 LD="${LD-ld} -m elf64lppc"
7491 LD="${LD-ld} -m elf64ppc"
7493 s390*-*linux*|s390*-*tpf*)
7494 LD="${LD-ld} -m elf64_s390"
7497 LD="${LD-ld} -m elf64_sparc"
7507 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7509 CFLAGS="$CFLAGS -belf"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7511 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7512 if ${lt_cv_cc_needs_belf+:} false; then :
7513 $as_echo_n "(cached) " >&6
7516 ac_cpp='$CPP $CPPFLAGS'
7517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7532 if ac_fn_c_try_link "$LINENO"; then :
7533 lt_cv_cc_needs_belf=yes
7535 lt_cv_cc_needs_belf=no
7537 rm -f core conftest.err conftest.$ac_objext \
7538 conftest$ac_exeext conftest.$ac_ext
7540 ac_cpp='$CPP $CPPFLAGS'
7541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7547 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7548 if test yes != "$lt_cv_cc_needs_belf"; then
7549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7554 # Find out what ABI is being produced by ac_compile, and set linker
7555 # options accordingly.
7556 echo 'int i;' > conftest.$ac_ext
7557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7558 (eval $ac_compile) 2>&5
7560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7561 test $ac_status = 0; }; then
7562 case `/usr/bin/file conftest.o` in
7564 case $lt_cv_prog_gnu_ld in
7567 i?86-*-solaris*|x86_64-*-solaris*)
7568 LD="${LD-ld} -m elf_x86_64"
7571 LD="${LD-ld} -m elf64_sparc"
7574 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7575 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7580 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7592 need_locks=$enable_libtool_lock
7594 if test -n "$ac_tool_prefix"; then
7595 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7596 set dummy ${ac_tool_prefix}mt; ac_word=$2
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598 $as_echo_n "checking for $ac_word... " >&6; }
7599 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7600 $as_echo_n "(cached) " >&6
7602 if test -n "$MANIFEST_TOOL"; then
7603 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 test -z "$as_dir" && as_dir=.
7610 for ac_exec_ext in '' $ac_executable_extensions; do
7611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7612 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7623 if test -n "$MANIFEST_TOOL"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7625 $as_echo "$MANIFEST_TOOL" >&6; }
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }
7633 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7634 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7635 # Extract the first word of "mt", so it can be a program name with args.
7636 set dummy mt; ac_word=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7640 $as_echo_n "(cached) " >&6
7642 if test -n "$ac_ct_MANIFEST_TOOL"; then
7643 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 test -z "$as_dir" && as_dir=.
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7652 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7663 if test -n "$ac_ct_MANIFEST_TOOL"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7665 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7671 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7674 case $cross_compiling:$ac_tool_warned in
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7678 ac_tool_warned=yes ;;
7680 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7683 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7686 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7688 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7689 if ${lt_cv_path_mainfest_tool+:} false; then :
7690 $as_echo_n "(cached) " >&6
7692 lt_cv_path_mainfest_tool=no
7693 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7694 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7695 cat conftest.err >&5
7696 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7697 lt_cv_path_mainfest_tool=yes
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7702 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7703 if test yes != "$lt_cv_path_mainfest_tool"; then
7713 rhapsody* | darwin*)
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7720 $as_echo_n "(cached) " >&6
7722 if test -n "$DSYMUTIL"; then
7723 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7742 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7743 if test -n "$DSYMUTIL"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7745 $as_echo "$DSYMUTIL" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7753 if test -z "$ac_cv_prog_DSYMUTIL"; then
7754 ac_ct_DSYMUTIL=$DSYMUTIL
7755 # Extract the first word of "dsymutil", so it can be a program name with args.
7756 set dummy dsymutil; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7760 $as_echo_n "(cached) " >&6
7762 if test -n "$ac_ct_DSYMUTIL"; then
7763 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7772 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7782 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7783 if test -n "$ac_ct_DSYMUTIL"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7785 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7791 if test "x$ac_ct_DSYMUTIL" = x; then
7794 case $cross_compiling:$ac_tool_warned in
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7800 DSYMUTIL=$ac_ct_DSYMUTIL
7803 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_NMEDIT+:} false; then :
7812 $as_echo_n "(cached) " >&6
7814 if test -n "$NMEDIT"; then
7815 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7834 NMEDIT=$ac_cv_prog_NMEDIT
7835 if test -n "$NMEDIT"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7837 $as_echo "$NMEDIT" >&6; }
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_NMEDIT"; then
7846 ac_ct_NMEDIT=$NMEDIT
7847 # Extract the first word of "nmedit", so it can be a program name with args.
7848 set dummy nmedit; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7852 $as_echo_n "(cached) " >&6
7854 if test -n "$ac_ct_NMEDIT"; then
7855 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7875 if test -n "$ac_ct_NMEDIT"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7877 $as_echo "$ac_ct_NMEDIT" >&6; }
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_NMEDIT" = x; then
7886 case $cross_compiling:$ac_tool_warned in
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7892 NMEDIT=$ac_ct_NMEDIT
7895 NMEDIT="$ac_cv_prog_NMEDIT"
7898 if test -n "$ac_tool_prefix"; then
7899 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_LIPO+:} false; then :
7904 $as_echo_n "(cached) " >&6
7906 if test -n "$LIPO"; then
7907 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7926 LIPO=$ac_cv_prog_LIPO
7927 if test -n "$LIPO"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7929 $as_echo "$LIPO" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7937 if test -z "$ac_cv_prog_LIPO"; then
7939 # Extract the first word of "lipo", so it can be a program name with args.
7940 set dummy lipo; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7944 $as_echo_n "(cached) " >&6
7946 if test -n "$ac_ct_LIPO"; then
7947 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_ac_ct_LIPO="lipo"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7967 if test -n "$ac_ct_LIPO"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7969 $as_echo "$ac_ct_LIPO" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7975 if test "x$ac_ct_LIPO" = x; then
7978 case $cross_compiling:$ac_tool_warned in
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7987 LIPO="$ac_cv_prog_LIPO"
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}otool; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_OTOOL+:} false; then :
7996 $as_echo_n "(cached) " >&6
7998 if test -n "$OTOOL"; then
7999 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 OTOOL=$ac_cv_prog_OTOOL
8019 if test -n "$OTOOL"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8021 $as_echo "$OTOOL" >&6; }
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8029 if test -z "$ac_cv_prog_OTOOL"; then
8031 # Extract the first word of "otool", so it can be a program name with args.
8032 set dummy otool; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8036 $as_echo_n "(cached) " >&6
8038 if test -n "$ac_ct_OTOOL"; then
8039 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_prog_ac_ct_OTOOL="otool"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8059 if test -n "$ac_ct_OTOOL"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8061 $as_echo "$ac_ct_OTOOL" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8067 if test "x$ac_ct_OTOOL" = x; then
8070 case $cross_compiling:$ac_tool_warned in
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074 ac_tool_warned=yes ;;
8079 OTOOL="$ac_cv_prog_OTOOL"
8082 if test -n "$ac_tool_prefix"; then
8083 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8084 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086 $as_echo_n "checking for $ac_word... " >&6; }
8087 if ${ac_cv_prog_OTOOL64+:} false; then :
8088 $as_echo_n "(cached) " >&6
8090 if test -n "$OTOOL64"; then
8091 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8100 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8110 OTOOL64=$ac_cv_prog_OTOOL64
8111 if test -n "$OTOOL64"; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8113 $as_echo "$OTOOL64" >&6; }
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116 $as_echo "no" >&6; }
8121 if test -z "$ac_cv_prog_OTOOL64"; then
8122 ac_ct_OTOOL64=$OTOOL64
8123 # Extract the first word of "otool64", so it can be a program name with args.
8124 set dummy otool64; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8128 $as_echo_n "(cached) " >&6
8130 if test -n "$ac_ct_OTOOL64"; then
8131 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_prog_ac_ct_OTOOL64="otool64"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8151 if test -n "$ac_ct_OTOOL64"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8153 $as_echo "$ac_ct_OTOOL64" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8159 if test "x$ac_ct_OTOOL64" = x; then
8162 case $cross_compiling:$ac_tool_warned in
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8166 ac_tool_warned=yes ;;
8168 OTOOL64=$ac_ct_OTOOL64
8171 OTOOL64="$ac_cv_prog_OTOOL64"
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8201 $as_echo_n "checking for -single_module linker flag... " >&6; }
8202 if ${lt_cv_apple_cc_single_mod+:} false; then :
8203 $as_echo_n "(cached) " >&6
8205 lt_cv_apple_cc_single_mod=no
8206 if test -z "$LT_MULTI_MODULE"; then
8207 # By default we will add the -single_module flag. You can override
8208 # by either setting the environment variable LT_MULTI_MODULE
8209 # non-empty at configure time, or by adding -multi_module to the
8211 rm -rf libconftest.dylib*
8212 echo "int foo(void){return 1;}" > conftest.c
8213 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8214 -dynamiclib -Wl,-single_module conftest.c" >&5
8215 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8216 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8218 # If there is a non-empty error log, and "single_module"
8219 # appears in it, assume the flag caused a linker warning
8220 if test -s conftest.err && $GREP single_module conftest.err; then
8221 cat conftest.err >&5
8222 # Otherwise, if the output was created with a 0 exit code from
8223 # the compiler, it worked.
8224 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8225 lt_cv_apple_cc_single_mod=yes
8227 cat conftest.err >&5
8229 rm -rf libconftest.dylib*
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8234 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8237 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8238 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8239 $as_echo_n "(cached) " >&6
8241 lt_cv_ld_exported_symbols_list=no
8242 save_LDFLAGS=$LDFLAGS
8243 echo "_main" > conftest.sym
8244 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 lt_cv_ld_exported_symbols_list=yes
8259 lt_cv_ld_exported_symbols_list=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 LDFLAGS=$save_LDFLAGS
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8267 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8270 $as_echo_n "checking for -force_load linker flag... " >&6; }
8271 if ${lt_cv_ld_force_load+:} false; then :
8272 $as_echo_n "(cached) " >&6
8274 lt_cv_ld_force_load=no
8275 cat > conftest.c << _LT_EOF
8276 int forced_loaded() { return 2;}
8278 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8279 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8280 echo "$AR cru libconftest.a conftest.o" >&5
8281 $AR cru libconftest.a conftest.o 2>&5
8282 echo "$RANLIB libconftest.a" >&5
8283 $RANLIB libconftest.a 2>&5
8284 cat > conftest.c << _LT_EOF
8285 int main() { return 0;}
8287 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8288 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8290 if test -s conftest.err && $GREP force_load conftest.err; then
8291 cat conftest.err >&5
8292 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8293 lt_cv_ld_force_load=yes
8295 cat conftest.err >&5
8297 rm -f conftest.err libconftest.a conftest conftest.c
8298 rm -rf conftest.dSYM
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8302 $as_echo "$lt_cv_ld_force_load" >&6; }
8304 rhapsody* | darwin1.[012])
8305 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8307 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8308 darwin*) # darwin 5.x on
8309 # if running on 10.5 or later, the deployment target defaults
8310 # to the OS version, if on x86, and 10.4, the deployment
8311 # target defaults to 10.4. Don't you love it?
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8313 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8314 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8316 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8318 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8322 if test yes = "$lt_cv_apple_cc_single_mod"; then
8323 _lt_dar_single_mod='$single_module'
8325 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8326 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8328 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8330 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8331 _lt_dsymutil='~$DSYMUTIL $lib || :'
8338 # func_munge_path_list VARIABLE PATH
8339 # -----------------------------------
8340 # VARIABLE is name of variable containing _space_ separated list of
8341 # directories to be munged by the contents of PATH, which is string
8344 # string "DIR[ DIR]" will be prepended to VARIABLE
8346 # string "DIR[ DIR]" will be appended to VARIABLE
8347 # "DIRP[:DIRP]::[DIRA:]DIRA"
8348 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8349 # "DIRA[ DIRA]" will be appended to VARIABLE
8351 # VARIABLE will be replaced by "DIR[ DIR]"
8352 func_munge_path_list ()
8358 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8361 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8364 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8365 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8368 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8374 ac_cpp='$CPP $CPPFLAGS'
8375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8379 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8380 # On Suns, sometimes $CPP names a directory.
8381 if test -n "$CPP" && test -d "$CPP"; then
8384 if test -z "$CPP"; then
8385 if ${ac_cv_prog_CPP+:} false; then :
8386 $as_echo_n "(cached) " >&6
8388 # Double quotes because CPP needs to be expanded
8389 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8392 for ac_c_preproc_warn_flag in '' yes
8394 # Use a header file that comes with gcc, so configuring glibc
8395 # with a fresh cross-compiler works.
8396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8397 # <limits.h> exists even on freestanding compilers.
8398 # On the NeXT, cc -E runs the code through the compiler's parser,
8399 # not just through cpp. "Syntax error" is here to catch this case.
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8403 # include <limits.h>
8405 # include <assert.h>
8409 if ac_fn_c_try_cpp "$LINENO"; then :
8412 # Broken: fails on valid input.
8415 rm -f conftest.err conftest.i conftest.$ac_ext
8417 # OK, works on sane cases. Now check whether nonexistent headers
8418 # can be detected and how.
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 #include <ac_nonexistent.h>
8423 if ac_fn_c_try_cpp "$LINENO"; then :
8424 # Broken: success on invalid input.
8427 # Passes both tests.
8431 rm -f conftest.err conftest.i conftest.$ac_ext
8434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8435 rm -f conftest.i conftest.err conftest.$ac_ext
8436 if $ac_preproc_ok; then :
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8449 $as_echo "$CPP" >&6; }
8451 for ac_c_preproc_warn_flag in '' yes
8453 # Use a header file that comes with gcc, so configuring glibc
8454 # with a fresh cross-compiler works.
8455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8456 # <limits.h> exists even on freestanding compilers.
8457 # On the NeXT, cc -E runs the code through the compiler's parser,
8458 # not just through cpp. "Syntax error" is here to catch this case.
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8462 # include <limits.h>
8464 # include <assert.h>
8468 if ac_fn_c_try_cpp "$LINENO"; then :
8471 # Broken: fails on valid input.
8474 rm -f conftest.err conftest.i conftest.$ac_ext
8476 # OK, works on sane cases. Now check whether nonexistent headers
8477 # can be detected and how.
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 #include <ac_nonexistent.h>
8482 if ac_fn_c_try_cpp "$LINENO"; then :
8483 # Broken: success on invalid input.
8486 # Passes both tests.
8490 rm -f conftest.err conftest.i conftest.$ac_ext
8493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8494 rm -f conftest.i conftest.err conftest.$ac_ext
8495 if $ac_preproc_ok; then :
8498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8500 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8501 See \`config.log' for more details" "$LINENO" 5; }
8505 ac_cpp='$CPP $CPPFLAGS'
8506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8512 $as_echo_n "checking for ANSI C header files... " >&6; }
8513 if ${ac_cv_header_stdc+:} false; then :
8514 $as_echo_n "(cached) " >&6
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8531 if ac_fn_c_try_compile "$LINENO"; then :
8532 ac_cv_header_stdc=yes
8534 ac_cv_header_stdc=no
8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8538 if test $ac_cv_header_stdc = yes; then
8539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8546 $EGREP "memchr" >/dev/null 2>&1; then :
8549 ac_cv_header_stdc=no
8555 if test $ac_cv_header_stdc = yes; then
8556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8563 $EGREP "free" >/dev/null 2>&1; then :
8566 ac_cv_header_stdc=no
8572 if test $ac_cv_header_stdc = yes; then
8573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8574 if test "$cross_compiling" = yes; then :
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8581 #if ((' ' & 0x0FF) == 0x020)
8582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8585 # define ISLOWER(c) \
8586 (('a' <= (c) && (c) <= 'i') \
8587 || ('j' <= (c) && (c) <= 'r') \
8588 || ('s' <= (c) && (c) <= 'z'))
8589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8597 for (i = 0; i < 256; i++)
8598 if (XOR (islower (i), ISLOWER (i))
8599 || toupper (i) != TOUPPER (i))
8604 if ac_fn_c_try_run "$LINENO"; then :
8607 ac_cv_header_stdc=no
8609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8610 conftest.$ac_objext conftest.beam conftest.$ac_ext
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8616 $as_echo "$ac_cv_header_stdc" >&6; }
8617 if test $ac_cv_header_stdc = yes; then
8619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8623 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8624 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8625 inttypes.h stdint.h unistd.h
8627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8631 cat >>confdefs.h <<_ACEOF
8632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8640 for ac_header in dlfcn.h
8642 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8644 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8645 cat >>confdefs.h <<_ACEOF
8646 #define HAVE_DLFCN_H 1
8656 func_stripname_cnf ()
8659 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8660 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8662 } # func_stripname_cnf
8669 enable_win32_dll=yes
8672 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8673 if test -n "$ac_tool_prefix"; then
8674 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8675 set dummy ${ac_tool_prefix}as; ac_word=$2
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8677 $as_echo_n "checking for $ac_word... " >&6; }
8678 if ${ac_cv_prog_AS+:} false; then :
8679 $as_echo_n "(cached) " >&6
8681 if test -n "$AS"; then
8682 ac_cv_prog_AS="$AS" # Let the user override the test.
8684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8688 test -z "$as_dir" && as_dir=.
8689 for ac_exec_ext in '' $ac_executable_extensions; do
8690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8691 ac_cv_prog_AS="${ac_tool_prefix}as"
8692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8702 if test -n "$AS"; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8704 $as_echo "$AS" >&6; }
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8707 $as_echo "no" >&6; }
8712 if test -z "$ac_cv_prog_AS"; then
8714 # Extract the first word of "as", so it can be a program name with args.
8715 set dummy as; ac_word=$2
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8717 $as_echo_n "checking for $ac_word... " >&6; }
8718 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8719 $as_echo_n "(cached) " >&6
8721 if test -n "$ac_ct_AS"; then
8722 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8728 test -z "$as_dir" && as_dir=.
8729 for ac_exec_ext in '' $ac_executable_extensions; do
8730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8731 ac_cv_prog_ac_ct_AS="as"
8732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8741 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8742 if test -n "$ac_ct_AS"; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8744 $as_echo "$ac_ct_AS" >&6; }
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8750 if test "x$ac_ct_AS" = x; then
8753 case $cross_compiling:$ac_tool_warned in
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8757 ac_tool_warned=yes ;;
8765 if test -n "$ac_tool_prefix"; then
8766 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8767 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8769 $as_echo_n "checking for $ac_word... " >&6; }
8770 if ${ac_cv_prog_DLLTOOL+:} false; then :
8771 $as_echo_n "(cached) " >&6
8773 if test -n "$DLLTOOL"; then
8774 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8780 test -z "$as_dir" && as_dir=.
8781 for ac_exec_ext in '' $ac_executable_extensions; do
8782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8783 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 DLLTOOL=$ac_cv_prog_DLLTOOL
8794 if test -n "$DLLTOOL"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8796 $as_echo "$DLLTOOL" >&6; }
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8804 if test -z "$ac_cv_prog_DLLTOOL"; then
8805 ac_ct_DLLTOOL=$DLLTOOL
8806 # Extract the first word of "dlltool", so it can be a program name with args.
8807 set dummy dlltool; ac_word=$2
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8809 $as_echo_n "checking for $ac_word... " >&6; }
8810 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8811 $as_echo_n "(cached) " >&6
8813 if test -n "$ac_ct_DLLTOOL"; then
8814 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir=.
8821 for ac_exec_ext in '' $ac_executable_extensions; do
8822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8823 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8834 if test -n "$ac_ct_DLLTOOL"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8836 $as_echo "$ac_ct_DLLTOOL" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8839 $as_echo "no" >&6; }
8842 if test "x$ac_ct_DLLTOOL" = x; then
8845 case $cross_compiling:$ac_tool_warned in
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8849 ac_tool_warned=yes ;;
8851 DLLTOOL=$ac_ct_DLLTOOL
8854 DLLTOOL="$ac_cv_prog_DLLTOOL"
8857 if test -n "$ac_tool_prefix"; then
8858 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8859 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8861 $as_echo_n "checking for $ac_word... " >&6; }
8862 if ${ac_cv_prog_OBJDUMP+:} false; then :
8863 $as_echo_n "(cached) " >&6
8865 if test -n "$OBJDUMP"; then
8866 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8872 test -z "$as_dir" && as_dir=.
8873 for ac_exec_ext in '' $ac_executable_extensions; do
8874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8875 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8885 OBJDUMP=$ac_cv_prog_OBJDUMP
8886 if test -n "$OBJDUMP"; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8888 $as_echo "$OBJDUMP" >&6; }
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8891 $as_echo "no" >&6; }
8896 if test -z "$ac_cv_prog_OBJDUMP"; then
8897 ac_ct_OBJDUMP=$OBJDUMP
8898 # Extract the first word of "objdump", so it can be a program name with args.
8899 set dummy objdump; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8901 $as_echo_n "checking for $ac_word... " >&6; }
8902 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8903 $as_echo_n "(cached) " >&6
8905 if test -n "$ac_ct_OBJDUMP"; then
8906 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8915 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8925 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8926 if test -n "$ac_ct_OBJDUMP"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8928 $as_echo "$ac_ct_OBJDUMP" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931 $as_echo "no" >&6; }
8934 if test "x$ac_ct_OBJDUMP" = x; then
8937 case $cross_compiling:$ac_tool_warned in
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8941 ac_tool_warned=yes ;;
8943 OBJDUMP=$ac_ct_OBJDUMP
8946 OBJDUMP="$ac_cv_prog_OBJDUMP"
8952 test -z "$AS" && AS=as
8958 test -z "$DLLTOOL" && DLLTOOL=dlltool
8964 test -z "$OBJDUMP" && OBJDUMP=objdump
8976 # Check whether --enable-shared was given.
8977 if test "${enable_shared+set}" = set; then :
8978 enableval=$enable_shared; p=${PACKAGE-default}
8980 yes) enable_shared=yes ;;
8981 no) enable_shared=no ;;
8984 # Look at the argument we got. We use all the common list separators.
8985 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8986 for pkg in $enableval; do
8988 if test "X$pkg" = "X$p"; then
9007 # Check whether --enable-static was given.
9008 if test "${enable_static+set}" = set; then :
9009 enableval=$enable_static; p=${PACKAGE-default}
9011 yes) enable_static=yes ;;
9012 no) enable_static=no ;;
9015 # Look at the argument we got. We use all the common list separators.
9016 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9017 for pkg in $enableval; do
9019 if test "X$pkg" = "X$p"; then
9039 # Check whether --with-pic was given.
9040 if test "${with_pic+set}" = set; then :
9041 withval=$with_pic; lt_p=${PACKAGE-default}
9043 yes|no) pic_mode=$withval ;;
9046 # Look at the argument we got. We use all the common list separators.
9047 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9048 for lt_pkg in $withval; do
9050 if test "X$lt_pkg" = "X$lt_p"; then
9068 # Check whether --enable-fast-install was given.
9069 if test "${enable_fast_install+set}" = set; then :
9070 enableval=$enable_fast_install; p=${PACKAGE-default}
9072 yes) enable_fast_install=yes ;;
9073 no) enable_fast_install=no ;;
9075 enable_fast_install=no
9076 # Look at the argument we got. We use all the common list separators.
9077 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9078 for pkg in $enableval; do
9080 if test "X$pkg" = "X$p"; then
9081 enable_fast_install=yes
9088 enable_fast_install=yes
9098 shared_archive_member_spec=
9099 case $host,$enable_shared in
9100 power*-*-aix[5-9]*,yes)
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9102 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9104 # Check whether --with-aix-soname was given.
9105 if test "${with_aix_soname+set}" = set; then :
9106 withval=$with_aix_soname; case $withval in
9110 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9113 lt_cv_with_aix_soname=$with_aix_soname
9115 if ${lt_cv_with_aix_soname+:} false; then :
9116 $as_echo_n "(cached) " >&6
9118 lt_cv_with_aix_soname=aix
9121 with_aix_soname=$lt_cv_with_aix_soname
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9125 $as_echo "$with_aix_soname" >&6; }
9126 if test aix != "$with_aix_soname"; then
9127 # For the AIX way of multilib, we name the shared archive member
9128 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9129 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9130 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9131 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9132 if test 64 = "${OBJECT_MODE-32}"; then
9133 shared_archive_member_spec=shr_64
9135 shared_archive_member_spec=shr
9153 # This can be used to rebuild libtool when needed
9154 LIBTOOL_DEPS=$ltmain
9156 # Always use our own libtool.
9157 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9188 test -z "$LN_S" && LN_S="ln -s"
9203 if test -n "${ZSH_VERSION+set}"; then
9204 setopt NO_GLOB_SUBST
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9208 $as_echo_n "checking for objdir... " >&6; }
9209 if ${lt_cv_objdir+:} false; then :
9210 $as_echo_n "(cached) " >&6
9212 rm -f .libs 2>/dev/null
9213 mkdir .libs 2>/dev/null
9214 if test -d .libs; then
9217 # MS-DOS does not allow filenames that begin with a dot.
9220 rmdir .libs 2>/dev/null
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9223 $as_echo "$lt_cv_objdir" >&6; }
9224 objdir=$lt_cv_objdir
9230 cat >>confdefs.h <<_ACEOF
9231 #define LT_OBJDIR "$lt_cv_objdir/"
9239 # AIX sometimes has problems with the GCC collect2 program. For some
9240 # reason, if we set the COLLECT_NAMES environment variable, the problems
9241 # vanish in a puff of smoke.
9242 if test set != "${COLLECT_NAMES+set}"; then
9244 export COLLECT_NAMES
9251 can_build_shared=yes
9253 # All known linkers require a '.a' archive for static linking (except MSVC,
9254 # which needs '.lib').
9257 with_gnu_ld=$lt_cv_prog_gnu_ld
9262 # Set sane defaults for various variables
9263 test -z "$CC" && CC=cc
9264 test -z "$LTCC" && LTCC=$CC
9265 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9266 test -z "$LD" && LD=ld
9267 test -z "$ac_objext" && ac_objext=o
9269 func_cc_basename $compiler
9270 cc_basename=$func_cc_basename_result
9273 # Only perform the check for file, if the check method requires it
9274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9275 case $deplibs_check_method in
9277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9280 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9281 $as_echo_n "(cached) " >&6
9285 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9288 lt_save_MAGIC_CMD=$MAGIC_CMD
9289 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9291 for ac_dir in $ac_dummy; do
9293 test -z "$ac_dir" && ac_dir=.
9294 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9295 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9296 if test -n "$file_magic_test_file"; then
9297 case $deplibs_check_method in
9299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9300 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9302 $EGREP "$file_magic_regex" > /dev/null; then
9307 *** Warning: the command libtool uses to detect shared libraries,
9308 *** $file_magic_cmd, produces output that libtool cannot recognize.
9309 *** The result is that libtool may fail to recognize shared libraries
9310 *** as such. This will affect the creation of libtool libraries that
9311 *** depend on shared libraries, but programs linked with such libtool
9312 *** libraries will work regardless of this problem. Nevertheless, you
9313 *** may want to report the problem to your system manager and/or to
9314 *** bug-libtool@gnu.org
9324 MAGIC_CMD=$lt_save_MAGIC_CMD
9329 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9330 if test -n "$MAGIC_CMD"; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9332 $as_echo "$MAGIC_CMD" >&6; }
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9335 $as_echo "no" >&6; }
9342 if test -z "$lt_cv_path_MAGIC_CMD"; then
9343 if test -n "$ac_tool_prefix"; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9345 $as_echo_n "checking for file... " >&6; }
9346 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9347 $as_echo_n "(cached) " >&6
9351 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9354 lt_save_MAGIC_CMD=$MAGIC_CMD
9355 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9357 for ac_dir in $ac_dummy; do
9359 test -z "$ac_dir" && ac_dir=.
9360 if test -f "$ac_dir/file"; then
9361 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9362 if test -n "$file_magic_test_file"; then
9363 case $deplibs_check_method in
9365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9366 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9368 $EGREP "$file_magic_regex" > /dev/null; then
9373 *** Warning: the command libtool uses to detect shared libraries,
9374 *** $file_magic_cmd, produces output that libtool cannot recognize.
9375 *** The result is that libtool may fail to recognize shared libraries
9376 *** as such. This will affect the creation of libtool libraries that
9377 *** depend on shared libraries, but programs linked with such libtool
9378 *** libraries will work regardless of this problem. Nevertheless, you
9379 *** may want to report the problem to your system manager and/or to
9380 *** bug-libtool@gnu.org
9390 MAGIC_CMD=$lt_save_MAGIC_CMD
9395 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9396 if test -n "$MAGIC_CMD"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9398 $as_echo "$MAGIC_CMD" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 $as_echo "no" >&6; }
9414 # Use C for the default configuration in the libtool script
9418 ac_cpp='$CPP $CPPFLAGS'
9419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9424 # Source file extension for C test sources.
9427 # Object file extension for compiled C test sources.
9431 # Code to be used in simple compile tests
9432 lt_simple_compile_test_code="int some_variable = 0;"
9434 # Code to be used in simple link tests
9435 lt_simple_link_test_code='int main(){return(0);}'
9443 # If no C compiler was specified, use CC.
9446 # If no C compiler flags were specified, use CFLAGS.
9447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9449 # Allow CC to be a program name with arguments.
9452 # Save the default compiler, since it gets overwritten when the other
9453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9454 compiler_DEFAULT=$CC
9456 # save warnings/boilerplate of simple test code
9457 ac_outfile=conftest.$ac_objext
9458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9460 _lt_compiler_boilerplate=`cat conftest.err`
9463 ac_outfile=conftest.$ac_objext
9464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9466 _lt_linker_boilerplate=`cat conftest.err`
9471 ## There is no encapsulation within the following macros, do not change
9472 ## the running order or otherwise move them around unless you know exactly
9473 ## what you are doing...
9474 if test -n "$compiler"; then
9476 lt_prog_compiler_no_builtin_flag=
9478 if test yes = "$GCC"; then
9479 case $cc_basename in
9481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9488 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9489 $as_echo_n "(cached) " >&6
9491 lt_cv_prog_compiler_rtti_exceptions=no
9492 ac_outfile=conftest.$ac_objext
9493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9494 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9495 # Insert the option either (1) after the last *FLAGS variable, or
9496 # (2) before a word containing "conftest.", or (3) at the end.
9497 # Note that $ac_compile itself does not contain backslashes and begins
9498 # with a dollar sign (not a hyphen), so the echo should work correctly.
9499 # The option is referenced via a variable to avoid confusing sed.
9500 lt_compile=`echo "$ac_compile" | $SED \
9501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9503 -e 's:$: $lt_compiler_flag:'`
9504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9505 (eval "$lt_compile" 2>conftest.err)
9507 cat conftest.err >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 if (exit $ac_status) && test -s "$ac_outfile"; then
9510 # The compiler can only warn and ignore the option if not recognized
9511 # So say no if there are warnings other than the usual output.
9512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9515 lt_cv_prog_compiler_rtti_exceptions=yes
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9524 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9537 lt_prog_compiler_wl=
9538 lt_prog_compiler_pic=
9539 lt_prog_compiler_static=
9542 if test yes = "$GCC"; then
9543 lt_prog_compiler_wl='-Wl,'
9544 lt_prog_compiler_static='-static'
9548 # All AIX code is PIC.
9549 if test ia64 = "$host_cpu"; then
9550 # AIX 5 now supports IA64 processor
9551 lt_prog_compiler_static='-Bstatic'
9553 lt_prog_compiler_pic='-fPIC'
9559 # see comment about AmigaOS4 .so support
9560 lt_prog_compiler_pic='-fPIC'
9563 # FIXME: we need at least 68020 code to build shared libraries, but
9564 # adding the '-m68020' flag to GCC prevents building anything better,
9566 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9571 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9572 # PIC is the default for these OSes.
9575 mingw* | cygwin* | pw32* | os2* | cegcc*)
9576 # This hack is so that the source file can tell whether it is being
9577 # built for inclusion in a dll (and should export symbols for example).
9578 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9579 # (--disable-auto-import) libraries
9580 lt_prog_compiler_pic='-DDLL_EXPORT'
9583 lt_prog_compiler_static='$wl-static'
9588 darwin* | rhapsody*)
9589 # PIC is the default on this platform
9590 # Common symbols not allowed in MH_DYLIB files
9591 lt_prog_compiler_pic='-fno-common'
9595 # PIC is the default for Haiku.
9596 # The "-static" flag exists, but is broken.
9597 lt_prog_compiler_static=
9601 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9602 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9603 # sets the default TLS model and affects inlining.
9609 lt_prog_compiler_pic='-fPIC'
9615 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9616 # Instead, we relocate shared libraries at runtime.
9620 # Just because we use GCC doesn't mean we suddenly get shared libraries
9621 # on systems that don't support them.
9622 lt_prog_compiler_can_build_shared=no
9627 # QNX uses GNU C++, but need to define -shared option too, otherwise
9629 lt_prog_compiler_pic='-fPIC -shared'
9633 if test -d /usr/nec; then
9634 lt_prog_compiler_pic=-Kconform_pic
9639 lt_prog_compiler_pic='-fPIC'
9643 case $cc_basename in
9644 nvcc*) # Cuda Compiler Driver 2.2
9645 lt_prog_compiler_wl='-Xlinker '
9646 if test -n "$lt_prog_compiler_pic"; then
9647 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9652 # PORTME Check for flag to pass linker flags through the system compiler.
9655 lt_prog_compiler_wl='-Wl,'
9656 if test ia64 = "$host_cpu"; then
9657 # AIX 5 now supports IA64 processor
9658 lt_prog_compiler_static='-Bstatic'
9660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9664 darwin* | rhapsody*)
9665 # PIC is the default on this platform
9666 # Common symbols not allowed in MH_DYLIB files
9667 lt_prog_compiler_pic='-fno-common'
9668 case $cc_basename in
9670 # NAG Fortran compiler
9671 lt_prog_compiler_wl='-Wl,-Wl,,'
9672 lt_prog_compiler_pic='-PIC'
9673 lt_prog_compiler_static='-Bstatic'
9678 mingw* | cygwin* | pw32* | os2* | cegcc*)
9679 # This hack is so that the source file can tell whether it is being
9680 # built for inclusion in a dll (and should export symbols for example).
9681 lt_prog_compiler_pic='-DDLL_EXPORT'
9684 lt_prog_compiler_static='$wl-static'
9689 hpux9* | hpux10* | hpux11*)
9690 lt_prog_compiler_wl='-Wl,'
9691 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9698 lt_prog_compiler_pic='+Z'
9701 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9702 lt_prog_compiler_static='$wl-a ${wl}archive'
9705 irix5* | irix6* | nonstopux*)
9706 lt_prog_compiler_wl='-Wl,'
9707 # PIC (with -KPIC) is the default.
9708 lt_prog_compiler_static='-non_shared'
9711 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9712 case $cc_basename in
9713 # old Intel for x86_64, which still supported -KPIC.
9715 lt_prog_compiler_wl='-Wl,'
9716 lt_prog_compiler_pic='-KPIC'
9717 lt_prog_compiler_static='-static'
9719 # icc used to be incompatible with GCC.
9720 # ICC 10 doesn't accept -KPIC any more.
9722 lt_prog_compiler_wl='-Wl,'
9723 lt_prog_compiler_pic='-fPIC'
9724 lt_prog_compiler_static='-static'
9726 # Lahey Fortran 8.1.
9728 lt_prog_compiler_wl='-Wl,'
9729 lt_prog_compiler_pic='--shared'
9730 lt_prog_compiler_static='--static'
9733 # NAG Fortran compiler
9734 lt_prog_compiler_wl='-Wl,-Wl,,'
9735 lt_prog_compiler_pic='-PIC'
9736 lt_prog_compiler_static='-Bstatic'
9739 # Fabrice Bellard et al's Tiny C Compiler
9740 lt_prog_compiler_wl='-Wl,'
9741 lt_prog_compiler_pic='-fPIC'
9742 lt_prog_compiler_static='-static'
9744 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9745 # Portland Group compilers (*not* the Pentium gcc compiler,
9746 # which looks to be a dead project)
9747 lt_prog_compiler_wl='-Wl,'
9748 lt_prog_compiler_pic='-fpic'
9749 lt_prog_compiler_static='-Bstatic'
9752 lt_prog_compiler_wl='-Wl,'
9753 # All Alpha code is PIC.
9754 lt_prog_compiler_static='-non_shared'
9756 xl* | bgxl* | bgf* | mpixl*)
9757 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9758 lt_prog_compiler_wl='-Wl,'
9759 lt_prog_compiler_pic='-qpic'
9760 lt_prog_compiler_static='-qstaticlink'
9763 case `$CC -V 2>&1 | sed 5q` in
9764 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9765 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9766 lt_prog_compiler_pic='-KPIC'
9767 lt_prog_compiler_static='-Bstatic'
9768 lt_prog_compiler_wl=''
9770 *Sun\ F* | *Sun*Fortran*)
9771 lt_prog_compiler_pic='-KPIC'
9772 lt_prog_compiler_static='-Bstatic'
9773 lt_prog_compiler_wl='-Qoption ld '
9777 lt_prog_compiler_pic='-KPIC'
9778 lt_prog_compiler_static='-Bstatic'
9779 lt_prog_compiler_wl='-Wl,'
9781 *Intel*\ [CF]*Compiler*)
9782 lt_prog_compiler_wl='-Wl,'
9783 lt_prog_compiler_pic='-fPIC'
9784 lt_prog_compiler_static='-static'
9787 lt_prog_compiler_wl='-Wl,'
9788 lt_prog_compiler_pic='-fpic'
9789 lt_prog_compiler_static='-Bstatic'
9797 lt_prog_compiler_pic='-KPIC'
9798 lt_prog_compiler_static='-Bstatic'
9802 # QNX uses GNU C++, but need to define -shared option too, otherwise
9804 lt_prog_compiler_pic='-fPIC -shared'
9807 osf3* | osf4* | osf5*)
9808 lt_prog_compiler_wl='-Wl,'
9809 # All OSF/1 code is PIC.
9810 lt_prog_compiler_static='-non_shared'
9814 lt_prog_compiler_static='-non_shared'
9818 lt_prog_compiler_pic='-KPIC'
9819 lt_prog_compiler_static='-Bstatic'
9820 case $cc_basename in
9821 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9822 lt_prog_compiler_wl='-Qoption ld ';;
9824 lt_prog_compiler_wl='-Wl,';;
9829 lt_prog_compiler_wl='-Qoption ld '
9830 lt_prog_compiler_pic='-PIC'
9831 lt_prog_compiler_static='-Bstatic'
9834 sysv4 | sysv4.2uw2* | sysv4.3*)
9835 lt_prog_compiler_wl='-Wl,'
9836 lt_prog_compiler_pic='-KPIC'
9837 lt_prog_compiler_static='-Bstatic'
9841 if test -d /usr/nec; then
9842 lt_prog_compiler_pic='-Kconform_pic'
9843 lt_prog_compiler_static='-Bstatic'
9847 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9848 lt_prog_compiler_wl='-Wl,'
9849 lt_prog_compiler_pic='-KPIC'
9850 lt_prog_compiler_static='-Bstatic'
9854 lt_prog_compiler_wl='-Wl,'
9855 lt_prog_compiler_can_build_shared=no
9859 lt_prog_compiler_pic='-pic'
9860 lt_prog_compiler_static='-Bstatic'
9864 lt_prog_compiler_can_build_shared=no
9870 # For platforms that do not support PIC, -DPIC is meaningless:
9872 lt_prog_compiler_pic=
9875 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9880 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9881 if ${lt_cv_prog_compiler_pic+:} false; then :
9882 $as_echo_n "(cached) " >&6
9884 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9887 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9888 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9891 # Check to make sure the PIC flag actually works.
9893 if test -n "$lt_prog_compiler_pic"; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9895 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9896 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9897 $as_echo_n "(cached) " >&6
9899 lt_cv_prog_compiler_pic_works=no
9900 ac_outfile=conftest.$ac_objext
9901 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9902 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9903 # Insert the option either (1) after the last *FLAGS variable, or
9904 # (2) before a word containing "conftest.", or (3) at the end.
9905 # Note that $ac_compile itself does not contain backslashes and begins
9906 # with a dollar sign (not a hyphen), so the echo should work correctly.
9907 # The option is referenced via a variable to avoid confusing sed.
9908 lt_compile=`echo "$ac_compile" | $SED \
9909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9911 -e 's:$: $lt_compiler_flag:'`
9912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9913 (eval "$lt_compile" 2>conftest.err)
9915 cat conftest.err >&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 if (exit $ac_status) && test -s "$ac_outfile"; then
9918 # The compiler can only warn and ignore the option if not recognized
9919 # So say no if there are warnings other than the usual output.
9920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9921 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9922 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9923 lt_cv_prog_compiler_pic_works=yes
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9930 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9932 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9933 case $lt_prog_compiler_pic in
9935 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9938 lt_prog_compiler_pic=
9939 lt_prog_compiler_can_build_shared=no
9955 # Check to make sure the static flag actually works.
9957 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9959 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9960 if ${lt_cv_prog_compiler_static_works+:} false; then :
9961 $as_echo_n "(cached) " >&6
9963 lt_cv_prog_compiler_static_works=no
9964 save_LDFLAGS=$LDFLAGS
9965 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9966 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9967 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9968 # The linker can only warn and ignore the option if not recognized
9969 # So say no if there are warnings
9970 if test -s conftest.err; then
9971 # Append any errors to the config.log.
9972 cat conftest.err 1>&5
9973 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9975 if diff conftest.exp conftest.er2 >/dev/null; then
9976 lt_cv_prog_compiler_static_works=yes
9979 lt_cv_prog_compiler_static_works=yes
9983 LDFLAGS=$save_LDFLAGS
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9987 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9989 if test yes = "$lt_cv_prog_compiler_static_works"; then
9992 lt_prog_compiler_static=
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10003 if ${lt_cv_prog_compiler_c_o+:} false; then :
10004 $as_echo_n "(cached) " >&6
10006 lt_cv_prog_compiler_c_o=no
10007 $RM -r conftest 2>/dev/null
10011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10013 lt_compiler_flag="-o out/conftest2.$ac_objext"
10014 # Insert the option either (1) after the last *FLAGS variable, or
10015 # (2) before a word containing "conftest.", or (3) at the end.
10016 # Note that $ac_compile itself does not contain backslashes and begins
10017 # with a dollar sign (not a hyphen), so the echo should work correctly.
10018 lt_compile=`echo "$ac_compile" | $SED \
10019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10021 -e 's:$: $lt_compiler_flag:'`
10022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10023 (eval "$lt_compile" 2>out/conftest.err)
10025 cat out/conftest.err >&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10029 # The compiler can only warn and ignore the option if not recognized
10030 # So say no if there are warnings
10031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10034 lt_cv_prog_compiler_c_o=yes
10039 # SGI C++ compiler will create directory out/ii_files/ for
10040 # template instantiation
10041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10042 $RM out/* && rmdir out
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10057 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10058 if ${lt_cv_prog_compiler_c_o+:} false; then :
10059 $as_echo_n "(cached) " >&6
10061 lt_cv_prog_compiler_c_o=no
10062 $RM -r conftest 2>/dev/null
10066 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10068 lt_compiler_flag="-o out/conftest2.$ac_objext"
10069 # Insert the option either (1) after the last *FLAGS variable, or
10070 # (2) before a word containing "conftest.", or (3) at the end.
10071 # Note that $ac_compile itself does not contain backslashes and begins
10072 # with a dollar sign (not a hyphen), so the echo should work correctly.
10073 lt_compile=`echo "$ac_compile" | $SED \
10074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10076 -e 's:$: $lt_compiler_flag:'`
10077 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10078 (eval "$lt_compile" 2>out/conftest.err)
10080 cat out/conftest.err >&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10084 # The compiler can only warn and ignore the option if not recognized
10085 # So say no if there are warnings
10086 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10087 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10088 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10089 lt_cv_prog_compiler_c_o=yes
10094 # SGI C++ compiler will create directory out/ii_files/ for
10095 # template instantiation
10096 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10097 $RM out/* && rmdir out
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10104 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10109 hard_links=nottested
10110 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10111 # do not overwrite the value of need_locks provided by the user
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10113 $as_echo_n "checking if we can lock with hard links... " >&6; }
10116 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10118 ln conftest.a conftest.b 2>&5 || hard_links=no
10119 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10121 $as_echo "$hard_links" >&6; }
10122 if test no = "$hard_links"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10124 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10137 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10140 allow_undefined_flag=
10141 always_export_symbols=no
10143 archive_expsym_cmds=
10144 compiler_needs_object=no
10145 enable_shared_with_static_runtimes=no
10146 export_dynamic_flag_spec=
10147 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10148 hardcode_automatic=no
10150 hardcode_direct_absolute=no
10151 hardcode_libdir_flag_spec=
10152 hardcode_libdir_separator=
10153 hardcode_minus_L=no
10154 hardcode_shlibpath_var=unsupported
10156 link_all_deplibs=unknown
10158 module_expsym_cmds=
10159 old_archive_from_new_cmds=
10160 old_archive_from_expsyms_cmds=
10161 thread_safe_flag_spec=
10162 whole_archive_flag_spec=
10163 # include_expsyms should be a list of space-separated symbols to be *always*
10164 # included in the symbol list
10166 # exclude_expsyms can be an extended regexp of symbols to exclude
10167 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10168 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10169 # as well as any symbol that contains 'd'.
10170 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10171 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10172 # platforms (ab)use it in PIC code, but their linkers get confused if
10173 # the symbol is explicitly referenced. Since portable code cannot
10174 # rely on this symbol name, it's probably fine to never include it in
10175 # preloaded symbol tables.
10176 # Exclude shared library initialization/finalization symbols.
10177 extract_expsyms_cmds=
10180 cygwin* | mingw* | pw32* | cegcc*)
10181 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10182 # When not using gcc, we currently assume that we are using
10183 # Microsoft Visual C++.
10184 if test yes != "$GCC"; then
10189 # we just hope/assume this is gcc and not c89 (= MSVC++)
10192 openbsd* | bitrig*)
10195 linux* | k*bsd*-gnu | gnu*)
10196 link_all_deplibs=no
10202 # On some targets, GNU ld is compatible enough with the native linker
10203 # that we're better off using the native interface for both.
10204 lt_use_gnu_ld_interface=no
10205 if test yes = "$with_gnu_ld"; then
10208 # The AIX port of GNU ld has always aspired to compatibility
10209 # with the native linker. However, as the warning in the GNU ld
10210 # block says, versions before 2.19.5* couldn't really create working
10211 # shared libraries, regardless of the interface used.
10212 case `$LD -v 2>&1` in
10213 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10214 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10215 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10217 lt_use_gnu_ld_interface=yes
10222 lt_use_gnu_ld_interface=yes
10227 if test yes = "$lt_use_gnu_ld_interface"; then
10228 # If archive_cmds runs LD, not CC, wlarc should be empty
10231 # Set some defaults for GNU ld with shared library support. These
10232 # are reset later if shared libraries are not supported. Putting them
10233 # here allows them to be overridden if necessary.
10234 runpath_var=LD_RUN_PATH
10235 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10236 export_dynamic_flag_spec='$wl--export-dynamic'
10237 # ancient GNU ld didn't support --whole-archive et. al.
10238 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10239 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10241 whole_archive_flag_spec=
10243 supports_anon_versioning=no
10244 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10245 *GNU\ gold*) supports_anon_versioning=yes ;;
10246 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10247 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10248 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10249 *\ 2.11.*) ;; # other 2.11 versions
10250 *) supports_anon_versioning=yes ;;
10253 # See if GNU ld supports shared libraries.
10256 # On AIX/PPC, the GNU linker is very broken
10257 if test ia64 != "$host_cpu"; then
10261 *** Warning: the GNU linker, at least up to release 2.19, is reported
10262 *** to be unable to reliably create shared libraries on AIX.
10263 *** Therefore, libtool is disabling shared libraries support. If you
10264 *** really care for shared libraries, you may want to install binutils
10265 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10266 *** You will then need to restart the configuration process.
10275 # see comment about AmigaOS4 .so support
10276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10277 archive_expsym_cmds=''
10280 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)'
10281 hardcode_libdir_flag_spec='-L$libdir'
10282 hardcode_minus_L=yes
10288 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10289 allow_undefined_flag=unsupported
10290 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10291 # support --undefined. This deserves some investigation. FIXME
10292 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10298 cygwin* | mingw* | pw32* | cegcc*)
10299 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10300 # as there is no search path for DLLs.
10301 hardcode_libdir_flag_spec='-L$libdir'
10302 export_dynamic_flag_spec='$wl--export-all-symbols'
10303 allow_undefined_flag=unsupported
10304 always_export_symbols=no
10305 enable_shared_with_static_runtimes=yes
10306 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'
10307 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10309 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10310 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10311 # If the export-symbols file already is a .def file, use it as
10312 # is; otherwise, prepend EXPORTS...
10313 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10314 cp $export_symbols $output_objdir/$soname.def;
10316 echo EXPORTS > $output_objdir/$soname.def;
10317 cat $export_symbols >> $output_objdir/$soname.def;
10319 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10327 link_all_deplibs=yes
10331 hardcode_libdir_flag_spec='-L$libdir'
10332 hardcode_minus_L=yes
10333 allow_undefined_flag=unsupported
10335 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10336 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10337 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10338 $ECHO EXPORTS >> $output_objdir/$libname.def~
10339 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10340 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10341 emximp -o $lib $output_objdir/$libname.def'
10342 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10343 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10344 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10345 $ECHO EXPORTS >> $output_objdir/$libname.def~
10346 prefix_cmds="$SED"~
10347 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10348 prefix_cmds="$prefix_cmds -e 1d";
10350 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10351 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10352 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10353 emximp -o $lib $output_objdir/$libname.def'
10354 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10355 enable_shared_with_static_runtimes=yes
10360 hardcode_shlibpath_var=no
10361 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10362 export_dynamic_flag_spec='$wl-E'
10363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10364 # Instead, shared libraries are loaded at an image base (0x10000000 by
10365 # default) and relocated if they conflict, which is a slow very memory
10366 # consuming and fragmenting process. To avoid this, we pick a random,
10367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10369 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10370 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'
10373 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10375 if test linux-dietlibc = "$host_os"; then
10376 case $cc_basename in
10377 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10380 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10381 && test no = "$tmp_diet"
10383 tmp_addflag=' $pic_flag'
10384 tmp_sharedflag='-shared'
10385 case $cc_basename,$host_cpu in
10386 pgcc*) # Portland Group C compiler
10387 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'
10388 tmp_addflag=' $pic_flag'
10390 pgf77* | pgf90* | pgf95* | pgfortran*)
10391 # Portland Group f77 and f90 compilers
10392 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'
10393 tmp_addflag=' $pic_flag -Mnomain' ;;
10394 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10395 tmp_addflag=' -i_dynamic' ;;
10396 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10397 tmp_addflag=' -i_dynamic -nofor_main' ;;
10398 ifc* | ifort*) # Intel Fortran compiler
10399 tmp_addflag=' -nofor_main' ;;
10400 lf95*) # Lahey Fortran 8.1
10401 whole_archive_flag_spec=
10402 tmp_sharedflag='--shared' ;;
10403 nagfor*) # NAGFOR 5.3
10404 tmp_sharedflag='-Wl,-shared' ;;
10405 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10406 tmp_sharedflag='-qmkshrobj'
10408 nvcc*) # Cuda Compiler Driver 2.2
10409 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'
10410 compiler_needs_object=yes
10413 case `$CC -V 2>&1 | sed 5q` in
10414 *Sun\ C*) # Sun C 5.9
10415 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'
10416 compiler_needs_object=yes
10417 tmp_sharedflag='-G' ;;
10418 *Sun\ F*) # Sun Fortran 8.3
10419 tmp_sharedflag='-G' ;;
10421 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10423 if test yes = "$supports_anon_versioning"; then
10424 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10425 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10426 echo "local: *; };" >> $output_objdir/$libname.ver~
10427 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10430 case $cc_basename in
10432 export_dynamic_flag_spec='-rdynamic'
10434 xlf* | bgf* | bgxlf* | mpixlf*)
10435 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10436 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10437 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10438 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10439 if test yes = "$supports_anon_versioning"; then
10440 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10441 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10442 echo "local: *; };" >> $output_objdir/$libname.ver~
10443 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10452 netbsd* | netbsdelf*-gnu)
10453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10454 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10457 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10458 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10463 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10468 *** create shared libraries on Solaris systems. Therefore, libtool
10469 *** is disabling shared libraries support. We urge you to upgrade GNU
10470 *** binutils to release 2.9.1 or newer. Another option is to modify
10471 *** your PATH or compiler configuration so that the native linker is
10472 *** used, and then restart.
10475 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10476 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10477 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10483 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10484 case `$LD -v 2>&1` in
10485 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10490 *** reliably create shared libraries on SCO systems. Therefore, libtool
10491 *** is disabling shared libraries support. We urge you to upgrade GNU
10492 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10493 *** your PATH or compiler configuration so that the native linker is
10494 *** used, and then restart.
10499 # For security reasons, it is highly recommended that you always
10500 # use absolute paths for naming shared libraries, and exclude the
10501 # DT_RUNPATH tag from executables and libraries. But doing so
10502 # requires that you compile everything twice, which is a pain.
10503 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10504 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10505 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10506 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10515 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10517 hardcode_direct=yes
10518 hardcode_shlibpath_var=no
10522 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10523 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10524 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10531 if test no = "$ld_shlibs"; then
10533 hardcode_libdir_flag_spec=
10534 export_dynamic_flag_spec=
10535 whole_archive_flag_spec=
10538 # PORTME fill in a description of your system's linker (not GNU ld)
10541 allow_undefined_flag=unsupported
10542 always_export_symbols=yes
10543 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'
10544 # Note: this linker hardcodes the directories in LIBPATH if there
10545 # are no directories specified by -L.
10546 hardcode_minus_L=yes
10547 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10548 # Neither direct hardcoding nor static linking is supported with a
10550 hardcode_direct=unsupported
10555 if test ia64 = "$host_cpu"; then
10556 # On IA64, the linker does run time linking by default, so we don't
10557 # have to do anything special.
10558 aix_use_runtimelinking=no
10559 exp_sym_flag='-Bexport'
10562 # If we're using GNU nm, then we don't want the "-C" option.
10563 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10564 # Without the "-l" option, or with the "-B" option, AIX nm treats
10565 # weak defined symbols like other global defined symbols, whereas
10566 # GNU nm marks them as "W".
10567 # While the 'weak' keyword is ignored in the Export File, we need
10568 # it in the Import File for the 'aix-soname' feature, so we have
10569 # to replace the "-B" option with "-P" for AIX nm.
10570 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10571 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10573 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10575 aix_use_runtimelinking=no
10577 # Test if we are trying to use run time linking or normal
10578 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10579 # have runtime linking enabled, and use it for executables.
10580 # For shared libraries, we enable/disable runtime linking
10581 # depending on the kind of the shared library created -
10582 # when "with_aix_soname,aix_use_runtimelinking" is:
10583 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10584 # "aix,yes" lib.so shared, rtl:yes, for executables
10585 # lib.a static archive
10586 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10587 # lib.a(lib.so.V) shared, rtl:no, for executables
10588 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10589 # lib.a(lib.so.V) shared, rtl:no
10590 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10591 # lib.a static archive
10592 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10593 for ld_flag in $LDFLAGS; do
10594 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10595 aix_use_runtimelinking=yes
10599 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10600 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10601 # so we don't have lib.a shared libs to link our executables.
10602 # We have to force runtime linking in this case.
10603 aix_use_runtimelinking=yes
10604 LDFLAGS="$LDFLAGS -Wl,-brtl"
10609 exp_sym_flag='-bexport'
10610 no_entry_flag='-bnoentry'
10613 # When large executables or shared objects are built, AIX ld can
10614 # have problems creating the table of contents. If linking a library
10615 # or program results in "error TOC overflow" add -mminimal-toc to
10616 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10617 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10620 hardcode_direct=yes
10621 hardcode_direct_absolute=yes
10622 hardcode_libdir_separator=':'
10623 link_all_deplibs=yes
10624 file_list_spec='$wl-f,'
10625 case $with_aix_soname,$aix_use_runtimelinking in
10626 aix,*) ;; # traditional, no import file
10627 svr4,* | *,yes) # use import file
10628 # The Import File defines what to hardcode.
10630 hardcode_direct_absolute=no
10634 if test yes = "$GCC"; then
10635 case $host_os in aix4.[012]|aix4.[012].*)
10636 # We only want to do this on AIX 4.2 and lower, the check
10637 # below for broken collect2 doesn't work under 4.3+
10638 collect2name=`$CC -print-prog-name=collect2`
10639 if test -f "$collect2name" &&
10640 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10642 # We have reworked collect2
10645 # We have old collect2
10646 hardcode_direct=unsupported
10647 # It fails to find uninstalled libraries when the uninstalled
10648 # path is not listed in the libpath. Setting hardcode_minus_L
10649 # to unsupported forces relinking
10650 hardcode_minus_L=yes
10651 hardcode_libdir_flag_spec='-L$libdir'
10652 hardcode_libdir_separator=
10656 shared_flag='-shared'
10657 if test yes = "$aix_use_runtimelinking"; then
10658 shared_flag="$shared_flag "'$wl-G'
10660 # Need to ensure runtime linking is disabled for the traditional
10661 # shared library, or the linker may eventually find shared libraries
10662 # /with/ Import File - we do not want to mix them.
10663 shared_flag_aix='-shared'
10664 shared_flag_svr4='-shared $wl-G'
10667 if test ia64 = "$host_cpu"; then
10668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10669 # chokes on -Wl,-G. The following line is correct:
10672 if test yes = "$aix_use_runtimelinking"; then
10673 shared_flag='$wl-G'
10675 shared_flag='$wl-bM:SRE'
10677 shared_flag_aix='$wl-bM:SRE'
10678 shared_flag_svr4='$wl-G'
10682 export_dynamic_flag_spec='$wl-bexpall'
10683 # It seems that -bexpall does not export symbols beginning with
10684 # underscore (_), so it is better to generate a list of symbols to export.
10685 always_export_symbols=yes
10686 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10687 # Warning - without using the other runtime loading flags (-brtl),
10688 # -berok will link without error, but may produce a broken library.
10689 allow_undefined_flag='-berok'
10690 # Determine the default libpath from the value encoded in an
10691 # empty executable.
10692 if test set = "${lt_cv_aix_libpath+set}"; then
10693 aix_libpath=$lt_cv_aix_libpath
10695 if ${lt_cv_aix_libpath_+:} false; then :
10696 $as_echo_n "(cached) " >&6
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10709 if ac_fn_c_try_link "$LINENO"; then :
10711 lt_aix_libpath_sed='
10712 /Import File Strings/,/^$/ {
10714 s/^0 *\([^ ]*\) *$/\1/
10718 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10719 # Check for a 64-bit object if we didn't find anything.
10720 if test -z "$lt_cv_aix_libpath_"; then
10721 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 if test -z "$lt_cv_aix_libpath_"; then
10727 lt_cv_aix_libpath_=/usr/lib:/lib
10732 aix_libpath=$lt_cv_aix_libpath_
10735 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10736 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10738 if test ia64 = "$host_cpu"; then
10739 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10740 allow_undefined_flag="-z nodefs"
10741 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"
10743 # Determine the default libpath from the value encoded in an
10744 # empty executable.
10745 if test set = "${lt_cv_aix_libpath+set}"; then
10746 aix_libpath=$lt_cv_aix_libpath
10748 if ${lt_cv_aix_libpath_+:} false; then :
10749 $as_echo_n "(cached) " >&6
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10762 if ac_fn_c_try_link "$LINENO"; then :
10764 lt_aix_libpath_sed='
10765 /Import File Strings/,/^$/ {
10767 s/^0 *\([^ ]*\) *$/\1/
10771 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10772 # Check for a 64-bit object if we didn't find anything.
10773 if test -z "$lt_cv_aix_libpath_"; then
10774 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10777 rm -f core conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 if test -z "$lt_cv_aix_libpath_"; then
10780 lt_cv_aix_libpath_=/usr/lib:/lib
10785 aix_libpath=$lt_cv_aix_libpath_
10788 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10789 # Warning - without using the other run time loading flags,
10790 # -berok will link without error, but may produce a broken library.
10791 no_undefined_flag=' $wl-bernotok'
10792 allow_undefined_flag=' $wl-berok'
10793 if test yes = "$with_gnu_ld"; then
10794 # We only use this code for GNU lds that support --whole-archive.
10795 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10797 # Exported symbols can be pulled into shared objects from archives
10798 whole_archive_flag_spec='$convenience'
10800 archive_cmds_need_lc=yes
10801 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10802 # -brtl affects multiple linker settings, -berok does not and is overridden later
10803 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10804 if test svr4 != "$with_aix_soname"; then
10805 # This is similar to how AIX traditionally builds its shared libraries.
10806 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10808 if test aix != "$with_aix_soname"; then
10809 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10811 # used by -dlpreopen to get the symbols
10812 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10814 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10822 # see comment about AmigaOS4 .so support
10823 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10824 archive_expsym_cmds=''
10827 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)'
10828 hardcode_libdir_flag_spec='-L$libdir'
10829 hardcode_minus_L=yes
10835 export_dynamic_flag_spec=-rdynamic
10838 cygwin* | mingw* | pw32* | cegcc*)
10839 # When not using gcc, we currently assume that we are using
10840 # Microsoft Visual C++.
10841 # hardcode_libdir_flag_spec is actually meaningless, as there is
10842 # no search path for DLLs.
10843 case $cc_basename in
10846 hardcode_libdir_flag_spec=' '
10847 allow_undefined_flag=unsupported
10848 always_export_symbols=yes
10850 # Tell ltmain to make .lib files, not .a files.
10852 # Tell ltmain to make .dll files, not .so files.
10854 # FIXME: Setting linknames here is a bad hack.
10855 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10856 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10857 cp "$export_symbols" "$output_objdir/$soname.def";
10858 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10860 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10862 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10864 # The linker will not automatically build a static lib if we build a DLL.
10865 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10866 enable_shared_with_static_runtimes=yes
10867 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10868 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10870 old_postinstall_cmds='chmod 644 $oldlib'
10871 postlink_cmds='lt_outputfile="@OUTPUT@"~
10872 lt_tool_outputfile="@TOOL_OUTPUT@"~
10873 case $lt_outputfile in
10876 lt_outputfile=$lt_outputfile.exe
10877 lt_tool_outputfile=$lt_tool_outputfile.exe
10880 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10881 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10882 $RM "$lt_outputfile.manifest";
10886 # Assume MSVC wrapper
10887 hardcode_libdir_flag_spec=' '
10888 allow_undefined_flag=unsupported
10889 # Tell ltmain to make .lib files, not .a files.
10891 # Tell ltmain to make .dll files, not .so files.
10893 # FIXME: Setting linknames here is a bad hack.
10894 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10895 # The linker will automatically build a .lib file if we build a DLL.
10896 old_archive_from_new_cmds='true'
10897 # FIXME: Should let the user specify the lib program.
10898 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10899 enable_shared_with_static_runtimes=yes
10904 darwin* | rhapsody*)
10907 archive_cmds_need_lc=no
10909 hardcode_automatic=yes
10910 hardcode_shlibpath_var=unsupported
10911 if test yes = "$lt_cv_ld_force_load"; then
10912 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\"`'
10915 whole_archive_flag_spec=''
10917 link_all_deplibs=yes
10918 allow_undefined_flag=$_lt_dar_allow_undefined
10919 case $cc_basename in
10920 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10921 *) _lt_dar_can_shared=$GCC ;;
10923 if test yes = "$_lt_dar_can_shared"; then
10924 output_verbose_link_cmd=func_echo_all
10925 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10926 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10927 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"
10928 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"
10937 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10938 hardcode_libdir_flag_spec='-L$libdir'
10939 hardcode_shlibpath_var=no
10942 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10943 # support. Future versions do this automatically, but an explicit c++rt0.o
10944 # does not break anything, and helps significantly (at the cost of a little
10947 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10948 hardcode_libdir_flag_spec='-R$libdir'
10949 hardcode_direct=yes
10950 hardcode_shlibpath_var=no
10953 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10955 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10956 hardcode_direct=yes
10957 hardcode_minus_L=yes
10958 hardcode_shlibpath_var=no
10961 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10962 freebsd* | dragonfly*)
10963 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10964 hardcode_libdir_flag_spec='-R$libdir'
10965 hardcode_direct=yes
10966 hardcode_shlibpath_var=no
10970 if test yes = "$GCC"; then
10971 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10973 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10975 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10976 hardcode_libdir_separator=:
10977 hardcode_direct=yes
10979 # hardcode_minus_L: Not really in the search PATH,
10980 # but as the default location of the library.
10981 hardcode_minus_L=yes
10982 export_dynamic_flag_spec='$wl-E'
10986 if test yes,no = "$GCC,$with_gnu_ld"; then
10987 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10989 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10991 if test no = "$with_gnu_ld"; then
10992 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10993 hardcode_libdir_separator=:
10994 hardcode_direct=yes
10995 hardcode_direct_absolute=yes
10996 export_dynamic_flag_spec='$wl-E'
10997 # hardcode_minus_L: Not really in the search PATH,
10998 # but as the default location of the library.
10999 hardcode_minus_L=yes
11004 if test yes,no = "$GCC,$with_gnu_ld"; then
11007 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11013 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11019 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11022 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11026 # Older versions of the 11.00 compiler do not understand -b yet
11027 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11029 $as_echo_n "checking if $CC understands -b... " >&6; }
11030 if ${lt_cv_prog_compiler__b+:} false; then :
11031 $as_echo_n "(cached) " >&6
11033 lt_cv_prog_compiler__b=no
11034 save_LDFLAGS=$LDFLAGS
11035 LDFLAGS="$LDFLAGS -b"
11036 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11037 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11038 # The linker can only warn and ignore the option if not recognized
11039 # So say no if there are warnings
11040 if test -s conftest.err; then
11041 # Append any errors to the config.log.
11042 cat conftest.err 1>&5
11043 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11044 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11045 if diff conftest.exp conftest.er2 >/dev/null; then
11046 lt_cv_prog_compiler__b=yes
11049 lt_cv_prog_compiler__b=yes
11053 LDFLAGS=$save_LDFLAGS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11057 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11059 if test yes = "$lt_cv_prog_compiler__b"; then
11060 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11062 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11068 if test no = "$with_gnu_ld"; then
11069 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11070 hardcode_libdir_separator=:
11075 hardcode_shlibpath_var=no
11078 hardcode_direct=yes
11079 hardcode_direct_absolute=yes
11080 export_dynamic_flag_spec='$wl-E'
11082 # hardcode_minus_L: Not really in the search PATH,
11083 # but as the default location of the library.
11084 hardcode_minus_L=yes
11090 irix5* | irix6* | nonstopux*)
11091 if test yes = "$GCC"; then
11092 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'
11093 # Try to use the -exported_symbol ld option, if it does not
11094 # work, assume that -exports_file does not work either and
11095 # implicitly export all symbols.
11096 # This should be the same for all languages, so no per-tag cache variable.
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11098 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11099 if ${lt_cv_irix_exported_symbol+:} false; then :
11100 $as_echo_n "(cached) " >&6
11102 save_LDFLAGS=$LDFLAGS
11103 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11106 int foo (void) { return 0; }
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 lt_cv_irix_exported_symbol=yes
11111 lt_cv_irix_exported_symbol=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LDFLAGS=$save_LDFLAGS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11118 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11119 if test yes = "$lt_cv_irix_exported_symbol"; then
11120 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'
11122 link_all_deplibs=no
11124 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'
11125 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'
11127 archive_cmds_need_lc='no'
11128 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11129 hardcode_libdir_separator=:
11131 link_all_deplibs=yes
11135 case $cc_basename in
11137 # Fabrice Bellard et al's Tiny C Compiler
11139 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11144 netbsd* | netbsdelf*-gnu)
11145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11146 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11148 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11150 hardcode_libdir_flag_spec='-R$libdir'
11151 hardcode_direct=yes
11152 hardcode_shlibpath_var=no
11156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11157 hardcode_direct=yes
11158 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11159 hardcode_libdir_separator=:
11160 hardcode_shlibpath_var=no
11166 openbsd* | bitrig*)
11167 if test -f /usr/libexec/ld.so; then
11168 hardcode_direct=yes
11169 hardcode_shlibpath_var=no
11170 hardcode_direct_absolute=yes
11171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11172 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11173 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11174 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11175 export_dynamic_flag_spec='$wl-E'
11177 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11178 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11186 hardcode_libdir_flag_spec='-L$libdir'
11187 hardcode_minus_L=yes
11188 allow_undefined_flag=unsupported
11190 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11191 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11192 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11193 $ECHO EXPORTS >> $output_objdir/$libname.def~
11194 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11195 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11196 emximp -o $lib $output_objdir/$libname.def'
11197 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11198 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11199 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11200 $ECHO EXPORTS >> $output_objdir/$libname.def~
11201 prefix_cmds="$SED"~
11202 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11203 prefix_cmds="$prefix_cmds -e 1d";
11205 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11206 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11207 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11208 emximp -o $lib $output_objdir/$libname.def'
11209 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11210 enable_shared_with_static_runtimes=yes
11214 if test yes = "$GCC"; then
11215 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11216 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'
11218 allow_undefined_flag=' -expect_unresolved \*'
11219 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'
11221 archive_cmds_need_lc='no'
11222 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11223 hardcode_libdir_separator=:
11226 osf4* | osf5*) # as osf3* with the addition of -msym flag
11227 if test yes = "$GCC"; then
11228 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11229 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'
11230 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11232 allow_undefined_flag=' -expect_unresolved \*'
11233 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'
11234 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~
11235 $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'
11237 # Both c and cxx compiler support -rpath directly
11238 hardcode_libdir_flag_spec='-rpath $libdir'
11240 archive_cmds_need_lc='no'
11241 hardcode_libdir_separator=:
11245 no_undefined_flag=' -z defs'
11246 if test yes = "$GCC"; then
11248 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11250 $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'
11252 case `$CC -V 2>&1` in
11255 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11256 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11257 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11261 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11262 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11263 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11267 hardcode_libdir_flag_spec='-R$libdir'
11268 hardcode_shlibpath_var=no
11270 solaris2.[0-5] | solaris2.[0-5].*) ;;
11272 # The compiler driver will combine and reorder linker options,
11273 # but understands '-z linker_flag'. GCC discards it without '$wl',
11274 # but is careful enough not to reorder.
11275 # Supported since Solaris 2.6 (maybe 2.5.1?)
11276 if test yes = "$GCC"; then
11277 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11279 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11283 link_all_deplibs=yes
11287 if test sequent = "$host_vendor"; then
11288 # Use $CC to link under sequent, because it throws in some extra .o
11289 # files that make .init and .fini sections work.
11290 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11292 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11294 hardcode_libdir_flag_spec='-L$libdir'
11295 hardcode_direct=yes
11296 hardcode_minus_L=yes
11297 hardcode_shlibpath_var=no
11301 case $host_vendor in
11303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11304 hardcode_direct=yes # is this really true???
11307 ## LD is ld it makes a PLAMLIB
11308 ## CC just makes a GrossModule.
11309 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11310 reload_cmds='$CC -r -o $output$reload_objs'
11314 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11315 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11318 runpath_var='LD_RUN_PATH'
11319 hardcode_shlibpath_var=no
11323 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11324 hardcode_shlibpath_var=no
11325 export_dynamic_flag_spec='-Bexport'
11329 if test -d /usr/nec; then
11330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11331 hardcode_shlibpath_var=no
11332 runpath_var=LD_RUN_PATH
11333 hardcode_runpath_var=yes
11338 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11339 no_undefined_flag='$wl-z,text'
11340 archive_cmds_need_lc=no
11341 hardcode_shlibpath_var=no
11342 runpath_var='LD_RUN_PATH'
11344 if test yes = "$GCC"; then
11345 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11346 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11348 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11353 sysv5* | sco3.2v5* | sco5v6*)
11354 # Note: We CANNOT use -z defs as we might desire, because we do not
11355 # link with -lc, and that would cause any symbols used from libc to
11356 # always be unresolved, which means just about no library would
11357 # ever link correctly. If we're not using GNU ld we use -z text
11358 # though, which does catch some bad symbols but isn't as heavy-handed
11360 no_undefined_flag='$wl-z,text'
11361 allow_undefined_flag='$wl-z,nodefs'
11362 archive_cmds_need_lc=no
11363 hardcode_shlibpath_var=no
11364 hardcode_libdir_flag_spec='$wl-R,$libdir'
11365 hardcode_libdir_separator=':'
11366 link_all_deplibs=yes
11367 export_dynamic_flag_spec='$wl-Bexport'
11368 runpath_var='LD_RUN_PATH'
11370 if test yes = "$GCC"; then
11371 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11372 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11374 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11381 hardcode_libdir_flag_spec='-L$libdir'
11382 hardcode_shlibpath_var=no
11390 if test sni = "$host_vendor"; then
11392 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11393 export_dynamic_flag_spec='$wl-Blargedynsym'
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11400 $as_echo "$ld_shlibs" >&6; }
11401 test no = "$ld_shlibs" && can_build_shared=no
11403 with_gnu_ld=$with_gnu_ld
11420 # Do we need to explicitly link libc?
11422 case "x$archive_cmds_need_lc" in
11424 # Assume -lc should be added
11425 archive_cmds_need_lc=yes
11427 if test yes,yes = "$GCC,$enable_shared"; then
11428 case $archive_cmds in
11430 # FIXME: we may have to deal with multi-command sequences.
11433 # Test whether the compiler implicitly links with -lc since on some
11434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11435 # to ld, don't add -lc before -lgcc.
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11437 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11438 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11439 $as_echo_n "(cached) " >&6
11442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11445 (eval $ac_compile) 2>&5
11447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11448 test $ac_status = 0; } 2>conftest.err; then
11451 libobjs=conftest.$ac_objext
11453 wl=$lt_prog_compiler_wl
11454 pic_flag=$lt_prog_compiler_pic
11460 lt_save_allow_undefined_flag=$allow_undefined_flag
11461 allow_undefined_flag=
11462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11463 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11466 test $ac_status = 0; }
11468 lt_cv_archive_cmds_need_lc=no
11470 lt_cv_archive_cmds_need_lc=yes
11472 allow_undefined_flag=$lt_save_allow_undefined_flag
11474 cat conftest.err 1>&5
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11480 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11481 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11640 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11642 if test yes = "$GCC"; then
11644 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11645 *) lt_awk_arg='/^libraries:/' ;;
11648 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11649 *) lt_sed_strip_eq='s|=/|/|g' ;;
11651 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11652 case $lt_search_path_spec in
11654 # if the path contains ";" then we assume it to be the separator
11655 # otherwise default to the standard path separator (i.e. ":") - it is
11656 # assumed that no part of a normal pathname contains ";" but that should
11657 # okay in the real world where ";" in dirpaths is itself problematic.
11658 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11661 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11664 # Ok, now we have the path, separated by spaces, we can step through it
11665 # and add multilib dir if necessary...
11666 lt_tmp_lt_search_path_spec=
11667 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11668 # ...but if some path component already ends with the multilib dir we assume
11669 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11670 case "$lt_multi_os_dir; $lt_search_path_spec " in
11671 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11675 for lt_sys_path in $lt_search_path_spec; do
11676 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11678 elif test -n "$lt_multi_os_dir"; then
11679 test -d "$lt_sys_path" && \
11680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11683 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11684 BEGIN {RS = " "; FS = "/|\n";} {
11687 for (lt_i = NF; lt_i > 0; lt_i--) {
11688 if ($lt_i != "" && $lt_i != ".") {
11689 if ($lt_i == "..") {
11692 if (lt_count == 0) {
11693 lt_foo = "/" $lt_i lt_foo;
11700 if (lt_foo != "") { lt_freq[lt_foo]++; }
11701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11703 # AWK program above erroneously prepends '/' to C:/dos/paths
11706 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11707 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11709 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11711 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11713 library_names_spec=
11714 libname_spec='lib$name'
11718 postuninstall_cmds=
11722 shlibpath_overrides_runpath=unknown
11724 dynamic_linker="$host_os ld.so"
11725 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11726 need_lib_prefix=unknown
11727 hardcode_into_libs=no
11729 # when you set need_version to no, make sure it does not cause -set_version
11730 # flags to be left without arguments
11731 need_version=unknown
11737 version_type=linux # correct to gnu/linux during the next big refactor
11738 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11739 shlibpath_var=LIBPATH
11741 # AIX 3 has no versioning support, so we append a major version to the name.
11742 soname_spec='$libname$release$shared_ext$major'
11746 version_type=linux # correct to gnu/linux during the next big refactor
11749 hardcode_into_libs=yes
11750 if test ia64 = "$host_cpu"; then
11751 # AIX 5 supports IA64
11752 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11753 shlibpath_var=LD_LIBRARY_PATH
11755 # With GCC up to 2.95.x, collect2 would create an import file
11756 # for dependence libraries. The import file would start with
11757 # the line '#! .'. This would cause the generated library to
11758 # depend on '.', always an invalid library. This was fixed in
11759 # development snapshots of GCC prior to 3.0.
11761 aix4 | aix4.[01] | aix4.[01].*)
11762 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11764 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11767 can_build_shared=no
11771 # Using Import Files as archive members, it is possible to support
11772 # filename-based versioning of shared library archives on AIX. While
11773 # this would work for both with and without runtime linking, it will
11774 # prevent static linking of such archives. So we do filename-based
11775 # shared library versioning with .so extension only, which is used
11776 # when both runtime linking and shared linking is enabled.
11777 # Unfortunately, runtime linking may impact performance, so we do
11778 # not want this to be the default eventually. Also, we use the
11779 # versioned .so libs for executables only if there is the -brtl
11780 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11781 # To allow for filename-based versioning support, we need to create
11782 # libNAME.so.V as an archive file, containing:
11783 # *) an Import File, referring to the versioned filename of the
11784 # archive as well as the shared archive member, telling the
11785 # bitwidth (32 or 64) of that shared object, and providing the
11786 # list of exported symbols of that shared object, eventually
11787 # decorated with the 'weak' keyword
11788 # *) the shared object with the F_LOADONLY flag set, to really avoid
11789 # it being seen by the linker.
11790 # At run time we better use the real file rather than another symlink,
11791 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11793 case $with_aix_soname,$aix_use_runtimelinking in
11794 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11795 # soname into executable. Probably we can add versioning support to
11796 # collect2, so additional links can be useful in future.
11797 aix,yes) # traditional libtool
11798 dynamic_linker='AIX unversionable lib.so'
11799 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11800 # instead of lib<name>.a to let people know that these are not
11801 # typical AIX shared libraries.
11802 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11804 aix,no) # traditional AIX only
11805 dynamic_linker='AIX lib.a(lib.so.V)'
11806 # We preserve .a as extension for shared libraries through AIX4.2
11807 # and later when we are not doing run time linking.
11808 library_names_spec='$libname$release.a $libname.a'
11809 soname_spec='$libname$release$shared_ext$major'
11811 svr4,*) # full svr4 only
11812 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11813 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11814 # We do not specify a path in Import Files, so LIBPATH fires.
11815 shlibpath_overrides_runpath=yes
11817 *,yes) # both, prefer svr4
11818 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11819 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11820 # unpreferred sharedlib libNAME.a needs extra handling
11821 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11822 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11823 # We do not specify a path in Import Files, so LIBPATH fires.
11824 shlibpath_overrides_runpath=yes
11826 *,no) # both, prefer aix
11827 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11828 library_names_spec='$libname$release.a $libname.a'
11829 soname_spec='$libname$release$shared_ext$major'
11830 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11831 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11832 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11835 shlibpath_var=LIBPATH
11842 # Since July 2007 AmigaOS4 officially supports .so libraries.
11843 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11844 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11847 library_names_spec='$libname.ixlibrary $libname.a'
11848 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11849 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11855 library_names_spec='$libname$shared_ext'
11856 dynamic_linker="$host_os ld.so"
11857 shlibpath_var=LIBRARY_PATH
11861 version_type=linux # correct to gnu/linux during the next big refactor
11863 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11864 soname_spec='$libname$release$shared_ext$major'
11865 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11866 shlibpath_var=LD_LIBRARY_PATH
11867 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11868 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11869 # the default ld.so.conf also contains /usr/contrib/lib and
11870 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11871 # libtool to hard-code these into programs
11874 cygwin* | mingw* | pw32* | cegcc*)
11875 version_type=windows
11880 case $GCC,$cc_basename in
11883 library_names_spec='$libname.dll.a'
11884 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11885 postinstall_cmds='base_file=`basename \$file`~
11886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11887 dldir=$destdir/`dirname \$dlpath`~
11888 test -d \$dldir || mkdir -p \$dldir~
11889 $install_prog $dir/$dlname \$dldir/$dlname~
11890 chmod a+x \$dldir/$dlname~
11891 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11892 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11894 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11895 dlpath=$dir/\$dldll~
11897 shlibpath_overrides_runpath=yes
11901 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11902 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11904 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11907 # MinGW DLLs use traditional 'lib' prefix
11908 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11911 # pw32 DLLs use 'pw' prefix rather than 'lib'
11912 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11915 dynamic_linker='Win32 ld.exe'
11920 libname_spec='$name'
11921 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11922 library_names_spec='$libname.dll.lib'
11926 sys_lib_search_path_spec=
11929 for lt_path in $LIB
11932 # Let DOS variable expansion print the short 8.3 style file name.
11933 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11934 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11937 # Convert to MSYS style.
11938 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11941 # Convert to unix form, then to dos form, then back to unix form
11942 # but this time dos style (no spaces!) so that the unix form looks
11943 # like /cygdrive/c/PROGRA~1:/cygdr...
11944 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11945 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11946 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11949 sys_lib_search_path_spec=$LIB
11950 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11951 # It is most probably a Windows format PATH.
11952 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11954 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11956 # FIXME: find the short name or the path components, as spaces are
11957 # common. (e.g. "Program Files" -> "PROGRA~1")
11961 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11962 postinstall_cmds='base_file=`basename \$file`~
11963 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11964 dldir=$destdir/`dirname \$dlpath`~
11965 test -d \$dldir || mkdir -p \$dldir~
11966 $install_prog $dir/$dlname \$dldir/$dlname'
11967 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11968 dlpath=$dir/\$dldll~
11970 shlibpath_overrides_runpath=yes
11971 dynamic_linker='Win32 link.exe'
11975 # Assume MSVC wrapper
11976 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11977 dynamic_linker='Win32 ld.exe'
11980 # FIXME: first we should search . and the directory the executable is in
11984 darwin* | rhapsody*)
11985 dynamic_linker="$host_os dyld"
11986 version_type=darwin
11989 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11990 soname_spec='$libname$release$major$shared_ext'
11991 shlibpath_overrides_runpath=yes
11992 shlibpath_var=DYLD_LIBRARY_PATH
11993 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11995 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11996 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12000 version_type=linux # correct to gnu/linux during the next big refactor
12003 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12004 soname_spec='$libname$release$shared_ext$major'
12005 shlibpath_var=LD_LIBRARY_PATH
12008 freebsd* | dragonfly*)
12009 # DragonFly does not have aout. When/if they implement a new
12010 # versioning mechanism, adjust this.
12011 if test -x /usr/bin/objformat; then
12012 objformat=`/usr/bin/objformat`
12015 freebsd[23].*) objformat=aout ;;
12016 *) objformat=elf ;;
12019 version_type=freebsd-$objformat
12020 case $version_type in
12022 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12023 soname_spec='$libname$release$shared_ext$major'
12028 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12032 shlibpath_var=LD_LIBRARY_PATH
12035 shlibpath_overrides_runpath=yes
12037 freebsd3.[01]* | freebsdelf3.[01]*)
12038 shlibpath_overrides_runpath=yes
12039 hardcode_into_libs=yes
12041 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12042 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12043 shlibpath_overrides_runpath=no
12044 hardcode_into_libs=yes
12046 *) # from 4.6 on, and DragonFly
12047 shlibpath_overrides_runpath=yes
12048 hardcode_into_libs=yes
12054 version_type=linux # correct to gnu/linux during the next big refactor
12057 dynamic_linker="$host_os runtime_loader"
12058 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12059 soname_spec='$libname$release$shared_ext$major'
12060 shlibpath_var=LIBRARY_PATH
12061 shlibpath_overrides_runpath=no
12062 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12063 hardcode_into_libs=yes
12066 hpux9* | hpux10* | hpux11*)
12067 # Give a soname corresponding to the major version so that dld.sl refuses to
12068 # link against other versions.
12075 hardcode_into_libs=yes
12076 dynamic_linker="$host_os dld.so"
12077 shlibpath_var=LD_LIBRARY_PATH
12078 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12079 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12080 soname_spec='$libname$release$shared_ext$major'
12081 if test 32 = "$HPUX_IA64_MODE"; then
12082 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12083 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12085 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12086 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12091 hardcode_into_libs=yes
12092 dynamic_linker="$host_os dld.sl"
12093 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12094 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12095 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12096 soname_spec='$libname$release$shared_ext$major'
12097 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12098 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12102 dynamic_linker="$host_os dld.sl"
12103 shlibpath_var=SHLIB_PATH
12104 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12105 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12106 soname_spec='$libname$release$shared_ext$major'
12109 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12110 postinstall_cmds='chmod 555 $lib'
12111 # or fails outright, so override atomically:
12112 install_override_mode=555
12116 version_type=linux # correct to gnu/linux during the next big refactor
12119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12120 soname_spec='$libname$release$shared_ext$major'
12121 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12122 shlibpath_var=LD_LIBRARY_PATH
12123 shlibpath_overrides_runpath=no
12124 hardcode_into_libs=yes
12127 irix5* | irix6* | nonstopux*)
12129 nonstopux*) version_type=nonstopux ;;
12131 if test yes = "$lt_cv_prog_gnu_ld"; then
12132 version_type=linux # correct to gnu/linux during the next big refactor
12139 soname_spec='$libname$release$shared_ext$major'
12140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12142 irix5* | nonstopux*)
12143 libsuff= shlibsuff=
12146 case $LD in # libtool.m4 will add one of these switches to LD
12147 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12148 libsuff= shlibsuff= libmagic=32-bit;;
12149 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12150 libsuff=32 shlibsuff=N32 libmagic=N32;;
12151 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12152 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12153 *) libsuff= shlibsuff= libmagic=never-match;;
12157 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12158 shlibpath_overrides_runpath=no
12159 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12160 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12161 hardcode_into_libs=yes
12164 # No shared lib support for Linux oldld, aout, or coff.
12165 linux*oldld* | linux*aout* | linux*coff*)
12170 version_type=none # Android doesn't support versioned libraries.
12173 library_names_spec='$libname$release$shared_ext'
12174 soname_spec='$libname$release$shared_ext'
12176 shlibpath_var=LD_LIBRARY_PATH
12177 shlibpath_overrides_runpath=yes
12179 # This implies no fast_install, which is unacceptable.
12180 # Some rework will be needed to allow for fast_install
12181 # before this can be enabled.
12182 hardcode_into_libs=yes
12184 dynamic_linker='Android linker'
12185 # Don't embed -rpath directories since the linker doesn't support them.
12186 hardcode_libdir_flag_spec='-L$libdir'
12189 # This must be glibc/ELF.
12190 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12191 version_type=linux # correct to gnu/linux during the next big refactor
12194 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12195 soname_spec='$libname$release$shared_ext$major'
12196 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12197 shlibpath_var=LD_LIBRARY_PATH
12198 shlibpath_overrides_runpath=no
12200 # Some binutils ld are patched to set DT_RUNPATH
12201 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12202 $as_echo_n "(cached) " >&6
12204 lt_cv_shlibpath_overrides_runpath=no
12205 save_LDFLAGS=$LDFLAGS
12206 save_libdir=$libdir
12207 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12208 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12222 lt_cv_shlibpath_overrides_runpath=yes
12225 rm -f core conftest.err conftest.$ac_objext \
12226 conftest$ac_exeext conftest.$ac_ext
12227 LDFLAGS=$save_LDFLAGS
12228 libdir=$save_libdir
12232 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12234 # This implies no fast_install, which is unacceptable.
12235 # Some rework will be needed to allow for fast_install
12236 # before this can be enabled.
12237 hardcode_into_libs=yes
12239 # Ideally, we could use ldconfig to report *all* directores which are
12240 # searched for libraries, however this is still not possible. Aside from not
12241 # being certain /sbin/ldconfig is available, command
12242 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12243 # even though it is searched at run-time. Try to do the best guess by
12244 # appending ld.so.conf contents (and includes) to the search path.
12245 if test -f /etc/ld.so.conf; then
12246 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' ' '`
12247 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12250 # We used to test for /lib/ld.so.1 and disable shared libraries on
12251 # powerpc, because MkLinux only supported shared libraries with the
12252 # GNU dynamic linker. Since this was broken with cross compilers,
12253 # most powerpc-linux boxes support dynamic linking these days and
12254 # people can always --disable-shared, the test was removed, and we
12255 # assume the GNU/Linux dynamic linker is in use.
12256 dynamic_linker='GNU/Linux ld.so'
12263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12264 soname_spec='${libname}${release}${shared_ext}$major'
12265 shlibpath_var=LD_LIBRARY_PATH
12266 shlibpath_overrides_runpath=no
12267 hardcode_into_libs=yes
12268 dynamic_linker='NetBSD ld.elf_so'
12275 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12276 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12278 dynamic_linker='NetBSD (a.out) ld.so'
12280 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12281 soname_spec='$libname$release$shared_ext$major'
12282 dynamic_linker='NetBSD ld.elf_so'
12284 shlibpath_var=LD_LIBRARY_PATH
12285 shlibpath_overrides_runpath=yes
12286 hardcode_into_libs=yes
12290 version_type=linux # correct to gnu/linux during the next big refactor
12291 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12292 shlibpath_var=LD_LIBRARY_PATH
12293 shlibpath_overrides_runpath=yes
12300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12301 soname_spec='$libname$release$shared_ext$major'
12302 shlibpath_var=LD_LIBRARY_PATH
12303 shlibpath_overrides_runpath=no
12304 hardcode_into_libs=yes
12305 dynamic_linker='ldqnx.so'
12308 openbsd* | bitrig*)
12310 sys_lib_dlsearch_path_spec=/usr/lib
12312 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12317 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12319 shlibpath_var=LD_LIBRARY_PATH
12320 shlibpath_overrides_runpath=yes
12324 libname_spec='$name'
12325 version_type=windows
12329 # OS/2 can only load a DLL with a base name of 8 characters or less.
12330 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12331 v=$($ECHO $release$versuffix | tr -d .-);
12332 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12333 $ECHO $n$v`$shared_ext'
12334 library_names_spec='${libname}_dll.$libext'
12335 dynamic_linker='OS/2 ld.exe'
12336 shlibpath_var=BEGINLIBPATH
12337 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12339 postinstall_cmds='base_file=`basename \$file`~
12340 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12341 dldir=$destdir/`dirname \$dlpath`~
12342 test -d \$dldir || mkdir -p \$dldir~
12343 $install_prog $dir/$dlname \$dldir/$dlname~
12344 chmod a+x \$dldir/$dlname~
12345 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12346 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12348 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12349 dlpath=$dir/\$dldll~
12353 osf3* | osf4* | osf5*)
12357 soname_spec='$libname$release$shared_ext$major'
12358 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12359 shlibpath_var=LD_LIBRARY_PATH
12360 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12361 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12369 version_type=linux # correct to gnu/linux during the next big refactor
12372 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12373 soname_spec='$libname$release$shared_ext$major'
12374 shlibpath_var=LD_LIBRARY_PATH
12375 shlibpath_overrides_runpath=yes
12376 hardcode_into_libs=yes
12377 # ldd complains unless libraries are executable
12378 postinstall_cmds='chmod +x $lib'
12383 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12384 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12385 shlibpath_var=LD_LIBRARY_PATH
12386 shlibpath_overrides_runpath=yes
12387 if test yes = "$with_gnu_ld"; then
12394 version_type=linux # correct to gnu/linux during the next big refactor
12395 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12396 soname_spec='$libname$release$shared_ext$major'
12397 shlibpath_var=LD_LIBRARY_PATH
12398 case $host_vendor in
12400 shlibpath_overrides_runpath=no
12402 runpath_var=LD_RUN_PATH
12410 shlibpath_overrides_runpath=no
12411 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12417 if test -d /usr/nec; then
12418 version_type=linux # correct to gnu/linux during the next big refactor
12419 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12420 soname_spec='$libname$shared_ext.$major'
12421 shlibpath_var=LD_LIBRARY_PATH
12425 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12429 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12430 soname_spec='$libname$release$shared_ext$major'
12431 shlibpath_var=LD_LIBRARY_PATH
12432 shlibpath_overrides_runpath=yes
12433 hardcode_into_libs=yes
12434 if test yes = "$with_gnu_ld"; then
12435 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12437 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12440 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12444 sys_lib_dlsearch_path_spec='/usr/lib'
12448 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12449 version_type=linux # correct to gnu/linux during the next big refactor
12452 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12453 shlibpath_var=LD_LIBRARY_PATH
12454 shlibpath_overrides_runpath=no
12455 hardcode_into_libs=yes
12459 version_type=linux # correct to gnu/linux during the next big refactor
12460 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12461 soname_spec='$libname$release$shared_ext$major'
12462 shlibpath_var=LD_LIBRARY_PATH
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12470 $as_echo "$dynamic_linker" >&6; }
12471 test no = "$dynamic_linker" && can_build_shared=no
12473 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12474 if test yes = "$GCC"; then
12475 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12478 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12479 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12482 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12483 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12486 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12487 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12489 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12490 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12492 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12493 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12592 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12594 if test -n "$hardcode_libdir_flag_spec" ||
12595 test -n "$runpath_var" ||
12596 test yes = "$hardcode_automatic"; then
12598 # We can hardcode non-existent directories.
12599 if test no != "$hardcode_direct" &&
12600 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12601 # have to relink, otherwise we might link with an installed library
12602 # when we should be linking with a yet-to-be-installed one
12603 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12604 test no != "$hardcode_minus_L"; then
12605 # Linking always hardcodes the temporary library directory.
12606 hardcode_action=relink
12608 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12609 hardcode_action=immediate
12612 # We cannot hardcode anything, or else we can only hardcode existing
12614 hardcode_action=unsupported
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12617 $as_echo "$hardcode_action" >&6; }
12619 if test relink = "$hardcode_action" ||
12620 test yes = "$inherit_rpath"; then
12621 # Fast installation is not supported
12622 enable_fast_install=no
12623 elif test yes = "$shlibpath_overrides_runpath" ||
12624 test no = "$enable_shared"; then
12625 # Fast installation is not necessary
12626 enable_fast_install=needless
12634 if test yes != "$enable_dlopen"; then
12635 enable_dlopen=unknown
12636 enable_dlopen_self=unknown
12637 enable_dlopen_self_static=unknown
12644 lt_cv_dlopen=load_add_on
12646 lt_cv_dlopen_self=yes
12649 mingw* | pw32* | cegcc*)
12650 lt_cv_dlopen=LoadLibrary
12655 lt_cv_dlopen=dlopen
12660 # if libdl is installed we need to link against it
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12662 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12663 if ${ac_cv_lib_dl_dlopen+:} false; then :
12664 $as_echo_n "(cached) " >&6
12666 ac_check_lib_save_LIBS=$LIBS
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 ac_cv_lib_dl_dlopen=yes
12689 ac_cv_lib_dl_dlopen=no
12691 rm -f core conftest.err conftest.$ac_objext \
12692 conftest$ac_exeext conftest.$ac_ext
12693 LIBS=$ac_check_lib_save_LIBS
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12696 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12697 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12698 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12703 lt_cv_dlopen_self=yes
12710 # Don't try to run any link tests for TPF. We know it's impossible
12711 # because TPF is a cross-compiler, and we know how we open DSOs.
12712 lt_cv_dlopen=dlopen
12714 lt_cv_dlopen_self=no
12718 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12719 if test "x$ac_cv_func_shl_load" = xyes; then :
12720 lt_cv_dlopen=shl_load
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12723 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12724 if ${ac_cv_lib_dld_shl_load+:} false; then :
12725 $as_echo_n "(cached) " >&6
12727 ac_check_lib_save_LIBS=$LIBS
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12742 return shl_load ();
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_dld_shl_load=yes
12750 ac_cv_lib_dld_shl_load=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12757 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12758 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12759 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12761 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12762 if test "x$ac_cv_func_dlopen" = xyes; then :
12763 lt_cv_dlopen=dlopen
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12767 if ${ac_cv_lib_dl_dlopen+:} false; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_lib_save_LIBS=$LIBS
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 ac_cv_lib_dl_dlopen=yes
12793 ac_cv_lib_dl_dlopen=no
12795 rm -f core conftest.err conftest.$ac_objext \
12796 conftest$ac_exeext conftest.$ac_ext
12797 LIBS=$ac_check_lib_save_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12800 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12801 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12802 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12805 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12806 if ${ac_cv_lib_svld_dlopen+:} false; then :
12807 $as_echo_n "(cached) " >&6
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lsvld $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_svld_dlopen=yes
12832 ac_cv_lib_svld_dlopen=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12839 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12840 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12841 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12844 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12845 if ${ac_cv_lib_dld_dld_link+:} false; then :
12846 $as_echo_n "(cached) " >&6
12848 ac_check_lib_save_LIBS=$LIBS
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12863 return dld_link ();
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_dld_dld_link=yes
12871 ac_cv_lib_dld_dld_link=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12878 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12879 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12880 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12901 if test no = "$lt_cv_dlopen"; then
12907 case $lt_cv_dlopen in
12909 save_CPPFLAGS=$CPPFLAGS
12910 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12912 save_LDFLAGS=$LDFLAGS
12913 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12916 LIBS="$lt_cv_dlopen_libs $LIBS"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12919 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12920 if ${lt_cv_dlopen_self+:} false; then :
12921 $as_echo_n "(cached) " >&6
12923 if test yes = "$cross_compiling"; then :
12924 lt_cv_dlopen_self=cross
12926 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12927 lt_status=$lt_dlunknown
12928 cat > conftest.$ac_ext <<_LT_EOF
12929 #line $LINENO "configure"
12930 #include "confdefs.h"
12939 # define LT_DLGLOBAL RTLD_GLOBAL
12942 # define LT_DLGLOBAL DL_GLOBAL
12944 # define LT_DLGLOBAL 0
12948 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12949 find out it does not work in some platform. */
12950 #ifndef LT_DLLAZY_OR_NOW
12952 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12955 # define LT_DLLAZY_OR_NOW DL_LAZY
12958 # define LT_DLLAZY_OR_NOW RTLD_NOW
12961 # define LT_DLLAZY_OR_NOW DL_NOW
12963 # define LT_DLLAZY_OR_NOW 0
12970 /* When -fvisibility=hidden is used, assume the code has been annotated
12971 correspondingly for the symbols needed. */
12972 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12973 int fnord () __attribute__((visibility("default")));
12976 int fnord () { return 42; }
12979 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12980 int status = $lt_dlunknown;
12984 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12987 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12988 else puts (dlerror ());
12990 /* dlclose (self); */
12998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12999 (eval $ac_link) 2>&5
13001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13002 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13003 (./conftest; exit; ) >&5 2>/dev/null
13005 case x$lt_status in
13006 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13007 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13008 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13011 # compilation failed
13012 lt_cv_dlopen_self=no
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13020 $as_echo "$lt_cv_dlopen_self" >&6; }
13022 if test yes = "$lt_cv_dlopen_self"; then
13023 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13025 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13026 if ${lt_cv_dlopen_self_static+:} false; then :
13027 $as_echo_n "(cached) " >&6
13029 if test yes = "$cross_compiling"; then :
13030 lt_cv_dlopen_self_static=cross
13032 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13033 lt_status=$lt_dlunknown
13034 cat > conftest.$ac_ext <<_LT_EOF
13035 #line $LINENO "configure"
13036 #include "confdefs.h"
13045 # define LT_DLGLOBAL RTLD_GLOBAL
13048 # define LT_DLGLOBAL DL_GLOBAL
13050 # define LT_DLGLOBAL 0
13054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13055 find out it does not work in some platform. */
13056 #ifndef LT_DLLAZY_OR_NOW
13058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13061 # define LT_DLLAZY_OR_NOW DL_LAZY
13064 # define LT_DLLAZY_OR_NOW RTLD_NOW
13067 # define LT_DLLAZY_OR_NOW DL_NOW
13069 # define LT_DLLAZY_OR_NOW 0
13076 /* When -fvisibility=hidden is used, assume the code has been annotated
13077 correspondingly for the symbols needed. */
13078 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13079 int fnord () __attribute__((visibility("default")));
13082 int fnord () { return 42; }
13085 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13086 int status = $lt_dlunknown;
13090 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13093 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13094 else puts (dlerror ());
13096 /* dlclose (self); */
13104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13105 (eval $ac_link) 2>&5
13107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13108 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13109 (./conftest; exit; ) >&5 2>/dev/null
13111 case x$lt_status in
13112 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13113 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13114 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13117 # compilation failed
13118 lt_cv_dlopen_self_static=no
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13126 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13129 CPPFLAGS=$save_CPPFLAGS
13130 LDFLAGS=$save_LDFLAGS
13135 case $lt_cv_dlopen_self in
13136 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13137 *) enable_dlopen_self=unknown ;;
13140 case $lt_cv_dlopen_self_static in
13141 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13142 *) enable_dlopen_self_static=unknown ;;
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13165 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13166 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13167 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13168 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13170 $as_echo "yes" >&6; }
13172 # FIXME - insert some real tests, host_os isn't really good enough
13175 if test -n "$STRIP"; then
13176 striplib="$STRIP -x"
13177 old_striplib="$STRIP -S"
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13179 $as_echo "yes" >&6; }
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13182 $as_echo "no" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13203 # Report what library types will actually be built
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13205 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13207 $as_echo "$can_build_shared" >&6; }
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13210 $as_echo_n "checking whether to build shared libraries... " >&6; }
13211 test no = "$can_build_shared" && enable_shared=no
13213 # On AIX, shared libraries and static libraries use the same namespace, and
13214 # are all built from PIC.
13217 test yes = "$enable_shared" && enable_static=no
13218 if test -n "$RANLIB"; then
13219 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13220 postinstall_cmds='$RANLIB $lib'
13225 if test ia64 != "$host_cpu"; then
13226 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13227 yes,aix,yes) ;; # shared object as lib.so file only
13228 yes,svr4,*) ;; # shared object as lib.so archive member only
13229 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13235 $as_echo "$enable_shared" >&6; }
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13238 $as_echo_n "checking whether to build static libraries... " >&6; }
13239 # Make sure either enable_shared or enable_static is yes.
13240 test yes = "$enable_shared" || enable_static=yes
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13242 $as_echo "$enable_static" >&6; }
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13256 if test -n "$CXX" && ( test no != "$CXX" &&
13257 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13258 (test g++ != "$CXX"))); then
13260 ac_cpp='$CXXCPP $CPPFLAGS'
13261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13265 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13266 if test -z "$CXXCPP"; then
13267 if ${ac_cv_prog_CXXCPP+:} false; then :
13268 $as_echo_n "(cached) " >&6
13270 # Double quotes because CXXCPP needs to be expanded
13271 for CXXCPP in "$CXX -E" "/lib/cpp"
13273 ac_preproc_ok=false
13274 for ac_cxx_preproc_warn_flag in '' yes
13276 # Use a header file that comes with gcc, so configuring glibc
13277 # with a fresh cross-compiler works.
13278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13279 # <limits.h> exists even on freestanding compilers.
13280 # On the NeXT, cc -E runs the code through the compiler's parser,
13281 # not just through cpp. "Syntax error" is here to catch this case.
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 # include <limits.h>
13287 # include <assert.h>
13291 if ac_fn_cxx_try_cpp "$LINENO"; then :
13294 # Broken: fails on valid input.
13297 rm -f conftest.err conftest.i conftest.$ac_ext
13299 # OK, works on sane cases. Now check whether nonexistent headers
13300 # can be detected and how.
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13303 #include <ac_nonexistent.h>
13305 if ac_fn_cxx_try_cpp "$LINENO"; then :
13306 # Broken: success on invalid input.
13309 # Passes both tests.
13313 rm -f conftest.err conftest.i conftest.$ac_ext
13316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13317 rm -f conftest.i conftest.err conftest.$ac_ext
13318 if $ac_preproc_ok; then :
13323 ac_cv_prog_CXXCPP=$CXXCPP
13326 CXXCPP=$ac_cv_prog_CXXCPP
13328 ac_cv_prog_CXXCPP=$CXXCPP
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13331 $as_echo "$CXXCPP" >&6; }
13332 ac_preproc_ok=false
13333 for ac_cxx_preproc_warn_flag in '' yes
13335 # Use a header file that comes with gcc, so configuring glibc
13336 # with a fresh cross-compiler works.
13337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13338 # <limits.h> exists even on freestanding compilers.
13339 # On the NeXT, cc -E runs the code through the compiler's parser,
13340 # not just through cpp. "Syntax error" is here to catch this case.
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13344 # include <limits.h>
13346 # include <assert.h>
13350 if ac_fn_cxx_try_cpp "$LINENO"; then :
13353 # Broken: fails on valid input.
13356 rm -f conftest.err conftest.i conftest.$ac_ext
13358 # OK, works on sane cases. Now check whether nonexistent headers
13359 # can be detected and how.
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #include <ac_nonexistent.h>
13364 if ac_fn_cxx_try_cpp "$LINENO"; then :
13365 # Broken: success on invalid input.
13368 # Passes both tests.
13372 rm -f conftest.err conftest.i conftest.$ac_ext
13375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13376 rm -f conftest.i conftest.err conftest.$ac_ext
13377 if $ac_preproc_ok; then :
13380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13382 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13383 See \`config.log' for more details" "$LINENO" 5; }
13387 ac_cpp='$CPP $CPPFLAGS'
13388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13393 _lt_caught_CXX_error=yes
13397 ac_cpp='$CXXCPP $CPPFLAGS'
13398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13402 archive_cmds_need_lc_CXX=no
13403 allow_undefined_flag_CXX=
13404 always_export_symbols_CXX=no
13405 archive_expsym_cmds_CXX=
13406 compiler_needs_object_CXX=no
13407 export_dynamic_flag_spec_CXX=
13408 hardcode_direct_CXX=no
13409 hardcode_direct_absolute_CXX=no
13410 hardcode_libdir_flag_spec_CXX=
13411 hardcode_libdir_separator_CXX=
13412 hardcode_minus_L_CXX=no
13413 hardcode_shlibpath_var_CXX=unsupported
13414 hardcode_automatic_CXX=no
13415 inherit_rpath_CXX=no
13417 module_expsym_cmds_CXX=
13418 link_all_deplibs_CXX=unknown
13419 old_archive_cmds_CXX=$old_archive_cmds
13420 reload_flag_CXX=$reload_flag
13421 reload_cmds_CXX=$reload_cmds
13422 no_undefined_flag_CXX=
13423 whole_archive_flag_spec_CXX=
13424 enable_shared_with_static_runtimes_CXX=no
13426 # Source file extension for C++ test sources.
13429 # Object file extension for compiled C++ test sources.
13433 # No sense in running all these tests if we already determined that
13434 # the CXX compiler isn't working. Some variables (like enable_shared)
13435 # are currently assumed to apply to all compilers on this platform,
13436 # and will be corrupted by setting them based on a non-working compiler.
13437 if test yes != "$_lt_caught_CXX_error"; then
13438 # Code to be used in simple compile tests
13439 lt_simple_compile_test_code="int some_variable = 0;"
13441 # Code to be used in simple link tests
13442 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13444 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13451 # If no C compiler was specified, use CC.
13454 # If no C compiler flags were specified, use CFLAGS.
13455 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13457 # Allow CC to be a program name with arguments.
13461 # save warnings/boilerplate of simple test code
13462 ac_outfile=conftest.$ac_objext
13463 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13465 _lt_compiler_boilerplate=`cat conftest.err`
13468 ac_outfile=conftest.$ac_objext
13469 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13471 _lt_linker_boilerplate=`cat conftest.err`
13475 # Allow CC to be a program name with arguments.
13477 lt_save_CFLAGS=$CFLAGS
13481 lt_save_with_gnu_ld=$with_gnu_ld
13482 lt_save_path_LD=$lt_cv_path_LD
13483 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13484 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13486 $as_unset lt_cv_prog_gnu_ld
13488 if test -n "${lt_cv_path_LDCXX+set}"; then
13489 lt_cv_path_LD=$lt_cv_path_LDCXX
13491 $as_unset lt_cv_path_LD
13493 test -z "${LDCXX+set}" || LD=$LDCXX
13498 func_cc_basename $compiler
13499 cc_basename=$func_cc_basename_result
13502 if test -n "$compiler"; then
13503 # We don't want -fno-exception when compiling C++ code, so set the
13504 # no_builtin_flag separately
13505 if test yes = "$GXX"; then
13506 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13508 lt_prog_compiler_no_builtin_flag_CXX=
13511 if test yes = "$GXX"; then
13512 # Set up default GNU C++ configuration
13516 # Check whether --with-gnu-ld was given.
13517 if test "${with_gnu_ld+set}" = set; then :
13518 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13524 if test yes = "$GCC"; then
13525 # Check if gcc -print-prog-name=ld gives a path.
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13527 $as_echo_n "checking for ld used by $CC... " >&6; }
13530 # gcc leaves a trailing carriage return, which upsets mingw
13531 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13533 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13536 # Accept absolute paths.
13538 re_direlt='/[^/][^/]*/\.\./'
13539 # Canonicalize the pathname of ld
13540 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13541 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13542 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13544 test -z "$LD" && LD=$ac_prog
13547 # If it fails, then pretend we aren't using GCC.
13551 # If it is relative, then search for the first ld in PATH.
13552 with_gnu_ld=unknown
13555 elif test yes = "$with_gnu_ld"; then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13557 $as_echo_n "checking for GNU ld... " >&6; }
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13560 $as_echo_n "checking for non-GNU ld... " >&6; }
13562 if ${lt_cv_path_LD+:} false; then :
13563 $as_echo_n "(cached) " >&6
13565 if test -z "$LD"; then
13566 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13567 for ac_dir in $PATH; do
13569 test -z "$ac_dir" && ac_dir=.
13570 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13571 lt_cv_path_LD=$ac_dir/$ac_prog
13572 # Check to see if the program is GNU ld. I'd rather use --version,
13573 # but apparently some variants of GNU ld only accept -v.
13574 # Break only if it was the GNU/non-GNU ld that we prefer.
13575 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13576 *GNU* | *'with BFD'*)
13577 test no != "$with_gnu_ld" && break
13580 test yes != "$with_gnu_ld" && break
13587 lt_cv_path_LD=$LD # Let the user override the test with a path.
13592 if test -n "$LD"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13594 $as_echo "$LD" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597 $as_echo "no" >&6; }
13599 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13601 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13602 if ${lt_cv_prog_gnu_ld+:} false; then :
13603 $as_echo_n "(cached) " >&6
13605 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13606 case `$LD -v 2>&1 </dev/null` in
13607 *GNU* | *'with BFD'*)
13608 lt_cv_prog_gnu_ld=yes
13611 lt_cv_prog_gnu_ld=no
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13616 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13617 with_gnu_ld=$lt_cv_prog_gnu_ld
13625 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13626 # archiving commands below assume that GNU ld is being used.
13627 if test yes = "$with_gnu_ld"; then
13628 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13629 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'
13631 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13632 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13634 # If archive_cmds runs LD, not CC, wlarc should be empty
13635 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13636 # investigate it a little bit more. (MM)
13639 # ancient GNU ld didn't support --whole-archive et. al.
13640 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13641 $GREP 'no-whole-archive' > /dev/null; then
13642 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13644 whole_archive_flag_spec_CXX=
13650 # A generic and very simple default shared library creation
13651 # command for GNU C++ for the case where it uses the native
13652 # linker, instead of GNU ld. If possible, this setting should
13653 # overridden to take advantage of the native linker features on
13654 # the platform it is being used on.
13655 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13658 # Commands to make compiler produce verbose output that lists
13659 # what "hidden" libraries, object files and flags are used when
13660 # linking a shared library.
13661 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13669 # PORTME: fill in a description of your system's C++ link characteristics
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13671 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13675 # FIXME: insert proper C++ library support
13679 if test ia64 = "$host_cpu"; then
13680 # On IA64, the linker does run time linking by default, so we don't
13681 # have to do anything special.
13682 aix_use_runtimelinking=no
13683 exp_sym_flag='-Bexport'
13686 aix_use_runtimelinking=no
13688 # Test if we are trying to use run time linking or normal
13689 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13690 # have runtime linking enabled, and use it for executables.
13691 # For shared libraries, we enable/disable runtime linking
13692 # depending on the kind of the shared library created -
13693 # when "with_aix_soname,aix_use_runtimelinking" is:
13694 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13695 # "aix,yes" lib.so shared, rtl:yes, for executables
13696 # lib.a static archive
13697 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13698 # lib.a(lib.so.V) shared, rtl:no, for executables
13699 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13700 # lib.a(lib.so.V) shared, rtl:no
13701 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13702 # lib.a static archive
13703 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13704 for ld_flag in $LDFLAGS; do
13707 aix_use_runtimelinking=yes
13712 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13713 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13714 # so we don't have lib.a shared libs to link our executables.
13715 # We have to force runtime linking in this case.
13716 aix_use_runtimelinking=yes
13717 LDFLAGS="$LDFLAGS -Wl,-brtl"
13722 exp_sym_flag='-bexport'
13723 no_entry_flag='-bnoentry'
13726 # When large executables or shared objects are built, AIX ld can
13727 # have problems creating the table of contents. If linking a library
13728 # or program results in "error TOC overflow" add -mminimal-toc to
13729 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13730 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13732 archive_cmds_CXX=''
13733 hardcode_direct_CXX=yes
13734 hardcode_direct_absolute_CXX=yes
13735 hardcode_libdir_separator_CXX=':'
13736 link_all_deplibs_CXX=yes
13737 file_list_spec_CXX='$wl-f,'
13738 case $with_aix_soname,$aix_use_runtimelinking in
13739 aix,*) ;; # no import file
13740 svr4,* | *,yes) # use import file
13741 # The Import File defines what to hardcode.
13742 hardcode_direct_CXX=no
13743 hardcode_direct_absolute_CXX=no
13747 if test yes = "$GXX"; then
13748 case $host_os in aix4.[012]|aix4.[012].*)
13749 # We only want to do this on AIX 4.2 and lower, the check
13750 # below for broken collect2 doesn't work under 4.3+
13751 collect2name=`$CC -print-prog-name=collect2`
13752 if test -f "$collect2name" &&
13753 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13755 # We have reworked collect2
13758 # We have old collect2
13759 hardcode_direct_CXX=unsupported
13760 # It fails to find uninstalled libraries when the uninstalled
13761 # path is not listed in the libpath. Setting hardcode_minus_L
13762 # to unsupported forces relinking
13763 hardcode_minus_L_CXX=yes
13764 hardcode_libdir_flag_spec_CXX='-L$libdir'
13765 hardcode_libdir_separator_CXX=
13768 shared_flag='-shared'
13769 if test yes = "$aix_use_runtimelinking"; then
13770 shared_flag=$shared_flag' $wl-G'
13772 # Need to ensure runtime linking is disabled for the traditional
13773 # shared library, or the linker may eventually find shared libraries
13774 # /with/ Import File - we do not want to mix them.
13775 shared_flag_aix='-shared'
13776 shared_flag_svr4='-shared $wl-G'
13779 if test ia64 = "$host_cpu"; then
13780 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13781 # chokes on -Wl,-G. The following line is correct:
13784 if test yes = "$aix_use_runtimelinking"; then
13785 shared_flag='$wl-G'
13787 shared_flag='$wl-bM:SRE'
13789 shared_flag_aix='$wl-bM:SRE'
13790 shared_flag_svr4='$wl-G'
13794 export_dynamic_flag_spec_CXX='$wl-bexpall'
13795 # It seems that -bexpall does not export symbols beginning with
13796 # underscore (_), so it is better to generate a list of symbols to
13798 always_export_symbols_CXX=yes
13799 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13800 # Warning - without using the other runtime loading flags (-brtl),
13801 # -berok will link without error, but may produce a broken library.
13802 # The "-G" linker flag allows undefined symbols.
13803 no_undefined_flag_CXX='-bernotok'
13804 # Determine the default libpath from the value encoded in an empty
13806 if test set = "${lt_cv_aix_libpath+set}"; then
13807 aix_libpath=$lt_cv_aix_libpath
13809 if ${lt_cv_aix_libpath__CXX+:} false; then :
13810 $as_echo_n "(cached) " >&6
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13823 if ac_fn_cxx_try_link "$LINENO"; then :
13825 lt_aix_libpath_sed='
13826 /Import File Strings/,/^$/ {
13828 s/^0 *\([^ ]*\) *$/\1/
13832 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13833 # Check for a 64-bit object if we didn't find anything.
13834 if test -z "$lt_cv_aix_libpath__CXX"; then
13835 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13838 rm -f core conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13840 if test -z "$lt_cv_aix_libpath__CXX"; then
13841 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13846 aix_libpath=$lt_cv_aix_libpath__CXX
13849 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13851 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13853 if test ia64 = "$host_cpu"; then
13854 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13855 allow_undefined_flag_CXX="-z nodefs"
13856 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"
13858 # Determine the default libpath from the value encoded in an
13859 # empty executable.
13860 if test set = "${lt_cv_aix_libpath+set}"; then
13861 aix_libpath=$lt_cv_aix_libpath
13863 if ${lt_cv_aix_libpath__CXX+:} false; then :
13864 $as_echo_n "(cached) " >&6
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13877 if ac_fn_cxx_try_link "$LINENO"; then :
13879 lt_aix_libpath_sed='
13880 /Import File Strings/,/^$/ {
13882 s/^0 *\([^ ]*\) *$/\1/
13886 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13887 # Check for a 64-bit object if we didn't find anything.
13888 if test -z "$lt_cv_aix_libpath__CXX"; then
13889 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13892 rm -f core conftest.err conftest.$ac_objext \
13893 conftest$ac_exeext conftest.$ac_ext
13894 if test -z "$lt_cv_aix_libpath__CXX"; then
13895 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13900 aix_libpath=$lt_cv_aix_libpath__CXX
13903 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13904 # Warning - without using the other run time loading flags,
13905 # -berok will link without error, but may produce a broken library.
13906 no_undefined_flag_CXX=' $wl-bernotok'
13907 allow_undefined_flag_CXX=' $wl-berok'
13908 if test yes = "$with_gnu_ld"; then
13909 # We only use this code for GNU lds that support --whole-archive.
13910 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13912 # Exported symbols can be pulled into shared objects from archives
13913 whole_archive_flag_spec_CXX='$convenience'
13915 archive_cmds_need_lc_CXX=yes
13916 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13917 # -brtl affects multiple linker settings, -berok does not and is overridden later
13918 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13919 if test svr4 != "$with_aix_soname"; then
13920 # This is similar to how AIX traditionally builds its shared
13921 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13922 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13924 if test aix != "$with_aix_soname"; then
13925 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13927 # used by -dlpreopen to get the symbols
13928 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13930 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13936 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13937 allow_undefined_flag_CXX=unsupported
13938 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13939 # support --undefined. This deserves some investigation. FIXME
13940 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13947 case $cc_basename in
13949 # FIXME: insert proper C++ library support
13955 cygwin* | mingw* | pw32* | cegcc*)
13956 case $GXX,$cc_basename in
13959 # hardcode_libdir_flag_spec is actually meaningless, as there is
13960 # no search path for DLLs.
13961 hardcode_libdir_flag_spec_CXX=' '
13962 allow_undefined_flag_CXX=unsupported
13963 always_export_symbols_CXX=yes
13964 file_list_spec_CXX='@'
13965 # Tell ltmain to make .lib files, not .a files.
13967 # Tell ltmain to make .dll files, not .so files.
13969 # FIXME: Setting linknames here is a bad hack.
13970 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13971 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13972 cp "$export_symbols" "$output_objdir/$soname.def";
13973 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13975 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13977 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13979 # The linker will not automatically build a static lib if we build a DLL.
13980 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13981 enable_shared_with_static_runtimes_CXX=yes
13983 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13984 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13985 lt_tool_outputfile="@TOOL_OUTPUT@"~
13986 case $lt_outputfile in
13989 lt_outputfile=$lt_outputfile.exe
13990 lt_tool_outputfile=$lt_tool_outputfile.exe
13993 func_to_tool_file "$lt_outputfile"~
13994 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13995 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13996 $RM "$lt_outputfile.manifest";
14001 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14002 # as there is no search path for DLLs.
14003 hardcode_libdir_flag_spec_CXX='-L$libdir'
14004 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14005 allow_undefined_flag_CXX=unsupported
14006 always_export_symbols_CXX=no
14007 enable_shared_with_static_runtimes_CXX=yes
14009 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14010 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'
14011 # If the export-symbols file already is a .def file, use it as
14012 # is; otherwise, prepend EXPORTS...
14013 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14014 cp $export_symbols $output_objdir/$soname.def;
14016 echo EXPORTS > $output_objdir/$soname.def;
14017 cat $export_symbols >> $output_objdir/$soname.def;
14019 $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'
14026 darwin* | rhapsody*)
14029 archive_cmds_need_lc_CXX=no
14030 hardcode_direct_CXX=no
14031 hardcode_automatic_CXX=yes
14032 hardcode_shlibpath_var_CXX=unsupported
14033 if test yes = "$lt_cv_ld_force_load"; then
14034 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\"`'
14037 whole_archive_flag_spec_CXX=''
14039 link_all_deplibs_CXX=yes
14040 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14041 case $cc_basename in
14042 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14043 *) _lt_dar_can_shared=$GCC ;;
14045 if test yes = "$_lt_dar_can_shared"; then
14046 output_verbose_link_cmd=func_echo_all
14047 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"
14048 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14049 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"
14050 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"
14051 if test yes != "$lt_cv_apple_cc_single_mod"; then
14052 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"
14053 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"
14063 hardcode_libdir_flag_spec_CXX='-L$libdir'
14064 hardcode_minus_L_CXX=yes
14065 allow_undefined_flag_CXX=unsupported
14067 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14068 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14069 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14070 $ECHO EXPORTS >> $output_objdir/$libname.def~
14071 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14072 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14073 emximp -o $lib $output_objdir/$libname.def'
14074 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14075 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14076 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14077 $ECHO EXPORTS >> $output_objdir/$libname.def~
14078 prefix_cmds="$SED"~
14079 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14080 prefix_cmds="$prefix_cmds -e 1d";
14082 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14083 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14084 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14085 emximp -o $lib $output_objdir/$libname.def'
14086 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14087 enable_shared_with_static_runtimes_CXX=yes
14091 case $cc_basename in
14093 # FIXME: insert proper C++ library support
14097 # Green Hills C++ Compiler
14098 # FIXME: insert proper C++ library support
14102 # FIXME: insert proper C++ library support
14109 # C++ shared libraries reported to be fairly broken before
14115 archive_cmds_need_lc_CXX=no
14118 freebsd* | dragonfly*)
14119 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14125 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14126 link_all_deplibs_CXX=yes
14130 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14131 hardcode_libdir_separator_CXX=:
14132 export_dynamic_flag_spec_CXX='$wl-E'
14133 hardcode_direct_CXX=yes
14134 hardcode_minus_L_CXX=yes # Not in the search PATH,
14135 # but as the default
14136 # location of the library.
14138 case $cc_basename in
14140 # FIXME: insert proper C++ library support
14144 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14145 # Commands to make compiler produce verbose output that lists
14146 # what "hidden" libraries, object files and flags are used when
14147 # linking a shared library.
14149 # There doesn't appear to be a way to prevent this compiler from
14150 # explicitly linking system object files so we need to strip them
14151 # from the output so that they don't get included in the library
14153 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"'
14156 if test yes = "$GXX"; then
14157 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14159 # FIXME: insert proper C++ library support
14167 if test no = "$with_gnu_ld"; then
14168 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14169 hardcode_libdir_separator_CXX=:
14175 export_dynamic_flag_spec_CXX='$wl-E'
14181 hardcode_direct_CXX=no
14182 hardcode_shlibpath_var_CXX=no
14185 hardcode_direct_CXX=yes
14186 hardcode_direct_absolute_CXX=yes
14187 hardcode_minus_L_CXX=yes # Not in the search PATH,
14188 # but as the default
14189 # location of the library.
14193 case $cc_basename in
14195 # FIXME: insert proper C++ library support
14201 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14204 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14207 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14210 # Commands to make compiler produce verbose output that lists
14211 # what "hidden" libraries, object files and flags are used when
14212 # linking a shared library.
14214 # There doesn't appear to be a way to prevent this compiler from
14215 # explicitly linking system object files so we need to strip them
14216 # from the output so that they don't get included in the library
14218 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"'
14221 if test yes = "$GXX"; then
14222 if test no = "$with_gnu_ld"; then
14225 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14228 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14231 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'
14236 # FIXME: insert proper C++ library support
14244 hardcode_direct_CXX=no
14245 hardcode_shlibpath_var_CXX=no
14246 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14247 export_dynamic_flag_spec_CXX='$wl-E'
14248 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14249 # Instead, shared libraries are loaded at an image base (0x10000000 by
14250 # default) and relocated if they conflict, which is a slow very memory
14251 # consuming and fragmenting process. To avoid this, we pick a random,
14252 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14253 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14254 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'
14255 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'
14258 case $cc_basename in
14261 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'
14263 # Archives containing C++ object files must be created using
14264 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14265 # necessary to make sure instantiated templates are included
14267 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14270 if test yes = "$GXX"; then
14271 if test no = "$with_gnu_ld"; then
14272 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'
14274 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'
14277 link_all_deplibs_CXX=yes
14280 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14281 hardcode_libdir_separator_CXX=:
14282 inherit_rpath_CXX=yes
14285 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14286 case $cc_basename in
14288 # Kuck and Associates, Inc. (KAI) C++ Compiler
14290 # KCC will only create a shared library if the output file
14291 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14292 # to its proper name (with version) after linking.
14293 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'
14294 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'
14295 # Commands to make compiler produce verbose output that lists
14296 # what "hidden" libraries, object files and flags are used when
14297 # linking a shared library.
14299 # There doesn't appear to be a way to prevent this compiler from
14300 # explicitly linking system object files so we need to strip them
14301 # from the output so that they don't get included in the library
14303 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"'
14305 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14306 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14308 # Archives containing C++ object files must be created using
14309 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14310 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14315 # version 8.0 and above of icpc choke on multiply defined symbols
14316 # if we add $predep_objects and $postdep_objects, however 7.1 and
14317 # earlier do not add the objects themselves.
14318 case `$CC -V 2>&1` in
14320 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14321 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'
14323 *) # Version 8.0 or newer
14326 ia64*) tmp_idyn=' -i_dynamic';;
14328 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14329 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'
14332 archive_cmds_need_lc_CXX=no
14333 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14334 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14335 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14338 # Portland Group C++ compiler
14340 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14341 prelink_cmds_CXX='tpldir=Template.dir~
14343 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14344 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14345 old_archive_cmds_CXX='tpldir=Template.dir~
14347 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14348 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14350 archive_cmds_CXX='tpldir=Template.dir~
14352 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14353 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14354 archive_expsym_cmds_CXX='tpldir=Template.dir~
14356 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14357 $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'
14359 *) # Version 6 and above use weak symbols
14360 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14361 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'
14365 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14366 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14367 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'
14371 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14372 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'
14374 runpath_var=LD_RUN_PATH
14375 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14376 hardcode_libdir_separator_CXX=:
14378 # Commands to make compiler produce verbose output that lists
14379 # what "hidden" libraries, object files and flags are used when
14380 # linking a shared library.
14382 # There doesn't appear to be a way to prevent this compiler from
14383 # explicitly linking system object files so we need to strip them
14384 # from the output so that they don't get included in the library
14386 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'
14388 xl* | mpixl* | bgxl*)
14389 # IBM XL 8.0 on PPC, with GNU ld
14390 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14391 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14392 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14393 if test yes = "$supports_anon_versioning"; then
14394 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14395 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14396 echo "local: *; };" >> $output_objdir/$libname.ver~
14397 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14401 case `$CC -V 2>&1 | sed 5q` in
14404 no_undefined_flag_CXX=' -zdefs'
14405 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14406 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'
14407 hardcode_libdir_flag_spec_CXX='-R$libdir'
14408 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'
14409 compiler_needs_object_CXX=yes
14411 # Not sure whether something based on
14412 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14414 output_verbose_link_cmd='func_echo_all'
14416 # Archives containing C++ object files must be created using
14417 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14418 # necessary to make sure instantiated templates are included
14420 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14428 # FIXME: insert proper C++ library support
14433 # FIXME: insert proper C++ library support
14438 case $cc_basename in
14440 # FIXME: insert proper C++ library support
14444 # FIXME: insert proper C++ library support
14451 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14452 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14454 hardcode_libdir_flag_spec_CXX='-R$libdir'
14455 hardcode_direct_CXX=yes
14456 hardcode_shlibpath_var_CXX=no
14458 # Workaround some broken pre-1.5 toolchains
14459 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14466 openbsd* | bitrig*)
14467 if test -f /usr/libexec/ld.so; then
14468 hardcode_direct_CXX=yes
14469 hardcode_shlibpath_var_CXX=no
14470 hardcode_direct_absolute_CXX=yes
14471 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14472 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14473 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14474 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14475 export_dynamic_flag_spec_CXX='$wl-E'
14476 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14478 output_verbose_link_cmd=func_echo_all
14484 osf3* | osf4* | osf5*)
14485 case $cc_basename in
14487 # Kuck and Associates, Inc. (KAI) C++ Compiler
14489 # KCC will only create a shared library if the output file
14490 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14491 # to its proper name (with version) after linking.
14492 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'
14494 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14495 hardcode_libdir_separator_CXX=:
14497 # Archives containing C++ object files must be created using
14498 # the KAI C++ compiler.
14500 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14501 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14505 # Rational C++ 2.4.1
14506 # FIXME: insert proper C++ library support
14512 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14513 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'
14514 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14517 allow_undefined_flag_CXX=' -expect_unresolved \*'
14518 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'
14519 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14520 echo "-hidden">> $lib.exp~
14521 $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~
14523 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14527 hardcode_libdir_separator_CXX=:
14529 # Commands to make compiler produce verbose output that lists
14530 # what "hidden" libraries, object files and flags are used when
14531 # linking a shared library.
14533 # There doesn't appear to be a way to prevent this compiler from
14534 # explicitly linking system object files so we need to strip them
14535 # from the output so that they don't get included in the library
14537 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"'
14540 if test yes,no = "$GXX,$with_gnu_ld"; then
14541 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14544 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'
14547 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'
14551 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14552 hardcode_libdir_separator_CXX=:
14554 # Commands to make compiler produce verbose output that lists
14555 # what "hidden" libraries, object files and flags are used when
14556 # linking a shared library.
14557 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14560 # FIXME: insert proper C++ library support
14568 # FIXME: insert proper C++ library support
14573 case $cc_basename in
14576 # FIXME: insert proper C++ library support
14581 # FIXME: insert proper C++ library support
14585 # FIXME: insert proper C++ library support
14592 case $cc_basename in
14594 # Sun C++ 4.2, 5.x and Centerline C++
14595 archive_cmds_need_lc_CXX=yes
14596 no_undefined_flag_CXX=' -zdefs'
14597 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14598 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14599 $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'
14601 hardcode_libdir_flag_spec_CXX='-R$libdir'
14602 hardcode_shlibpath_var_CXX=no
14604 solaris2.[0-5] | solaris2.[0-5].*) ;;
14606 # The compiler driver will combine and reorder linker options,
14607 # but understands '-z linker_flag'.
14608 # Supported since Solaris 2.6 (maybe 2.5.1?)
14609 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14612 link_all_deplibs_CXX=yes
14614 output_verbose_link_cmd='func_echo_all'
14616 # Archives containing C++ object files must be created using
14617 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14618 # necessary to make sure instantiated templates are included
14620 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14623 # Green Hills C++ Compiler
14624 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14626 # The C++ compiler must be used to create the archive.
14627 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14630 # GNU C++ compiler with Solaris linker
14631 if test yes,no = "$GXX,$with_gnu_ld"; then
14632 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14633 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14634 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14635 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14636 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14638 # Commands to make compiler produce verbose output that lists
14639 # what "hidden" libraries, object files and flags are used when
14640 # linking a shared library.
14641 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14643 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14645 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14646 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14647 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14649 # Commands to make compiler produce verbose output that lists
14650 # what "hidden" libraries, object files and flags are used when
14651 # linking a shared library.
14652 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14655 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14657 solaris2.[0-5] | solaris2.[0-5].*) ;;
14659 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14667 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14668 no_undefined_flag_CXX='$wl-z,text'
14669 archive_cmds_need_lc_CXX=no
14670 hardcode_shlibpath_var_CXX=no
14671 runpath_var='LD_RUN_PATH'
14673 case $cc_basename in
14675 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14676 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14679 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14680 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14685 sysv5* | sco3.2v5* | sco5v6*)
14686 # Note: We CANNOT use -z defs as we might desire, because we do not
14687 # link with -lc, and that would cause any symbols used from libc to
14688 # always be unresolved, which means just about no library would
14689 # ever link correctly. If we're not using GNU ld we use -z text
14690 # though, which does catch some bad symbols but isn't as heavy-handed
14692 no_undefined_flag_CXX='$wl-z,text'
14693 allow_undefined_flag_CXX='$wl-z,nodefs'
14694 archive_cmds_need_lc_CXX=no
14695 hardcode_shlibpath_var_CXX=no
14696 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14697 hardcode_libdir_separator_CXX=':'
14698 link_all_deplibs_CXX=yes
14699 export_dynamic_flag_spec_CXX='$wl-Bexport'
14700 runpath_var='LD_RUN_PATH'
14702 case $cc_basename in
14704 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14705 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14706 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14707 '"$old_archive_cmds_CXX"
14708 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14709 '"$reload_cmds_CXX"
14712 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14713 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719 case $cc_basename in
14721 # NonStop-UX NCC 3.20
14722 # FIXME: insert proper C++ library support
14726 # FIXME: insert proper C++ library support
14733 # FIXME: insert proper C++ library support
14738 # FIXME: insert proper C++ library support
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14744 $as_echo "$ld_shlibs_CXX" >&6; }
14745 test no = "$ld_shlibs_CXX" && can_build_shared=no
14751 ## There is no encapsulation within the following macros, do not change
14752 ## the running order or otherwise move them around unless you know exactly
14753 ## what you are doing...
14754 # Dependencies to place before and after the object being linked:
14755 predep_objects_CXX=
14756 postdep_objects_CXX=
14759 compiler_lib_search_path_CXX=
14761 cat > conftest.$ac_ext <<_LT_EOF
14765 Foo (void) { a = 0; }
14772 _lt_libdeps_save_CFLAGS=$CFLAGS
14773 case "$CC $CFLAGS " in #(
14774 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14775 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14776 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14780 (eval $ac_compile) 2>&5
14782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783 test $ac_status = 0; }; then
14784 # Parse the compiler output and extract the necessary
14785 # objects, libraries and library flags.
14787 # Sentinel used to keep track of whether or not we are before
14788 # the conftest object file.
14789 pre_test_object_deps_done=no
14791 for p in `eval "$output_verbose_link_cmd"`; do
14795 # Some compilers place space between "-{L,R}" and the path.
14796 # Remove the space.
14797 if test x-L = "$p" ||
14798 test x-R = "$p"; then
14803 # Expand the sysroot to ease extracting the directories later.
14804 if test -z "$prev"; then
14806 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14807 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14808 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14812 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14814 if test no = "$pre_test_object_deps_done"; then
14817 # Internal compiler library paths should come after those
14818 # provided the user. The postdeps already come after the
14819 # user supplied libs so there is no need to process them.
14820 if test -z "$compiler_lib_search_path_CXX"; then
14821 compiler_lib_search_path_CXX=$prev$p
14823 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14826 # The "-l" case would never come before the object being
14827 # linked, so don't bother handling this case.
14830 if test -z "$postdeps_CXX"; then
14831 postdeps_CXX=$prev$p
14833 postdeps_CXX="${postdeps_CXX} $prev$p"
14839 *.lto.$objext) ;; # Ignore GCC LTO objects
14841 # This assumes that the test object file only shows up
14842 # once in the compiler output.
14843 if test "$p" = "conftest.$objext"; then
14844 pre_test_object_deps_done=yes
14848 if test no = "$pre_test_object_deps_done"; then
14849 if test -z "$predep_objects_CXX"; then
14850 predep_objects_CXX=$p
14852 predep_objects_CXX="$predep_objects_CXX $p"
14855 if test -z "$postdep_objects_CXX"; then
14856 postdep_objects_CXX=$p
14858 postdep_objects_CXX="$postdep_objects_CXX $p"
14863 *) ;; # Ignore the rest.
14871 echo "libtool.m4: error: problem compiling CXX test program"
14874 $RM -f confest.$objext
14875 CFLAGS=$_lt_libdeps_save_CFLAGS
14877 # PORTME: override above test on systems where it is broken
14880 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14881 # hack all around it, let's just trust "g++" to DTRT.
14882 predep_objects_CXX=
14883 postdep_objects_CXX=
14889 case " $postdeps_CXX " in
14890 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14892 compiler_lib_search_dirs_CXX=
14893 if test -n "${compiler_lib_search_path_CXX}"; then
14894 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14927 lt_prog_compiler_wl_CXX=
14928 lt_prog_compiler_pic_CXX=
14929 lt_prog_compiler_static_CXX=
14932 # C++ specific cases for pic, static, wl, etc.
14933 if test yes = "$GXX"; then
14934 lt_prog_compiler_wl_CXX='-Wl,'
14935 lt_prog_compiler_static_CXX='-static'
14939 # All AIX code is PIC.
14940 if test ia64 = "$host_cpu"; then
14941 # AIX 5 now supports IA64 processor
14942 lt_prog_compiler_static_CXX='-Bstatic'
14944 lt_prog_compiler_pic_CXX='-fPIC'
14950 # see comment about AmigaOS4 .so support
14951 lt_prog_compiler_pic_CXX='-fPIC'
14954 # FIXME: we need at least 68020 code to build shared libraries, but
14955 # adding the '-m68020' flag to GCC prevents building anything better,
14957 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14962 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14963 # PIC is the default for these OSes.
14965 mingw* | cygwin* | os2* | pw32* | cegcc*)
14966 # This hack is so that the source file can tell whether it is being
14967 # built for inclusion in a dll (and should export symbols for example).
14968 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14969 # (--disable-auto-import) libraries
14970 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14973 lt_prog_compiler_static_CXX='$wl-static'
14977 darwin* | rhapsody*)
14978 # PIC is the default on this platform
14979 # Common symbols not allowed in MH_DYLIB files
14980 lt_prog_compiler_pic_CXX='-fno-common'
14983 # DJGPP does not support shared libraries at all
14984 lt_prog_compiler_pic_CXX=
14987 # PIC is the default for Haiku.
14988 # The "-static" flag exists, but is broken.
14989 lt_prog_compiler_static_CXX=
14992 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14993 # Instead, we relocate shared libraries at runtime.
14996 if test -d /usr/nec; then
14997 lt_prog_compiler_pic_CXX=-Kconform_pic
15001 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15002 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15003 # sets the default TLS model and affects inlining.
15008 lt_prog_compiler_pic_CXX='-fPIC'
15013 # QNX uses GNU C++, but need to define -shared option too, otherwise
15014 # it will coredump.
15015 lt_prog_compiler_pic_CXX='-fPIC -shared'
15018 lt_prog_compiler_pic_CXX='-fPIC'
15024 # All AIX code is PIC.
15025 if test ia64 = "$host_cpu"; then
15026 # AIX 5 now supports IA64 processor
15027 lt_prog_compiler_static_CXX='-Bstatic'
15029 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15033 case $cc_basename in
15035 # Green Hills C++ Compiler
15036 # _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"
15040 mingw* | cygwin* | os2* | pw32* | cegcc*)
15041 # This hack is so that the source file can tell whether it is being
15042 # built for inclusion in a dll (and should export symbols for example).
15043 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15046 case $cc_basename in
15048 lt_prog_compiler_pic_CXX='-KPIC'
15051 # Green Hills C++ Compiler
15052 lt_prog_compiler_pic_CXX='-pic'
15058 freebsd* | dragonfly*)
15059 # FreeBSD uses GNU C++
15061 hpux9* | hpux10* | hpux11*)
15062 case $cc_basename in
15064 lt_prog_compiler_wl_CXX='-Wl,'
15065 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15066 if test ia64 != "$host_cpu"; then
15067 lt_prog_compiler_pic_CXX='+Z'
15071 lt_prog_compiler_wl_CXX='-Wl,'
15072 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15078 lt_prog_compiler_pic_CXX='+Z'
15087 # This is c89, which is MS Visual C++ (no shared libs)
15088 # Anyone wants to do a port?
15090 irix5* | irix6* | nonstopux*)
15091 case $cc_basename in
15093 lt_prog_compiler_wl_CXX='-Wl,'
15094 lt_prog_compiler_static_CXX='-non_shared'
15095 # CC pic flag -KPIC is the default.
15101 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15102 case $cc_basename in
15105 lt_prog_compiler_wl_CXX='--backend -Wl,'
15106 lt_prog_compiler_pic_CXX='-fPIC'
15109 # old Intel C++ for x86_64, which still supported -KPIC.
15110 lt_prog_compiler_wl_CXX='-Wl,'
15111 lt_prog_compiler_pic_CXX='-KPIC'
15112 lt_prog_compiler_static_CXX='-static'
15115 # Intel C++, used to be incompatible with GCC.
15116 # ICC 10 doesn't accept -KPIC any more.
15117 lt_prog_compiler_wl_CXX='-Wl,'
15118 lt_prog_compiler_pic_CXX='-fPIC'
15119 lt_prog_compiler_static_CXX='-static'
15122 # Portland Group C++ compiler
15123 lt_prog_compiler_wl_CXX='-Wl,'
15124 lt_prog_compiler_pic_CXX='-fpic'
15125 lt_prog_compiler_static_CXX='-Bstatic'
15129 # Make sure the PIC flag is empty. It appears that all Alpha
15130 # Linux and Compaq Tru64 Unix objects are PIC.
15131 lt_prog_compiler_pic_CXX=
15132 lt_prog_compiler_static_CXX='-non_shared'
15134 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15135 # IBM XL 8.0, 9.0 on PPC and BlueGene
15136 lt_prog_compiler_wl_CXX='-Wl,'
15137 lt_prog_compiler_pic_CXX='-qpic'
15138 lt_prog_compiler_static_CXX='-qstaticlink'
15141 case `$CC -V 2>&1 | sed 5q` in
15144 lt_prog_compiler_pic_CXX='-KPIC'
15145 lt_prog_compiler_static_CXX='-Bstatic'
15146 lt_prog_compiler_wl_CXX='-Qoption ld '
15157 case $cc_basename in
15159 lt_prog_compiler_pic_CXX='-W c,exportall'
15165 netbsd* | netbsdelf*-gnu)
15168 # QNX uses GNU C++, but need to define -shared option too, otherwise
15169 # it will coredump.
15170 lt_prog_compiler_pic_CXX='-fPIC -shared'
15172 osf3* | osf4* | osf5*)
15173 case $cc_basename in
15175 lt_prog_compiler_wl_CXX='--backend -Wl,'
15178 # Rational C++ 2.4.1
15179 lt_prog_compiler_pic_CXX='-pic'
15182 # Digital/Compaq C++
15183 lt_prog_compiler_wl_CXX='-Wl,'
15184 # Make sure the PIC flag is empty. It appears that all Alpha
15185 # Linux and Compaq Tru64 Unix objects are PIC.
15186 lt_prog_compiler_pic_CXX=
15187 lt_prog_compiler_static_CXX='-non_shared'
15196 case $cc_basename in
15198 # Sun C++ 4.2, 5.x and Centerline C++
15199 lt_prog_compiler_pic_CXX='-KPIC'
15200 lt_prog_compiler_static_CXX='-Bstatic'
15201 lt_prog_compiler_wl_CXX='-Qoption ld '
15204 # Green Hills C++ Compiler
15205 lt_prog_compiler_pic_CXX='-PIC'
15212 case $cc_basename in
15215 lt_prog_compiler_pic_CXX='-pic'
15216 lt_prog_compiler_static_CXX='-Bstatic'
15220 lt_prog_compiler_pic_CXX='-pic'
15226 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15227 case $cc_basename in
15229 lt_prog_compiler_wl_CXX='-Wl,'
15230 lt_prog_compiler_pic_CXX='-KPIC'
15231 lt_prog_compiler_static_CXX='-Bstatic'
15236 case $cc_basename in
15238 # NonStop-UX NCC 3.20
15239 lt_prog_compiler_pic_CXX='-KPIC'
15248 lt_prog_compiler_can_build_shared_CXX=no
15254 # For platforms that do not support PIC, -DPIC is meaningless:
15256 lt_prog_compiler_pic_CXX=
15259 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15264 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15265 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15266 $as_echo_n "(cached) " >&6
15268 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15271 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15272 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15275 # Check to make sure the PIC flag actually works.
15277 if test -n "$lt_prog_compiler_pic_CXX"; then
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15279 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15280 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15281 $as_echo_n "(cached) " >&6
15283 lt_cv_prog_compiler_pic_works_CXX=no
15284 ac_outfile=conftest.$ac_objext
15285 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15286 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15287 # Insert the option either (1) after the last *FLAGS variable, or
15288 # (2) before a word containing "conftest.", or (3) at the end.
15289 # Note that $ac_compile itself does not contain backslashes and begins
15290 # with a dollar sign (not a hyphen), so the echo should work correctly.
15291 # The option is referenced via a variable to avoid confusing sed.
15292 lt_compile=`echo "$ac_compile" | $SED \
15293 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15295 -e 's:$: $lt_compiler_flag:'`
15296 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15297 (eval "$lt_compile" 2>conftest.err)
15299 cat conftest.err >&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 if (exit $ac_status) && test -s "$ac_outfile"; then
15302 # The compiler can only warn and ignore the option if not recognized
15303 # So say no if there are warnings other than the usual output.
15304 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15305 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15306 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15307 lt_cv_prog_compiler_pic_works_CXX=yes
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15314 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15316 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15317 case $lt_prog_compiler_pic_CXX in
15319 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15322 lt_prog_compiler_pic_CXX=
15323 lt_prog_compiler_can_build_shared_CXX=no
15333 # Check to make sure the static flag actually works.
15335 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15337 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15338 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15339 $as_echo_n "(cached) " >&6
15341 lt_cv_prog_compiler_static_works_CXX=no
15342 save_LDFLAGS=$LDFLAGS
15343 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15344 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15345 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15346 # The linker can only warn and ignore the option if not recognized
15347 # So say no if there are warnings
15348 if test -s conftest.err; then
15349 # Append any errors to the config.log.
15350 cat conftest.err 1>&5
15351 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15352 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15353 if diff conftest.exp conftest.er2 >/dev/null; then
15354 lt_cv_prog_compiler_static_works_CXX=yes
15357 lt_cv_prog_compiler_static_works_CXX=yes
15361 LDFLAGS=$save_LDFLAGS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15365 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15367 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15370 lt_prog_compiler_static_CXX=
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15378 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15379 $as_echo_n "(cached) " >&6
15381 lt_cv_prog_compiler_c_o_CXX=no
15382 $RM -r conftest 2>/dev/null
15386 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15388 lt_compiler_flag="-o out/conftest2.$ac_objext"
15389 # Insert the option either (1) after the last *FLAGS variable, or
15390 # (2) before a word containing "conftest.", or (3) at the end.
15391 # Note that $ac_compile itself does not contain backslashes and begins
15392 # with a dollar sign (not a hyphen), so the echo should work correctly.
15393 lt_compile=`echo "$ac_compile" | $SED \
15394 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15396 -e 's:$: $lt_compiler_flag:'`
15397 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15398 (eval "$lt_compile" 2>out/conftest.err)
15400 cat out/conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15404 # The compiler can only warn and ignore the option if not recognized
15405 # So say no if there are warnings
15406 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15407 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15408 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15409 lt_cv_prog_compiler_c_o_CXX=yes
15414 # SGI C++ compiler will create directory out/ii_files/ for
15415 # template instantiation
15416 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15417 $RM out/* && rmdir out
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15424 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15429 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15430 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15431 $as_echo_n "(cached) " >&6
15433 lt_cv_prog_compiler_c_o_CXX=no
15434 $RM -r conftest 2>/dev/null
15438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15440 lt_compiler_flag="-o out/conftest2.$ac_objext"
15441 # Insert the option either (1) after the last *FLAGS variable, or
15442 # (2) before a word containing "conftest.", or (3) at the end.
15443 # Note that $ac_compile itself does not contain backslashes and begins
15444 # with a dollar sign (not a hyphen), so the echo should work correctly.
15445 lt_compile=`echo "$ac_compile" | $SED \
15446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15448 -e 's:$: $lt_compiler_flag:'`
15449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15450 (eval "$lt_compile" 2>out/conftest.err)
15452 cat out/conftest.err >&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15456 # The compiler can only warn and ignore the option if not recognized
15457 # So say no if there are warnings
15458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15459 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15460 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15461 lt_cv_prog_compiler_c_o_CXX=yes
15466 # SGI C++ compiler will create directory out/ii_files/ for
15467 # template instantiation
15468 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15469 $RM out/* && rmdir out
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15476 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15481 hard_links=nottested
15482 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15483 # do not overwrite the value of need_locks provided by the user
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15485 $as_echo_n "checking if we can lock with hard links... " >&6; }
15488 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15490 ln conftest.a conftest.b 2>&5 || hard_links=no
15491 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15493 $as_echo "$hard_links" >&6; }
15494 if test no = "$hard_links"; then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15496 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15506 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15508 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15509 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15512 # If we're using GNU nm, then we don't want the "-C" option.
15513 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15514 # Without the "-l" option, or with the "-B" option, AIX nm treats
15515 # weak defined symbols like other global defined symbols, whereas
15516 # GNU nm marks them as "W".
15517 # While the 'weak' keyword is ignored in the Export File, we need
15518 # it in the Import File for the 'aix-soname' feature, so we have
15519 # to replace the "-B" option with "-P" for AIX nm.
15520 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15521 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15523 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15527 export_symbols_cmds_CXX=$ltdll_cmds
15529 cygwin* | mingw* | cegcc*)
15530 case $cc_basename in
15532 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15535 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'
15536 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15540 linux* | k*bsd*-gnu | gnu*)
15541 link_all_deplibs_CXX=no
15544 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15549 $as_echo "$ld_shlibs_CXX" >&6; }
15550 test no = "$ld_shlibs_CXX" && can_build_shared=no
15552 with_gnu_ld_CXX=$with_gnu_ld
15560 # Do we need to explicitly link libc?
15562 case "x$archive_cmds_need_lc_CXX" in
15564 # Assume -lc should be added
15565 archive_cmds_need_lc_CXX=yes
15567 if test yes,yes = "$GCC,$enable_shared"; then
15568 case $archive_cmds_CXX in
15570 # FIXME: we may have to deal with multi-command sequences.
15573 # Test whether the compiler implicitly links with -lc since on some
15574 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15575 # to ld, don't add -lc before -lgcc.
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15577 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15578 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15579 $as_echo_n "(cached) " >&6
15582 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15585 (eval $ac_compile) 2>&5
15587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15588 test $ac_status = 0; } 2>conftest.err; then
15591 libobjs=conftest.$ac_objext
15593 wl=$lt_prog_compiler_wl_CXX
15594 pic_flag=$lt_prog_compiler_pic_CXX
15600 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15601 allow_undefined_flag_CXX=
15602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15603 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606 test $ac_status = 0; }
15608 lt_cv_archive_cmds_need_lc_CXX=no
15610 lt_cv_archive_cmds_need_lc_CXX=yes
15612 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15614 cat conftest.err 1>&5
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15620 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15621 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15690 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15692 library_names_spec=
15693 libname_spec='lib$name'
15697 postuninstall_cmds=
15701 shlibpath_overrides_runpath=unknown
15703 dynamic_linker="$host_os ld.so"
15704 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15705 need_lib_prefix=unknown
15706 hardcode_into_libs=no
15708 # when you set need_version to no, make sure it does not cause -set_version
15709 # flags to be left without arguments
15710 need_version=unknown
15716 version_type=linux # correct to gnu/linux during the next big refactor
15717 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15718 shlibpath_var=LIBPATH
15720 # AIX 3 has no versioning support, so we append a major version to the name.
15721 soname_spec='$libname$release$shared_ext$major'
15725 version_type=linux # correct to gnu/linux during the next big refactor
15728 hardcode_into_libs=yes
15729 if test ia64 = "$host_cpu"; then
15730 # AIX 5 supports IA64
15731 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15732 shlibpath_var=LD_LIBRARY_PATH
15734 # With GCC up to 2.95.x, collect2 would create an import file
15735 # for dependence libraries. The import file would start with
15736 # the line '#! .'. This would cause the generated library to
15737 # depend on '.', always an invalid library. This was fixed in
15738 # development snapshots of GCC prior to 3.0.
15740 aix4 | aix4.[01] | aix4.[01].*)
15741 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15743 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15746 can_build_shared=no
15750 # Using Import Files as archive members, it is possible to support
15751 # filename-based versioning of shared library archives on AIX. While
15752 # this would work for both with and without runtime linking, it will
15753 # prevent static linking of such archives. So we do filename-based
15754 # shared library versioning with .so extension only, which is used
15755 # when both runtime linking and shared linking is enabled.
15756 # Unfortunately, runtime linking may impact performance, so we do
15757 # not want this to be the default eventually. Also, we use the
15758 # versioned .so libs for executables only if there is the -brtl
15759 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15760 # To allow for filename-based versioning support, we need to create
15761 # libNAME.so.V as an archive file, containing:
15762 # *) an Import File, referring to the versioned filename of the
15763 # archive as well as the shared archive member, telling the
15764 # bitwidth (32 or 64) of that shared object, and providing the
15765 # list of exported symbols of that shared object, eventually
15766 # decorated with the 'weak' keyword
15767 # *) the shared object with the F_LOADONLY flag set, to really avoid
15768 # it being seen by the linker.
15769 # At run time we better use the real file rather than another symlink,
15770 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15772 case $with_aix_soname,$aix_use_runtimelinking in
15773 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15774 # soname into executable. Probably we can add versioning support to
15775 # collect2, so additional links can be useful in future.
15776 aix,yes) # traditional libtool
15777 dynamic_linker='AIX unversionable lib.so'
15778 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15779 # instead of lib<name>.a to let people know that these are not
15780 # typical AIX shared libraries.
15781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15783 aix,no) # traditional AIX only
15784 dynamic_linker='AIX lib.a(lib.so.V)'
15785 # We preserve .a as extension for shared libraries through AIX4.2
15786 # and later when we are not doing run time linking.
15787 library_names_spec='$libname$release.a $libname.a'
15788 soname_spec='$libname$release$shared_ext$major'
15790 svr4,*) # full svr4 only
15791 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15792 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15793 # We do not specify a path in Import Files, so LIBPATH fires.
15794 shlibpath_overrides_runpath=yes
15796 *,yes) # both, prefer svr4
15797 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15798 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15799 # unpreferred sharedlib libNAME.a needs extra handling
15800 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15801 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15802 # We do not specify a path in Import Files, so LIBPATH fires.
15803 shlibpath_overrides_runpath=yes
15805 *,no) # both, prefer aix
15806 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15807 library_names_spec='$libname$release.a $libname.a'
15808 soname_spec='$libname$release$shared_ext$major'
15809 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15810 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15811 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15814 shlibpath_var=LIBPATH
15821 # Since July 2007 AmigaOS4 officially supports .so libraries.
15822 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15823 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15826 library_names_spec='$libname.ixlibrary $libname.a'
15827 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15828 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15834 library_names_spec='$libname$shared_ext'
15835 dynamic_linker="$host_os ld.so"
15836 shlibpath_var=LIBRARY_PATH
15840 version_type=linux # correct to gnu/linux during the next big refactor
15842 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15843 soname_spec='$libname$release$shared_ext$major'
15844 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15845 shlibpath_var=LD_LIBRARY_PATH
15846 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15847 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15848 # the default ld.so.conf also contains /usr/contrib/lib and
15849 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15850 # libtool to hard-code these into programs
15853 cygwin* | mingw* | pw32* | cegcc*)
15854 version_type=windows
15859 case $GCC,$cc_basename in
15862 library_names_spec='$libname.dll.a'
15863 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15864 postinstall_cmds='base_file=`basename \$file`~
15865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15866 dldir=$destdir/`dirname \$dlpath`~
15867 test -d \$dldir || mkdir -p \$dldir~
15868 $install_prog $dir/$dlname \$dldir/$dlname~
15869 chmod a+x \$dldir/$dlname~
15870 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15871 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15873 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15874 dlpath=$dir/\$dldll~
15876 shlibpath_overrides_runpath=yes
15880 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15881 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15885 # MinGW DLLs use traditional 'lib' prefix
15886 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15889 # pw32 DLLs use 'pw' prefix rather than 'lib'
15890 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15893 dynamic_linker='Win32 ld.exe'
15898 libname_spec='$name'
15899 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15900 library_names_spec='$libname.dll.lib'
15904 sys_lib_search_path_spec=
15907 for lt_path in $LIB
15910 # Let DOS variable expansion print the short 8.3 style file name.
15911 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15912 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15915 # Convert to MSYS style.
15916 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15919 # Convert to unix form, then to dos form, then back to unix form
15920 # but this time dos style (no spaces!) so that the unix form looks
15921 # like /cygdrive/c/PROGRA~1:/cygdr...
15922 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15923 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15924 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15927 sys_lib_search_path_spec=$LIB
15928 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15929 # It is most probably a Windows format PATH.
15930 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15932 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15934 # FIXME: find the short name or the path components, as spaces are
15935 # common. (e.g. "Program Files" -> "PROGRA~1")
15939 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15940 postinstall_cmds='base_file=`basename \$file`~
15941 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15942 dldir=$destdir/`dirname \$dlpath`~
15943 test -d \$dldir || mkdir -p \$dldir~
15944 $install_prog $dir/$dlname \$dldir/$dlname'
15945 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15946 dlpath=$dir/\$dldll~
15948 shlibpath_overrides_runpath=yes
15949 dynamic_linker='Win32 link.exe'
15953 # Assume MSVC wrapper
15954 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15955 dynamic_linker='Win32 ld.exe'
15958 # FIXME: first we should search . and the directory the executable is in
15962 darwin* | rhapsody*)
15963 dynamic_linker="$host_os dyld"
15964 version_type=darwin
15967 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15968 soname_spec='$libname$release$major$shared_ext'
15969 shlibpath_overrides_runpath=yes
15970 shlibpath_var=DYLD_LIBRARY_PATH
15971 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15973 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15977 version_type=linux # correct to gnu/linux during the next big refactor
15980 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15981 soname_spec='$libname$release$shared_ext$major'
15982 shlibpath_var=LD_LIBRARY_PATH
15985 freebsd* | dragonfly*)
15986 # DragonFly does not have aout. When/if they implement a new
15987 # versioning mechanism, adjust this.
15988 if test -x /usr/bin/objformat; then
15989 objformat=`/usr/bin/objformat`
15992 freebsd[23].*) objformat=aout ;;
15993 *) objformat=elf ;;
15996 version_type=freebsd-$objformat
15997 case $version_type in
15999 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16000 soname_spec='$libname$release$shared_ext$major'
16005 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16009 shlibpath_var=LD_LIBRARY_PATH
16012 shlibpath_overrides_runpath=yes
16014 freebsd3.[01]* | freebsdelf3.[01]*)
16015 shlibpath_overrides_runpath=yes
16016 hardcode_into_libs=yes
16018 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16019 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16020 shlibpath_overrides_runpath=no
16021 hardcode_into_libs=yes
16023 *) # from 4.6 on, and DragonFly
16024 shlibpath_overrides_runpath=yes
16025 hardcode_into_libs=yes
16031 version_type=linux # correct to gnu/linux during the next big refactor
16034 dynamic_linker="$host_os runtime_loader"
16035 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16036 soname_spec='$libname$release$shared_ext$major'
16037 shlibpath_var=LIBRARY_PATH
16038 shlibpath_overrides_runpath=no
16039 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16040 hardcode_into_libs=yes
16043 hpux9* | hpux10* | hpux11*)
16044 # Give a soname corresponding to the major version so that dld.sl refuses to
16045 # link against other versions.
16052 hardcode_into_libs=yes
16053 dynamic_linker="$host_os dld.so"
16054 shlibpath_var=LD_LIBRARY_PATH
16055 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16056 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16057 soname_spec='$libname$release$shared_ext$major'
16058 if test 32 = "$HPUX_IA64_MODE"; then
16059 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16060 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16062 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16063 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16068 hardcode_into_libs=yes
16069 dynamic_linker="$host_os dld.sl"
16070 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16071 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16072 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16073 soname_spec='$libname$release$shared_ext$major'
16074 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16079 dynamic_linker="$host_os dld.sl"
16080 shlibpath_var=SHLIB_PATH
16081 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16082 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16083 soname_spec='$libname$release$shared_ext$major'
16086 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16087 postinstall_cmds='chmod 555 $lib'
16088 # or fails outright, so override atomically:
16089 install_override_mode=555
16093 version_type=linux # correct to gnu/linux during the next big refactor
16096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16097 soname_spec='$libname$release$shared_ext$major'
16098 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16099 shlibpath_var=LD_LIBRARY_PATH
16100 shlibpath_overrides_runpath=no
16101 hardcode_into_libs=yes
16104 irix5* | irix6* | nonstopux*)
16106 nonstopux*) version_type=nonstopux ;;
16108 if test yes = "$lt_cv_prog_gnu_ld"; then
16109 version_type=linux # correct to gnu/linux during the next big refactor
16116 soname_spec='$libname$release$shared_ext$major'
16117 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16119 irix5* | nonstopux*)
16120 libsuff= shlibsuff=
16123 case $LD in # libtool.m4 will add one of these switches to LD
16124 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16125 libsuff= shlibsuff= libmagic=32-bit;;
16126 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16127 libsuff=32 shlibsuff=N32 libmagic=N32;;
16128 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16129 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16130 *) libsuff= shlibsuff= libmagic=never-match;;
16134 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16135 shlibpath_overrides_runpath=no
16136 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16137 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16138 hardcode_into_libs=yes
16141 # No shared lib support for Linux oldld, aout, or coff.
16142 linux*oldld* | linux*aout* | linux*coff*)
16147 version_type=none # Android doesn't support versioned libraries.
16150 library_names_spec='$libname$release$shared_ext'
16151 soname_spec='$libname$release$shared_ext'
16153 shlibpath_var=LD_LIBRARY_PATH
16154 shlibpath_overrides_runpath=yes
16156 # This implies no fast_install, which is unacceptable.
16157 # Some rework will be needed to allow for fast_install
16158 # before this can be enabled.
16159 hardcode_into_libs=yes
16161 dynamic_linker='Android linker'
16162 # Don't embed -rpath directories since the linker doesn't support them.
16163 hardcode_libdir_flag_spec_CXX='-L$libdir'
16166 # This must be glibc/ELF.
16167 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16168 version_type=linux # correct to gnu/linux during the next big refactor
16171 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16172 soname_spec='$libname$release$shared_ext$major'
16173 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16174 shlibpath_var=LD_LIBRARY_PATH
16175 shlibpath_overrides_runpath=no
16177 # Some binutils ld are patched to set DT_RUNPATH
16178 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16179 $as_echo_n "(cached) " >&6
16181 lt_cv_shlibpath_overrides_runpath=no
16182 save_LDFLAGS=$LDFLAGS
16183 save_libdir=$libdir
16184 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16185 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16197 if ac_fn_cxx_try_link "$LINENO"; then :
16198 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16199 lt_cv_shlibpath_overrides_runpath=yes
16202 rm -f core conftest.err conftest.$ac_objext \
16203 conftest$ac_exeext conftest.$ac_ext
16204 LDFLAGS=$save_LDFLAGS
16205 libdir=$save_libdir
16209 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16211 # This implies no fast_install, which is unacceptable.
16212 # Some rework will be needed to allow for fast_install
16213 # before this can be enabled.
16214 hardcode_into_libs=yes
16216 # Ideally, we could use ldconfig to report *all* directores which are
16217 # searched for libraries, however this is still not possible. Aside from not
16218 # being certain /sbin/ldconfig is available, command
16219 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16220 # even though it is searched at run-time. Try to do the best guess by
16221 # appending ld.so.conf contents (and includes) to the search path.
16222 if test -f /etc/ld.so.conf; then
16223 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' ' '`
16224 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16227 # We used to test for /lib/ld.so.1 and disable shared libraries on
16228 # powerpc, because MkLinux only supported shared libraries with the
16229 # GNU dynamic linker. Since this was broken with cross compilers,
16230 # most powerpc-linux boxes support dynamic linking these days and
16231 # people can always --disable-shared, the test was removed, and we
16232 # assume the GNU/Linux dynamic linker is in use.
16233 dynamic_linker='GNU/Linux ld.so'
16240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16241 soname_spec='${libname}${release}${shared_ext}$major'
16242 shlibpath_var=LD_LIBRARY_PATH
16243 shlibpath_overrides_runpath=no
16244 hardcode_into_libs=yes
16245 dynamic_linker='NetBSD ld.elf_so'
16252 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16253 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16254 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16255 dynamic_linker='NetBSD (a.out) ld.so'
16257 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16258 soname_spec='$libname$release$shared_ext$major'
16259 dynamic_linker='NetBSD ld.elf_so'
16261 shlibpath_var=LD_LIBRARY_PATH
16262 shlibpath_overrides_runpath=yes
16263 hardcode_into_libs=yes
16267 version_type=linux # correct to gnu/linux during the next big refactor
16268 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16269 shlibpath_var=LD_LIBRARY_PATH
16270 shlibpath_overrides_runpath=yes
16277 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16278 soname_spec='$libname$release$shared_ext$major'
16279 shlibpath_var=LD_LIBRARY_PATH
16280 shlibpath_overrides_runpath=no
16281 hardcode_into_libs=yes
16282 dynamic_linker='ldqnx.so'
16285 openbsd* | bitrig*)
16287 sys_lib_dlsearch_path_spec=/usr/lib
16289 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16294 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16295 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16296 shlibpath_var=LD_LIBRARY_PATH
16297 shlibpath_overrides_runpath=yes
16301 libname_spec='$name'
16302 version_type=windows
16306 # OS/2 can only load a DLL with a base name of 8 characters or less.
16307 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16308 v=$($ECHO $release$versuffix | tr -d .-);
16309 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16310 $ECHO $n$v`$shared_ext'
16311 library_names_spec='${libname}_dll.$libext'
16312 dynamic_linker='OS/2 ld.exe'
16313 shlibpath_var=BEGINLIBPATH
16314 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16315 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16316 postinstall_cmds='base_file=`basename \$file`~
16317 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16318 dldir=$destdir/`dirname \$dlpath`~
16319 test -d \$dldir || mkdir -p \$dldir~
16320 $install_prog $dir/$dlname \$dldir/$dlname~
16321 chmod a+x \$dldir/$dlname~
16322 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16323 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16325 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16326 dlpath=$dir/\$dldll~
16330 osf3* | osf4* | osf5*)
16334 soname_spec='$libname$release$shared_ext$major'
16335 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16336 shlibpath_var=LD_LIBRARY_PATH
16337 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16346 version_type=linux # correct to gnu/linux during the next big refactor
16349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16350 soname_spec='$libname$release$shared_ext$major'
16351 shlibpath_var=LD_LIBRARY_PATH
16352 shlibpath_overrides_runpath=yes
16353 hardcode_into_libs=yes
16354 # ldd complains unless libraries are executable
16355 postinstall_cmds='chmod +x $lib'
16360 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16361 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16362 shlibpath_var=LD_LIBRARY_PATH
16363 shlibpath_overrides_runpath=yes
16364 if test yes = "$with_gnu_ld"; then
16371 version_type=linux # correct to gnu/linux during the next big refactor
16372 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16373 soname_spec='$libname$release$shared_ext$major'
16374 shlibpath_var=LD_LIBRARY_PATH
16375 case $host_vendor in
16377 shlibpath_overrides_runpath=no
16379 runpath_var=LD_RUN_PATH
16387 shlibpath_overrides_runpath=no
16388 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16394 if test -d /usr/nec; then
16395 version_type=linux # correct to gnu/linux during the next big refactor
16396 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16397 soname_spec='$libname$shared_ext.$major'
16398 shlibpath_var=LD_LIBRARY_PATH
16402 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16406 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16407 soname_spec='$libname$release$shared_ext$major'
16408 shlibpath_var=LD_LIBRARY_PATH
16409 shlibpath_overrides_runpath=yes
16410 hardcode_into_libs=yes
16411 if test yes = "$with_gnu_ld"; then
16412 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16414 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16417 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16421 sys_lib_dlsearch_path_spec='/usr/lib'
16425 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16426 version_type=linux # correct to gnu/linux during the next big refactor
16429 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16430 shlibpath_var=LD_LIBRARY_PATH
16431 shlibpath_overrides_runpath=no
16432 hardcode_into_libs=yes
16436 version_type=linux # correct to gnu/linux during the next big refactor
16437 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16438 soname_spec='$libname$release$shared_ext$major'
16439 shlibpath_var=LD_LIBRARY_PATH
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16447 $as_echo "$dynamic_linker" >&6; }
16448 test no = "$dynamic_linker" && can_build_shared=no
16450 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16451 if test yes = "$GCC"; then
16452 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16455 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16456 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16459 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16460 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16463 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16464 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16466 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16467 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16469 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16470 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16512 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16513 hardcode_action_CXX=
16514 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16515 test -n "$runpath_var_CXX" ||
16516 test yes = "$hardcode_automatic_CXX"; then
16518 # We can hardcode non-existent directories.
16519 if test no != "$hardcode_direct_CXX" &&
16520 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16521 # have to relink, otherwise we might link with an installed library
16522 # when we should be linking with a yet-to-be-installed one
16523 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16524 test no != "$hardcode_minus_L_CXX"; then
16525 # Linking always hardcodes the temporary library directory.
16526 hardcode_action_CXX=relink
16528 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16529 hardcode_action_CXX=immediate
16532 # We cannot hardcode anything, or else we can only hardcode existing
16534 hardcode_action_CXX=unsupported
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16537 $as_echo "$hardcode_action_CXX" >&6; }
16539 if test relink = "$hardcode_action_CXX" ||
16540 test yes = "$inherit_rpath_CXX"; then
16541 # Fast installation is not supported
16542 enable_fast_install=no
16543 elif test yes = "$shlibpath_overrides_runpath" ||
16544 test no = "$enable_shared"; then
16545 # Fast installation is not necessary
16546 enable_fast_install=needless
16555 fi # test -n "$compiler"
16558 CFLAGS=$lt_save_CFLAGS
16562 with_gnu_ld=$lt_save_with_gnu_ld
16563 lt_cv_path_LDCXX=$lt_cv_path_LD
16564 lt_cv_path_LD=$lt_save_path_LD
16565 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16566 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16567 fi # test yes != "$_lt_caught_CXX_error"
16570 ac_cpp='$CPP $CPPFLAGS'
16571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16589 ac_config_commands="$ac_config_commands libtool"
16594 # Only expand once:
16599 # Checks for header files.
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16601 $as_echo_n "checking for ANSI C header files... " >&6; }
16602 if ${ac_cv_header_stdc+:} false; then :
16603 $as_echo_n "(cached) " >&6
16605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16607 #include <stdlib.h>
16608 #include <stdarg.h>
16609 #include <string.h>
16620 if ac_fn_c_try_compile "$LINENO"; then :
16621 ac_cv_header_stdc=yes
16623 ac_cv_header_stdc=no
16625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16627 if test $ac_cv_header_stdc = yes; then
16628 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 #include <string.h>
16634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16635 $EGREP "memchr" >/dev/null 2>&1; then :
16638 ac_cv_header_stdc=no
16644 if test $ac_cv_header_stdc = yes; then
16645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16648 #include <stdlib.h>
16651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16652 $EGREP "free" >/dev/null 2>&1; then :
16655 ac_cv_header_stdc=no
16661 if test $ac_cv_header_stdc = yes; then
16662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16663 if test "$cross_compiling" = yes; then :
16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h. */
16669 #include <stdlib.h>
16670 #if ((' ' & 0x0FF) == 0x020)
16671 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16672 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16674 # define ISLOWER(c) \
16675 (('a' <= (c) && (c) <= 'i') \
16676 || ('j' <= (c) && (c) <= 'r') \
16677 || ('s' <= (c) && (c) <= 'z'))
16678 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16681 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16686 for (i = 0; i < 256; i++)
16687 if (XOR (islower (i), ISLOWER (i))
16688 || toupper (i) != TOUPPER (i))
16693 if ac_fn_c_try_run "$LINENO"; then :
16696 ac_cv_header_stdc=no
16698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16699 conftest.$ac_objext conftest.beam conftest.$ac_ext
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16705 $as_echo "$ac_cv_header_stdc" >&6; }
16706 if test $ac_cv_header_stdc = yes; then
16708 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16712 for ac_header in sys/ioctl.h unistd.h
16714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16716 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16726 # Check compiler and use -Wall if gnu
16727 if test x"$GXX" = "xyes"; then
16728 CXXFLAGS="${CXXFLAGS} -Wall -Wextra"
16729 # Add -Werror in debug mode
16730 if test x"${enable_debug+set}" = xset; then
16731 CXXFLAGS="${CXXFLAGS} -Werror"
16735 # Checks for functions
16736 for ac_func in gettimeofday
16738 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
16739 if test "x$ac_cv_func_gettimeofday" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_GETTIMEOFDAY 1
16748 # Checks for doxygen
16749 # Extract the first word of "doxygen", so it can be a program name with args.
16750 set dummy doxygen; ac_word=$2
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16752 $as_echo_n "checking for $ac_word... " >&6; }
16753 if ${ac_cv_prog_DOXYGEN+:} false; then :
16754 $as_echo_n "(cached) " >&6
16756 if test -n "$DOXYGEN"; then
16757 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16763 test -z "$as_dir" && as_dir=.
16764 for ac_exec_ext in '' $ac_executable_extensions; do
16765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16766 ac_cv_prog_DOXYGEN="doxygen "
16767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16776 DOXYGEN=$ac_cv_prog_DOXYGEN
16777 if test -n "$DOXYGEN"; then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16779 $as_echo "$DOXYGEN" >&6; }
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16782 $as_echo "no" >&6; }
16786 if test "x${DOXYGEN}" != x ; then
16795 # Copy doc files to build dir if necessary
16796 ac_config_links="$ac_config_links doc/release.txt:doc/release.txt"
16798 ac_config_links="$ac_config_links doc/doxygen/footer.html:doc/doxygen/footer.html"
16800 ac_config_links="$ac_config_links doc/doxygen/error.txt:doc/doxygen/error.txt"
16802 ac_config_links="$ac_config_links doc/doxygen/tutorial.txt:doc/doxygen/tutorial.txt"
16804 ac_config_links="$ac_config_links doc/doxygen/compiling.txt:doc/doxygen/compiling.txt"
16806 ac_config_links="$ac_config_links doc/doxygen/acknowledge.txt:doc/doxygen/acknowledge.txt"
16808 ac_config_links="$ac_config_links doc/doxygen/license.txt:doc/doxygen/license.txt"
16810 ac_config_links="$ac_config_links doc/doxygen/header.html:doc/doxygen/header.html"
16812 ac_config_links="$ac_config_links doc/doxygen/duplex.txt:doc/doxygen/duplex.txt"
16814 ac_config_links="$ac_config_links doc/doxygen/settings.txt:doc/doxygen/settings.txt"
16816 ac_config_links="$ac_config_links doc/doxygen/probe.txt:doc/doxygen/probe.txt"
16818 ac_config_links="$ac_config_links doc/doxygen/playback.txt:doc/doxygen/playback.txt"
16820 ac_config_links="$ac_config_links doc/doxygen/multi.txt:doc/doxygen/multi.txt"
16822 ac_config_links="$ac_config_links doc/doxygen/recording.txt:doc/doxygen/recording.txt"
16824 ac_config_links="$ac_config_links doc/doxygen/apinotes.txt:doc/doxygen/apinotes.txt"
16826 ac_config_links="$ac_config_links doc/images/mcgill.gif:doc/images/mcgill.gif"
16828 ac_config_links="$ac_config_links doc/images/ccrma.gif:doc/images/ccrma.gif"
16831 # Checks for package options and external software
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audio API" >&5
16839 $as_echo_n "checking for audio API... " >&6; }
16842 # Check whether --with-jack was given.
16843 if test "${with_jack+set}" = set; then :
16844 withval=$with_jack;
16847 if test "x$with_jack" == "xyes"; then :
16849 api="$api -D__UNIX_JACK__"
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using JACK" >&5
16851 $as_echo "using JACK" >&6; }
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jack_client_open in -ljack" >&5
16853 $as_echo_n "checking for jack_client_open in -ljack... " >&6; }
16854 if ${ac_cv_lib_jack_jack_client_open+:} false; then :
16855 $as_echo_n "(cached) " >&6
16857 ac_check_lib_save_LIBS=$LIBS
16858 LIBS="-ljack $LIBS"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16868 char jack_client_open ();
16872 return jack_client_open ();
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 ac_cv_lib_jack_jack_client_open=yes
16880 ac_cv_lib_jack_jack_client_open=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16884 LIBS=$ac_check_lib_save_LIBS
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jack_jack_client_open" >&5
16887 $as_echo "$ac_cv_lib_jack_jack_client_open" >&6; }
16888 if test "x$ac_cv_lib_jack_jack_client_open" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_LIBJACK 1
16893 LIBS="-ljack $LIBS"
16896 as_fn_error $? "JACK support requires the jack library!" "$LINENO" 5
16903 if test "$api" == ""; then :
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using OSS" >&5
16906 $as_echo "using OSS" >&6; }
16907 api="$api -D__LINUX_OSS__"
16908 LIBS="$LIBS -lossaudio"
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16910 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16911 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16912 $as_echo_n "(cached) " >&6
16914 ac_check_lib_save_LIBS=$LIBS
16915 LIBS="-lpthread $LIBS"
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16919 /* Override any GCC internal prototype to avoid an error.
16920 Use char because int might match the return type of a GCC
16921 builtin and then its argument prototype would still apply. */
16925 char pthread_create ();
16929 return pthread_create ();
16934 if ac_fn_c_try_link "$LINENO"; then :
16935 ac_cv_lib_pthread_pthread_create=yes
16937 ac_cv_lib_pthread_pthread_create=no
16939 rm -f core conftest.err conftest.$ac_objext \
16940 conftest$ac_exeext conftest.$ac_ext
16941 LIBS=$ac_check_lib_save_LIBS
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16944 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16945 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16946 cat >>confdefs.h <<_ACEOF
16947 #define HAVE_LIBPTHREAD 1
16950 LIBS="-lpthread $LIBS"
16953 as_fn_error $? "RtAudio requires the pthread library!" "$LINENO" 5
16960 if test "$api" == ""; then :
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using OSS" >&5
16963 $as_echo "using OSS" >&6; }
16964 api="$api -D__LINUX_OSS__"
16965 LIBS="$LIBS -lossaudio"
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16967 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16968 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16969 $as_echo_n "(cached) " >&6
16971 ac_check_lib_save_LIBS=$LIBS
16972 LIBS="-lpthread $LIBS"
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16976 /* Override any GCC internal prototype to avoid an error.
16977 Use char because int might match the return type of a GCC
16978 builtin and then its argument prototype would still apply. */
16982 char pthread_create ();
16986 return pthread_create ();
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_lib_pthread_pthread_create=yes
16994 ac_cv_lib_pthread_pthread_create=no
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
17001 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
17002 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
17003 cat >>confdefs.h <<_ACEOF
17004 #define HAVE_LIBPTHREAD 1
17007 LIBS="-lpthread $LIBS"
17010 as_fn_error $? "RtAudio requires the pthread library!" "$LINENO" 5
17017 # Look for ALSA flag
17019 # Check whether --with-alsa was given.
17020 if test "${with_alsa+set}" = set; then :
17021 withval=$with_alsa;
17024 if test "x$with_alsa" == "xyes"; then :
17026 api="$api -D__LINUX_ALSA__"
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using ALSA" >&5
17029 $as_echo "using ALSA" >&6; }
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
17031 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; }
17032 if ${ac_cv_lib_asound_snd_pcm_open+:} false; then :
17033 $as_echo_n "(cached) " >&6
17035 ac_check_lib_save_LIBS=$LIBS
17036 LIBS="-lasound $LIBS"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17040 /* Override any GCC internal prototype to avoid an error.
17041 Use char because int might match the return type of a GCC
17042 builtin and then its argument prototype would still apply. */
17046 char snd_pcm_open ();
17050 return snd_pcm_open ();
17055 if ac_fn_c_try_link "$LINENO"; then :
17056 ac_cv_lib_asound_snd_pcm_open=yes
17058 ac_cv_lib_asound_snd_pcm_open=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 LIBS=$ac_check_lib_save_LIBS
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5
17065 $as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; }
17066 if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes; then :
17067 cat >>confdefs.h <<_ACEOF
17068 #define HAVE_LIBASOUND 1
17071 LIBS="-lasound $LIBS"
17074 as_fn_error $? "ALSA support requires the asound library!" "$LINENO" 5
17079 # Look for PULSE flag
17081 # Check whether --with-pulse was given.
17082 if test "${with_pulse+set}" = set; then :
17083 withval=$with_pulse;
17086 if test "x$with_pulse" == "xyes"; then :
17088 api="$api -D__LINUX_PULSE__"
17089 req="$req libpulse-simple"
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using PulseAudio" >&5
17091 $as_echo "using PulseAudio" >&6; }
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_simple_flush in -lpulse-simple" >&5
17093 $as_echo_n "checking for pa_simple_flush in -lpulse-simple... " >&6; }
17094 if ${ac_cv_lib_pulse_simple_pa_simple_flush+:} false; then :
17095 $as_echo_n "(cached) " >&6
17097 ac_check_lib_save_LIBS=$LIBS
17098 LIBS="-lpulse-simple $LIBS"
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17102 /* Override any GCC internal prototype to avoid an error.
17103 Use char because int might match the return type of a GCC
17104 builtin and then its argument prototype would still apply. */
17108 char pa_simple_flush ();
17112 return pa_simple_flush ();
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_lib_pulse_simple_pa_simple_flush=yes
17120 ac_cv_lib_pulse_simple_pa_simple_flush=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 LIBS=$ac_check_lib_save_LIBS
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_simple_pa_simple_flush" >&5
17127 $as_echo "$ac_cv_lib_pulse_simple_pa_simple_flush" >&6; }
17128 if test "x$ac_cv_lib_pulse_simple_pa_simple_flush" = xyes; then :
17129 cat >>confdefs.h <<_ACEOF
17130 #define HAVE_LIBPULSE_SIMPLE 1
17133 LIBS="-lpulse-simple $LIBS"
17136 as_fn_error $? "PulseAudio support requires the pulse-simple library!" "$LINENO" 5
17141 # Look for OSS flag
17143 # Check whether --with-oss was given.
17144 if test "${with_oss+set}" = set; then :
17148 if test "x$with_oss" == "xyes"; then :
17150 api="$api -D__LINUX_OSS__"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using OSS" >&5
17152 $as_echo "using OSS" >&6; }
17155 # If no audio api flags specified, use ALSA
17156 if test "$api" == ""; then
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using ALSA" >&5
17158 $as_echo "using ALSA" >&6; }
17159 api=-D__LINUX_ALSA__
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
17163 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; }
17164 if ${ac_cv_lib_asound_snd_pcm_open+:} false; then :
17165 $as_echo_n "(cached) " >&6
17167 ac_check_lib_save_LIBS=$LIBS
17168 LIBS="-lasound $LIBS"
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 /* Override any GCC internal prototype to avoid an error.
17173 Use char because int might match the return type of a GCC
17174 builtin and then its argument prototype would still apply. */
17178 char snd_pcm_open ();
17182 return snd_pcm_open ();
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_lib_asound_snd_pcm_open=yes
17190 ac_cv_lib_asound_snd_pcm_open=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 LIBS=$ac_check_lib_save_LIBS
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5
17197 $as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; }
17198 if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define HAVE_LIBASOUND 1
17203 LIBS="-lasound $LIBS"
17206 as_fn_error $? "ALSA support requires the asound library!" "$LINENO" 5
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
17212 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
17213 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
17214 $as_echo_n "(cached) " >&6
17216 ac_check_lib_save_LIBS=$LIBS
17217 LIBS="-lpthread $LIBS"
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17221 /* Override any GCC internal prototype to avoid an error.
17222 Use char because int might match the return type of a GCC
17223 builtin and then its argument prototype would still apply. */
17227 char pthread_create ();
17231 return pthread_create ();
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_lib_pthread_pthread_create=yes
17239 ac_cv_lib_pthread_pthread_create=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 LIBS=$ac_check_lib_save_LIBS
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
17246 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
17247 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_LIBPTHREAD 1
17252 LIBS="-lpthread $LIBS"
17255 as_fn_error $? "RtAudio requires the pthread library!" "$LINENO" 5
17261 # Look for Core flag
17263 # Check whether --with-core was given.
17264 if test "${with_core+set}" = set; then :
17265 withval=$with_core;
17268 if test "x$with_core" == "xyes"; then :
17270 api="$api -D__MACOSX_CORE__"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using CoreAudio" >&5
17272 $as_echo "using CoreAudio" >&6; }
17273 ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
17274 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes; then :
17277 as_fn_error $? "CoreAudio header files not found!" "$LINENO" 5
17281 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation"
17284 # If no audio api flags specified, use CoreAudio
17285 if test "$api" == ""; then
17286 api=-D__MACOSX_CORE__
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using CoreAudio" >&5
17289 $as_echo "using CoreAudio" >&6; }
17290 ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
17291 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes; then :
17294 as_fn_error $? "CoreAudio header files not found!" "$LINENO" 5
17298 LIBS="-framework CoreAudio -framework CoreFoundation"
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
17303 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
17304 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
17305 $as_echo_n "(cached) " >&6
17307 ac_check_lib_save_LIBS=$LIBS
17308 LIBS="-lpthread $LIBS"
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17312 /* Override any GCC internal prototype to avoid an error.
17313 Use char because int might match the return type of a GCC
17314 builtin and then its argument prototype would still apply. */
17318 char pthread_create ();
17322 return pthread_create ();
17327 if ac_fn_c_try_link "$LINENO"; then :
17328 ac_cv_lib_pthread_pthread_create=yes
17330 ac_cv_lib_pthread_pthread_create=no
17332 rm -f core conftest.err conftest.$ac_objext \
17333 conftest$ac_exeext conftest.$ac_ext
17334 LIBS=$ac_check_lib_save_LIBS
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
17337 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
17338 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
17339 cat >>confdefs.h <<_ACEOF
17340 #define HAVE_LIBPTHREAD 1
17343 LIBS="-lpthread $LIBS"
17346 as_fn_error $? "RtAudio requires the pthread library!" "$LINENO" 5
17353 # Check whether --with-asio was given.
17354 if test "${with_asio+set}" = set; then :
17355 withval=$with_asio;
17358 if test "x$with_asio" == "xyes"; then :
17360 api="$api -D__WINDOWS_ASIO__"
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using ASIO" >&5
17362 $as_echo "using ASIO" >&6; }
17363 objects="asio.o asiodrivers.o asiolist.o iasiothiscallresolver.o"
17367 # Look for DirectSound flag
17369 # Check whether --with-ds was given.
17370 if test "${with_ds+set}" = set; then :
17374 if test "x$with_ds" == "xyes"; then :
17376 api="$api -D__WINDOWS_DS__"
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using DirectSound" >&5
17378 $as_echo "using DirectSound" >&6; }
17379 LIBS="-ldsound -lwinmm $LIBS"
17382 # Look for WASAPI flag
17384 # Check whether --with-wasapi was given.
17385 if test "${with_wasapi+set}" = set; then :
17386 withval=$with_wasapi;
17389 if test "x$with_wasapi" == "xyes"; then :
17391 api="$api -D__WINDOWS_WASAPI__"
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using WASAPI" >&5
17393 $as_echo "using WASAPI" >&6; }
17394 LIBS="-lwinmm -luuid -lksuser $LIBS"
17397 # If no audio api flags specified, use DS
17398 if test "$api" == ""; then
17399 api=-D__WINDOWS_DS__
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using DirectSound" >&5
17402 $as_echo "using DirectSound" >&6; }
17403 LIBS="-ldsound -lwinmm $LIBS"
17406 LIBS="-lole32 $LIBS"
17410 # Default case for unknown realtime systems.
17411 as_fn_error $? "Unknown system type for realtime support!" "$LINENO" 5
17415 CPPFLAGS="$CPPFLAGS $api"
17417 cat >confcache <<\_ACEOF
17418 # This file is a shell script that caches the results of configure
17419 # tests run on this system so they can be shared between configure
17420 # scripts and configure runs, see configure's option --config-cache.
17421 # It is not useful on other systems. If it contains results you don't
17422 # want to keep, you may remove or edit it.
17424 # config.status only pays attention to the cache file if you give it
17425 # the --recheck option to rerun configure.
17427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17429 # following values.
17433 # The following way of writing the cache mishandles newlines in values,
17434 # but we know of no workaround that is simple, portable, and efficient.
17435 # So, we kill variables containing newlines.
17436 # Ultrix sh set writes to stderr and can't be redirected directly,
17437 # and sets the high bit in the cache file unless we assign to the vars.
17439 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17440 eval ac_val=\$$ac_var
17444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17448 _ | IFS | as_nl) ;; #(
17449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17450 *) { eval $ac_var=; unset $ac_var;} ;;
17456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17457 *${as_nl}ac_space=\ *)
17458 # `set' does not quote correctly, so add quotes: double-quote
17459 # substitution turns \\\\ into \\, and sed turns \\ into \.
17462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17465 # `set' quotes correctly as required by POSIX, so do not add quotes.
17466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17480 if test -w "$cache_file"; then
17481 if test "x$cache_file" != "x/dev/null"; then
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17483 $as_echo "$as_me: updating cache $cache_file" >&6;}
17484 if test ! -f "$cache_file" || test -h "$cache_file"; then
17485 cat confcache >"$cache_file"
17487 case $cache_file in #(
17489 mv -f confcache "$cache_file"$$ &&
17490 mv -f "$cache_file"$$ "$cache_file" ;; #(
17492 mv -f confcache "$cache_file" ;;
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17498 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17503 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17504 # Let make expand exec_prefix.
17505 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17507 # Transform confdefs.h into DEFS.
17508 # Protect against shell expansion while executing Makefile rules.
17509 # Protect against Makefile macro expansion.
17511 # If the first sed substitution is executed (which looks for macros that
17512 # take arguments), then branch to the quote section. Otherwise,
17513 # look for a macro that doesn't take arguments.
17523 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17525 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17529 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17542 DEFS=`sed -n "$ac_script" confdefs.h`
17548 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17549 # 1. Remove the extension, and $U if already installed.
17550 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17551 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17552 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17553 # will be set to the directory where LIBOBJS objects are built.
17554 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17555 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17557 LIBOBJS=$ac_libobjs
17559 LTLIBOBJS=$ac_ltlibobjs
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17563 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17564 if test -n "$am_sleep_pid"; then
17565 # Hide warnings about reused PIDs.
17566 wait $am_sleep_pid 2>/dev/null
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17569 $as_echo "done" >&6; }
17570 if test -n "$EXEEXT"; then
17572 am__EXEEXT_FALSE='#'
17574 am__EXEEXT_TRUE='#'
17578 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17579 as_fn_error $? "conditional \"AMDEP\" was never defined.
17580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17582 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17583 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17586 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17587 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17590 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17591 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17594 if test -z "${MAKE_DOC_TRUE}" && test -z "${MAKE_DOC_FALSE}"; then
17595 as_fn_error $? "conditional \"MAKE_DOC\" was never defined.
17596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17599 : "${CONFIG_STATUS=./config.status}"
17601 ac_clean_files_save=$ac_clean_files
17602 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17604 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17606 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17608 # Generated by $as_me.
17609 # Run this file to recreate the current configuration.
17610 # Compiler output produced by configure, useful for debugging
17611 # configure, is in config.log if it exists.
17614 ac_cs_recheck=false
17617 SHELL=\${CONFIG_SHELL-$SHELL}
17620 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17621 ## -------------------- ##
17622 ## M4sh Initialization. ##
17623 ## -------------------- ##
17625 # Be more Bourne compatible
17626 DUALCASE=1; export DUALCASE # for MKS sh
17627 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17630 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17631 # is contrary to our usage. Disable this feature.
17632 alias -g '${1+"$@"}'='"$@"'
17633 setopt NO_GLOB_SUBST
17635 case `(set -o) 2>/dev/null` in #(
17647 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17648 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17649 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17650 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17651 # Prefer a ksh shell builtin over an external printf program on Solaris,
17652 # but without wasting forks for bash or zsh.
17653 if test -z "$BASH_VERSION$ZSH_VERSION" \
17654 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17655 as_echo='print -r --'
17656 as_echo_n='print -rn --'
17657 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17658 as_echo='printf %s\n'
17659 as_echo_n='printf %s'
17661 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17662 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17663 as_echo_n='/usr/ucb/echo -n'
17665 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17666 as_echo_n_body='eval
17670 expr "X$arg" : "X\\(.*\\)$as_nl";
17671 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17673 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17675 export as_echo_n_body
17676 as_echo_n='sh -c $as_echo_n_body as_echo'
17678 export as_echo_body
17679 as_echo='sh -c $as_echo_body as_echo'
17682 # The user is always right.
17683 if test "${PATH_SEPARATOR+set}" != set; then
17685 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17686 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17693 # We need space, tab and new line, in precisely that order. Quoting is
17694 # there to prevent editors from complaining about space-tab.
17695 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17696 # splitting by setting IFS to empty value.)
17699 # Find who we are. Look in the path if we contain no directory separator.
17702 *[\\/]* ) as_myself=$0 ;;
17703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17704 for as_dir in $PATH
17707 test -z "$as_dir" && as_dir=.
17708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17714 # We did not find ourselves, most probably we were run as `sh COMMAND'
17715 # in which case we are not to be found in the path.
17716 if test "x$as_myself" = x; then
17719 if test ! -f "$as_myself"; then
17720 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17724 # Unset variables that we do not need and which cause bugs (e.g. in
17725 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17726 # suppresses any "Segmentation fault" message there. '((' could
17727 # trigger a bug in pdksh 5.2.14.
17728 for as_var in BASH_ENV ENV MAIL MAILPATH
17729 do eval test x\${$as_var+set} = xset \
17730 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17743 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17746 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17747 # ----------------------------------------
17748 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17749 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17750 # script with STATUS, using 1 if that was 0.
17753 as_status=$1; test $as_status -eq 0 && as_status=1
17755 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17756 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17758 $as_echo "$as_me: error: $2" >&2
17759 as_fn_exit $as_status
17763 # as_fn_set_status STATUS
17764 # -----------------------
17765 # Set $? to STATUS, without forking.
17766 as_fn_set_status ()
17769 } # as_fn_set_status
17771 # as_fn_exit STATUS
17772 # -----------------
17773 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17777 as_fn_set_status $1
17783 # Portably unset VAR.
17786 { eval $1=; unset $1;}
17788 as_unset=as_fn_unset
17789 # as_fn_append VAR VALUE
17790 # ----------------------
17791 # Append the text in VALUE to the end of the definition contained in VAR. Take
17792 # advantage of any shell optimizations that allow amortized linear growth over
17793 # repeated appends, instead of the typical quadratic growth present in naive
17795 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17796 eval 'as_fn_append ()
17807 # as_fn_arith ARG...
17808 # ------------------
17809 # Perform arithmetic evaluation on the ARGs, and store the result in the
17810 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17811 # must be portable across $(()) and expr.
17812 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17813 eval 'as_fn_arith ()
17820 as_val=`expr "$@" || test $? -eq 1`
17825 if expr a : '\(a\)' >/dev/null 2>&1 &&
17826 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17832 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17833 as_basename=basename
17838 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17844 as_me=`$as_basename -- "$0" ||
17845 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17846 X"$0" : 'X\(//\)$' \| \
17847 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17849 sed '/^.*\/\([^/][^/]*\)\/*$/{
17863 # Avoid depending upon Character Ranges.
17864 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17865 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17866 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17867 as_cr_digits='0123456789'
17868 as_cr_alnum=$as_cr_Letters$as_cr_digits
17870 ECHO_C= ECHO_N= ECHO_T=
17871 case `echo -n x` in #(((((
17873 case `echo 'xy\c'` in
17874 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17876 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17883 rm -f conf$$ conf$$.exe conf$$.file
17884 if test -d conf$$.dir; then
17885 rm -f conf$$.dir/conf$$.file
17888 mkdir conf$$.dir 2>/dev/null
17890 if (echo >conf$$.file) 2>/dev/null; then
17891 if ln -s conf$$.file conf$$ 2>/dev/null; then
17893 # ... but there are two gotchas:
17894 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17895 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17896 # In both cases, we have to default to `cp -pR'.
17897 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17899 elif ln conf$$.file conf$$ 2>/dev/null; then
17907 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17908 rmdir conf$$.dir 2>/dev/null
17913 # Create "$as_dir" as a directory, including parents if necessary.
17918 -*) as_dir=./$as_dir;;
17920 test -d "$as_dir" || eval $as_mkdir_p || {
17924 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17925 *) as_qdir=$as_dir;;
17927 as_dirs="'$as_qdir' $as_dirs"
17928 as_dir=`$as_dirname -- "$as_dir" ||
17929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17930 X"$as_dir" : 'X\(//\)[^/]' \| \
17931 X"$as_dir" : 'X\(//\)$' \| \
17932 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17933 $as_echo X"$as_dir" |
17934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17938 /^X\(\/\/\)[^/].*/{
17951 test -d "$as_dir" && break
17953 test -z "$as_dirs" || eval "mkdir $as_dirs"
17954 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17958 if mkdir -p . 2>/dev/null; then
17959 as_mkdir_p='mkdir -p "$as_dir"'
17961 test -d ./-p && rmdir ./-p
17966 # as_fn_executable_p FILE
17967 # -----------------------
17968 # Test if FILE is an executable regular file.
17969 as_fn_executable_p ()
17971 test -f "$1" && test -x "$1"
17972 } # as_fn_executable_p
17973 as_test_x='test -x'
17974 as_executable_p=as_fn_executable_p
17976 # Sed expression to map a string onto a valid CPP name.
17977 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17979 # Sed expression to map a string onto a valid variable name.
17980 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17984 ## ----------------------------------- ##
17985 ## Main body of $CONFIG_STATUS script. ##
17986 ## ----------------------------------- ##
17988 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17991 # Save the log message, to keep $0 and so on meaningful, and to
17992 # report actual input values of CONFIG_FILES etc. instead of their
17993 # values after options handling.
17995 This file was extended by RtAudio $as_me 5.0.0, which was
17996 generated by GNU Autoconf 2.69. Invocation command line was
17998 CONFIG_FILES = $CONFIG_FILES
17999 CONFIG_HEADERS = $CONFIG_HEADERS
18000 CONFIG_LINKS = $CONFIG_LINKS
18001 CONFIG_COMMANDS = $CONFIG_COMMANDS
18004 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18009 case $ac_config_files in *"
18010 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18016 # Files that config.status was made for.
18017 config_files="$ac_config_files"
18018 config_links="$ac_config_links"
18019 config_commands="$ac_config_commands"
18023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18025 \`$as_me' instantiates files and other configuration actions
18026 from templates according to the current configuration. Unless the files
18027 and actions are specified as TAGs, all are instantiated by default.
18029 Usage: $0 [OPTION]... [TAG]...
18031 -h, --help print this help, then exit
18032 -V, --version print version number and configuration settings, then exit
18033 --config print configuration, then exit
18034 -q, --quiet, --silent
18035 do not print progress messages
18036 -d, --debug don't remove temporary files
18037 --recheck update $as_me by reconfiguring in the same conditions
18038 --file=FILE[:TEMPLATE]
18039 instantiate the configuration file FILE
18041 Configuration files:
18044 Configuration links:
18047 Configuration commands:
18050 Report bugs to <gary@music.mcgill.ca>."
18053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18054 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18056 RtAudio config.status 5.0.0
18057 configured by $0, generated by GNU Autoconf 2.69,
18058 with options \\"\$ac_cs_config\\"
18060 Copyright (C) 2012 Free Software Foundation, Inc.
18061 This config.status script is free software; the Free Software Foundation
18062 gives unlimited permission to copy, distribute and modify it."
18069 test -n "\$AWK" || AWK=awk
18072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18073 # The default lists apply if the user does not specify any file.
18079 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18080 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18084 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18096 # Handling of the options.
18097 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18099 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18100 $as_echo "$ac_cs_version"; exit ;;
18101 --config | --confi | --conf | --con | --co | --c )
18102 $as_echo "$ac_cs_config"; exit ;;
18103 --debug | --debu | --deb | --de | --d | -d )
18105 --file | --fil | --fi | --f )
18108 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18109 '') as_fn_error $? "missing file argument" ;;
18111 as_fn_append CONFIG_FILES " '$ac_optarg'"
18112 ac_need_defaults=false;;
18113 --he | --h | --help | --hel | -h )
18114 $as_echo "$ac_cs_usage"; exit ;;
18115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18116 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18119 # This is an error.
18120 -*) as_fn_error $? "unrecognized option: \`$1'
18121 Try \`$0 --help' for more information." ;;
18123 *) as_fn_append ac_config_targets " $1"
18124 ac_need_defaults=false ;;
18130 ac_configure_extra_args=
18132 if $ac_cs_silent; then
18134 ac_configure_extra_args="$ac_configure_extra_args --silent"
18138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18139 if \$ac_cs_recheck; then
18140 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18142 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18143 CONFIG_SHELL='$SHELL'
18144 export CONFIG_SHELL
18149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18153 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18154 ## Running $as_me. ##
18160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18164 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18167 # The HP-UX ksh and POSIX shell print the target directory to stdout
18168 # if CDPATH is set.
18169 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18171 sed_quote_subst='$sed_quote_subst'
18172 double_quote_subst='$double_quote_subst'
18173 delay_variable_subst='$delay_variable_subst'
18174 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18175 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18176 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18177 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18178 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18179 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18180 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18181 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18182 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18183 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18184 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18185 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18186 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18187 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18188 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18189 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18190 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18191 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18192 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18193 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18194 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18195 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18196 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18197 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18198 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18199 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18200 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18201 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18202 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18203 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18204 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18205 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18206 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18207 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18208 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18209 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18210 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18211 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18212 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18213 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18214 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18215 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18216 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18217 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18218 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18219 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18220 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18221 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18222 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18223 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18224 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18225 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18226 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18227 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18228 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18229 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18230 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18231 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18232 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18233 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"`'
18234 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18235 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18236 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18237 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18238 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18239 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18240 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18241 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18242 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18243 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18244 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18245 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18246 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18247 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18248 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18249 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18250 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18251 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18252 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18253 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18254 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18255 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18256 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18257 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18258 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18259 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18260 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18261 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18262 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18263 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18264 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18265 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18266 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18267 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18268 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18269 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18270 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18271 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18272 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18273 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18274 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18275 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18276 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18277 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18278 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18279 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18280 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18281 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18282 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18283 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18284 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18285 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18286 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18287 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18288 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18289 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18290 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18291 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18292 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18293 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18294 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18295 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18296 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18297 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18298 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18299 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18300 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18301 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18302 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18303 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18304 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18305 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18306 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18307 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18308 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18309 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18310 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18311 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18312 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18313 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18314 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18315 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18316 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18317 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18318 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18319 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18320 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18321 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18322 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18323 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18324 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18325 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18326 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18327 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18328 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18329 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18330 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18331 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18332 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18333 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18334 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18335 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18336 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18337 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18338 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18339 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18340 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18341 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18342 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18343 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18344 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18345 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18346 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18347 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18348 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18349 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18350 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18351 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18352 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18353 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18354 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18355 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18356 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18357 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18358 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18359 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18360 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18361 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18362 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18363 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18366 LTCFLAGS='$LTCFLAGS'
18367 compiler='$compiler_DEFAULT'
18369 # A function that is used when there is no print builtin or printf.
18370 func_fallback_echo ()
18372 eval 'cat <<_LTECHO_EOF
18377 # Quote evaled strings.
18394 deplibs_check_method \
18398 sharedlib_from_linklib_cmd \
18401 archiver_list_spec \
18407 lt_cv_sys_global_symbol_pipe \
18408 lt_cv_sys_global_symbol_to_cdecl \
18409 lt_cv_sys_global_symbol_to_import \
18410 lt_cv_sys_global_symbol_to_c_name_address \
18411 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18412 lt_cv_nm_interface \
18413 nm_file_list_spec \
18414 lt_cv_truncate_bin \
18415 lt_prog_compiler_no_builtin_flag \
18416 lt_prog_compiler_pic \
18417 lt_prog_compiler_wl \
18418 lt_prog_compiler_static \
18419 lt_cv_prog_compiler_c_o \
18428 export_dynamic_flag_spec \
18429 whole_archive_flag_spec \
18430 compiler_needs_object \
18432 allow_undefined_flag \
18433 no_undefined_flag \
18434 hardcode_libdir_flag_spec \
18435 hardcode_libdir_separator \
18439 variables_saved_for_relink \
18441 library_names_spec \
18443 install_override_mode \
18447 compiler_lib_search_dirs \
18452 compiler_lib_search_path \
18456 lt_prog_compiler_no_builtin_flag_CXX \
18457 lt_prog_compiler_pic_CXX \
18458 lt_prog_compiler_wl_CXX \
18459 lt_prog_compiler_static_CXX \
18460 lt_cv_prog_compiler_c_o_CXX \
18461 export_dynamic_flag_spec_CXX \
18462 whole_archive_flag_spec_CXX \
18463 compiler_needs_object_CXX \
18465 allow_undefined_flag_CXX \
18466 no_undefined_flag_CXX \
18467 hardcode_libdir_flag_spec_CXX \
18468 hardcode_libdir_separator_CXX \
18469 exclude_expsyms_CXX \
18470 include_expsyms_CXX \
18471 file_list_spec_CXX \
18472 compiler_lib_search_dirs_CXX \
18473 predep_objects_CXX \
18474 postdep_objects_CXX \
18477 compiler_lib_search_path_CXX; do
18478 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18479 *[\\\\\\\`\\"\\\$]*)
18480 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18483 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18488 # Double-quote double-evaled strings.
18489 for var in reload_cmds \
18490 old_postinstall_cmds \
18491 old_postuninstall_cmds \
18493 extract_expsyms_cmds \
18494 old_archive_from_new_cmds \
18495 old_archive_from_expsyms_cmds \
18497 archive_expsym_cmds \
18499 module_expsym_cmds \
18500 export_symbols_cmds \
18504 postuninstall_cmds \
18506 sys_lib_search_path_spec \
18507 configure_time_dlsearch_path \
18508 configure_time_lt_sys_library_path \
18510 old_archive_cmds_CXX \
18511 old_archive_from_new_cmds_CXX \
18512 old_archive_from_expsyms_cmds_CXX \
18514 archive_expsym_cmds_CXX \
18516 module_expsym_cmds_CXX \
18517 export_symbols_cmds_CXX \
18519 postlink_cmds_CXX; do
18520 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18521 *[\\\\\\\`\\"\\\$]*)
18522 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18525 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18530 ac_aux_dir='$ac_aux_dir'
18532 # See if we are running on zsh, and set the options that allow our
18533 # commands through without removal of \ escapes INIT.
18534 if test -n "\${ZSH_VERSION+set}"; then
18535 setopt NO_GLOB_SUBST
18551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18553 # Handling of arguments.
18554 for ac_config_target in $ac_config_targets
18556 case $ac_config_target in
18557 "rtaudio.pc") CONFIG_FILES="$CONFIG_FILES rtaudio.pc" ;;
18558 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18559 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18560 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18561 "doc/doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Doxyfile" ;;
18562 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18563 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18564 "doc/release.txt") CONFIG_LINKS="$CONFIG_LINKS doc/release.txt:doc/release.txt" ;;
18565 "doc/doxygen/footer.html") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/footer.html:doc/doxygen/footer.html" ;;
18566 "doc/doxygen/error.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/error.txt:doc/doxygen/error.txt" ;;
18567 "doc/doxygen/tutorial.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/tutorial.txt:doc/doxygen/tutorial.txt" ;;
18568 "doc/doxygen/compiling.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/compiling.txt:doc/doxygen/compiling.txt" ;;
18569 "doc/doxygen/acknowledge.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/acknowledge.txt:doc/doxygen/acknowledge.txt" ;;
18570 "doc/doxygen/license.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/license.txt:doc/doxygen/license.txt" ;;
18571 "doc/doxygen/header.html") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/header.html:doc/doxygen/header.html" ;;
18572 "doc/doxygen/duplex.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/duplex.txt:doc/doxygen/duplex.txt" ;;
18573 "doc/doxygen/settings.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/settings.txt:doc/doxygen/settings.txt" ;;
18574 "doc/doxygen/probe.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/probe.txt:doc/doxygen/probe.txt" ;;
18575 "doc/doxygen/playback.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/playback.txt:doc/doxygen/playback.txt" ;;
18576 "doc/doxygen/multi.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/multi.txt:doc/doxygen/multi.txt" ;;
18577 "doc/doxygen/recording.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/recording.txt:doc/doxygen/recording.txt" ;;
18578 "doc/doxygen/apinotes.txt") CONFIG_LINKS="$CONFIG_LINKS doc/doxygen/apinotes.txt:doc/doxygen/apinotes.txt" ;;
18579 "doc/images/mcgill.gif") CONFIG_LINKS="$CONFIG_LINKS doc/images/mcgill.gif:doc/images/mcgill.gif" ;;
18580 "doc/images/ccrma.gif") CONFIG_LINKS="$CONFIG_LINKS doc/images/ccrma.gif:doc/images/ccrma.gif" ;;
18582 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18587 # If the user did not use the arguments to specify the items to instantiate,
18588 # then the envvar interface is used. Set only those that are not.
18589 # We use the long form for the default assignment because of an extremely
18590 # bizarre bug on SunOS 4.1.3.
18591 if $ac_need_defaults; then
18592 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18593 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18594 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18597 # Have a temporary directory for convenience. Make it in the build tree
18598 # simply because there is no reason against having it here, and in addition,
18599 # creating and moving files from /tmp can sometimes cause problems.
18600 # Hook for its removal unless debugging.
18601 # Note that there is a small window in which the directory will not be cleaned:
18602 # after its creation but before its name has been assigned to `$tmp'.
18606 trap 'exit_status=$?
18607 : "${ac_tmp:=$tmp}"
18608 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18610 trap 'as_fn_exit 1' 1 2 13 15
18612 # Create a (secure) tmp directory for tmp files.
18615 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18619 tmp=./conf$$-$RANDOM
18620 (umask 077 && mkdir "$tmp")
18621 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18624 # Set up the scripts for CONFIG_FILES section.
18625 # No need to generate them if there are no CONFIG_FILES.
18626 # This happens for instance with `./config.status config.h'.
18627 if test -n "$CONFIG_FILES"; then
18630 ac_cr=`echo X | tr X '\015'`
18631 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18632 # But we know of no other shell where ac_cr would be empty at this
18633 # point, so we can use a bashism as a fallback.
18634 if test "x$ac_cr" = x; then
18635 eval ac_cr=\$\'\\r\'
18637 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18638 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18641 ac_cs_awk_cr=$ac_cr
18644 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18649 echo "cat >conf$$subs.awk <<_ACEOF" &&
18650 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18652 } >conf$$subs.sh ||
18653 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18654 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18656 for ac_last_try in false false false false false :; do
18657 . ./conf$$subs.sh ||
18658 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18660 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18661 if test $ac_delim_n = $ac_delim_num; then
18663 elif $ac_last_try; then
18664 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18669 rm -f conf$$subs.sh
18671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18672 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18676 s/^/S["/; s/!.*/"]=/
18686 s/\(.\{148\}\)..*/\1/
18688 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18693 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18700 s/\(.\{148\}\)..*/\1/
18702 s/["\\]/\\&/g; s/^/"/; s/$/"/
18706 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18711 ' <conf$$subs.awk | sed '
18716 ' >>$CONFIG_STATUS || ac_write_fail=1
18717 rm -f conf$$subs.awk
18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18720 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18721 for (key in S) S_is_set[key] = 1
18727 nfields = split(line, field, "@")
18729 len = length(field[1])
18730 for (i = 2; i < nfields; i++) {
18732 keylen = length(key)
18733 if (S_is_set[key]) {
18735 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18736 len += length(value) + length(field[++i])
18747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18748 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18749 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18752 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18753 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18756 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18757 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18758 # trailing colons and then remove the whole line if VPATH becomes empty
18759 # (actually we leave an empty line to preserve line numbers).
18760 if test "x$srcdir" = x.; then
18761 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18780 fi # test -n "$CONFIG_FILES"
18783 eval set X " :F $CONFIG_FILES :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18788 :[FHLC]) ac_mode=$ac_tag; continue;;
18790 case $ac_mode$ac_tag in
18792 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18793 :[FH]-) ac_tag=-:-;;
18794 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18811 -) ac_f="$ac_tmp/stdin";;
18812 *) # Look for the file first in the build tree, then in the source tree
18813 # (if the path is not absolute). The absolute path cannot be DOS-style,
18814 # because $ac_f cannot contain `:'.
18818 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18820 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18822 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18823 as_fn_append ac_file_inputs " '$ac_f'"
18826 # Let's still pretend it is `configure' which instantiates (i.e., don't
18827 # use $as_me), people would be surprised to read:
18828 # /* config.h. Generated by config.status. */
18829 configure_input='Generated from '`
18830 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18832 if test x"$ac_file" != x-; then
18833 configure_input="$ac_file. $configure_input"
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18835 $as_echo "$as_me: creating $ac_file" >&6;}
18837 # Neutralize special characters interpreted by sed in replacement strings.
18838 case $configure_input in #(
18839 *\&* | *\|* | *\\* )
18840 ac_sed_conf_input=`$as_echo "$configure_input" |
18841 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18842 *) ac_sed_conf_input=$configure_input;;
18846 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18852 ac_dir=`$as_dirname -- "$ac_file" ||
18853 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18854 X"$ac_file" : 'X\(//\)[^/]' \| \
18855 X"$ac_file" : 'X\(//\)$' \| \
18856 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18857 $as_echo X"$ac_file" |
18858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18862 /^X\(\/\/\)[^/].*/{
18875 as_dir="$ac_dir"; as_fn_mkdir_p
18879 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18881 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18882 # A ".." for each directory in $ac_dir_suffix.
18883 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18884 case $ac_top_builddir_sub in
18885 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18886 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18889 ac_abs_top_builddir=$ac_pwd
18890 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18891 # for backward compatibility:
18892 ac_top_builddir=$ac_top_build_prefix
18895 .) # We are building in place.
18897 ac_top_srcdir=$ac_top_builddir_sub
18898 ac_abs_top_srcdir=$ac_pwd ;;
18899 [\\/]* | ?:[\\/]* ) # Absolute name.
18900 ac_srcdir=$srcdir$ac_dir_suffix;
18901 ac_top_srcdir=$srcdir
18902 ac_abs_top_srcdir=$srcdir ;;
18903 *) # Relative name.
18904 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18905 ac_top_srcdir=$ac_top_build_prefix$srcdir
18906 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18908 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18918 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18919 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18921 ac_MKDIR_P=$MKDIR_P
18923 [\\/$]* | ?:[\\/]* ) ;;
18924 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18929 # If the template does not know about datarootdir, expand it.
18930 # FIXME: This hack should be removed a few years after 2.60.
18931 ac_datarootdir_hack=; ac_datarootdir_seen=
18942 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18943 *datarootdir*) ac_datarootdir_seen=yes;;
18944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18946 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18949 ac_datarootdir_hack='
18950 s&@datadir@&$datadir&g
18951 s&@docdir@&$docdir&g
18952 s&@infodir@&$infodir&g
18953 s&@localedir@&$localedir&g
18954 s&@mandir@&$mandir&g
18955 s&\\\${datarootdir}&$datarootdir&g' ;;
18959 # Neutralize VPATH when `$srcdir' = `.'.
18960 # Shell code in configure.ac might set extrasub.
18961 # FIXME: do we really want to maintain this feature?
18962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18963 ac_sed_extra="$ac_vpsub
18966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18969 s|@configure_input@|$ac_sed_conf_input|;t t
18970 s&@top_builddir@&$ac_top_builddir_sub&;t t
18971 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18972 s&@srcdir@&$ac_srcdir&;t t
18973 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18974 s&@top_srcdir@&$ac_top_srcdir&;t t
18975 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18976 s&@builddir@&$ac_builddir&;t t
18977 s&@abs_builddir@&$ac_abs_builddir&;t t
18978 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18979 s&@INSTALL@&$ac_INSTALL&;t t
18980 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18981 $ac_datarootdir_hack
18983 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18984 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18986 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18987 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18988 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18989 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18991 which seems to be undefined. Please make sure it is defined" >&5
18992 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18993 which seems to be undefined. Please make sure it is defined" >&2;}
18995 rm -f "$ac_tmp/stdin"
18997 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18998 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19000 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19008 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19011 # Prefer the file from the source tree if names are identical.
19012 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19013 ac_source=$srcdir/$ac_source
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19017 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19019 if test ! -r "$ac_source"; then
19020 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19024 # Try a relative symlink, then a hard link, then a copy.
19026 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19027 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19029 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19030 ln "$ac_source" "$ac_file" 2>/dev/null ||
19031 cp -p "$ac_source" "$ac_file" ||
19032 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19035 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19036 $as_echo "$as_me: executing $ac_file commands" >&6;}
19041 case $ac_file$ac_mode in
19042 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19043 # Older Autoconf quotes --file arguments for eval, but not when files
19044 # are listed without --file. Let's play safe and only enable the eval
19045 # if we detect the quoting.
19046 case $CONFIG_FILES in
19047 *\'*) eval set x "$CONFIG_FILES" ;;
19048 *) set x $CONFIG_FILES ;;
19053 # Strip MF so we end up with the name of the file.
19054 mf=`echo "$mf" | sed -e 's/:.*$//'`
19055 # Check whether this is an Automake generated Makefile or not.
19056 # We used to match only the files named 'Makefile.in', but
19057 # some people rename them; so instead we look at the file content.
19058 # Grep'ing the first line is not enough: some people post-process
19059 # each Makefile.in and add a new line on top of each file to say so.
19060 # Grep'ing the whole file is not good either: AIX grep has a line
19061 # limit of 2048, but all sed's we know have understand at least 4000.
19062 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19063 dirpart=`$as_dirname -- "$mf" ||
19064 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19065 X"$mf" : 'X\(//\)[^/]' \| \
19066 X"$mf" : 'X\(//\)$' \| \
19067 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19073 /^X\(\/\/\)[^/].*/{
19089 # Extract the definition of DEPDIR, am__include, and am__quote
19090 # from the Makefile without running 'make'.
19091 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19092 test -z "$DEPDIR" && continue
19093 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19094 test -z "$am__include" && continue
19095 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19096 # Find all dependency output files, they are included files with
19097 # $(DEPDIR) in their names. We invoke sed twice because it is the
19098 # simplest approach to changing $(DEPDIR) to its actual value in the
19100 for file in `sed -n "
19101 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19102 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19103 # Make sure the directory exists.
19104 test -f "$dirpart/$file" && continue
19105 fdir=`$as_dirname -- "$file" ||
19106 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19107 X"$file" : 'X\(//\)[^/]' \| \
19108 X"$file" : 'X\(//\)$' \| \
19109 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19110 $as_echo X"$file" |
19111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19115 /^X\(\/\/\)[^/].*/{
19128 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19129 # echo "creating $dirpart/$file"
19130 echo '# dummy' > "$dirpart/$file"
19137 # See if we are running on zsh, and set the options that allow our
19138 # commands through without removal of \ escapes.
19139 if test -n "${ZSH_VERSION+set}"; then
19140 setopt NO_GLOB_SUBST
19144 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19147 cat <<_LT_EOF >> "$cfgfile"
19149 # Generated automatically by $as_me ($PACKAGE) $VERSION
19150 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19152 # Provide generalized library-building support services.
19153 # Written by Gordon Matzigkeit, 1996
19155 # Copyright (C) 2014 Free Software Foundation, Inc.
19156 # This is free software; see the source for copying conditions. There is NO
19157 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19159 # GNU Libtool is free software; you can redistribute it and/or modify
19160 # it under the terms of the GNU General Public License as published by
19161 # the Free Software Foundation; either version 2 of of the License, or
19162 # (at your option) any later version.
19164 # As a special exception to the GNU General Public License, if you
19165 # distribute this file as part of a program or library that is built
19166 # using GNU Libtool, you may include this file under the same
19167 # distribution terms that you use for the rest of that program.
19169 # GNU Libtool is distributed in the hope that it will be useful, but
19170 # WITHOUT ANY WARRANTY; without even the implied warranty of
19171 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19172 # GNU General Public License for more details.
19174 # You should have received a copy of the GNU General Public License
19175 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19178 # The names of the tagged configurations supported by this script.
19179 available_tags='CXX '
19181 # Configured defaults for sys_lib_dlsearch_path munging.
19182 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19184 # ### BEGIN LIBTOOL CONFIG
19186 # Which release of libtool.m4 was used?
19187 macro_version=$macro_version
19188 macro_revision=$macro_revision
19190 # Assembler program.
19193 # DLL creation program.
19194 DLLTOOL=$lt_DLLTOOL
19196 # Object dumper program.
19197 OBJDUMP=$lt_OBJDUMP
19199 # Whether or not to build shared libraries.
19200 build_libtool_libs=$enable_shared
19202 # Whether or not to build static libraries.
19203 build_old_libs=$enable_static
19205 # What type of objects to build.
19208 # Whether or not to optimize for fast installation.
19209 fast_install=$enable_fast_install
19211 # Shared archive member basename,for filename based shared library versioning on AIX.
19212 shared_archive_member_spec=$shared_archive_member_spec
19214 # Shell to use when invoking shell scripts.
19217 # An echo program that protects backslashes.
19220 # The PATH separator for the build system.
19221 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19224 host_alias=$host_alias
19228 # The build system.
19229 build_alias=$build_alias
19233 # A sed program that does not truncate output.
19236 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19237 Xsed="\$SED -e 1s/^X//"
19239 # A grep program that handles long lines.
19245 # A literal string matcher.
19248 # A BSD- or MS-compatible name lister.
19251 # Whether we need soft or hard links.
19254 # What is the maximum length of a command?
19255 max_cmd_len=$max_cmd_len
19257 # Object file suffix (normally "o").
19260 # Executable file suffix (normally "").
19263 # whether the shell understands "unset".
19266 # turn spaces into newlines.
19269 # turn newlines into spaces.
19272 # convert \$build file names to \$host format.
19273 to_host_file_cmd=$lt_cv_to_host_file_cmd
19275 # convert \$build files to toolchain format.
19276 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19278 # Method to check whether dependent libraries are shared objects.
19279 deplibs_check_method=$lt_deplibs_check_method
19281 # Command to use when deplibs_check_method = "file_magic".
19282 file_magic_cmd=$lt_file_magic_cmd
19284 # How to find potential files when deplibs_check_method = "file_magic".
19285 file_magic_glob=$lt_file_magic_glob
19287 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19288 want_nocaseglob=$lt_want_nocaseglob
19290 # Command to associate shared and link libraries.
19291 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19296 # Flags to create an archive.
19297 AR_FLAGS=$lt_AR_FLAGS
19299 # How to feed a file listing to the archiver.
19300 archiver_list_spec=$lt_archiver_list_spec
19302 # A symbol stripping program.
19305 # Commands used to install an old-style archive.
19307 old_postinstall_cmds=$lt_old_postinstall_cmds
19308 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19310 # Whether to use a lock for old archive extraction.
19311 lock_old_archive_extraction=$lock_old_archive_extraction
19316 # LTCC compiler flags.
19317 LTCFLAGS=$lt_CFLAGS
19319 # Take the output of nm and produce a listing of raw symbols and C names.
19320 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19322 # Transform the output of nm in a proper C declaration.
19323 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19325 # Transform the output of nm into a list of symbols to manually relocate.
19326 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19328 # Transform the output of nm in a C name address pair.
19329 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19331 # Transform the output of nm in a C name address pair when lib prefix is needed.
19332 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19334 # The name lister interface.
19335 nm_interface=$lt_lt_cv_nm_interface
19337 # Specify filename containing input files for \$NM.
19338 nm_file_list_spec=$lt_nm_file_list_spec
19340 # The root where to search for dependent libraries,and where our libraries should be installed.
19341 lt_sysroot=$lt_sysroot
19343 # Command to truncate a binary pipe.
19344 lt_truncate_bin=$lt_lt_cv_truncate_bin
19346 # The name of the directory that contains temporary libtool files.
19349 # Used to examine libraries when file_magic_cmd begins with "file".
19350 MAGIC_CMD=$MAGIC_CMD
19352 # Must we lock files when doing compilation?
19353 need_locks=$lt_need_locks
19356 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19358 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19359 DSYMUTIL=$lt_DSYMUTIL
19361 # Tool to change global to local symbols on Mac OS X.
19364 # Tool to manipulate fat objects and archives on Mac OS X.
19367 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19370 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19371 OTOOL64=$lt_OTOOL64
19373 # Old archive suffix (normally "a").
19376 # Shared library suffix (normally ".so").
19377 shrext_cmds=$lt_shrext_cmds
19379 # The commands to extract the exported symbol list from a shared archive.
19380 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19382 # Variables whose values should be saved in libtool wrapper scripts and
19383 # restored at link time.
19384 variables_saved_for_relink=$lt_variables_saved_for_relink
19386 # Do we need the "lib" prefix for modules?
19387 need_lib_prefix=$need_lib_prefix
19389 # Do we need a version for libraries?
19390 need_version=$need_version
19392 # Library versioning type.
19393 version_type=$version_type
19395 # Shared library runtime path variable.
19396 runpath_var=$runpath_var
19398 # Shared library path variable.
19399 shlibpath_var=$shlibpath_var
19401 # Is shlibpath searched before the hard-coded library search path?
19402 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19404 # Format of library name prefix.
19405 libname_spec=$lt_libname_spec
19407 # List of archive names. First name is the real one, the rest are links.
19408 # The last name is the one that the linker finds with -lNAME
19409 library_names_spec=$lt_library_names_spec
19411 # The coded name of the library, if different from the real name.
19412 soname_spec=$lt_soname_spec
19414 # Permission mode override for installation of shared libraries.
19415 install_override_mode=$lt_install_override_mode
19417 # Command to use after installation of a shared archive.
19418 postinstall_cmds=$lt_postinstall_cmds
19420 # Command to use after uninstallation of a shared archive.
19421 postuninstall_cmds=$lt_postuninstall_cmds
19423 # Commands used to finish a libtool library installation in a directory.
19424 finish_cmds=$lt_finish_cmds
19426 # As "finish_cmds", except a single script fragment to be evaled but
19428 finish_eval=$lt_finish_eval
19430 # Whether we should hardcode library paths into libraries.
19431 hardcode_into_libs=$hardcode_into_libs
19433 # Compile-time system search path for libraries.
19434 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19436 # Detected run-time system search path for libraries.
19437 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19439 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19440 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19442 # Whether dlopen is supported.
19443 dlopen_support=$enable_dlopen
19445 # Whether dlopen of programs is supported.
19446 dlopen_self=$enable_dlopen_self
19448 # Whether dlopen of statically linked programs is supported.
19449 dlopen_self_static=$enable_dlopen_self_static
19451 # Commands to strip libraries.
19452 old_striplib=$lt_old_striplib
19453 striplib=$lt_striplib
19456 # The linker used to build libraries.
19459 # How to create reloadable object files.
19460 reload_flag=$lt_reload_flag
19461 reload_cmds=$lt_reload_cmds
19463 # Commands used to build an old-style archive.
19464 old_archive_cmds=$lt_old_archive_cmds
19466 # A language specific compiler.
19469 # Is the compiler the GNU compiler?
19472 # Compiler flag to turn off builtin functions.
19473 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19475 # Additional compiler flags for building library objects.
19476 pic_flag=$lt_lt_prog_compiler_pic
19478 # How to pass a linker flag through the compiler.
19479 wl=$lt_lt_prog_compiler_wl
19481 # Compiler flag to prevent dynamic linking.
19482 link_static_flag=$lt_lt_prog_compiler_static
19484 # Does compiler simultaneously support -c and -o options?
19485 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19487 # Whether or not to add -lc for building shared libraries.
19488 build_libtool_need_lc=$archive_cmds_need_lc
19490 # Whether or not to disallow shared libs when runtime libs are static.
19491 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19493 # Compiler flag to allow reflexive dlopens.
19494 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19496 # Compiler flag to generate shared objects directly from archives.
19497 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19499 # Whether the compiler copes with passing no objects directly.
19500 compiler_needs_object=$lt_compiler_needs_object
19502 # Create an old-style archive from a shared archive.
19503 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19505 # Create a temporary old-style archive to link instead of a shared archive.
19506 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19508 # Commands used to build a shared archive.
19509 archive_cmds=$lt_archive_cmds
19510 archive_expsym_cmds=$lt_archive_expsym_cmds
19512 # Commands used to build a loadable module if different from building
19513 # a shared archive.
19514 module_cmds=$lt_module_cmds
19515 module_expsym_cmds=$lt_module_expsym_cmds
19517 # Whether we are building with GNU ld or not.
19518 with_gnu_ld=$lt_with_gnu_ld
19520 # Flag that allows shared libraries with undefined symbols to be built.
19521 allow_undefined_flag=$lt_allow_undefined_flag
19523 # Flag that enforces no undefined symbols.
19524 no_undefined_flag=$lt_no_undefined_flag
19526 # Flag to hardcode \$libdir into a binary during linking.
19527 # This must work even if \$libdir does not exist
19528 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19530 # Whether we need a single "-rpath" flag with a separated argument.
19531 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19533 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19534 # DIR into the resulting binary.
19535 hardcode_direct=$hardcode_direct
19537 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19538 # DIR into the resulting binary and the resulting library dependency is
19539 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19540 # library is relocated.
19541 hardcode_direct_absolute=$hardcode_direct_absolute
19543 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19544 # into the resulting binary.
19545 hardcode_minus_L=$hardcode_minus_L
19547 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19548 # into the resulting binary.
19549 hardcode_shlibpath_var=$hardcode_shlibpath_var
19551 # Set to "yes" if building a shared library automatically hardcodes DIR
19552 # into the library and all subsequent libraries and executables linked
19554 hardcode_automatic=$hardcode_automatic
19556 # Set to yes if linker adds runtime paths of dependent libraries
19557 # to runtime path list.
19558 inherit_rpath=$inherit_rpath
19560 # Whether libtool must link a program against all its dependency libraries.
19561 link_all_deplibs=$link_all_deplibs
19563 # Set to "yes" if exported symbols are required.
19564 always_export_symbols=$always_export_symbols
19566 # The commands to list exported symbols.
19567 export_symbols_cmds=$lt_export_symbols_cmds
19569 # Symbols that should not be listed in the preloaded symbols.
19570 exclude_expsyms=$lt_exclude_expsyms
19572 # Symbols that must always be exported.
19573 include_expsyms=$lt_include_expsyms
19575 # Commands necessary for linking programs (against libraries) with templates.
19576 prelink_cmds=$lt_prelink_cmds
19578 # Commands necessary for finishing linking programs.
19579 postlink_cmds=$lt_postlink_cmds
19581 # Specify filename containing input files.
19582 file_list_spec=$lt_file_list_spec
19584 # How to hardcode a shared library path into an executable.
19585 hardcode_action=$hardcode_action
19587 # The directories searched by this compiler when creating a shared library.
19588 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19590 # Dependencies to place before and after the objects being linked to
19591 # create a shared library.
19592 predep_objects=$lt_predep_objects
19593 postdep_objects=$lt_postdep_objects
19594 predeps=$lt_predeps
19595 postdeps=$lt_postdeps
19597 # The library search path used internally by the compiler when linking
19598 # a shared library.
19599 compiler_lib_search_path=$lt_compiler_lib_search_path
19601 # ### END LIBTOOL CONFIG
19605 cat <<'_LT_EOF' >> "$cfgfile"
19607 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19609 # func_munge_path_list VARIABLE PATH
19610 # -----------------------------------
19611 # VARIABLE is name of variable containing _space_ separated list of
19612 # directories to be munged by the contents of PATH, which is string
19615 # string "DIR[ DIR]" will be prepended to VARIABLE
19617 # string "DIR[ DIR]" will be appended to VARIABLE
19618 # "DIRP[:DIRP]::[DIRA:]DIRA"
19619 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19620 # "DIRA[ DIRA]" will be appended to VARIABLE
19622 # VARIABLE will be replaced by "DIR[ DIR]"
19623 func_munge_path_list ()
19629 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19632 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19635 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19636 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19639 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19645 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19646 func_cc_basename ()
19648 for cc_temp in $*""; do
19650 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19651 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19656 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19660 # ### END FUNCTIONS SHARED WITH CONFIGURE
19666 cat <<\_LT_EOF >> "$cfgfile"
19667 # AIX sometimes has problems with the GCC collect2 program. For some
19668 # reason, if we set the COLLECT_NAMES environment variable, the problems
19669 # vanish in a puff of smoke.
19670 if test set != "${COLLECT_NAMES+set}"; then
19672 export COLLECT_NAMES
19679 ltmain=$ac_aux_dir/ltmain.sh
19682 # We use sed instead of cat because bash on DJGPP gets confused if
19683 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19684 # text mode, it properly converts lines to CR/LF. This bash problem
19685 # is reportedly fixed, but why not run on old versions too?
19686 sed '$q' "$ltmain" >> "$cfgfile" \
19687 || (rm -f "$cfgfile"; exit 1)
19689 mv -f "$cfgfile" "$ofile" ||
19690 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19694 cat <<_LT_EOF >> "$ofile"
19696 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19698 # The linker used to build libraries.
19701 # How to create reloadable object files.
19702 reload_flag=$lt_reload_flag_CXX
19703 reload_cmds=$lt_reload_cmds_CXX
19705 # Commands used to build an old-style archive.
19706 old_archive_cmds=$lt_old_archive_cmds_CXX
19708 # A language specific compiler.
19709 CC=$lt_compiler_CXX
19711 # Is the compiler the GNU compiler?
19714 # Compiler flag to turn off builtin functions.
19715 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19717 # Additional compiler flags for building library objects.
19718 pic_flag=$lt_lt_prog_compiler_pic_CXX
19720 # How to pass a linker flag through the compiler.
19721 wl=$lt_lt_prog_compiler_wl_CXX
19723 # Compiler flag to prevent dynamic linking.
19724 link_static_flag=$lt_lt_prog_compiler_static_CXX
19726 # Does compiler simultaneously support -c and -o options?
19727 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19729 # Whether or not to add -lc for building shared libraries.
19730 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19732 # Whether or not to disallow shared libs when runtime libs are static.
19733 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19735 # Compiler flag to allow reflexive dlopens.
19736 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19738 # Compiler flag to generate shared objects directly from archives.
19739 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19741 # Whether the compiler copes with passing no objects directly.
19742 compiler_needs_object=$lt_compiler_needs_object_CXX
19744 # Create an old-style archive from a shared archive.
19745 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19747 # Create a temporary old-style archive to link instead of a shared archive.
19748 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19750 # Commands used to build a shared archive.
19751 archive_cmds=$lt_archive_cmds_CXX
19752 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19754 # Commands used to build a loadable module if different from building
19755 # a shared archive.
19756 module_cmds=$lt_module_cmds_CXX
19757 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19759 # Whether we are building with GNU ld or not.
19760 with_gnu_ld=$lt_with_gnu_ld_CXX
19762 # Flag that allows shared libraries with undefined symbols to be built.
19763 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19765 # Flag that enforces no undefined symbols.
19766 no_undefined_flag=$lt_no_undefined_flag_CXX
19768 # Flag to hardcode \$libdir into a binary during linking.
19769 # This must work even if \$libdir does not exist
19770 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19772 # Whether we need a single "-rpath" flag with a separated argument.
19773 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19775 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19776 # DIR into the resulting binary.
19777 hardcode_direct=$hardcode_direct_CXX
19779 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19780 # DIR into the resulting binary and the resulting library dependency is
19781 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19782 # library is relocated.
19783 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19785 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19786 # into the resulting binary.
19787 hardcode_minus_L=$hardcode_minus_L_CXX
19789 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19790 # into the resulting binary.
19791 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19793 # Set to "yes" if building a shared library automatically hardcodes DIR
19794 # into the library and all subsequent libraries and executables linked
19796 hardcode_automatic=$hardcode_automatic_CXX
19798 # Set to yes if linker adds runtime paths of dependent libraries
19799 # to runtime path list.
19800 inherit_rpath=$inherit_rpath_CXX
19802 # Whether libtool must link a program against all its dependency libraries.
19803 link_all_deplibs=$link_all_deplibs_CXX
19805 # Set to "yes" if exported symbols are required.
19806 always_export_symbols=$always_export_symbols_CXX
19808 # The commands to list exported symbols.
19809 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19811 # Symbols that should not be listed in the preloaded symbols.
19812 exclude_expsyms=$lt_exclude_expsyms_CXX
19814 # Symbols that must always be exported.
19815 include_expsyms=$lt_include_expsyms_CXX
19817 # Commands necessary for linking programs (against libraries) with templates.
19818 prelink_cmds=$lt_prelink_cmds_CXX
19820 # Commands necessary for finishing linking programs.
19821 postlink_cmds=$lt_postlink_cmds_CXX
19823 # Specify filename containing input files.
19824 file_list_spec=$lt_file_list_spec_CXX
19826 # How to hardcode a shared library path into an executable.
19827 hardcode_action=$hardcode_action_CXX
19829 # The directories searched by this compiler when creating a shared library.
19830 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19832 # Dependencies to place before and after the objects being linked to
19833 # create a shared library.
19834 predep_objects=$lt_predep_objects_CXX
19835 postdep_objects=$lt_postdep_objects_CXX
19836 predeps=$lt_predeps_CXX
19837 postdeps=$lt_postdeps_CXX
19839 # The library search path used internally by the compiler when linking
19840 # a shared library.
19841 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19843 # ### END LIBTOOL TAG CONFIG: CXX
19854 ac_clean_files=$ac_clean_files_save
19856 test $ac_write_fail = 0 ||
19857 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19860 # configure is writing to config.log, and then calls config.status.
19861 # config.status does its own redirection, appending to config.log.
19862 # Unfortunately, on DOS this fails, as config.log is still kept open
19863 # by configure, so config.status won't be able to write to it; its
19864 # output is simply discarded. So we exec the FD to /dev/null,
19865 # effectively closing config.log, so it can be properly (re)opened and
19866 # appended to by config.status. When coming back to configure, we
19867 # need to make the FD available again.
19868 if test "$no_create" != yes; then
19870 ac_config_status_args=
19871 test "$silent" = yes &&
19872 ac_config_status_args="$ac_config_status_args --quiet"
19874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19877 # would make configure fail if this is the last instruction.
19878 $ac_cs_success || as_fn_exit 1
19880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19882 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}