2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for libsalac 0.1.
5 @%:@ Report bugs to <pulseaudio@niafc.de>.
8 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 @%:@ This configure script is free software; the Free Software Foundation
14 @%:@ gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in @%:@(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in @%:@(
150 set -o posix ;; @%:@(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
201 case $as_dir in @%:@(
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: pulseaudio@niafc.de about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 @%:@ Portably unset VAR.
273 { eval $1=; unset $1;}
277 @%:@ as_fn_set_status STATUS
278 @%:@ -----------------------
279 @%:@ Set @S|@? to STATUS, without forking.
283 } @%:@ as_fn_set_status
285 @%:@ as_fn_exit STATUS
286 @%:@ -----------------
287 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 @%:@ as_fn_append VAR VALUE
343 @%:@ ----------------------
344 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
345 @%:@ advantage of any shell optimizations that allow amortized linear growth over
346 @%:@ repeated appends, instead of the typical quadratic growth present in naive
347 @%:@ implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
360 @%:@ as_fn_arith ARG...
361 @%:@ ------------------
362 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
363 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364 @%:@ must be portable across @S|@(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
379 @%:@ ----------------------------------------
380 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 @%:@ script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in @%:@(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='libsalac'
572 PACKAGE_TARNAME='libsalac'
573 PACKAGE_VERSION='0.1'
574 PACKAGE_STRING='libsalac 0.1'
575 PACKAGE_BUGREPORT='pulseaudio@niafc.de'
576 PACKAGE_URL='https://bugs.freedesktop.org/show_bug.cgi?id=42804'
578 # Factoring default headers for most tests.
579 ac_includes_default="\
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
591 # ifdef HAVE_STDLIB_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
614 ac_subst_vars='am__EXEEXT_FALSE
682 INSTALL_STRIP_PROGRAM
724 program_transform_name
737 enable_option_checking
738 enable_dependency_tracking
747 ac_precious_vars='build_alias
762 # Initialize some variables set by options.
764 ac_init_version=false
765 ac_unrecognized_opts=
767 # The variables have the same names as the options, with
768 # dashes changed to underlines.
776 program_transform_name=s,x,x,
784 # Installation directory options.
785 # These are left unexpanded so users can "make install exec_prefix=/foo"
786 # and all the variables that are supposed to be based on exec_prefix
787 # by default will actually change.
788 # Use braces instead of parens because sh, perl, etc. also accept them.
789 # (The list follows the same order as the GNU Coding Standards.)
790 bindir='${exec_prefix}/bin'
791 sbindir='${exec_prefix}/sbin'
792 libexecdir='${exec_prefix}/libexec'
793 datarootdir='${prefix}/share'
794 datadir='${datarootdir}'
795 sysconfdir='${prefix}/etc'
796 sharedstatedir='${prefix}/com'
797 localstatedir='${prefix}/var'
798 includedir='${prefix}/include'
799 oldincludedir='/usr/include'
800 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
801 infodir='${datarootdir}/info'
806 libdir='${exec_prefix}/lib'
807 localedir='${datarootdir}/locale'
808 mandir='${datarootdir}/man'
814 # If the previous option needs an argument, assign it.
815 if test -n "$ac_prev"; then
816 eval $ac_prev=\$ac_option
822 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
838 -build | --build | --buil | --bui | --bu)
839 ac_prev=build_alias ;;
840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841 build_alias=$ac_optarg ;;
843 -cache-file | --cache-file | --cache-fil | --cache-fi \
844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845 ac_prev=cache_file ;;
846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848 cache_file=$ac_optarg ;;
851 cache_file=config.cache ;;
853 -datadir | --datadir | --datadi | --datad)
855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
856 datadir=$ac_optarg ;;
858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859 | --dataroo | --dataro | --datar)
860 ac_prev=datarootdir ;;
861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863 datarootdir=$ac_optarg ;;
865 -disable-* | --disable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 as_fn_error $? "invalid feature name: $ac_useropt"
870 ac_useropt_orig=$ac_useropt
871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep=', ';;
879 eval enable_$ac_useropt=no ;;
881 -docdir | --docdir | --docdi | --doc | --do)
883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 -enable-* | --enable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error $? "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
905 eval enable_$ac_useropt=\$ac_optarg ;;
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
910 ac_prev=exec_prefix ;;
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
914 exec_prefix=$ac_optarg ;;
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923 ac_init_help=recursive ;;
924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925 ac_init_help=short ;;
927 -host | --host | --hos | --ho)
928 ac_prev=host_alias ;;
929 -host=* | --host=* | --hos=* | --ho=*)
930 host_alias=$ac_optarg ;;
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 htmldir=$ac_optarg ;;
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
940 ac_prev=includedir ;;
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
943 includedir=$ac_optarg ;;
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948 infodir=$ac_optarg ;;
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
957 ac_prev=libexecdir ;;
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
960 libexecdir=$ac_optarg ;;
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965 localedir=$ac_optarg ;;
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
969 ac_prev=localstatedir ;;
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972 localstatedir=$ac_optarg ;;
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
994 ac_prev=oldincludedir ;;
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998 oldincludedir=$ac_optarg ;;
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003 prefix=$ac_optarg ;;
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1007 ac_prev=program_prefix ;;
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010 program_prefix=$ac_optarg ;;
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1014 ac_prev=program_suffix ;;
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017 program_suffix=$ac_optarg ;;
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1026 ac_prev=program_transform_name ;;
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1034 program_transform_name=$ac_optarg ;;
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039 pdfdir=$ac_optarg ;;
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval with_$ac_useropt=\$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid package name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval with_$ac_useropt=no ;;
1128 # Obsolete; use --with-x.
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' | [0-9]* | *[!_$as_cr_alnum]* )
1154 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error $? "missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val=\$$ac_var
1190 # Remove trailing slashes.
1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$]* | ?:[\\/]* ) continue;;
1199 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1201 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213 if test "x$build_alias" = x; then
1214 cross_compiling=maybe
1215 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used" >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1225 test "$silent" = yes && exec 6>/dev/null
1228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di=`ls -di .` &&
1230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error $? "working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error $? "pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures libsalac 0.1 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking ...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 @<:@@S|@ac_default_prefix@:>@
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libsalac@:>@
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1365 --build=BUILD configure for building on BUILD [guessed]
1366 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive ) echo "Configuration of libsalac 0.1:";;
1377 --disable-option-checking ignore unrecognized --enable/--with options
1378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1380 --disable-dependency-tracking speeds up one-time build
1381 --enable-dependency-tracking do not reject slow dependency extractors
1382 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1383 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1384 --enable-fast-install@<:@=PKGS@:>@
1385 optimize for fast installation @<:@default=yes@:>@
1386 --disable-libtool-lock avoid locking (might break parallel builds)
1389 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1390 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1391 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1393 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1394 --with-sysroot=DIR Search for dependent libraries within DIR
1395 (or the compiler's sysroot if not specified).
1397 Some influential environment variables:
1398 CXX C++ compiler command
1399 CXXFLAGS C++ compiler flags
1400 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1401 nonstandard directory <lib dir>
1402 LIBS libraries to pass to the linker, e.g. -l<library>
1403 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404 you have headers in a nonstandard directory <include dir>
1405 CC C compiler command
1406 CFLAGS C compiler flags
1408 CXXCPP C++ preprocessor
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to <pulseaudio@niafc.de>.
1414 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1444 .) # We are building in place.
1446 ac_top_srcdir=$ac_top_builddir_sub
1447 ac_abs_top_srcdir=$ac_pwd ;;
1448 [\\/]* | ?:[\\/]* ) # Absolute name.
1449 ac_srcdir=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir=$srcdir
1451 ac_abs_top_srcdir=$srcdir ;;
1453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for guested configure.
1461 if test -f "$ac_srcdir/configure.gnu"; then
1463 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464 elif test -f "$ac_srcdir/configure"; then
1466 $SHELL "$ac_srcdir/configure" --help=recursive
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470 cd "$ac_pwd" || { ac_status=$?; break; }
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1477 libsalac configure 0.1
1478 generated by GNU Autoconf 2.68
1480 Copyright (C) 2010 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 @%:@ ac_fn_cxx_try_compile LINENO
1492 @%:@ ----------------------------
1493 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1494 ac_fn_cxx_try_compile ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1498 if { { ac_try="$ac_compile"
1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_cxx_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1527 } @%:@ ac_fn_cxx_try_compile
1529 @%:@ ac_fn_c_try_compile LINENO
1530 @%:@ --------------------------
1531 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1565 } @%:@ ac_fn_c_try_compile
1567 @%:@ ac_fn_c_try_link LINENO
1568 @%:@ -----------------------
1569 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 rm -f conftest.$ac_objext conftest$ac_exeext
1574 if { { ac_try="$ac_link"
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>conftest.err
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1592 } && test -s conftest$ac_exeext && {
1593 test "$cross_compiling" = yes ||
1594 $as_test_x conftest$ac_exeext
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1605 # interfere with the next link command; also delete a directory that is
1606 # left behind by Apple's compiler. We do this before executing the actions.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval
1611 } @%:@ ac_fn_c_try_link
1613 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1614 @%:@ -------------------------------------------------------
1615 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1616 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1617 ac_fn_c_check_header_compile ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval \${$3+:} false; then :
1623 $as_echo_n "(cached) " >&6
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 } @%:@ ac_fn_c_check_header_compile
1644 @%:@ ac_fn_c_try_cpp LINENO
1645 @%:@ ----------------------
1646 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { { ac_try="$ac_cpp conftest.$ac_ext"
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } > conftest.i && {
1666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 as_fn_set_status $ac_retval
1679 } @%:@ ac_fn_c_try_cpp
1681 @%:@ ac_fn_c_try_run LINENO
1682 @%:@ ----------------------
1683 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1684 @%:@ that executables *can* be run.
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699 { { case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_try") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; }; }; then :
1711 $as_echo "$as_me: program exited with status $ac_status" >&5
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=$ac_status
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1721 } @%:@ ac_fn_c_try_run
1723 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1724 @%:@ ----------------------------------
1725 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1726 ac_fn_c_check_func ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730 $as_echo_n "checking for $2... " >&6; }
1731 if eval \${$3+:} false; then :
1732 $as_echo_n "(cached) " >&6
1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h. */
1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1738 #define $2 innocuous_$2
1740 /* System header to define __stub macros and hopefully few prototypes,
1741 which can conflict with char $2 (); below.
1742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1743 <limits.h> exists even on freestanding compilers. */
1746 # include <limits.h>
1748 # include <assert.h>
1753 /* Override any GCC internal prototype to avoid an error.
1754 Use char because int might match the return type of a GCC
1755 builtin and then its argument prototype would still apply. */
1760 /* The GNU C library defines this for functions which it implements
1761 to always fail with ENOSYS. Some functions are actually named
1762 something starting with __ and the normal name is an alias. */
1763 #if defined __stub_$2 || defined __stub___$2
1775 if ac_fn_c_try_link "$LINENO"; then :
1780 rm -f core conftest.err conftest.$ac_objext \
1781 conftest$ac_exeext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 } @%:@ ac_fn_c_check_func
1790 @%:@ ac_fn_cxx_try_cpp LINENO
1791 @%:@ ------------------------
1792 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1793 ac_fn_cxx_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } > conftest.i && {
1812 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1813 test ! -s conftest.err
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 as_fn_set_status $ac_retval
1825 } @%:@ ac_fn_cxx_try_cpp
1827 @%:@ ac_fn_cxx_try_link LINENO
1828 @%:@ -------------------------
1829 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1830 ac_fn_cxx_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_cxx_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1871 } @%:@ ac_fn_cxx_try_link
1872 cat >config.log <<_ACEOF
1873 This file contains any messages produced by compilers while
1874 running configure, to aid debugging if configure makes a mistake.
1876 It was created by libsalac $as_me 0.1, which was
1877 generated by GNU Autoconf 2.68. Invocation command line was
1889 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1890 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1891 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1892 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1893 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1895 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1896 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1898 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1899 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1900 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1901 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1902 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1903 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1904 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 $as_echo "PATH: $as_dir"
1929 # Keep a trace of the command line.
1930 # Strip out --no-create and --no-recursion so they do not pile up.
1931 # Strip out --silent because we don't want to record it for future runs.
1932 # Also quote any args containing shell meta-characters.
1933 # Make two passes to allow for proper duplicate-argument suppression.
1937 ac_must_keep_next=false
1943 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1945 | -silent | --silent | --silen | --sile | --sil)
1948 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1951 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1953 as_fn_append ac_configure_args1 " '$ac_arg'"
1954 if test $ac_must_keep_next = true; then
1955 ac_must_keep_next=false # Got value, back to normal.
1958 *=* | --config-cache | -C | -disable-* | --disable-* \
1959 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1960 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1961 | -with-* | --with-* | -without-* | --without-* | --x)
1962 case "$ac_configure_args0 " in
1963 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1966 -* ) ac_must_keep_next=true ;;
1969 as_fn_append ac_configure_args " '$ac_arg'"
1974 { ac_configure_args0=; unset ac_configure_args0;}
1975 { ac_configure_args1=; unset ac_configure_args1;}
1977 # When interrupted or exit'd, cleanup temporary files, and complete
1978 # config.log. We remove comments because anyway the quotes in there
1979 # would cause problems or look ugly.
1980 # WARNING: Use '\'' to represent an apostrophe within the trap.
1981 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1982 trap 'exit_status=$?
1983 # Save into config.log some information that might help in debugging.
1987 $as_echo "## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##"
1991 # The following way of writing the cache mishandles newlines in values,
1993 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994 eval ac_val=\$$ac_var
1998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2002 _ | IFS | as_nl) ;; #(
2003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004 *) { eval $ac_var=; unset $ac_var;} ;;
2009 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010 *${as_nl}ac_space=\ *)
2012 "s/'\''/'\''\\\\'\'''\''/g;
2013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2023 $as_echo "## ----------------- ##
2024 ## Output variables. ##
2025 ## ----------------- ##"
2027 for ac_var in $ac_subst_vars
2029 eval ac_val=\$$ac_var
2031 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033 $as_echo "$ac_var='\''$ac_val'\''"
2037 if test -n "$ac_subst_files"; then
2038 $as_echo "## ------------------- ##
2039 ## File substitutions. ##
2040 ## ------------------- ##"
2042 for ac_var in $ac_subst_files
2044 eval ac_val=\$$ac_var
2046 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2048 $as_echo "$ac_var='\''$ac_val'\''"
2053 if test -s confdefs.h; then
2054 $as_echo "## ----------- ##
2061 test "$ac_signal" != 0 &&
2062 $as_echo "$as_me: caught signal $ac_signal"
2063 $as_echo "$as_me: exit $exit_status"
2065 rm -f core *.core core.conftest.* &&
2066 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2069 for ac_signal in 1 2 13 15; do
2070 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2074 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2075 rm -f -r conftest* confdefs.h
2077 $as_echo "/* confdefs.h */" > confdefs.h
2079 # Predefined preprocessor variables.
2081 cat >>confdefs.h <<_ACEOF
2082 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2085 cat >>confdefs.h <<_ACEOF
2086 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2089 cat >>confdefs.h <<_ACEOF
2090 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2093 cat >>confdefs.h <<_ACEOF
2094 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2097 cat >>confdefs.h <<_ACEOF
2098 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2101 cat >>confdefs.h <<_ACEOF
2102 @%:@define PACKAGE_URL "$PACKAGE_URL"
2106 # Let the site file select an alternate cache file if it wants to.
2107 # Prefer an explicitly selected file to automatically selected ones.
2110 if test -n "$CONFIG_SITE"; then
2111 # We do not want a PATH search for config.site.
2112 case $CONFIG_SITE in @%:@((
2113 -*) ac_site_file1=./$CONFIG_SITE;;
2114 */*) ac_site_file1=$CONFIG_SITE;;
2115 *) ac_site_file1=./$CONFIG_SITE;;
2117 elif test "x$prefix" != xNONE; then
2118 ac_site_file1=$prefix/share/config.site
2119 ac_site_file2=$prefix/etc/config.site
2121 ac_site_file1=$ac_default_prefix/share/config.site
2122 ac_site_file2=$ac_default_prefix/etc/config.site
2124 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2126 test "x$ac_site_file" = xNONE && continue
2127 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2129 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2130 sed 's/^/| /' "$ac_site_file" >&5
2132 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 as_fn_error $? "failed to load site script $ac_site_file
2135 See \`config.log' for more details" "$LINENO" 5; }
2139 if test -r "$cache_file"; then
2140 # Some versions of bash will fail to source /dev/null (special files
2141 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2142 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2144 $as_echo "$as_me: loading cache $cache_file" >&6;}
2146 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2147 *) . "./$cache_file";;
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2152 $as_echo "$as_me: creating cache $cache_file" >&6;}
2156 # Check that the precious variables saved in the cache have kept the same
2158 ac_cache_corrupted=false
2159 for ac_var in $ac_precious_vars; do
2160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161 eval ac_new_set=\$ac_env_${ac_var}_set
2162 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163 eval ac_new_val=\$ac_env_${ac_var}_value
2164 case $ac_old_set,$ac_new_set in
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2167 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168 ac_cache_corrupted=: ;;
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2175 if test "x$ac_old_val" != "x$ac_new_val"; then
2176 # differences in whitespace do not lead to failure.
2177 ac_old_val_w=`echo x $ac_old_val`
2178 ac_new_val_w=`echo x $ac_new_val`
2179 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2182 ac_cache_corrupted=:
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2185 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186 eval $ac_var=\$ac_old_val
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2189 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2191 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2194 # Pass precious variables to config.status.
2195 if test "$ac_new_set" = set; then
2197 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2198 *) ac_arg=$ac_var=$ac_new_val ;;
2200 case " $ac_configure_args " in
2201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2202 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2206 if $ac_cache_corrupted; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2211 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2213 ## -------------------- ##
2214 ## Main body of script. ##
2215 ## -------------------- ##
2218 ac_cpp='$CPP $CPPFLAGS'
2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225 am__api_version='1.11'
2228 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2229 if test -f "$ac_dir/install-sh"; then
2231 ac_install_sh="$ac_aux_dir/install-sh -c"
2233 elif test -f "$ac_dir/install.sh"; then
2235 ac_install_sh="$ac_aux_dir/install.sh -c"
2237 elif test -f "$ac_dir/shtool"; then
2239 ac_install_sh="$ac_aux_dir/shtool install -c"
2243 if test -z "$ac_aux_dir"; then
2244 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2247 # These three variables are undocumented and unsupported,
2248 # and are intended to be withdrawn in a future Autoconf release.
2249 # They can cause serious problems if a builder's source tree is in a directory
2250 # whose full name contains unusual characters.
2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2253 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2256 # Find a good install program. We prefer a C program (faster),
2257 # so one script is as good as another. But avoid the broken or
2258 # incompatible versions:
2259 # SysV /etc/install, /usr/sbin/install
2260 # SunOS /usr/etc/install
2261 # IRIX /sbin/install
2263 # AmigaOS /C/install, which installs bootblocks on floppy discs
2264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2267 # OS/2's system install, which has a completely different semantic
2268 # ./install, which can be erroneously created by make from ./install.sh.
2269 # Reject install programs that cannot install multiple files.
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2271 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2272 if test -z "$INSTALL"; then
2273 if ${ac_cv_path_install+:} false; then :
2274 $as_echo_n "(cached) " >&6
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir=.
2281 # Account for people who put trailing slashes in PATH elements.
2282 case $as_dir/ in @%:@((
2283 ./ | .// | /[cC]/* | \
2284 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2285 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2288 # OSF1 and SCO ODT 3.0 have their own names for install.
2289 # Don't use installbsd from OSF since it installs stuff as root
2291 for ac_prog in ginstall scoinst install; do
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2294 if test $ac_prog = install &&
2295 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2296 # AIX install. It has an incompatible calling convention.
2298 elif test $ac_prog = install &&
2299 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2300 # program-specific install script used by HP pwplus--don't use.
2303 rm -rf conftest.one conftest.two conftest.dir
2304 echo one > conftest.one
2305 echo two > conftest.two
2307 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2308 test -s conftest.one && test -s conftest.two &&
2309 test -s conftest.dir/conftest.one &&
2310 test -s conftest.dir/conftest.two
2312 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2325 rm -rf conftest.one conftest.two conftest.dir
2328 if test "${ac_cv_path_install+set}" = set; then
2329 INSTALL=$ac_cv_path_install
2331 # As a last resort, use the slow shell script. Don't cache a
2332 # value for INSTALL within a source directory, because that will
2333 # break other packages using the cache if that directory is
2334 # removed, or if the value is a relative name.
2335 INSTALL=$ac_install_sh
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2339 $as_echo "$INSTALL" >&6; }
2341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2342 # It thinks the first close brace ends the variable substitution.
2343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2350 $as_echo_n "checking whether build environment is sane... " >&6; }
2353 echo timestamp > conftest.file
2354 # Reject unsafe characters in $srcdir or the absolute working directory
2355 # name. Accept space and tab only in the latter.
2359 *[\\\"\#\$\&\'\`$am_lf]*)
2360 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2363 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2364 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2367 # Do `set' in a subshell so we don't clobber the current shell's
2368 # arguments. Must try -L first in case configure is actually a
2369 # symlink; some systems play weird games with the mod time of symlinks
2370 # (eg FreeBSD returns the mod time of the symlink's containing
2373 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2374 if test "$*" = "X"; then
2376 set X `ls -t "$srcdir/configure" conftest.file`
2379 if test "$*" != "X $srcdir/configure conftest.file" \
2380 && test "$*" != "X conftest.file $srcdir/configure"; then
2382 # If neither matched, then we have a broken ls. This can happen
2383 # if, for instance, CONFIG_SHELL is bash and it inherits a
2384 # broken ls alias from the environment. This has actually
2385 # happened. Such a system could not be considered "sane".
2386 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2387 alias in your environment" "$LINENO" 5
2390 test "$2" = conftest.file
2396 as_fn_error $? "newly created file is older than distributed files!
2397 Check your system clock" "$LINENO" 5
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2400 $as_echo "yes" >&6; }
2401 test "$program_prefix" != NONE &&
2402 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2403 # Use a double $ so make ignores it.
2404 test "$program_suffix" != NONE &&
2405 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2406 # Double any \ or $.
2407 # By default was `s,x,x', remove it if useless.
2408 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2409 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2411 # expand $ac_aux_dir to an absolute path
2412 am_aux_dir=`cd $ac_aux_dir && pwd`
2414 if test x"${MISSING+set}" != xset; then
2417 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2419 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2422 # Use eval to expand $SHELL
2423 if eval "$MISSING --run true"; then
2424 am_missing_run="$MISSING --run "
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2428 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2431 if test x"${install_sh}" != xset; then
2434 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2436 install_sh="\${SHELL} $am_aux_dir/install-sh"
2440 # Installed binaries are usually stripped using `strip' when the user
2441 # run `make install-strip'. However `strip' might not be the right
2442 # tool to use in cross-compilation environments, therefore Automake
2443 # will honor the `STRIP' environment variable to overrule this program.
2444 if test "$cross_compiling" != no; then
2445 if test -n "$ac_tool_prefix"; then
2446 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2447 set dummy ${ac_tool_prefix}strip; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_STRIP+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 if test -n "$STRIP"; then
2454 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 STRIP=$ac_cv_prog_STRIP
2474 if test -n "$STRIP"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2476 $as_echo "$STRIP" >&6; }
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2484 if test -z "$ac_cv_prog_STRIP"; then
2486 # Extract the first word of "strip", so it can be a program name with args.
2487 set dummy strip; ac_word=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 if test -n "$ac_ct_STRIP"; then
2494 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_ac_ct_STRIP="strip"
2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2514 if test -n "$ac_ct_STRIP"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2516 $as_echo "$ac_ct_STRIP" >&6; }
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2522 if test "x$ac_ct_STRIP" = x; then
2525 case $cross_compiling:$ac_tool_warned in
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2529 ac_tool_warned=yes ;;
2534 STRIP="$ac_cv_prog_STRIP"
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2541 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2542 if test -z "$MKDIR_P"; then
2543 if ${ac_cv_path_mkdir+:} false; then :
2544 $as_echo_n "(cached) " >&6
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2550 test -z "$as_dir" && as_dir=.
2551 for ac_prog in mkdir gmkdir; do
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2554 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2555 'mkdir (GNU coreutils) '* | \
2556 'mkdir (coreutils) '* | \
2557 'mkdir (fileutils) '4.1*)
2558 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2568 test -d ./--version && rmdir ./--version
2569 if test "${ac_cv_path_mkdir+set}" = set; then
2570 MKDIR_P="$ac_cv_path_mkdir -p"
2572 # As a last resort, use the slow shell script. Don't cache a
2573 # value for MKDIR_P within a source directory, because that will
2574 # break other packages using the cache if that directory is
2575 # removed, or if the value is a relative name.
2576 MKDIR_P="$ac_install_sh -d"
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2580 $as_echo "$MKDIR_P" >&6; }
2584 [\\/$]* | ?:[\\/]*) ;;
2585 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2588 for ac_prog in gawk mawk nawk awk
2590 # Extract the first word of "$ac_prog", so it can be a program name with args.
2591 set dummy $ac_prog; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_AWK+:} false; then :
2595 $as_echo_n "(cached) " >&6
2597 if test -n "$AWK"; then
2598 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607 ac_cv_prog_AWK="$ac_prog"
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 if test -n "$AWK"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2620 $as_echo "$AWK" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2627 test -n "$AWK" && break
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2631 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2633 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2634 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 cat >conftest.make <<\_ACEOF
2640 @echo '@@@%%%=$(MAKE)=@@@%%%'
2642 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2645 eval ac_cv_prog_make_${ac_make}_set=yes;;
2647 eval ac_cv_prog_make_${ac_make}_set=no;;
2651 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2653 $as_echo "yes" >&6; }
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657 $as_echo "no" >&6; }
2658 SET_MAKE="MAKE=${MAKE-make}"
2661 rm -rf .tst 2>/dev/null
2662 mkdir .tst 2>/dev/null
2663 if test -d .tst; then
2668 rmdir .tst 2>/dev/null
2670 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2671 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2672 # is not polluted with repeated "-I."
2673 am__isrc=' -I$(srcdir)'
2674 # test to see if srcdir already configured
2675 if test -f $srcdir/config.status; then
2676 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2680 # test whether we have cygpath
2681 if test -z "$CYGPATH_W"; then
2682 if (cygpath --version) >/dev/null 2>/dev/null; then
2683 CYGPATH_W='cygpath -w'
2690 # Define the identity of the package.
2695 # Some tools Automake needs.
2697 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2700 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2703 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2706 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2709 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2711 # We need awk for the "check" target. The system "awk" is bad on
2713 # Always define AMTAR for backward compatibility. Yes, it's still used
2714 # in the wild :-( We should find a proper way to deprecate it ...
2717 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2725 ac_config_headers="$ac_config_headers config.h libsalacconfig.h"
2728 ac_cpp='$CXXCPP $CPPFLAGS'
2729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2732 if test -z "$CXX"; then
2733 if test -n "$CCC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_CXX+:} false; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CXX"; then
2747 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CXX"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2769 $as_echo "$CXX" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2776 test -n "$CXX" && break
2779 if test -z "$CXX"; then
2781 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2783 # Extract the first word of "$ac_prog", so it can be a program name with args.
2784 set dummy $ac_prog; ac_word=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$ac_ct_CXX"; then
2791 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_ac_ct_CXX="$ac_prog"
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2811 if test -n "$ac_ct_CXX"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2813 $as_echo "$ac_ct_CXX" >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2820 test -n "$ac_ct_CXX" && break
2823 if test "x$ac_ct_CXX" = x; then
2826 case $cross_compiling:$ac_tool_warned in
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2830 ac_tool_warned=yes ;;
2838 # Provide some information about the compiler.
2839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2842 for ac_option in --version -v -V -qversion; do
2843 { { ac_try="$ac_compiler $ac_option >&5"
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2852 if test -s conftest.err; then
2854 ... rest of stderr output deleted ...
2855 10q' conftest.err >conftest.er1
2856 cat conftest.er1 >&5
2858 rm -f conftest.er1 conftest.err
2859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; }
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2874 ac_clean_files_save=$ac_clean_files
2875 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2876 # Try to create an executable without -o first, disregard a.out.
2877 # It will help us diagnose broken compilers, and finding out an intuition
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2880 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2881 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2883 # The possible output files:
2884 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2887 for ac_file in $ac_files
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2891 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2896 if { { ac_try="$ac_link_default"
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903 (eval "$ac_link_default") 2>&5
2905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2906 test $ac_status = 0; }; then :
2907 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2908 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2909 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2910 # so that the user can short-circuit this test for compilers unknown to
2912 for ac_file in $ac_files ''
2914 test -f "$ac_file" || continue
2916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2919 # We found the default executable, but exeext='' is most
2923 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2925 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2927 # We set ac_cv_exeext here because the later test for it is not
2928 # safe: cross compilers may not add the suffix if given an `-o'
2929 # argument, so we may need to know it at that point already.
2930 # Even if this section looks crufty: it has the advantage of
2937 test "$ac_cv_exeext" = no && ac_cv_exeext=
2942 if test -z "$ac_file"; then :
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2950 as_fn_error 77 "C++ compiler cannot create executables
2951 See \`config.log' for more details" "$LINENO" 5; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2954 $as_echo "yes" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2957 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2959 $as_echo "$ac_file" >&6; }
2960 ac_exeext=$ac_cv_exeext
2962 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2963 ac_clean_files=$ac_clean_files_save
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2965 $as_echo_n "checking for suffix of executables... " >&6; }
2966 if { { ac_try="$ac_link"
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_link") 2>&5
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; }; then :
2977 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2978 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2979 # work properly (i.e., refer to `conftest.exe'), while it won't with
2981 for ac_file in conftest.exe conftest conftest.*; do
2982 test -f "$ac_file" || continue
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2985 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2994 See \`config.log' for more details" "$LINENO" 5; }
2996 rm -f conftest conftest$ac_cv_exeext
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2998 $as_echo "$ac_cv_exeext" >&6; }
3000 rm -f conftest.$ac_ext
3001 EXEEXT=$ac_cv_exeext
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3005 @%:@include <stdio.h>
3009 FILE *f = fopen ("conftest.out", "w");
3010 return ferror (f) || fclose (f) != 0;
3016 ac_clean_files="$ac_clean_files conftest.out"
3017 # Check that the compiler produces executables we can run. If not, either
3018 # the compiler is broken, or we cross compile.
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3020 $as_echo_n "checking whether we are cross compiling... " >&6; }
3021 if test "$cross_compiling" != yes; then
3022 { { ac_try="$ac_link"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029 (eval "$ac_link") 2>&5
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }
3033 if { ac_try='./conftest$ac_cv_exeext'
3034 { { case "(($ac_try" in
3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_try") 2>&5
3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; }; }; then
3046 if test "$cross_compiling" = maybe; then
3049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error $? "cannot run C++ compiled programs.
3052 If you meant to cross compile, use \`--host'.
3053 See \`config.log' for more details" "$LINENO" 5; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3058 $as_echo "$cross_compiling" >&6; }
3060 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3061 ac_clean_files=$ac_clean_files_save
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3063 $as_echo_n "checking for suffix of object files... " >&6; }
3064 if ${ac_cv_objext+:} false; then :
3065 $as_echo_n "(cached) " >&6
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3078 rm -f conftest.o conftest.obj
3079 if { { ac_try="$ac_compile"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085 $as_echo "$ac_try_echo"; } >&5
3086 (eval "$ac_compile") 2>&5
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; }; then :
3090 for ac_file in conftest.o conftest.obj conftest.*; do
3091 test -f "$ac_file" || continue;
3093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3094 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3099 $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 as_fn_error $? "cannot compute suffix of object files: cannot compile
3105 See \`config.log' for more details" "$LINENO" 5; }
3107 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3110 $as_echo "$ac_cv_objext" >&6; }
3111 OBJEXT=$ac_cv_objext
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3114 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3115 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3132 if ac_fn_cxx_try_compile "$LINENO"; then :
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3142 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3143 if test $ac_compiler_gnu = yes; then
3148 ac_test_CXXFLAGS=${CXXFLAGS+set}
3149 ac_save_CXXFLAGS=$CXXFLAGS
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3151 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3152 if ${ac_cv_prog_cxx_g+:} false; then :
3153 $as_echo_n "(cached) " >&6
3155 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3156 ac_cxx_werror_flag=yes
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3170 if ac_fn_cxx_try_compile "$LINENO"; then :
3171 ac_cv_prog_cxx_g=yes
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3185 if ac_fn_cxx_try_compile "$LINENO"; then :
3188 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3201 if ac_fn_cxx_try_compile "$LINENO"; then :
3202 ac_cv_prog_cxx_g=yes
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3212 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3213 if test "$ac_test_CXXFLAGS" = set; then
3214 CXXFLAGS=$ac_save_CXXFLAGS
3215 elif test $ac_cv_prog_cxx_g = yes; then
3216 if test "$GXX" = yes; then
3222 if test "$GXX" = yes; then
3229 ac_cpp='$CPP $CPPFLAGS'
3230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 DEPDIR="${am__leading_dot}deps"
3235 ac_config_commands="$ac_config_commands depfiles"
3238 am_make=${MAKE-make}
3239 cat > confinc << 'END'
3241 @echo this is the am__doit target
3244 # If we don't find an include directive, just comment out the code.
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3246 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3250 # First try GNU make style include.
3251 echo "include confinc" > confmf
3252 # Ignore all kinds of additional output from `make'.
3253 case `$am_make -s -f confmf 2> /dev/null` in #(
3254 *the\ am__doit\ target*)
3260 # Now try BSD make style include.
3261 if test "$am__include" = "#"; then
3262 echo '.include "confinc"' > confmf
3263 case `$am_make -s -f confmf 2> /dev/null` in #(
3264 *the\ am__doit\ target*)
3265 am__include=.include
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3274 $as_echo "$_am_result" >&6; }
3275 rm -f confinc confmf
3277 @%:@ Check whether --enable-dependency-tracking was given.
3278 if test "${enable_dependency_tracking+set}" = set; then :
3279 enableval=$enable_dependency_tracking;
3282 if test "x$enable_dependency_tracking" != xno; then
3283 am_depcomp="$ac_aux_dir/depcomp"
3287 if test "x$enable_dependency_tracking" != xno; then
3297 depcc="$CXX" am_compiler_list=
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3300 $as_echo_n "checking dependency style of $depcc... " >&6; }
3301 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3302 $as_echo_n "(cached) " >&6
3304 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3305 # We make a subdir and do the tests there. Otherwise we can end up
3306 # making bogus files that we don't know about and never remove. For
3307 # instance it was reported that on HP-UX the gcc test will end up
3308 # making a dummy file named `D' -- because `-MD' means `put the output
3312 # Copy depcomp to subdir because otherwise we won't find it if we're
3313 # using a relative directory.
3314 cp "$am_depcomp" conftest.dir
3316 # We will build objects and dependencies in a subdirectory because
3317 # it helps to detect inapplicable dependency modes. For instance
3318 # both Tru64's cc and ICC support -MD to output dependencies as a
3319 # side effect of compilation, but ICC will put the dependencies in
3320 # the current directory while Tru64 will put them in the object
3324 am_cv_CXX_dependencies_compiler_type=none
3325 if test "$am_compiler_list" = ""; then
3326 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3329 case " $depcc " in #(
3330 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3333 for depmode in $am_compiler_list; do
3334 # Setup a source with many dependencies, because some compilers
3335 # like to wrap large dependency lists on column 80 (with \), and
3336 # we should not choose a depcomp mode which is confused by this.
3338 # We need to recreate these files for each test, as the compiler may
3339 # overwrite some of them when testing with obscure command lines.
3340 # This happens at least with the AIX C compiler.
3342 for i in 1 2 3 4 5 6; do
3343 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3344 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3345 # Solaris 8's {/usr,}/bin/sh.
3346 touch sub/conftst$i.h
3348 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3350 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3351 # mode. It turns out that the SunPro C++ compiler does not properly
3352 # handle `-M -o', and we need to detect this. Also, some Intel
3353 # versions had trouble with output in subdirs
3354 am__obj=sub/conftest.${OBJEXT-o}
3355 am__minus_obj="-o $am__obj"
3358 # This depmode causes a compiler race in universal mode.
3359 test "$am__universal" = false || continue
3362 # after this tag, mechanisms are not by side-effect, so they'll
3363 # only be used when explicitly requested
3364 if test "x$enable_dependency_tracking" = xyes; then
3370 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3371 # This compiler won't grok `-c -o', but also, the minuso test has
3372 # not run yet. These depmodes are late enough in the game, and
3373 # so weak that their functioning should not be impacted.
3374 am__obj=conftest.${OBJEXT-o}
3379 if depmode=$depmode \
3380 source=sub/conftest.c object=$am__obj \
3381 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3382 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3383 >/dev/null 2>conftest.err &&
3384 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3385 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3386 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3387 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3388 # icc doesn't choke on unknown options, it will just issue warnings
3389 # or remarks (even with -Werror). So we grep stderr for any message
3390 # that says an option was ignored or not supported.
3391 # When given -MP, icc 7.0 and 7.1 complain thusly:
3392 # icc: Command line warning: ignoring option '-M'; no argument required
3393 # The diagnosis changed in icc 8.0:
3394 # icc: Command line remark: option '-MP' not supported
3395 if (grep 'ignoring option' conftest.err ||
3396 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3397 am_cv_CXX_dependencies_compiler_type=$depmode
3406 am_cv_CXX_dependencies_compiler_type=none
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3411 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3412 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3415 test "x$enable_dependency_tracking" != xno \
3416 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3417 am__fastdepCXX_TRUE=
3418 am__fastdepCXX_FALSE='#'
3420 am__fastdepCXX_TRUE='#'
3421 am__fastdepCXX_FALSE=
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3428 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3433 macro_version='2.4.2'
3434 macro_revision='1.3337'
3448 ltmain="$ac_aux_dir/ltmain.sh"
3450 # Make sure we can run config.sub.
3451 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3452 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3455 $as_echo_n "checking build system type... " >&6; }
3456 if ${ac_cv_build+:} false; then :
3457 $as_echo_n "(cached) " >&6
3459 ac_build_alias=$build_alias
3460 test "x$ac_build_alias" = x &&
3461 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3462 test "x$ac_build_alias" = x &&
3463 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3464 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3465 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3469 $as_echo "$ac_cv_build" >&6; }
3470 case $ac_cv_build in
3472 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3475 ac_save_IFS=$IFS; IFS='-'
3481 # Remember, the first character of IFS is used to create $*,
3482 # except with old shells:
3485 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3489 $as_echo_n "checking host system type... " >&6; }
3490 if ${ac_cv_host+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 if test "x$host_alias" = x; then
3494 ac_cv_host=$ac_cv_build
3496 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3497 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3502 $as_echo "$ac_cv_host" >&6; }
3505 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3508 ac_save_IFS=$IFS; IFS='-'
3514 # Remember, the first character of IFS is used to create $*,
3515 # except with old shells:
3518 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3521 # Backslashify metacharacters that are still active within
3522 # double-quoted strings.
3523 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3525 # Same as above, but do not quote variable references.
3526 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3528 # Sed substitution to delay expansion of an escaped shell variable in a
3529 # double_quote_subst'ed string.
3530 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3532 # Sed substitution to delay expansion of an escaped single quote.
3533 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3535 # Sed substitution to avoid accidental globbing in evaled expressions
3536 no_glob_subst='s/\*/\\\*/g'
3538 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3539 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3540 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3543 $as_echo_n "checking how to print strings... " >&6; }
3544 # Test print first, because it will be a builtin if present.
3545 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3546 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3548 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3551 # Use this function as a fallback that always works.
3552 func_fallback_echo ()
3554 eval 'cat <<_LTECHO_EOF
3558 ECHO='func_fallback_echo'
3561 # func_echo_all arg...
3562 # Invoke $ECHO with all args, space-separated.
3569 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3570 $as_echo "printf" >&6; } ;;
3571 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3572 $as_echo "print -r" >&6; } ;;
3573 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3574 $as_echo "cat" >&6; } ;;
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3597 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC="$CC" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3634 if test -z "$ac_cv_prog_CC"; then
3636 # Extract the first word of "gcc", so it can be a program name with args.
3637 set dummy gcc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$ac_ct_CC"; then
3644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_ac_ct_CC="gcc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3664 if test -n "$ac_ct_CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3666 $as_echo "$ac_ct_CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3672 if test "x$ac_ct_CC" = x; then
3675 case $cross_compiling:$ac_tool_warned in
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3679 ac_tool_warned=yes ;;
3687 if test -z "$CC"; then
3688 if test -n "$ac_tool_prefix"; then
3689 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3690 set dummy ${ac_tool_prefix}cc; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false; then :
3694 $as_echo_n "(cached) " >&6
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_prog_CC="${ac_tool_prefix}cc"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 # Extract the first word of "cc", so it can be a program name with args.
3730 set dummy cc; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3748 ac_prog_rejected=yes
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 if test $ac_prog_rejected = yes; then
3760 # We found a bogon in the path, so make sure we never use it.
3761 set dummy $ac_cv_prog_CC
3763 if test $@%:@ != 0; then
3764 # We chose a different compiler from the bogus one.
3765 # However, it has the same basename, so the bogon will be chosen
3766 # first if we set CC to just the basename; use the full file name.
3768 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3774 if test -n "$CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3784 if test -z "$CC"; then
3785 if test -n "$ac_tool_prefix"; then
3786 for ac_prog in cl.exe
3788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_CC+:} false; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$CC"; then
3796 ac_cv_prog_CC="$CC" # Let the user override the test.
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 if test -n "$CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 test -n "$CC" && break
3828 if test -z "$CC"; then
3830 for ac_prog in cl.exe
3832 # Extract the first word of "$ac_prog", so it can be a program name with args.
3833 set dummy $ac_prog; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3837 $as_echo_n "(cached) " >&6
3839 if test -n "$ac_ct_CC"; then
3840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849 ac_cv_prog_ac_ct_CC="$ac_prog"
3850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3860 if test -n "$ac_ct_CC"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3862 $as_echo "$ac_ct_CC" >&6; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3869 test -n "$ac_ct_CC" && break
3872 if test "x$ac_ct_CC" = x; then
3875 case $cross_compiling:$ac_tool_warned in
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3888 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3890 as_fn_error $? "no acceptable C compiler found in \$PATH
3891 See \`config.log' for more details" "$LINENO" 5; }
3893 # Provide some information about the compiler.
3894 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3897 for ac_option in --version -v -V -qversion; do
3898 { { ac_try="$ac_compiler $ac_option >&5"
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3907 if test -s conftest.err; then
3909 ... rest of stderr output deleted ...
3910 10q' conftest.err >conftest.er1
3911 cat conftest.er1 >&5
3913 rm -f conftest.er1 conftest.err
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3919 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3920 if ${ac_cv_c_compiler_gnu+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3937 if ac_fn_c_try_compile "$LINENO"; then :
3942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3947 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3948 if test $ac_compiler_gnu = yes; then
3953 ac_test_CFLAGS=${CFLAGS+set}
3954 ac_save_CFLAGS=$CFLAGS
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3956 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3957 if ${ac_cv_prog_cc_g+:} false; then :
3958 $as_echo_n "(cached) " >&6
3960 ac_save_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3990 if ac_fn_c_try_compile "$LINENO"; then :
3993 ac_c_werror_flag=$ac_save_c_werror_flag
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
4006 if ac_fn_c_try_compile "$LINENO"; then :
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 ac_c_werror_flag=$ac_save_c_werror_flag
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4017 $as_echo "$ac_cv_prog_cc_g" >&6; }
4018 if test "$ac_test_CFLAGS" = set; then
4019 CFLAGS=$ac_save_CFLAGS
4020 elif test $ac_cv_prog_cc_g = yes; then
4021 if test "$GCC" = yes; then
4027 if test "$GCC" = yes; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4034 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4035 if ${ac_cv_prog_cc_c89+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 ac_cv_prog_cc_c89=no
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4044 #include <sys/types.h>
4045 #include <sys/stat.h>
4046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4047 struct buf { int x; };
4048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4049 static char *e (p, i)
4055 static char *f (char * (*g) (char **, int), char **p, ...)
4060 s = g (p, va_arg (v,int));
4065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4066 function prototypes and stuff, but not '\xHH' hex character constants.
4067 These don't provoke an error unfortunately, instead are silently treated
4068 as 'x'. The following induces an error, until -std is added to get
4069 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4070 array size at least. It's necessary to write '\x00'==0 to get something
4071 that's true only with -std. */
4072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4074 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4075 inside strings and character constants. */
4077 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4079 int test (int i, double x);
4080 struct s1 {int (*f) (int a);};
4081 struct s2 {int (*f) (double a);};
4082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4088 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4093 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4094 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4096 CC="$ac_save_CC $ac_arg"
4097 if ac_fn_c_try_compile "$LINENO"; then :
4098 ac_cv_prog_cc_c89=$ac_arg
4100 rm -f core conftest.err conftest.$ac_objext
4101 test "x$ac_cv_prog_cc_c89" != "xno" && break
4103 rm -f conftest.$ac_ext
4108 case "x$ac_cv_prog_cc_c89" in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4111 $as_echo "none needed" >&6; } ;;
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4114 $as_echo "unsupported" >&6; } ;;
4116 CC="$CC $ac_cv_prog_cc_c89"
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4118 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4120 if test "x$ac_cv_prog_cc_c89" != xno; then :
4125 ac_cpp='$CPP $CPPFLAGS'
4126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4130 depcc="$CC" am_compiler_list=
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4133 $as_echo_n "checking dependency style of $depcc... " >&6; }
4134 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4138 # We make a subdir and do the tests there. Otherwise we can end up
4139 # making bogus files that we don't know about and never remove. For
4140 # instance it was reported that on HP-UX the gcc test will end up
4141 # making a dummy file named `D' -- because `-MD' means `put the output
4145 # Copy depcomp to subdir because otherwise we won't find it if we're
4146 # using a relative directory.
4147 cp "$am_depcomp" conftest.dir
4149 # We will build objects and dependencies in a subdirectory because
4150 # it helps to detect inapplicable dependency modes. For instance
4151 # both Tru64's cc and ICC support -MD to output dependencies as a
4152 # side effect of compilation, but ICC will put the dependencies in
4153 # the current directory while Tru64 will put them in the object
4157 am_cv_CC_dependencies_compiler_type=none
4158 if test "$am_compiler_list" = ""; then
4159 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4162 case " $depcc " in #(
4163 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4166 for depmode in $am_compiler_list; do
4167 # Setup a source with many dependencies, because some compilers
4168 # like to wrap large dependency lists on column 80 (with \), and
4169 # we should not choose a depcomp mode which is confused by this.
4171 # We need to recreate these files for each test, as the compiler may
4172 # overwrite some of them when testing with obscure command lines.
4173 # This happens at least with the AIX C compiler.
4175 for i in 1 2 3 4 5 6; do
4176 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4177 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4178 # Solaris 8's {/usr,}/bin/sh.
4179 touch sub/conftst$i.h
4181 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4183 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4184 # mode. It turns out that the SunPro C++ compiler does not properly
4185 # handle `-M -o', and we need to detect this. Also, some Intel
4186 # versions had trouble with output in subdirs
4187 am__obj=sub/conftest.${OBJEXT-o}
4188 am__minus_obj="-o $am__obj"
4191 # This depmode causes a compiler race in universal mode.
4192 test "$am__universal" = false || continue
4195 # after this tag, mechanisms are not by side-effect, so they'll
4196 # only be used when explicitly requested
4197 if test "x$enable_dependency_tracking" = xyes; then
4203 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4204 # This compiler won't grok `-c -o', but also, the minuso test has
4205 # not run yet. These depmodes are late enough in the game, and
4206 # so weak that their functioning should not be impacted.
4207 am__obj=conftest.${OBJEXT-o}
4212 if depmode=$depmode \
4213 source=sub/conftest.c object=$am__obj \
4214 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4215 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4216 >/dev/null 2>conftest.err &&
4217 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4218 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4219 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4220 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4221 # icc doesn't choke on unknown options, it will just issue warnings
4222 # or remarks (even with -Werror). So we grep stderr for any message
4223 # that says an option was ignored or not supported.
4224 # When given -MP, icc 7.0 and 7.1 complain thusly:
4225 # icc: Command line warning: ignoring option '-M'; no argument required
4226 # The diagnosis changed in icc 8.0:
4227 # icc: Command line remark: option '-MP' not supported
4228 if (grep 'ignoring option' conftest.err ||
4229 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4230 am_cv_CC_dependencies_compiler_type=$depmode
4239 am_cv_CC_dependencies_compiler_type=none
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4244 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4245 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4248 test "x$enable_dependency_tracking" != xno \
4249 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4251 am__fastdepCC_FALSE='#'
4253 am__fastdepCC_TRUE='#'
4254 am__fastdepCC_FALSE=
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4259 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4260 if ${ac_cv_path_SED+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4264 for ac_i in 1 2 3 4 5 6 7; do
4265 ac_script="$ac_script$as_nl$ac_script"
4267 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4268 { ac_script=; unset ac_script;}
4269 if test -z "$SED"; then
4270 ac_path_SED_found=false
4271 # Loop through the user's path and test for each of PROGNAME-LIST
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir=.
4277 for ac_prog in sed gsed; do
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4280 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4281 # Check for GNU ac_path_SED and select it if it is found.
4282 # Check for GNU $ac_path_SED
4283 case `"$ac_path_SED" --version 2>&1` in
4285 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4288 $as_echo_n 0123456789 >"conftest.in"
4291 cat "conftest.in" "conftest.in" >"conftest.tmp"
4292 mv "conftest.tmp" "conftest.in"
4293 cp "conftest.in" "conftest.nl"
4294 $as_echo '' >> "conftest.nl"
4295 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4296 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4297 as_fn_arith $ac_count + 1 && ac_count=$as_val
4298 if test $ac_count -gt ${ac_path_SED_max-0}; then
4299 # Best one so far, save it but keep looking for a better one
4300 ac_cv_path_SED="$ac_path_SED"
4301 ac_path_SED_max=$ac_count
4303 # 10*(2^10) chars as input seems more than enough
4304 test $ac_count -gt 10 && break
4306 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4309 $ac_path_SED_found && break 3
4314 if test -z "$ac_cv_path_SED"; then
4315 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4323 $as_echo "$ac_cv_path_SED" >&6; }
4324 SED="$ac_cv_path_SED"
4327 test -z "$SED" && SED=sed
4328 Xsed="$SED -e 1s/^X//"
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4341 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4342 if ${ac_cv_path_GREP+:} false; then :
4343 $as_echo_n "(cached) " >&6
4345 if test -z "$GREP"; then
4346 ac_path_GREP_found=false
4347 # Loop through the user's path and test for each of PROGNAME-LIST
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4352 test -z "$as_dir" && as_dir=.
4353 for ac_prog in grep ggrep; do
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4356 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4357 # Check for GNU ac_path_GREP and select it if it is found.
4358 # Check for GNU $ac_path_GREP
4359 case `"$ac_path_GREP" --version 2>&1` in
4361 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4364 $as_echo_n 0123456789 >"conftest.in"
4367 cat "conftest.in" "conftest.in" >"conftest.tmp"
4368 mv "conftest.tmp" "conftest.in"
4369 cp "conftest.in" "conftest.nl"
4370 $as_echo 'GREP' >> "conftest.nl"
4371 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4373 as_fn_arith $ac_count + 1 && ac_count=$as_val
4374 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4375 # Best one so far, save it but keep looking for a better one
4376 ac_cv_path_GREP="$ac_path_GREP"
4377 ac_path_GREP_max=$ac_count
4379 # 10*(2^10) chars as input seems more than enough
4380 test $ac_count -gt 10 && break
4382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4385 $ac_path_GREP_found && break 3
4390 if test -z "$ac_cv_path_GREP"; then
4391 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4394 ac_cv_path_GREP=$GREP
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4399 $as_echo "$ac_cv_path_GREP" >&6; }
4400 GREP="$ac_cv_path_GREP"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4404 $as_echo_n "checking for egrep... " >&6; }
4405 if ${ac_cv_path_EGREP+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4409 then ac_cv_path_EGREP="$GREP -E"
4411 if test -z "$EGREP"; then
4412 ac_path_EGREP_found=false
4413 # Loop through the user's path and test for each of PROGNAME-LIST
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4418 test -z "$as_dir" && as_dir=.
4419 for ac_prog in egrep; do
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4422 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4423 # Check for GNU ac_path_EGREP and select it if it is found.
4424 # Check for GNU $ac_path_EGREP
4425 case `"$ac_path_EGREP" --version 2>&1` in
4427 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4430 $as_echo_n 0123456789 >"conftest.in"
4433 cat "conftest.in" "conftest.in" >"conftest.tmp"
4434 mv "conftest.tmp" "conftest.in"
4435 cp "conftest.in" "conftest.nl"
4436 $as_echo 'EGREP' >> "conftest.nl"
4437 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439 as_fn_arith $ac_count + 1 && ac_count=$as_val
4440 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4441 # Best one so far, save it but keep looking for a better one
4442 ac_cv_path_EGREP="$ac_path_EGREP"
4443 ac_path_EGREP_max=$ac_count
4445 # 10*(2^10) chars as input seems more than enough
4446 test $ac_count -gt 10 && break
4448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4451 $ac_path_EGREP_found && break 3
4456 if test -z "$ac_cv_path_EGREP"; then
4457 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4460 ac_cv_path_EGREP=$EGREP
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4466 $as_echo "$ac_cv_path_EGREP" >&6; }
4467 EGREP="$ac_cv_path_EGREP"
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4471 $as_echo_n "checking for fgrep... " >&6; }
4472 if ${ac_cv_path_FGREP+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4476 then ac_cv_path_FGREP="$GREP -F"
4478 if test -z "$FGREP"; then
4479 ac_path_FGREP_found=false
4480 # Loop through the user's path and test for each of PROGNAME-LIST
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4485 test -z "$as_dir" && as_dir=.
4486 for ac_prog in fgrep; do
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4489 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4490 # Check for GNU ac_path_FGREP and select it if it is found.
4491 # Check for GNU $ac_path_FGREP
4492 case `"$ac_path_FGREP" --version 2>&1` in
4494 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4497 $as_echo_n 0123456789 >"conftest.in"
4500 cat "conftest.in" "conftest.in" >"conftest.tmp"
4501 mv "conftest.tmp" "conftest.in"
4502 cp "conftest.in" "conftest.nl"
4503 $as_echo 'FGREP' >> "conftest.nl"
4504 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4505 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4506 as_fn_arith $ac_count + 1 && ac_count=$as_val
4507 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4508 # Best one so far, save it but keep looking for a better one
4509 ac_cv_path_FGREP="$ac_path_FGREP"
4510 ac_path_FGREP_max=$ac_count
4512 # 10*(2^10) chars as input seems more than enough
4513 test $ac_count -gt 10 && break
4515 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4518 $ac_path_FGREP_found && break 3
4523 if test -z "$ac_cv_path_FGREP"; then
4524 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4527 ac_cv_path_FGREP=$FGREP
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4533 $as_echo "$ac_cv_path_FGREP" >&6; }
4534 FGREP="$ac_cv_path_FGREP"
4537 test -z "$GREP" && GREP=grep
4557 @%:@ Check whether --with-gnu-ld was given.
4558 if test "${with_gnu_ld+set}" = set; then :
4559 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4565 if test "$GCC" = yes; then
4566 # Check if gcc -print-prog-name=ld gives a path.
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4568 $as_echo_n "checking for ld used by $CC... " >&6; }
4571 # gcc leaves a trailing carriage return which upsets mingw
4572 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4574 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4577 # Accept absolute paths.
4579 re_direlt='/[^/][^/]*/\.\./'
4580 # Canonicalize the pathname of ld
4581 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4582 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4583 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4585 test -z "$LD" && LD="$ac_prog"
4588 # If it fails, then pretend we aren't using GCC.
4592 # If it is relative, then search for the first ld in PATH.
4596 elif test "$with_gnu_ld" = yes; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4598 $as_echo_n "checking for GNU ld... " >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4601 $as_echo_n "checking for non-GNU ld... " >&6; }
4603 if ${lt_cv_path_LD+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -z "$LD"; then
4607 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4608 for ac_dir in $PATH; do
4610 test -z "$ac_dir" && ac_dir=.
4611 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4612 lt_cv_path_LD="$ac_dir/$ac_prog"
4613 # Check to see if the program is GNU ld. I'd rather use --version,
4614 # but apparently some variants of GNU ld only accept -v.
4615 # Break only if it was the GNU/non-GNU ld that we prefer.
4616 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4617 *GNU* | *'with BFD'*)
4618 test "$with_gnu_ld" != no && break
4621 test "$with_gnu_ld" != yes && break
4628 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4633 if test -n "$LD"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4635 $as_echo "$LD" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4640 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4642 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4643 if ${lt_cv_prog_gnu_ld+:} false; then :
4644 $as_echo_n "(cached) " >&6
4646 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4647 case `$LD -v 2>&1 </dev/null` in
4648 *GNU* | *'with BFD'*)
4649 lt_cv_prog_gnu_ld=yes
4652 lt_cv_prog_gnu_ld=no
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4657 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4658 with_gnu_ld=$lt_cv_prog_gnu_ld
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4669 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4670 if ${lt_cv_path_NM+:} false; then :
4671 $as_echo_n "(cached) " >&6
4673 if test -n "$NM"; then
4674 # Let the user override the test.
4677 lt_nm_to_check="${ac_tool_prefix}nm"
4678 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4679 lt_nm_to_check="$lt_nm_to_check nm"
4681 for lt_tmp_nm in $lt_nm_to_check; do
4682 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4683 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4685 test -z "$ac_dir" && ac_dir=.
4686 tmp_nm="$ac_dir/$lt_tmp_nm"
4687 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4688 # Check to see if the nm accepts a BSD-compat flag.
4689 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4690 # nm: unknown option "B" ignored
4691 # Tru64's nm complains that /dev/null is an invalid object file
4692 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4693 */dev/null* | *'Invalid file or object type'*)
4694 lt_cv_path_NM="$tmp_nm -B"
4698 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4700 lt_cv_path_NM="$tmp_nm -p"
4704 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4705 continue # so that we can try to find one that supports BSD flags
4714 : ${lt_cv_path_NM=no}
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4718 $as_echo "$lt_cv_path_NM" >&6; }
4719 if test "$lt_cv_path_NM" != "no"; then
4722 # Didn't find any BSD compatible name lister, look for dumpbin.
4723 if test -n "$DUMPBIN"; then :
4724 # Let the user override the test.
4726 if test -n "$ac_tool_prefix"; then
4727 for ac_prog in dumpbin "link -dump"
4729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if ${ac_cv_prog_DUMPBIN+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -n "$DUMPBIN"; then
4737 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir=.
4744 for ac_exec_ext in '' $ac_executable_extensions; do
4745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4746 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 DUMPBIN=$ac_cv_prog_DUMPBIN
4757 if test -n "$DUMPBIN"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4759 $as_echo "$DUMPBIN" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766 test -n "$DUMPBIN" && break
4769 if test -z "$DUMPBIN"; then
4770 ac_ct_DUMPBIN=$DUMPBIN
4771 for ac_prog in dumpbin "link -dump"
4773 # Extract the first word of "$ac_prog", so it can be a program name with args.
4774 set dummy $ac_prog; ac_word=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4778 $as_echo_n "(cached) " >&6
4780 if test -n "$ac_ct_DUMPBIN"; then
4781 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787 test -z "$as_dir" && as_dir=.
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4801 if test -n "$ac_ct_DUMPBIN"; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4803 $as_echo "$ac_ct_DUMPBIN" >&6; }
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4810 test -n "$ac_ct_DUMPBIN" && break
4813 if test "x$ac_ct_DUMPBIN" = x; then
4816 case $cross_compiling:$ac_tool_warned in
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4820 ac_tool_warned=yes ;;
4822 DUMPBIN=$ac_ct_DUMPBIN
4826 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4828 DUMPBIN="$DUMPBIN -symbols"
4836 if test "$DUMPBIN" != ":"; then
4840 test -z "$NM" && NM=nm
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4848 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4849 if ${lt_cv_nm_interface+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 lt_cv_nm_interface="BSD nm"
4853 echo "int some_variable = 0;" > conftest.$ac_ext
4854 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4855 (eval "$ac_compile" 2>conftest.err)
4856 cat conftest.err >&5
4857 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4858 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4859 cat conftest.err >&5
4860 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4861 cat conftest.out >&5
4862 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4863 lt_cv_nm_interface="MS dumpbin"
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4868 $as_echo "$lt_cv_nm_interface" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871 $as_echo_n "checking whether ln -s works... " >&6; }
4873 if test "$LN_S" = "ln -s"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878 $as_echo "no, using $LN_S" >&6; }
4881 # find the maximum length of command line arguments
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4883 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4884 if ${lt_cv_sys_max_cmd_len+:} false; then :
4885 $as_echo_n "(cached) " >&6
4892 # On DJGPP, this test can blow up pretty badly due to problems in libc
4893 # (any single argument exceeding 2000 bytes causes a buffer overrun
4894 # during glob expansion). Even if it were fixed, the result of this
4895 # check would be larger than it should be.
4896 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4900 # Under GNU Hurd, this test is not required because there is
4901 # no limit to the length of command line arguments.
4902 # Libtool will interpret -1 as no limit whatsoever
4903 lt_cv_sys_max_cmd_len=-1;
4906 cygwin* | mingw* | cegcc*)
4907 # On Win9x/ME, this test blows up -- it succeeds, but takes
4908 # about 5 minutes as the teststring grows exponentially.
4909 # Worse, since 9x/ME are not pre-emptively multitasking,
4910 # you end up with a "frozen" computer, even though with patience
4911 # the test eventually succeeds (with a max line length of 256k).
4912 # Instead, let's just punt: use the minimum linelength reported by
4913 # all of the supported platforms: 8192 (on NT/2K/XP).
4914 lt_cv_sys_max_cmd_len=8192;
4918 # On MiNT this can take a long time and run out of memory.
4919 lt_cv_sys_max_cmd_len=8192;
4923 # On AmigaOS with pdksh, this test takes hours, literally.
4924 # So we just punt and use a minimum line length of 8192.
4925 lt_cv_sys_max_cmd_len=8192;
4928 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4929 # This has been around since 386BSD, at least. Likely further.
4930 if test -x /sbin/sysctl; then
4931 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4932 elif test -x /usr/sbin/sysctl; then
4933 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4935 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4937 # And add a safety zone
4938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4939 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4943 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4944 lt_cv_sys_max_cmd_len=196608
4948 # The test takes a long time on OS/2.
4949 lt_cv_sys_max_cmd_len=8192
4953 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4954 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4955 # nice to cause kernel panics so lets avoid the loop below.
4956 # First set a reasonable default.
4957 lt_cv_sys_max_cmd_len=16384
4959 if test -x /sbin/sysconfig; then
4960 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4961 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4966 lt_cv_sys_max_cmd_len=102400
4968 sysv5* | sco5v6* | sysv4.2uw2*)
4969 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4970 if test -n "$kargmax"; then
4971 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4973 lt_cv_sys_max_cmd_len=32768
4977 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4978 if test -n "$lt_cv_sys_max_cmd_len"; then
4979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4982 # Make teststring a little bigger before we do anything with it.
4983 # a 1K string should be a reasonable start.
4984 for i in 1 2 3 4 5 6 7 8 ; do
4985 teststring=$teststring$teststring
4987 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4988 # If test is not a shell built-in, we'll probably end up computing a
4989 # maximum length that is only half of the actual maximum length, but
4991 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4992 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4993 test $i != 17 # 1/2 MB should be enough
4996 teststring=$teststring$teststring
4998 # Only check the string length outside the loop.
4999 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5001 # Add a significant safety factor because C++ compilers can tack on
5002 # massive amounts of additional arguments before passing them to the
5003 # linker. It appears as though 1/2 is a usable value.
5004 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5011 if test -n $lt_cv_sys_max_cmd_len ; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5013 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5016 $as_echo "none" >&6; }
5018 max_cmd_len=$lt_cv_sys_max_cmd_len
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5030 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5031 # Try some XSI features
5034 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5036 && eval 'test $(( 1 + 1 )) -eq 2 \
5037 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5040 $as_echo "$xsi_shell" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5044 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5046 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5048 && lt_shell_append=yes
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5050 $as_echo "$lt_shell_append" >&6; }
5053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5063 # test EBCDIC or ASCII
5064 case `echo X|tr X '\101'` in
5065 A) # ASCII based system
5066 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5067 lt_SP2NL='tr \040 \012'
5068 lt_NL2SP='tr \015\012 \040\040'
5070 *) # EBCDIC based system
5071 lt_SP2NL='tr \100 \n'
5072 lt_NL2SP='tr \r\n \100\100'
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5085 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5086 if ${lt_cv_to_host_file_cmd+:} false; then :
5087 $as_echo_n "(cached) " >&6
5092 *-*-mingw* ) # actually msys
5093 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5096 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5098 * ) # otherwise, assume *nix
5099 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5105 *-*-mingw* ) # actually msys
5106 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5109 lt_cv_to_host_file_cmd=func_convert_file_noop
5111 * ) # otherwise, assume *nix
5112 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5116 * ) # unhandled hosts (and "normal" native builds)
5117 lt_cv_to_host_file_cmd=func_convert_file_noop
5123 to_host_file_cmd=$lt_cv_to_host_file_cmd
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5125 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5132 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5133 if ${lt_cv_to_tool_file_cmd+:} false; then :
5134 $as_echo_n "(cached) " >&6
5136 #assume ordinary cross tools, or native build.
5137 lt_cv_to_tool_file_cmd=func_convert_file_noop
5141 *-*-mingw* ) # actually msys
5142 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5150 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5152 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5159 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5160 if ${lt_cv_ld_reload_flag+:} false; then :
5161 $as_echo_n "(cached) " >&6
5163 lt_cv_ld_reload_flag='-r'
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5166 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5167 reload_flag=$lt_cv_ld_reload_flag
5168 case $reload_flag in
5170 *) reload_flag=" $reload_flag" ;;
5172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5174 cygwin* | mingw* | pw32* | cegcc*)
5175 if test "$GCC" != yes; then
5180 if test "$GCC" = yes; then
5181 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5183 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_OBJDUMP+:} false; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$OBJDUMP"; then
5205 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 OBJDUMP=$ac_cv_prog_OBJDUMP
5225 if test -n "$OBJDUMP"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5227 $as_echo "$OBJDUMP" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_OBJDUMP"; then
5236 ac_ct_OBJDUMP=$OBJDUMP
5237 # Extract the first word of "objdump", so it can be a program name with args.
5238 set dummy objdump; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$ac_ct_OBJDUMP"; then
5245 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5265 if test -n "$ac_ct_OBJDUMP"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5267 $as_echo "$ac_ct_OBJDUMP" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_OBJDUMP" = x; then
5276 case $cross_compiling:$ac_tool_warned in
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5282 OBJDUMP=$ac_ct_OBJDUMP
5285 OBJDUMP="$ac_cv_prog_OBJDUMP"
5288 test -z "$OBJDUMP" && OBJDUMP=objdump
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5299 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5300 if ${lt_cv_deplibs_check_method+:} false; then :
5301 $as_echo_n "(cached) " >&6
5303 lt_cv_file_magic_cmd='$MAGIC_CMD'
5304 lt_cv_file_magic_test_file=
5305 lt_cv_deplibs_check_method='unknown'
5306 # Need to set the preceding variable on all platforms that support
5307 # interlibrary dependencies.
5308 # 'none' -- dependencies not supported.
5309 # `unknown' -- same as none, but documents that we really don't know.
5310 # 'pass_all' -- all dependencies passed with no checks.
5311 # 'test_compile' -- check by making test program.
5312 # 'file_magic [[regex]]' -- check by looking for files in library path
5313 # which responds to the $file_magic_cmd with a given extended regex.
5314 # If you have `file' or equivalent on your system and you're not sure
5315 # whether `pass_all' will *always* work, you probably want this one.
5319 lt_cv_deplibs_check_method=pass_all
5323 lt_cv_deplibs_check_method=pass_all
5327 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5328 lt_cv_file_magic_cmd='/usr/bin/file -L'
5329 lt_cv_file_magic_test_file=/shlib/libc.so
5333 # func_win32_libid is a shell function defined in ltmain.sh
5334 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5335 lt_cv_file_magic_cmd='func_win32_libid'
5339 # Base MSYS/MinGW do not provide the 'file' command needed by
5340 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5341 # unless we find 'file', for example because we are cross-compiling.
5342 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5343 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5344 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5345 lt_cv_file_magic_cmd='func_win32_libid'
5347 # Keep this pattern in sync with the one in func_win32_libid.
5348 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5349 lt_cv_file_magic_cmd='$OBJDUMP -f'
5354 # use the weaker test based on 'objdump'. See mingw*.
5355 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5356 lt_cv_file_magic_cmd='$OBJDUMP -f'
5359 darwin* | rhapsody*)
5360 lt_cv_deplibs_check_method=pass_all
5363 freebsd* | dragonfly*)
5364 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5367 # Not sure whether the presence of OpenBSD here was a mistake.
5368 # Let's accept both of them until this is cleared up.
5369 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5370 lt_cv_file_magic_cmd=/usr/bin/file
5371 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5375 lt_cv_deplibs_check_method=pass_all
5380 lt_cv_deplibs_check_method=pass_all
5384 lt_cv_deplibs_check_method=pass_all
5387 hpux10.20* | hpux11*)
5388 lt_cv_file_magic_cmd=/usr/bin/file
5391 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5392 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5395 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]'
5396 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5399 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5400 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5406 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5407 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5410 irix5* | irix6* | nonstopux*)
5412 *-32|*"-32 ") libmagic=32-bit;;
5413 *-n32|*"-n32 ") libmagic=N32;;
5414 *-64|*"-64 ") libmagic=64-bit;;
5415 *) libmagic=never-match;;
5417 lt_cv_deplibs_check_method=pass_all
5420 # This must be glibc/ELF.
5421 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5422 lt_cv_deplibs_check_method=pass_all
5425 netbsd* | netbsdelf*-gnu)
5426 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5434 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5435 lt_cv_file_magic_cmd=/usr/bin/file
5436 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5440 lt_cv_deplibs_check_method=pass_all
5444 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5445 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5447 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5451 osf3* | osf4* | osf5*)
5452 lt_cv_deplibs_check_method=pass_all
5456 lt_cv_deplibs_check_method=pass_all
5460 lt_cv_deplibs_check_method=pass_all
5463 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5464 lt_cv_deplibs_check_method=pass_all
5468 case $host_vendor in
5470 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]'
5471 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5474 lt_cv_deplibs_check_method=pass_all
5477 lt_cv_file_magic_cmd='/bin/file'
5478 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5481 lt_cv_file_magic_cmd='/bin/file'
5482 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5483 lt_cv_file_magic_test_file=/lib/libc.so
5486 lt_cv_deplibs_check_method=pass_all
5489 lt_cv_deplibs_check_method=pass_all
5495 lt_cv_deplibs_check_method=pass_all
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5501 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5505 if test "$build" = "$host"; then
5508 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5511 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5517 file_magic_cmd=$lt_cv_file_magic_cmd
5518 deplibs_check_method=$lt_cv_deplibs_check_method
5519 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_DLLTOOL+:} false; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$DLLTOOL"; then
5551 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 DLLTOOL=$ac_cv_prog_DLLTOOL
5571 if test -n "$DLLTOOL"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5573 $as_echo "$DLLTOOL" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_DLLTOOL"; then
5582 ac_ct_DLLTOOL=$DLLTOOL
5583 # Extract the first word of "dlltool", so it can be a program name with args.
5584 set dummy dlltool; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$ac_ct_DLLTOOL"; then
5591 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5611 if test -n "$ac_ct_DLLTOOL"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5613 $as_echo "$ac_ct_DLLTOOL" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_DLLTOOL" = x; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5628 DLLTOOL=$ac_ct_DLLTOOL
5631 DLLTOOL="$ac_cv_prog_DLLTOOL"
5634 test -z "$DLLTOOL" && DLLTOOL=dlltool
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5646 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5647 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5648 $as_echo_n "(cached) " >&6
5650 lt_cv_sharedlib_from_linklib_cmd='unknown'
5653 cygwin* | mingw* | pw32* | cegcc*)
5654 # two different shell functions defined in ltmain.sh
5655 # decide which to use based on capabilities of $DLLTOOL
5656 case `$DLLTOOL --help 2>&1` in
5657 *--identify-strict*)
5658 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5661 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5666 # fallback: assume linklib IS sharedlib
5667 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5673 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5674 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5675 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5684 if test -n "$ac_tool_prefix"; then
5687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_AR+:} false; then :
5692 $as_echo_n "(cached) " >&6
5694 if test -n "$AR"; then
5695 ac_cv_prog_AR="$AR" # Let the user override the test.
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 if test -n "$AR"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5717 $as_echo "$AR" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724 test -n "$AR" && break
5727 if test -z "$AR"; then
5731 # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5736 $as_echo_n "(cached) " >&6
5738 if test -n "$ac_ct_AR"; then
5739 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_ac_ct_AR="$ac_prog"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5759 if test -n "$ac_ct_AR"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5761 $as_echo "$ac_ct_AR" >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5768 test -n "$ac_ct_AR" && break
5771 if test "x$ac_ct_AR" = x; then
5774 case $cross_compiling:$ac_tool_warned in
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5798 $as_echo_n "checking for archiver @FILE support... " >&6; }
5799 if ${lt_cv_ar_at_file+:} false; then :
5800 $as_echo_n "(cached) " >&6
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5814 if ac_fn_c_try_compile "$LINENO"; then :
5815 echo conftest.$ac_objext > conftest.lst
5816 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5817 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5818 (eval $lt_ar_try) 2>&5
5820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5821 test $ac_status = 0; }
5822 if test "$ac_status" -eq 0; then
5823 # Ensure the archiver fails upon bogus file names.
5824 rm -f conftest.$ac_objext libconftest.a
5825 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5826 (eval $lt_ar_try) 2>&5
5828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5829 test $ac_status = 0; }
5830 if test "$ac_status" -ne 0; then
5834 rm -f conftest.* libconftest.a
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5841 $as_echo "$lt_cv_ar_at_file" >&6; }
5843 if test "x$lt_cv_ar_at_file" = xno; then
5846 archiver_list_spec=$lt_cv_ar_at_file
5855 if test -n "$ac_tool_prefix"; then
5856 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5857 set dummy ${ac_tool_prefix}strip; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_STRIP+:} false; then :
5861 $as_echo_n "(cached) " >&6
5863 if test -n "$STRIP"; then
5864 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 STRIP=$ac_cv_prog_STRIP
5884 if test -n "$STRIP"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5886 $as_echo "$STRIP" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5894 if test -z "$ac_cv_prog_STRIP"; then
5896 # Extract the first word of "strip", so it can be a program name with args.
5897 set dummy strip; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$ac_ct_STRIP"; then
5904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_ac_ct_STRIP="strip"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5924 if test -n "$ac_ct_STRIP"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5926 $as_echo "$ac_ct_STRIP" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5932 if test "x$ac_ct_STRIP" = x; then
5935 case $cross_compiling:$ac_tool_warned in
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5939 ac_tool_warned=yes ;;
5944 STRIP="$ac_cv_prog_STRIP"
5947 test -z "$STRIP" && STRIP=:
5954 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5956 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_RANLIB+:} false; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$RANLIB"; then
5963 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 RANLIB=$ac_cv_prog_RANLIB
5983 if test -n "$RANLIB"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5985 $as_echo "$RANLIB" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5993 if test -z "$ac_cv_prog_RANLIB"; then
5994 ac_ct_RANLIB=$RANLIB
5995 # Extract the first word of "ranlib", so it can be a program name with args.
5996 set dummy ranlib; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6000 $as_echo_n "(cached) " >&6
6002 if test -n "$ac_ct_RANLIB"; then
6003 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_ac_ct_RANLIB="ranlib"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6023 if test -n "$ac_ct_RANLIB"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6025 $as_echo "$ac_ct_RANLIB" >&6; }
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6031 if test "x$ac_ct_RANLIB" = x; then
6034 case $cross_compiling:$ac_tool_warned in
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6038 ac_tool_warned=yes ;;
6040 RANLIB=$ac_ct_RANLIB
6043 RANLIB="$ac_cv_prog_RANLIB"
6046 test -z "$RANLIB" && RANLIB=:
6053 # Determine commands to create old-style static archives.
6054 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6055 old_postinstall_cmds='chmod 644 $oldlib'
6056 old_postuninstall_cmds=
6058 if test -n "$RANLIB"; then
6061 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6064 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6067 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6072 lock_old_archive_extraction=yes ;;
6074 lock_old_archive_extraction=no ;;
6115 # If no C compiler was specified, use CC.
6118 # If no C compiler flags were specified, use CFLAGS.
6119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6121 # Allow CC to be a program name with arguments.
6125 # Check for command to grab the raw symbol name followed by C symbol from nm.
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6127 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6128 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6129 $as_echo_n "(cached) " >&6
6132 # These are sane defaults that work on at least a few old systems.
6133 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6135 # Character class describing NM global symbol codes.
6136 symcode='[BCDEGRST]'
6138 # Regexp to match symbols that can be accessed directly from C.
6139 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6141 # Define system-specific variables.
6146 cygwin* | mingw* | pw32* | cegcc*)
6147 symcode='[ABCDGISTW]'
6150 if test "$host_cpu" = ia64; then
6151 symcode='[ABCDEGRST]'
6155 symcode='[BCDEGRST]'
6158 symcode='[BCDEGQRST]'
6169 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6177 # If we're using GNU nm, then use its standard symbol codes.
6178 case `$NM -V 2>&1` in
6179 *GNU* | *'with BFD'*)
6180 symcode='[ABCDGIRSTW]' ;;
6183 # Transform an extracted symbol line into a proper C declaration.
6184 # Some systems (esp. on ia64) link data and code symbols differently,
6185 # so use this general approach.
6186 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6188 # Transform an extracted symbol line into symbol name and symbol address
6189 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6190 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6192 # Handle CRLF in mingw tool chain
6196 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6200 # Try without a prefix underscore, then with it.
6201 for ac_symprfx in "" "_"; do
6203 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6204 symxfrm="\\1 $ac_symprfx\\2 \\2"
6206 # Write the raw and C identifiers.
6207 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6208 # Fake it for dumpbin and say T for any non-static function
6209 # and D for any global variable.
6210 # Also find C++ and __fastcall symbols from MSVC++,
6211 # which start with @ or ?.
6212 lt_cv_sys_global_symbol_pipe="$AWK '"\
6213 " {last_section=section; section=\$ 3};"\
6214 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6215 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6216 " \$ 0!~/External *\|/{next};"\
6217 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6218 " {if(hide[section]) next};"\
6219 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6220 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6221 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6222 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6223 " ' prfx=^$ac_symprfx"
6225 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6227 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6229 # Check to see that the pipe works correctly.
6233 cat > conftest.$ac_ext <<_LT_EOF
6238 void nm_test_func(void);
6239 void nm_test_func(void){}
6243 int main(){nm_test_var='a';nm_test_func();return(0);}
6246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6247 (eval $ac_compile) 2>&5
6249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6250 test $ac_status = 0; }; then
6251 # Now try to grab the symbols.
6253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6254 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6257 test $ac_status = 0; } && test -s "$nlist"; then
6258 # Try sorting and uniquifying the output.
6259 if sort "$nlist" | uniq > "$nlist"T; then
6260 mv -f "$nlist"T "$nlist"
6265 # Make sure that we snagged all the symbols we need.
6266 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6267 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6268 cat <<_LT_EOF > conftest.$ac_ext
6269 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6270 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6271 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6272 relocations are performed -- see ld's documentation on pseudo-relocs. */
6273 # define LT@&t@_DLSYM_CONST
6274 #elif defined(__osf__)
6275 /* This system does not cope well with relocations in const data. */
6276 # define LT@&t@_DLSYM_CONST
6278 # define LT@&t@_DLSYM_CONST const
6286 # Now generate the symbol file.
6287 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6289 cat <<_LT_EOF >> conftest.$ac_ext
6291 /* The mapping between symbol names and symbols. */
6292 LT@&t@_DLSYM_CONST struct {
6296 lt__PROGRAM__LTX_preloaded_symbols[] =
6298 { "@PROGRAM@", (void *) 0 },
6300 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6301 cat <<\_LT_EOF >> conftest.$ac_ext
6305 /* This works around a problem in FreeBSD linker */
6306 #ifdef FREEBSD_WORKAROUND
6307 static const void *lt_preloaded_setup() {
6308 return lt__PROGRAM__LTX_preloaded_symbols;
6316 # Now try linking the two files.
6317 mv conftest.$ac_objext conftstm.$ac_objext
6318 lt_globsym_save_LIBS=$LIBS
6319 lt_globsym_save_CFLAGS=$CFLAGS
6320 LIBS="conftstm.$ac_objext"
6321 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6323 (eval $ac_link) 2>&5
6325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6326 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6329 LIBS=$lt_globsym_save_LIBS
6330 CFLAGS=$lt_globsym_save_CFLAGS
6332 echo "cannot find nm_test_func in $nlist" >&5
6335 echo "cannot find nm_test_var in $nlist" >&5
6338 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6341 echo "$progname: failed program was:" >&5
6342 cat conftest.$ac_ext >&5
6344 rm -rf conftest* conftst*
6346 # Do not use the global_symbol_pipe unless it works.
6347 if test "$pipe_works" = yes; then
6350 lt_cv_sys_global_symbol_pipe=
6356 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6357 lt_cv_sys_global_symbol_to_cdecl=
6359 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6361 $as_echo "failed" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6364 $as_echo "ok" >&6; }
6367 # Response file support.
6368 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6369 nm_file_list_spec='@'
6370 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6371 nm_file_list_spec='@'
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6401 $as_echo_n "checking for sysroot... " >&6; }
6403 @%:@ Check whether --with-sysroot was given.
6404 if test "${with_sysroot+set}" = set; then :
6405 withval=$with_sysroot;
6412 case ${with_sysroot} in #(
6414 if test "$GCC" = yes; then
6415 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6419 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6425 $as_echo "${with_sysroot}" >&6; }
6426 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6431 $as_echo "${lt_sysroot:-no}" >&6; }
6437 @%:@ Check whether --enable-libtool-lock was given.
6438 if test "${enable_libtool_lock+set}" = set; then :
6439 enableval=$enable_libtool_lock;
6442 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6444 # Some flags need to be propagated to the compiler or linker for good
6448 # Find out which ABI we are using.
6449 echo 'int i;' > conftest.$ac_ext
6450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6451 (eval $ac_compile) 2>&5
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6454 test $ac_status = 0; }; then
6455 case `/usr/bin/file conftest.$ac_objext` in
6467 # Find out which ABI we are using.
6468 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6470 (eval $ac_compile) 2>&5
6472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6473 test $ac_status = 0; }; then
6474 if test "$lt_cv_prog_gnu_ld" = yes; then
6475 case `/usr/bin/file conftest.$ac_objext` in
6477 LD="${LD-ld} -melf32bsmip"
6480 LD="${LD-ld} -melf32bmipn32"
6483 LD="${LD-ld} -melf64bmip"
6487 case `/usr/bin/file conftest.$ac_objext` in
6503 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6504 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6505 # Find out which ABI we are using.
6506 echo 'int i;' > conftest.$ac_ext
6507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508 (eval $ac_compile) 2>&5
6510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511 test $ac_status = 0; }; then
6512 case `/usr/bin/file conftest.o` in
6515 x86_64-*kfreebsd*-gnu)
6516 LD="${LD-ld} -m elf_i386_fbsd"
6519 LD="${LD-ld} -m elf_i386"
6521 ppc64-*linux*|powerpc64-*linux*)
6522 LD="${LD-ld} -m elf32ppclinux"
6525 LD="${LD-ld} -m elf_s390"
6528 LD="${LD-ld} -m elf32_sparc"
6534 x86_64-*kfreebsd*-gnu)
6535 LD="${LD-ld} -m elf_x86_64_fbsd"
6538 LD="${LD-ld} -m elf_x86_64"
6540 ppc*-*linux*|powerpc*-*linux*)
6541 LD="${LD-ld} -m elf64ppc"
6543 s390*-*linux*|s390*-*tpf*)
6544 LD="${LD-ld} -m elf64_s390"
6547 LD="${LD-ld} -m elf64_sparc"
6557 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6558 SAVE_CFLAGS="$CFLAGS"
6559 CFLAGS="$CFLAGS -belf"
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6561 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6562 if ${lt_cv_cc_needs_belf+:} false; then :
6563 $as_echo_n "(cached) " >&6
6566 ac_cpp='$CPP $CPPFLAGS'
6567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6582 if ac_fn_c_try_link "$LINENO"; then :
6583 lt_cv_cc_needs_belf=yes
6585 lt_cv_cc_needs_belf=no
6587 rm -f core conftest.err conftest.$ac_objext \
6588 conftest$ac_exeext conftest.$ac_ext
6590 ac_cpp='$CPP $CPPFLAGS'
6591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6597 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6598 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6599 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6600 CFLAGS="$SAVE_CFLAGS"
6604 # Find out which ABI we are using.
6605 echo 'int i;' > conftest.$ac_ext
6606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6607 (eval $ac_compile) 2>&5
6609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610 test $ac_status = 0; }; then
6611 case `/usr/bin/file conftest.o` in
6613 case $lt_cv_prog_gnu_ld in
6617 LD="${LD-ld} -m elf_x86_64"
6620 LD="${LD-ld} -m elf64_sparc"
6623 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6624 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6629 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6641 need_locks="$enable_libtool_lock"
6643 if test -n "$ac_tool_prefix"; then
6644 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6645 set dummy ${ac_tool_prefix}mt; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6649 $as_echo_n "(cached) " >&6
6651 if test -n "$MANIFEST_TOOL"; then
6652 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6672 if test -n "$MANIFEST_TOOL"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6674 $as_echo "$MANIFEST_TOOL" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6682 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6683 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6684 # Extract the first word of "mt", so it can be a program name with args.
6685 set dummy mt; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6689 $as_echo_n "(cached) " >&6
6691 if test -n "$ac_ct_MANIFEST_TOOL"; then
6692 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 test -z "$as_dir" && as_dir=.
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6712 if test -n "$ac_ct_MANIFEST_TOOL"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6714 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6720 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6723 case $cross_compiling:$ac_tool_warned in
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned=yes ;;
6729 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6732 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6735 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6737 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6738 if ${lt_cv_path_mainfest_tool+:} false; then :
6739 $as_echo_n "(cached) " >&6
6741 lt_cv_path_mainfest_tool=no
6742 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6743 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6744 cat conftest.err >&5
6745 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6746 lt_cv_path_mainfest_tool=yes
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6751 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6752 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6762 rhapsody* | darwin*)
6763 if test -n "$ac_tool_prefix"; then
6764 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6765 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6769 $as_echo_n "(cached) " >&6
6771 if test -n "$DSYMUTIL"; then
6772 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6792 if test -n "$DSYMUTIL"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6794 $as_echo "$DSYMUTIL" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6802 if test -z "$ac_cv_prog_DSYMUTIL"; then
6803 ac_ct_DSYMUTIL=$DSYMUTIL
6804 # Extract the first word of "dsymutil", so it can be a program name with args.
6805 set dummy dsymutil; ac_word=$2
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6807 $as_echo_n "checking for $ac_word... " >&6; }
6808 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6809 $as_echo_n "(cached) " >&6
6811 if test -n "$ac_ct_DSYMUTIL"; then
6812 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 test -z "$as_dir" && as_dir=.
6819 for ac_exec_ext in '' $ac_executable_extensions; do
6820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6831 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6832 if test -n "$ac_ct_DSYMUTIL"; then
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6834 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6837 $as_echo "no" >&6; }
6840 if test "x$ac_ct_DSYMUTIL" = x; then
6843 case $cross_compiling:$ac_tool_warned in
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6847 ac_tool_warned=yes ;;
6849 DSYMUTIL=$ac_ct_DSYMUTIL
6852 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6855 if test -n "$ac_tool_prefix"; then
6856 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6857 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_NMEDIT+:} false; then :
6861 $as_echo_n "(cached) " >&6
6863 if test -n "$NMEDIT"; then
6864 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6873 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 NMEDIT=$ac_cv_prog_NMEDIT
6884 if test -n "$NMEDIT"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6886 $as_echo "$NMEDIT" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6894 if test -z "$ac_cv_prog_NMEDIT"; then
6895 ac_ct_NMEDIT=$NMEDIT
6896 # Extract the first word of "nmedit", so it can be a program name with args.
6897 set dummy nmedit; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; }
6900 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6901 $as_echo_n "(cached) " >&6
6903 if test -n "$ac_ct_NMEDIT"; then
6904 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6913 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6923 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6924 if test -n "$ac_ct_NMEDIT"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6926 $as_echo "$ac_ct_NMEDIT" >&6; }
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929 $as_echo "no" >&6; }
6932 if test "x$ac_ct_NMEDIT" = x; then
6935 case $cross_compiling:$ac_tool_warned in
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6939 ac_tool_warned=yes ;;
6941 NMEDIT=$ac_ct_NMEDIT
6944 NMEDIT="$ac_cv_prog_NMEDIT"
6947 if test -n "$ac_tool_prefix"; then
6948 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6949 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_LIPO+:} false; then :
6953 $as_echo_n "(cached) " >&6
6955 if test -n "$LIPO"; then
6956 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6965 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 LIPO=$ac_cv_prog_LIPO
6976 if test -n "$LIPO"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6978 $as_echo "$LIPO" >&6; }
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6986 if test -z "$ac_cv_prog_LIPO"; then
6988 # Extract the first word of "lipo", so it can be a program name with args.
6989 set dummy lipo; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$ac_ct_LIPO"; then
6996 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005 ac_cv_prog_ac_ct_LIPO="lipo"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7016 if test -n "$ac_ct_LIPO"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7018 $as_echo "$ac_ct_LIPO" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7024 if test "x$ac_ct_LIPO" = x; then
7027 case $cross_compiling:$ac_tool_warned in
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7031 ac_tool_warned=yes ;;
7036 LIPO="$ac_cv_prog_LIPO"
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}otool; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_OTOOL+:} false; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$OTOOL"; then
7048 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7057 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 OTOOL=$ac_cv_prog_OTOOL
7068 if test -n "$OTOOL"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7070 $as_echo "$OTOOL" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_OTOOL"; then
7080 # Extract the first word of "otool", so it can be a program name with args.
7081 set dummy otool; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 if test -n "$ac_ct_OTOOL"; then
7088 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7097 ac_cv_prog_ac_ct_OTOOL="otool"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7108 if test -n "$ac_ct_OTOOL"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7110 $as_echo "$ac_ct_OTOOL" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_OTOOL" = x; then
7119 case $cross_compiling:$ac_tool_warned in
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7128 OTOOL="$ac_cv_prog_OTOOL"
7131 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_OTOOL64+:} false; then :
7137 $as_echo_n "(cached) " >&6
7139 if test -n "$OTOOL64"; then
7140 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 test -z "$as_dir" && as_dir=.
7147 for ac_exec_ext in '' $ac_executable_extensions; do
7148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7149 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 OTOOL64=$ac_cv_prog_OTOOL64
7160 if test -n "$OTOOL64"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7162 $as_echo "$OTOOL64" >&6; }
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_prog_OTOOL64"; then
7171 ac_ct_OTOOL64=$OTOOL64
7172 # Extract the first word of "otool64", so it can be a program name with args.
7173 set dummy otool64; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$ac_ct_OTOOL64"; then
7180 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7189 ac_cv_prog_ac_ct_OTOOL64="otool64"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7200 if test -n "$ac_ct_OTOOL64"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7202 $as_echo "$ac_ct_OTOOL64" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7208 if test "x$ac_ct_OTOOL64" = x; then
7211 case $cross_compiling:$ac_tool_warned in
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned=yes ;;
7217 OTOOL64=$ac_ct_OTOOL64
7220 OTOOL64="$ac_cv_prog_OTOOL64"
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7250 $as_echo_n "checking for -single_module linker flag... " >&6; }
7251 if ${lt_cv_apple_cc_single_mod+:} false; then :
7252 $as_echo_n "(cached) " >&6
7254 lt_cv_apple_cc_single_mod=no
7255 if test -z "${LT_MULTI_MODULE}"; then
7256 # By default we will add the -single_module flag. You can override
7257 # by either setting the environment variable LT_MULTI_MODULE
7258 # non-empty at configure time, or by adding -multi_module to the
7260 rm -rf libconftest.dylib*
7261 echo "int foo(void){return 1;}" > conftest.c
7262 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7263 -dynamiclib -Wl,-single_module conftest.c" >&5
7264 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7265 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7267 # If there is a non-empty error log, and "single_module"
7268 # appears in it, assume the flag caused a linker warning
7269 if test -s conftest.err && $GREP single_module conftest.err; then
7270 cat conftest.err >&5
7271 # Otherwise, if the output was created with a 0 exit code from
7272 # the compiler, it worked.
7273 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7274 lt_cv_apple_cc_single_mod=yes
7276 cat conftest.err >&5
7278 rm -rf libconftest.dylib*
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7283 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7286 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7287 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7288 $as_echo_n "(cached) " >&6
7290 lt_cv_ld_exported_symbols_list=no
7291 save_LDFLAGS=$LDFLAGS
7292 echo "_main" > conftest.sym
7293 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h. */
7305 if ac_fn_c_try_link "$LINENO"; then :
7306 lt_cv_ld_exported_symbols_list=yes
7308 lt_cv_ld_exported_symbols_list=no
7310 rm -f core conftest.err conftest.$ac_objext \
7311 conftest$ac_exeext conftest.$ac_ext
7312 LDFLAGS="$save_LDFLAGS"
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7316 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7319 $as_echo_n "checking for -force_load linker flag... " >&6; }
7320 if ${lt_cv_ld_force_load+:} false; then :
7321 $as_echo_n "(cached) " >&6
7323 lt_cv_ld_force_load=no
7324 cat > conftest.c << _LT_EOF
7325 int forced_loaded() { return 2;}
7327 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7328 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7329 echo "$AR cru libconftest.a conftest.o" >&5
7330 $AR cru libconftest.a conftest.o 2>&5
7331 echo "$RANLIB libconftest.a" >&5
7332 $RANLIB libconftest.a 2>&5
7333 cat > conftest.c << _LT_EOF
7334 int main() { return 0;}
7336 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7337 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7339 if test -s conftest.err && $GREP force_load conftest.err; then
7340 cat conftest.err >&5
7341 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7342 lt_cv_ld_force_load=yes
7344 cat conftest.err >&5
7346 rm -f conftest.err libconftest.a conftest conftest.c
7347 rm -rf conftest.dSYM
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7351 $as_echo "$lt_cv_ld_force_load" >&6; }
7353 rhapsody* | darwin1.[012])
7354 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7356 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7357 darwin*) # darwin 5.x on
7358 # if running on 10.5 or later, the deployment target defaults
7359 # to the OS version, if on x86, and 10.4, the deployment
7360 # target defaults to 10.4. Don't you love it?
7361 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7362 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7363 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7365 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7367 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7371 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7372 _lt_dar_single_mod='$single_module'
7374 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7375 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7377 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7379 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7380 _lt_dsymutil='~$DSYMUTIL $lib || :'
7388 ac_cpp='$CPP $CPPFLAGS'
7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7393 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7394 # On Suns, sometimes $CPP names a directory.
7395 if test -n "$CPP" && test -d "$CPP"; then
7398 if test -z "$CPP"; then
7399 if ${ac_cv_prog_CPP+:} false; then :
7400 $as_echo_n "(cached) " >&6
7402 # Double quotes because CPP needs to be expanded
7403 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7406 for ac_c_preproc_warn_flag in '' yes
7408 # Use a header file that comes with gcc, so configuring glibc
7409 # with a fresh cross-compiler works.
7410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7411 # <limits.h> exists even on freestanding compilers.
7412 # On the NeXT, cc -E runs the code through the compiler's parser,
7413 # not just through cpp. "Syntax error" is here to catch this case.
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7417 @%:@ include <limits.h>
7419 @%:@ include <assert.h>
7423 if ac_fn_c_try_cpp "$LINENO"; then :
7426 # Broken: fails on valid input.
7429 rm -f conftest.err conftest.i conftest.$ac_ext
7431 # OK, works on sane cases. Now check whether nonexistent headers
7432 # can be detected and how.
7433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7435 @%:@include <ac_nonexistent.h>
7437 if ac_fn_c_try_cpp "$LINENO"; then :
7438 # Broken: success on invalid input.
7441 # Passes both tests.
7445 rm -f conftest.err conftest.i conftest.$ac_ext
7448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7449 rm -f conftest.i conftest.err conftest.$ac_ext
7450 if $ac_preproc_ok; then :
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7463 $as_echo "$CPP" >&6; }
7465 for ac_c_preproc_warn_flag in '' yes
7467 # Use a header file that comes with gcc, so configuring glibc
7468 # with a fresh cross-compiler works.
7469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7470 # <limits.h> exists even on freestanding compilers.
7471 # On the NeXT, cc -E runs the code through the compiler's parser,
7472 # not just through cpp. "Syntax error" is here to catch this case.
7473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7476 @%:@ include <limits.h>
7478 @%:@ include <assert.h>
7482 if ac_fn_c_try_cpp "$LINENO"; then :
7485 # Broken: fails on valid input.
7488 rm -f conftest.err conftest.i conftest.$ac_ext
7490 # OK, works on sane cases. Now check whether nonexistent headers
7491 # can be detected and how.
7492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h. */
7494 @%:@include <ac_nonexistent.h>
7496 if ac_fn_c_try_cpp "$LINENO"; then :
7497 # Broken: success on invalid input.
7500 # Passes both tests.
7504 rm -f conftest.err conftest.i conftest.$ac_ext
7507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7508 rm -f conftest.i conftest.err conftest.$ac_ext
7509 if $ac_preproc_ok; then :
7512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7514 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7515 See \`config.log' for more details" "$LINENO" 5; }
7519 ac_cpp='$CPP $CPPFLAGS'
7520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7526 $as_echo_n "checking for ANSI C header files... " >&6; }
7527 if ${ac_cv_header_stdc+:} false; then :
7528 $as_echo_n "(cached) " >&6
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7545 if ac_fn_c_try_compile "$LINENO"; then :
7546 ac_cv_header_stdc=yes
7548 ac_cv_header_stdc=no
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 if test $ac_cv_header_stdc = yes; then
7553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7560 $EGREP "memchr" >/dev/null 2>&1; then :
7563 ac_cv_header_stdc=no
7569 if test $ac_cv_header_stdc = yes; then
7570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7577 $EGREP "free" >/dev/null 2>&1; then :
7580 ac_cv_header_stdc=no
7586 if test $ac_cv_header_stdc = yes; then
7587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7588 if test "$cross_compiling" = yes; then :
7591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7595 #if ((' ' & 0x0FF) == 0x020)
7596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7599 # define ISLOWER(c) \
7600 (('a' <= (c) && (c) <= 'i') \
7601 || ('j' <= (c) && (c) <= 'r') \
7602 || ('s' <= (c) && (c) <= 'z'))
7603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7611 for (i = 0; i < 256; i++)
7612 if (XOR (islower (i), ISLOWER (i))
7613 || toupper (i) != TOUPPER (i))
7618 if ac_fn_c_try_run "$LINENO"; then :
7621 ac_cv_header_stdc=no
7623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7624 conftest.$ac_objext conftest.beam conftest.$ac_ext
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7630 $as_echo "$ac_cv_header_stdc" >&6; }
7631 if test $ac_cv_header_stdc = yes; then
7633 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7637 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7638 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7639 inttypes.h stdint.h unistd.h
7641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7645 cat >>confdefs.h <<_ACEOF
7646 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 for ac_header in dlfcn.h
7656 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7658 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7659 cat >>confdefs.h <<_ACEOF
7660 @%:@define HAVE_DLFCN_H 1
7670 func_stripname_cnf ()
7673 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7674 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7676 } # func_stripname_cnf
7683 @%:@ Check whether --enable-static was given.
7684 if test "${enable_static+set}" = set; then :
7685 enableval=$enable_static; p=${PACKAGE-default}
7687 yes) enable_static=yes ;;
7688 no) enable_static=no ;;
7691 # Look at the argument we got. We use all the common list separators.
7692 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7693 for pkg in $enableval; do
7695 if test "X$pkg" = "X$p"; then
7721 @%:@ Check whether --enable-shared was given.
7722 if test "${enable_shared+set}" = set; then :
7723 enableval=$enable_shared; p=${PACKAGE-default}
7725 yes) enable_shared=yes ;;
7726 no) enable_shared=no ;;
7729 # Look at the argument we got. We use all the common list separators.
7730 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7731 for pkg in $enableval; do
7733 if test "X$pkg" = "X$p"; then
7754 @%:@ Check whether --with-pic was given.
7755 if test "${with_pic+set}" = set; then :
7756 withval=$with_pic; lt_p=${PACKAGE-default}
7758 yes|no) pic_mode=$withval ;;
7761 # Look at the argument we got. We use all the common list separators.
7762 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7763 for lt_pkg in $withval; do
7765 if test "X$lt_pkg" = "X$lt_p"; then
7777 test -z "$pic_mode" && pic_mode=default
7785 @%:@ Check whether --enable-fast-install was given.
7786 if test "${enable_fast_install+set}" = set; then :
7787 enableval=$enable_fast_install; p=${PACKAGE-default}
7789 yes) enable_fast_install=yes ;;
7790 no) enable_fast_install=no ;;
7792 enable_fast_install=no
7793 # Look at the argument we got. We use all the common list separators.
7794 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7795 for pkg in $enableval; do
7797 if test "X$pkg" = "X$p"; then
7798 enable_fast_install=yes
7805 enable_fast_install=yes
7818 # This can be used to rebuild libtool when needed
7819 LIBTOOL_DEPS="$ltmain"
7821 # Always use our own libtool.
7822 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7853 test -z "$LN_S" && LN_S="ln -s"
7868 if test -n "${ZSH_VERSION+set}" ; then
7869 setopt NO_GLOB_SUBST
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7873 $as_echo_n "checking for objdir... " >&6; }
7874 if ${lt_cv_objdir+:} false; then :
7875 $as_echo_n "(cached) " >&6
7877 rm -f .libs 2>/dev/null
7878 mkdir .libs 2>/dev/null
7879 if test -d .libs; then
7882 # MS-DOS does not allow filenames that begin with a dot.
7885 rmdir .libs 2>/dev/null
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7888 $as_echo "$lt_cv_objdir" >&6; }
7889 objdir=$lt_cv_objdir
7895 cat >>confdefs.h <<_ACEOF
7896 @%:@define LT_OBJDIR "$lt_cv_objdir/"
7904 # AIX sometimes has problems with the GCC collect2 program. For some
7905 # reason, if we set the COLLECT_NAMES environment variable, the problems
7906 # vanish in a puff of smoke.
7907 if test "X${COLLECT_NAMES+set}" != Xset; then
7909 export COLLECT_NAMES
7916 can_build_shared=yes
7918 # All known linkers require a `.a' archive for static linking (except MSVC,
7919 # which needs '.lib').
7922 with_gnu_ld="$lt_cv_prog_gnu_ld"
7925 old_CFLAGS="$CFLAGS"
7927 # Set sane defaults for various variables
7928 test -z "$CC" && CC=cc
7929 test -z "$LTCC" && LTCC=$CC
7930 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7931 test -z "$LD" && LD=ld
7932 test -z "$ac_objext" && ac_objext=o
7934 for cc_temp in $compiler""; do
7936 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7937 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7942 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7945 # Only perform the check for file, if the check method requires it
7946 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7947 case $deplibs_check_method in
7949 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7951 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7952 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7953 $as_echo_n "(cached) " >&6
7957 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7960 lt_save_MAGIC_CMD="$MAGIC_CMD"
7961 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7962 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7963 for ac_dir in $ac_dummy; do
7965 test -z "$ac_dir" && ac_dir=.
7966 if test -f $ac_dir/${ac_tool_prefix}file; then
7967 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7968 if test -n "$file_magic_test_file"; then
7969 case $deplibs_check_method in
7971 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7972 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7973 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7974 $EGREP "$file_magic_regex" > /dev/null; then
7979 *** Warning: the command libtool uses to detect shared libraries,
7980 *** $file_magic_cmd, produces output that libtool cannot recognize.
7981 *** The result is that libtool may fail to recognize shared libraries
7982 *** as such. This will affect the creation of libtool libraries that
7983 *** depend on shared libraries, but programs linked with such libtool
7984 *** libraries will work regardless of this problem. Nevertheless, you
7985 *** may want to report the problem to your system manager and/or to
7986 *** bug-libtool@gnu.org
7996 MAGIC_CMD="$lt_save_MAGIC_CMD"
8001 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8002 if test -n "$MAGIC_CMD"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8004 $as_echo "$MAGIC_CMD" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8014 if test -z "$lt_cv_path_MAGIC_CMD"; then
8015 if test -n "$ac_tool_prefix"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8017 $as_echo_n "checking for file... " >&6; }
8018 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8019 $as_echo_n "(cached) " >&6
8023 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8026 lt_save_MAGIC_CMD="$MAGIC_CMD"
8027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8028 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8029 for ac_dir in $ac_dummy; do
8031 test -z "$ac_dir" && ac_dir=.
8032 if test -f $ac_dir/file; then
8033 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8034 if test -n "$file_magic_test_file"; then
8035 case $deplibs_check_method in
8037 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8039 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8040 $EGREP "$file_magic_regex" > /dev/null; then
8045 *** Warning: the command libtool uses to detect shared libraries,
8046 *** $file_magic_cmd, produces output that libtool cannot recognize.
8047 *** The result is that libtool may fail to recognize shared libraries
8048 *** as such. This will affect the creation of libtool libraries that
8049 *** depend on shared libraries, but programs linked with such libtool
8050 *** libraries will work regardless of this problem. Nevertheless, you
8051 *** may want to report the problem to your system manager and/or to
8052 *** bug-libtool@gnu.org
8062 MAGIC_CMD="$lt_save_MAGIC_CMD"
8067 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8068 if test -n "$MAGIC_CMD"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8070 $as_echo "$MAGIC_CMD" >&6; }
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 $as_echo "no" >&6; }
8086 # Use C for the default configuration in the libtool script
8090 ac_cpp='$CPP $CPPFLAGS'
8091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8096 # Source file extension for C test sources.
8099 # Object file extension for compiled C test sources.
8103 # Code to be used in simple compile tests
8104 lt_simple_compile_test_code="int some_variable = 0;"
8106 # Code to be used in simple link tests
8107 lt_simple_link_test_code='int main(){return(0);}'
8115 # If no C compiler was specified, use CC.
8118 # If no C compiler flags were specified, use CFLAGS.
8119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8121 # Allow CC to be a program name with arguments.
8124 # Save the default compiler, since it gets overwritten when the other
8125 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8126 compiler_DEFAULT=$CC
8128 # save warnings/boilerplate of simple test code
8129 ac_outfile=conftest.$ac_objext
8130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8132 _lt_compiler_boilerplate=`cat conftest.err`
8135 ac_outfile=conftest.$ac_objext
8136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8138 _lt_linker_boilerplate=`cat conftest.err`
8143 ## There is no encapsulation within the following macros, do not change
8144 ## the running order or otherwise move them around unless you know exactly
8145 ## what you are doing...
8146 if test -n "$compiler"; then
8148 lt_prog_compiler_no_builtin_flag=
8150 if test "$GCC" = yes; then
8151 case $cc_basename in
8153 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8155 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8159 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8160 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8161 $as_echo_n "(cached) " >&6
8163 lt_cv_prog_compiler_rtti_exceptions=no
8164 ac_outfile=conftest.$ac_objext
8165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8166 lt_compiler_flag="-fno-rtti -fno-exceptions"
8167 # Insert the option either (1) after the last *FLAGS variable, or
8168 # (2) before a word containing "conftest.", or (3) at the end.
8169 # Note that $ac_compile itself does not contain backslashes and begins
8170 # with a dollar sign (not a hyphen), so the echo should work correctly.
8171 # The option is referenced via a variable to avoid confusing sed.
8172 lt_compile=`echo "$ac_compile" | $SED \
8173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8175 -e 's:$: $lt_compiler_flag:'`
8176 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8177 (eval "$lt_compile" 2>conftest.err)
8179 cat conftest.err >&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 if (exit $ac_status) && test -s "$ac_outfile"; then
8182 # The compiler can only warn and ignore the option if not recognized
8183 # So say no if there are warnings other than the usual output.
8184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8185 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8186 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8187 lt_cv_prog_compiler_rtti_exceptions=yes
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8194 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8196 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8197 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8209 lt_prog_compiler_wl=
8210 lt_prog_compiler_pic=
8211 lt_prog_compiler_static=
8214 if test "$GCC" = yes; then
8215 lt_prog_compiler_wl='-Wl,'
8216 lt_prog_compiler_static='-static'
8220 # All AIX code is PIC.
8221 if test "$host_cpu" = ia64; then
8222 # AIX 5 now supports IA64 processor
8223 lt_prog_compiler_static='-Bstatic'
8230 # see comment about AmigaOS4 .so support
8231 lt_prog_compiler_pic='-fPIC'
8234 # FIXME: we need at least 68020 code to build shared libraries, but
8235 # adding the `-m68020' flag to GCC prevents building anything better,
8237 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8242 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8243 # PIC is the default for these OSes.
8246 mingw* | cygwin* | pw32* | os2* | cegcc*)
8247 # This hack is so that the source file can tell whether it is being
8248 # built for inclusion in a dll (and should export symbols for example).
8249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8250 # (--disable-auto-import) libraries
8251 lt_prog_compiler_pic='-DDLL_EXPORT'
8254 darwin* | rhapsody*)
8255 # PIC is the default on this platform
8256 # Common symbols not allowed in MH_DYLIB files
8257 lt_prog_compiler_pic='-fno-common'
8261 # PIC is the default for Haiku.
8262 # The "-static" flag exists, but is broken.
8263 lt_prog_compiler_static=
8267 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8268 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8269 # sets the default TLS model and affects inlining.
8275 lt_prog_compiler_pic='-fPIC'
8281 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8282 # Instead, we relocate shared libraries at runtime.
8286 # Just because we use GCC doesn't mean we suddenly get shared libraries
8287 # on systems that don't support them.
8288 lt_prog_compiler_can_build_shared=no
8293 # QNX uses GNU C++, but need to define -shared option too, otherwise
8295 lt_prog_compiler_pic='-fPIC -shared'
8299 if test -d /usr/nec; then
8300 lt_prog_compiler_pic=-Kconform_pic
8305 lt_prog_compiler_pic='-fPIC'
8309 case $cc_basename in
8310 nvcc*) # Cuda Compiler Driver 2.2
8311 lt_prog_compiler_wl='-Xlinker '
8312 if test -n "$lt_prog_compiler_pic"; then
8313 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8318 # PORTME Check for flag to pass linker flags through the system compiler.
8321 lt_prog_compiler_wl='-Wl,'
8322 if test "$host_cpu" = ia64; then
8323 # AIX 5 now supports IA64 processor
8324 lt_prog_compiler_static='-Bstatic'
8326 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8330 mingw* | cygwin* | pw32* | os2* | cegcc*)
8331 # This hack is so that the source file can tell whether it is being
8332 # built for inclusion in a dll (and should export symbols for example).
8333 lt_prog_compiler_pic='-DDLL_EXPORT'
8336 hpux9* | hpux10* | hpux11*)
8337 lt_prog_compiler_wl='-Wl,'
8338 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8345 lt_prog_compiler_pic='+Z'
8348 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8349 lt_prog_compiler_static='${wl}-a ${wl}archive'
8352 irix5* | irix6* | nonstopux*)
8353 lt_prog_compiler_wl='-Wl,'
8354 # PIC (with -KPIC) is the default.
8355 lt_prog_compiler_static='-non_shared'
8358 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8359 case $cc_basename in
8360 # old Intel for x86_64 which still supported -KPIC.
8362 lt_prog_compiler_wl='-Wl,'
8363 lt_prog_compiler_pic='-KPIC'
8364 lt_prog_compiler_static='-static'
8366 # icc used to be incompatible with GCC.
8367 # ICC 10 doesn't accept -KPIC any more.
8369 lt_prog_compiler_wl='-Wl,'
8370 lt_prog_compiler_pic='-fPIC'
8371 lt_prog_compiler_static='-static'
8373 # Lahey Fortran 8.1.
8375 lt_prog_compiler_wl='-Wl,'
8376 lt_prog_compiler_pic='--shared'
8377 lt_prog_compiler_static='--static'
8380 # NAG Fortran compiler
8381 lt_prog_compiler_wl='-Wl,-Wl,,'
8382 lt_prog_compiler_pic='-PIC'
8383 lt_prog_compiler_static='-Bstatic'
8385 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8386 # Portland Group compilers (*not* the Pentium gcc compiler,
8387 # which looks to be a dead project)
8388 lt_prog_compiler_wl='-Wl,'
8389 lt_prog_compiler_pic='-fpic'
8390 lt_prog_compiler_static='-Bstatic'
8393 lt_prog_compiler_wl='-Wl,'
8394 # All Alpha code is PIC.
8395 lt_prog_compiler_static='-non_shared'
8397 xl* | bgxl* | bgf* | mpixl*)
8398 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8399 lt_prog_compiler_wl='-Wl,'
8400 lt_prog_compiler_pic='-qpic'
8401 lt_prog_compiler_static='-qstaticlink'
8404 case `$CC -V 2>&1 | sed 5q` in
8405 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8406 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8407 lt_prog_compiler_pic='-KPIC'
8408 lt_prog_compiler_static='-Bstatic'
8409 lt_prog_compiler_wl=''
8411 *Sun\ F* | *Sun*Fortran*)
8412 lt_prog_compiler_pic='-KPIC'
8413 lt_prog_compiler_static='-Bstatic'
8414 lt_prog_compiler_wl='-Qoption ld '
8418 lt_prog_compiler_pic='-KPIC'
8419 lt_prog_compiler_static='-Bstatic'
8420 lt_prog_compiler_wl='-Wl,'
8422 *Intel*\ [CF]*Compiler*)
8423 lt_prog_compiler_wl='-Wl,'
8424 lt_prog_compiler_pic='-fPIC'
8425 lt_prog_compiler_static='-static'
8428 lt_prog_compiler_wl='-Wl,'
8429 lt_prog_compiler_pic='-fpic'
8430 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_pic='-KPIC'
8439 lt_prog_compiler_static='-Bstatic'
8443 # QNX uses GNU C++, but need to define -shared option too, otherwise
8445 lt_prog_compiler_pic='-fPIC -shared'
8448 osf3* | osf4* | osf5*)
8449 lt_prog_compiler_wl='-Wl,'
8450 # All OSF/1 code is PIC.
8451 lt_prog_compiler_static='-non_shared'
8455 lt_prog_compiler_static='-non_shared'
8459 lt_prog_compiler_pic='-KPIC'
8460 lt_prog_compiler_static='-Bstatic'
8461 case $cc_basename in
8462 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8463 lt_prog_compiler_wl='-Qoption ld ';;
8465 lt_prog_compiler_wl='-Wl,';;
8470 lt_prog_compiler_wl='-Qoption ld '
8471 lt_prog_compiler_pic='-PIC'
8472 lt_prog_compiler_static='-Bstatic'
8475 sysv4 | sysv4.2uw2* | sysv4.3*)
8476 lt_prog_compiler_wl='-Wl,'
8477 lt_prog_compiler_pic='-KPIC'
8478 lt_prog_compiler_static='-Bstatic'
8482 if test -d /usr/nec ;then
8483 lt_prog_compiler_pic='-Kconform_pic'
8484 lt_prog_compiler_static='-Bstatic'
8488 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8489 lt_prog_compiler_wl='-Wl,'
8490 lt_prog_compiler_pic='-KPIC'
8491 lt_prog_compiler_static='-Bstatic'
8495 lt_prog_compiler_wl='-Wl,'
8496 lt_prog_compiler_can_build_shared=no
8500 lt_prog_compiler_pic='-pic'
8501 lt_prog_compiler_static='-Bstatic'
8505 lt_prog_compiler_can_build_shared=no
8511 # For platforms which do not support PIC, -DPIC is meaningless:
8513 lt_prog_compiler_pic=
8516 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8521 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8522 if ${lt_cv_prog_compiler_pic+:} false; then :
8523 $as_echo_n "(cached) " >&6
8525 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8528 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8529 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8532 # Check to make sure the PIC flag actually works.
8534 if test -n "$lt_prog_compiler_pic"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8536 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8537 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8538 $as_echo_n "(cached) " >&6
8540 lt_cv_prog_compiler_pic_works=no
8541 ac_outfile=conftest.$ac_objext
8542 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8543 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8544 # Insert the option either (1) after the last *FLAGS variable, or
8545 # (2) before a word containing "conftest.", or (3) at the end.
8546 # Note that $ac_compile itself does not contain backslashes and begins
8547 # with a dollar sign (not a hyphen), so the echo should work correctly.
8548 # The option is referenced via a variable to avoid confusing sed.
8549 lt_compile=`echo "$ac_compile" | $SED \
8550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8552 -e 's:$: $lt_compiler_flag:'`
8553 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8554 (eval "$lt_compile" 2>conftest.err)
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 if (exit $ac_status) && test -s "$ac_outfile"; then
8559 # The compiler can only warn and ignore the option if not recognized
8560 # So say no if there are warnings other than the usual output.
8561 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8563 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8564 lt_cv_prog_compiler_pic_works=yes
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8571 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8573 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8574 case $lt_prog_compiler_pic in
8576 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8579 lt_prog_compiler_pic=
8580 lt_prog_compiler_can_build_shared=no
8596 # Check to make sure the static flag actually works.
8598 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8600 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8601 if ${lt_cv_prog_compiler_static_works+:} false; then :
8602 $as_echo_n "(cached) " >&6
8604 lt_cv_prog_compiler_static_works=no
8605 save_LDFLAGS="$LDFLAGS"
8606 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8607 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8608 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8609 # The linker can only warn and ignore the option if not recognized
8610 # So say no if there are warnings
8611 if test -s conftest.err; then
8612 # Append any errors to the config.log.
8613 cat conftest.err 1>&5
8614 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8615 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8616 if diff conftest.exp conftest.er2 >/dev/null; then
8617 lt_cv_prog_compiler_static_works=yes
8620 lt_cv_prog_compiler_static_works=yes
8624 LDFLAGS="$save_LDFLAGS"
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8628 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8630 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8633 lt_prog_compiler_static=
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8643 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8644 if ${lt_cv_prog_compiler_c_o+:} false; then :
8645 $as_echo_n "(cached) " >&6
8647 lt_cv_prog_compiler_c_o=no
8648 $RM -r conftest 2>/dev/null
8652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8654 lt_compiler_flag="-o out/conftest2.$ac_objext"
8655 # Insert the option either (1) after the last *FLAGS variable, or
8656 # (2) before a word containing "conftest.", or (3) at the end.
8657 # Note that $ac_compile itself does not contain backslashes and begins
8658 # with a dollar sign (not a hyphen), so the echo should work correctly.
8659 lt_compile=`echo "$ac_compile" | $SED \
8660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8662 -e 's:$: $lt_compiler_flag:'`
8663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8664 (eval "$lt_compile" 2>out/conftest.err)
8666 cat out/conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8670 # The compiler can only warn and ignore the option if not recognized
8671 # So say no if there are warnings
8672 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8673 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8674 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8675 lt_cv_prog_compiler_c_o=yes
8680 # SGI C++ compiler will create directory out/ii_files/ for
8681 # template instantiation
8682 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8683 $RM out/* && rmdir out
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8690 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8698 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8699 if ${lt_cv_prog_compiler_c_o+:} false; then :
8700 $as_echo_n "(cached) " >&6
8702 lt_cv_prog_compiler_c_o=no
8703 $RM -r conftest 2>/dev/null
8707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8709 lt_compiler_flag="-o out/conftest2.$ac_objext"
8710 # Insert the option either (1) after the last *FLAGS variable, or
8711 # (2) before a word containing "conftest.", or (3) at the end.
8712 # Note that $ac_compile itself does not contain backslashes and begins
8713 # with a dollar sign (not a hyphen), so the echo should work correctly.
8714 lt_compile=`echo "$ac_compile" | $SED \
8715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8717 -e 's:$: $lt_compiler_flag:'`
8718 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8719 (eval "$lt_compile" 2>out/conftest.err)
8721 cat out/conftest.err >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8725 # The compiler can only warn and ignore the option if not recognized
8726 # So say no if there are warnings
8727 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8728 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8729 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8730 lt_cv_prog_compiler_c_o=yes
8735 # SGI C++ compiler will create directory out/ii_files/ for
8736 # template instantiation
8737 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8738 $RM out/* && rmdir out
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8745 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8750 hard_links="nottested"
8751 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8752 # do not overwrite the value of need_locks provided by the user
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8754 $as_echo_n "checking if we can lock with hard links... " >&6; }
8757 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8759 ln conftest.a conftest.b 2>&5 || hard_links=no
8760 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8762 $as_echo "$hard_links" >&6; }
8763 if test "$hard_links" = no; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8765 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8778 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8781 allow_undefined_flag=
8782 always_export_symbols=no
8784 archive_expsym_cmds=
8785 compiler_needs_object=no
8786 enable_shared_with_static_runtimes=no
8787 export_dynamic_flag_spec=
8788 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8789 hardcode_automatic=no
8791 hardcode_direct_absolute=no
8792 hardcode_libdir_flag_spec=
8793 hardcode_libdir_separator=
8795 hardcode_shlibpath_var=unsupported
8797 link_all_deplibs=unknown
8800 old_archive_from_new_cmds=
8801 old_archive_from_expsyms_cmds=
8802 thread_safe_flag_spec=
8803 whole_archive_flag_spec=
8804 # include_expsyms should be a list of space-separated symbols to be *always*
8805 # included in the symbol list
8807 # exclude_expsyms can be an extended regexp of symbols to exclude
8808 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8809 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8810 # as well as any symbol that contains `d'.
8811 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8812 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8813 # platforms (ab)use it in PIC code, but their linkers get confused if
8814 # the symbol is explicitly referenced. Since portable code cannot
8815 # rely on this symbol name, it's probably fine to never include it in
8816 # preloaded symbol tables.
8817 # Exclude shared library initialization/finalization symbols.
8818 extract_expsyms_cmds=
8821 cygwin* | mingw* | pw32* | cegcc*)
8822 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8823 # When not using gcc, we currently assume that we are using
8824 # Microsoft Visual C++.
8825 if test "$GCC" != yes; then
8830 # we just hope/assume this is gcc and not c89 (= MSVC++)
8836 linux* | k*bsd*-gnu | gnu*)
8843 # On some targets, GNU ld is compatible enough with the native linker
8844 # that we're better off using the native interface for both.
8845 lt_use_gnu_ld_interface=no
8846 if test "$with_gnu_ld" = yes; then
8849 # The AIX port of GNU ld has always aspired to compatibility
8850 # with the native linker. However, as the warning in the GNU ld
8851 # block says, versions before 2.19.5* couldn't really create working
8852 # shared libraries, regardless of the interface used.
8853 case `$LD -v 2>&1` in
8854 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8855 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8856 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8858 lt_use_gnu_ld_interface=yes
8863 lt_use_gnu_ld_interface=yes
8868 if test "$lt_use_gnu_ld_interface" = yes; then
8869 # If archive_cmds runs LD, not CC, wlarc should be empty
8872 # Set some defaults for GNU ld with shared library support. These
8873 # are reset later if shared libraries are not supported. Putting them
8874 # here allows them to be overridden if necessary.
8875 runpath_var=LD_RUN_PATH
8876 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8877 export_dynamic_flag_spec='${wl}--export-dynamic'
8878 # ancient GNU ld didn't support --whole-archive et. al.
8879 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8880 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8882 whole_archive_flag_spec=
8884 supports_anon_versioning=no
8885 case `$LD -v 2>&1` in
8886 *GNU\ gold*) supports_anon_versioning=yes ;;
8887 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8888 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8889 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8890 *\ 2.11.*) ;; # other 2.11 versions
8891 *) supports_anon_versioning=yes ;;
8894 # See if GNU ld supports shared libraries.
8897 # On AIX/PPC, the GNU linker is very broken
8898 if test "$host_cpu" != ia64; then
8902 *** Warning: the GNU linker, at least up to release 2.19, is reported
8903 *** to be unable to reliably create shared libraries on AIX.
8904 *** Therefore, libtool is disabling shared libraries support. If you
8905 *** really care for shared libraries, you may want to install binutils
8906 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8907 *** You will then need to restart the configuration process.
8916 # see comment about AmigaOS4 .so support
8917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918 archive_expsym_cmds=''
8921 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)'
8922 hardcode_libdir_flag_spec='-L$libdir'
8923 hardcode_minus_L=yes
8929 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8930 allow_undefined_flag=unsupported
8931 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8932 # support --undefined. This deserves some investigation. FIXME
8933 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939 cygwin* | mingw* | pw32* | cegcc*)
8940 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8941 # as there is no search path for DLLs.
8942 hardcode_libdir_flag_spec='-L$libdir'
8943 export_dynamic_flag_spec='${wl}--export-all-symbols'
8944 allow_undefined_flag=unsupported
8945 always_export_symbols=no
8946 enable_shared_with_static_runtimes=yes
8947 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'
8948 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8950 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8952 # If the export-symbols file already is a .def file (1st line
8953 # is EXPORTS), use it as is; otherwise, prepend...
8954 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8955 cp $export_symbols $output_objdir/$soname.def;
8957 echo EXPORTS > $output_objdir/$soname.def;
8958 cat $export_symbols >> $output_objdir/$soname.def;
8960 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 link_all_deplibs=yes
8973 hardcode_shlibpath_var=no
8974 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8975 export_dynamic_flag_spec='${wl}-E'
8976 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8977 # Instead, shared libraries are loaded at an image base (0x10000000 by
8978 # default) and relocated if they conflict, which is a slow very memory
8979 # consuming and fragmenting process. To avoid this, we pick a random,
8980 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8981 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8982 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8983 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'
8986 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8988 if test "$host_os" = linux-dietlibc; then
8989 case $cc_basename in
8990 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8993 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8994 && test "$tmp_diet" = no
8996 tmp_addflag=' $pic_flag'
8997 tmp_sharedflag='-shared'
8998 case $cc_basename,$host_cpu in
8999 pgcc*) # Portland Group C compiler
9000 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'
9001 tmp_addflag=' $pic_flag'
9003 pgf77* | pgf90* | pgf95* | pgfortran*)
9004 # Portland Group f77 and f90 compilers
9005 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'
9006 tmp_addflag=' $pic_flag -Mnomain' ;;
9007 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9008 tmp_addflag=' -i_dynamic' ;;
9009 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9010 tmp_addflag=' -i_dynamic -nofor_main' ;;
9011 ifc* | ifort*) # Intel Fortran compiler
9012 tmp_addflag=' -nofor_main' ;;
9013 lf95*) # Lahey Fortran 8.1
9014 whole_archive_flag_spec=
9015 tmp_sharedflag='--shared' ;;
9016 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9017 tmp_sharedflag='-qmkshrobj'
9019 nvcc*) # Cuda Compiler Driver 2.2
9020 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'
9021 compiler_needs_object=yes
9024 case `$CC -V 2>&1 | sed 5q` in
9025 *Sun\ C*) # Sun C 5.9
9026 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'
9027 compiler_needs_object=yes
9028 tmp_sharedflag='-G' ;;
9029 *Sun\ F*) # Sun Fortran 8.3
9030 tmp_sharedflag='-G' ;;
9032 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034 if test "x$supports_anon_versioning" = xyes; then
9035 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9036 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9037 echo "local: *; };" >> $output_objdir/$libname.ver~
9038 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9041 case $cc_basename in
9042 xlf* | bgf* | bgxlf* | mpixlf*)
9043 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9044 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9045 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9047 if test "x$supports_anon_versioning" = xyes; then
9048 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9049 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9050 echo "local: *; };" >> $output_objdir/$libname.ver~
9051 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9060 netbsd* | netbsdelf*-gnu)
9061 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9062 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9065 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9066 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9071 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9075 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9076 *** create shared libraries on Solaris systems. Therefore, libtool
9077 *** is disabling shared libraries support. We urge you to upgrade GNU
9078 *** binutils to release 2.9.1 or newer. Another option is to modify
9079 *** your PATH or compiler configuration so that the native linker is
9080 *** used, and then restart.
9083 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9084 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9085 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9091 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9092 case `$LD -v 2>&1` in
9093 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9097 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9098 *** reliably create shared libraries on SCO systems. Therefore, libtool
9099 *** is disabling shared libraries support. We urge you to upgrade GNU
9100 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9101 *** your PATH or compiler configuration so that the native linker is
9102 *** used, and then restart.
9107 # For security reasons, it is highly recommended that you always
9108 # use absolute paths for naming shared libraries, and exclude the
9109 # DT_RUNPATH tag from executables and libraries. But doing so
9110 # requires that you compile everything twice, which is a pain.
9111 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9112 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9123 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9126 hardcode_shlibpath_var=no
9130 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9131 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9132 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9139 if test "$ld_shlibs" = no; then
9141 hardcode_libdir_flag_spec=
9142 export_dynamic_flag_spec=
9143 whole_archive_flag_spec=
9146 # PORTME fill in a description of your system's linker (not GNU ld)
9149 allow_undefined_flag=unsupported
9150 always_export_symbols=yes
9151 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'
9152 # Note: this linker hardcodes the directories in LIBPATH if there
9153 # are no directories specified by -L.
9154 hardcode_minus_L=yes
9155 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9156 # Neither direct hardcoding nor static linking is supported with a
9158 hardcode_direct=unsupported
9163 if test "$host_cpu" = ia64; then
9164 # On IA64, the linker does run time linking by default, so we don't
9165 # have to do anything special.
9166 aix_use_runtimelinking=no
9167 exp_sym_flag='-Bexport'
9170 # If we're using GNU nm, then we don't want the "-C" option.
9171 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9172 # Also, AIX nm treats weak defined symbols like other global
9173 # defined symbols, whereas GNU nm marks them as "W".
9174 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9175 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9177 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9179 aix_use_runtimelinking=no
9181 # Test if we are trying to use run time linking or normal
9182 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9183 # need to do runtime linking.
9184 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9185 for ld_flag in $LDFLAGS; do
9186 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9187 aix_use_runtimelinking=yes
9194 exp_sym_flag='-bexport'
9195 no_entry_flag='-bnoentry'
9198 # When large executables or shared objects are built, AIX ld can
9199 # have problems creating the table of contents. If linking a library
9200 # or program results in "error TOC overflow" add -mminimal-toc to
9201 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9202 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9206 hardcode_direct_absolute=yes
9207 hardcode_libdir_separator=':'
9208 link_all_deplibs=yes
9209 file_list_spec='${wl}-f,'
9211 if test "$GCC" = yes; then
9212 case $host_os in aix4.[012]|aix4.[012].*)
9213 # We only want to do this on AIX 4.2 and lower, the check
9214 # below for broken collect2 doesn't work under 4.3+
9215 collect2name=`${CC} -print-prog-name=collect2`
9216 if test -f "$collect2name" &&
9217 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9219 # We have reworked collect2
9222 # We have old collect2
9223 hardcode_direct=unsupported
9224 # It fails to find uninstalled libraries when the uninstalled
9225 # path is not listed in the libpath. Setting hardcode_minus_L
9226 # to unsupported forces relinking
9227 hardcode_minus_L=yes
9228 hardcode_libdir_flag_spec='-L$libdir'
9229 hardcode_libdir_separator=
9233 shared_flag='-shared'
9234 if test "$aix_use_runtimelinking" = yes; then
9235 shared_flag="$shared_flag "'${wl}-G'
9240 if test "$host_cpu" = ia64; then
9241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9242 # chokes on -Wl,-G. The following line is correct:
9245 if test "$aix_use_runtimelinking" = yes; then
9246 shared_flag='${wl}-G'
9248 shared_flag='${wl}-bM:SRE'
9253 export_dynamic_flag_spec='${wl}-bexpall'
9254 # It seems that -bexpall does not export symbols beginning with
9255 # underscore (_), so it is better to generate a list of symbols to export.
9256 always_export_symbols=yes
9257 if test "$aix_use_runtimelinking" = yes; then
9258 # Warning - without using the other runtime loading flags (-brtl),
9259 # -berok will link without error, but may produce a broken library.
9260 allow_undefined_flag='-berok'
9261 # Determine the default libpath from the value encoded in an
9263 if test "${lt_cv_aix_libpath+set}" = set; then
9264 aix_libpath=$lt_cv_aix_libpath
9266 if ${lt_cv_aix_libpath_+:} false; then :
9267 $as_echo_n "(cached) " >&6
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9280 if ac_fn_c_try_link "$LINENO"; then :
9282 lt_aix_libpath_sed='
9283 /Import File Strings/,/^$/ {
9285 s/^0 *\([^ ]*\) *$/\1/
9289 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9290 # Check for a 64-bit object if we didn't find anything.
9291 if test -z "$lt_cv_aix_libpath_"; then
9292 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 if test -z "$lt_cv_aix_libpath_"; then
9298 lt_cv_aix_libpath_="/usr/lib:/lib"
9303 aix_libpath=$lt_cv_aix_libpath_
9306 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9307 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9309 if test "$host_cpu" = ia64; then
9310 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9311 allow_undefined_flag="-z nodefs"
9312 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"
9314 # Determine the default libpath from the value encoded in an
9316 if test "${lt_cv_aix_libpath+set}" = set; then
9317 aix_libpath=$lt_cv_aix_libpath
9319 if ${lt_cv_aix_libpath_+:} false; then :
9320 $as_echo_n "(cached) " >&6
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9333 if ac_fn_c_try_link "$LINENO"; then :
9335 lt_aix_libpath_sed='
9336 /Import File Strings/,/^$/ {
9338 s/^0 *\([^ ]*\) *$/\1/
9342 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9343 # Check for a 64-bit object if we didn't find anything.
9344 if test -z "$lt_cv_aix_libpath_"; then
9345 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 if test -z "$lt_cv_aix_libpath_"; then
9351 lt_cv_aix_libpath_="/usr/lib:/lib"
9356 aix_libpath=$lt_cv_aix_libpath_
9359 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9360 # Warning - without using the other run time loading flags,
9361 # -berok will link without error, but may produce a broken library.
9362 no_undefined_flag=' ${wl}-bernotok'
9363 allow_undefined_flag=' ${wl}-berok'
9364 if test "$with_gnu_ld" = yes; then
9365 # We only use this code for GNU lds that support --whole-archive.
9366 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9368 # Exported symbols can be pulled into shared objects from archives
9369 whole_archive_flag_spec='$convenience'
9371 archive_cmds_need_lc=yes
9372 # This is similar to how AIX traditionally builds its shared libraries.
9373 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9381 # see comment about AmigaOS4 .so support
9382 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9383 archive_expsym_cmds=''
9386 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)'
9387 hardcode_libdir_flag_spec='-L$libdir'
9388 hardcode_minus_L=yes
9394 export_dynamic_flag_spec=-rdynamic
9397 cygwin* | mingw* | pw32* | cegcc*)
9398 # When not using gcc, we currently assume that we are using
9399 # Microsoft Visual C++.
9400 # hardcode_libdir_flag_spec is actually meaningless, as there is
9401 # no search path for DLLs.
9402 case $cc_basename in
9405 hardcode_libdir_flag_spec=' '
9406 allow_undefined_flag=unsupported
9407 always_export_symbols=yes
9409 # Tell ltmain to make .lib files, not .a files.
9411 # Tell ltmain to make .dll files, not .so files.
9413 # FIXME: Setting linknames here is a bad hack.
9414 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9415 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9416 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9418 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9420 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9422 # The linker will not automatically build a static lib if we build a DLL.
9423 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9424 enable_shared_with_static_runtimes=yes
9425 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9426 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9428 old_postinstall_cmds='chmod 644 $oldlib'
9429 postlink_cmds='lt_outputfile="@OUTPUT@"~
9430 lt_tool_outputfile="@TOOL_OUTPUT@"~
9431 case $lt_outputfile in
9434 lt_outputfile="$lt_outputfile.exe"
9435 lt_tool_outputfile="$lt_tool_outputfile.exe"
9438 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9439 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9440 $RM "$lt_outputfile.manifest";
9444 # Assume MSVC wrapper
9445 hardcode_libdir_flag_spec=' '
9446 allow_undefined_flag=unsupported
9447 # Tell ltmain to make .lib files, not .a files.
9449 # Tell ltmain to make .dll files, not .so files.
9451 # FIXME: Setting linknames here is a bad hack.
9452 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9453 # The linker will automatically build a .lib file if we build a DLL.
9454 old_archive_from_new_cmds='true'
9455 # FIXME: Should let the user specify the lib program.
9456 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9457 enable_shared_with_static_runtimes=yes
9462 darwin* | rhapsody*)
9465 archive_cmds_need_lc=no
9467 hardcode_automatic=yes
9468 hardcode_shlibpath_var=unsupported
9469 if test "$lt_cv_ld_force_load" = "yes"; then
9470 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\"`'
9473 whole_archive_flag_spec=''
9475 link_all_deplibs=yes
9476 allow_undefined_flag="$_lt_dar_allow_undefined"
9477 case $cc_basename in
9478 ifort*) _lt_dar_can_shared=yes ;;
9479 *) _lt_dar_can_shared=$GCC ;;
9481 if test "$_lt_dar_can_shared" = "yes"; then
9482 output_verbose_link_cmd=func_echo_all
9483 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9484 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9485 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}"
9486 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}"
9495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9496 hardcode_libdir_flag_spec='-L$libdir'
9497 hardcode_shlibpath_var=no
9500 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9501 # support. Future versions do this automatically, but an explicit c++rt0.o
9502 # does not break anything, and helps significantly (at the cost of a little
9505 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9506 hardcode_libdir_flag_spec='-R$libdir'
9508 hardcode_shlibpath_var=no
9511 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9513 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9515 hardcode_minus_L=yes
9516 hardcode_shlibpath_var=no
9519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9520 freebsd* | dragonfly*)
9521 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9522 hardcode_libdir_flag_spec='-R$libdir'
9524 hardcode_shlibpath_var=no
9528 if test "$GCC" = yes; then
9529 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9531 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9533 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9534 hardcode_libdir_separator=:
9537 # hardcode_minus_L: Not really in the search PATH,
9538 # but as the default location of the library.
9539 hardcode_minus_L=yes
9540 export_dynamic_flag_spec='${wl}-E'
9544 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9545 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9547 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9549 if test "$with_gnu_ld" = no; then
9550 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9551 hardcode_libdir_separator=:
9553 hardcode_direct_absolute=yes
9554 export_dynamic_flag_spec='${wl}-E'
9555 # hardcode_minus_L: Not really in the search PATH,
9556 # but as the default location of the library.
9557 hardcode_minus_L=yes
9562 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9565 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9568 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9577 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9584 # Older versions of the 11.00 compiler do not understand -b yet
9585 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9587 $as_echo_n "checking if $CC understands -b... " >&6; }
9588 if ${lt_cv_prog_compiler__b+:} false; then :
9589 $as_echo_n "(cached) " >&6
9591 lt_cv_prog_compiler__b=no
9592 save_LDFLAGS="$LDFLAGS"
9593 LDFLAGS="$LDFLAGS -b"
9594 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9595 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9596 # The linker can only warn and ignore the option if not recognized
9597 # So say no if there are warnings
9598 if test -s conftest.err; then
9599 # Append any errors to the config.log.
9600 cat conftest.err 1>&5
9601 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9602 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9603 if diff conftest.exp conftest.er2 >/dev/null; then
9604 lt_cv_prog_compiler__b=yes
9607 lt_cv_prog_compiler__b=yes
9611 LDFLAGS="$save_LDFLAGS"
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9615 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9617 if test x"$lt_cv_prog_compiler__b" = xyes; then
9618 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9626 if test "$with_gnu_ld" = no; then
9627 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9628 hardcode_libdir_separator=:
9633 hardcode_shlibpath_var=no
9637 hardcode_direct_absolute=yes
9638 export_dynamic_flag_spec='${wl}-E'
9640 # hardcode_minus_L: Not really in the search PATH,
9641 # but as the default location of the library.
9642 hardcode_minus_L=yes
9648 irix5* | irix6* | nonstopux*)
9649 if test "$GCC" = yes; then
9650 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'
9651 # Try to use the -exported_symbol ld option, if it does not
9652 # work, assume that -exports_file does not work either and
9653 # implicitly export all symbols.
9654 # This should be the same for all languages, so no per-tag cache variable.
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9656 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9657 if ${lt_cv_irix_exported_symbol+:} false; then :
9658 $as_echo_n "(cached) " >&6
9660 save_LDFLAGS="$LDFLAGS"
9661 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9664 int foo (void) { return 0; }
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 lt_cv_irix_exported_symbol=yes
9669 lt_cv_irix_exported_symbol=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LDFLAGS="$save_LDFLAGS"
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9676 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9677 if test "$lt_cv_irix_exported_symbol" = yes; then
9678 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'
9681 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'
9682 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'
9684 archive_cmds_need_lc='no'
9685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9686 hardcode_libdir_separator=:
9688 link_all_deplibs=yes
9691 netbsd* | netbsdelf*-gnu)
9692 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9693 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9695 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9697 hardcode_libdir_flag_spec='-R$libdir'
9699 hardcode_shlibpath_var=no
9703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9706 hardcode_libdir_separator=:
9707 hardcode_shlibpath_var=no
9714 if test -f /usr/libexec/ld.so; then
9716 hardcode_shlibpath_var=no
9717 hardcode_direct_absolute=yes
9718 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9719 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9721 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9722 export_dynamic_flag_spec='${wl}-E'
9725 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9726 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-R$libdir'
9730 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9731 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9741 hardcode_libdir_flag_spec='-L$libdir'
9742 hardcode_minus_L=yes
9743 allow_undefined_flag=unsupported
9744 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9745 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9749 if test "$GCC" = yes; then
9750 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9751 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'
9753 allow_undefined_flag=' -expect_unresolved \*'
9754 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'
9756 archive_cmds_need_lc='no'
9757 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9758 hardcode_libdir_separator=:
9761 osf4* | osf5*) # as osf3* with the addition of -msym flag
9762 if test "$GCC" = yes; then
9763 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9764 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'
9765 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9767 allow_undefined_flag=' -expect_unresolved \*'
9768 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'
9769 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~
9770 $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'
9772 # Both c and cxx compiler support -rpath directly
9773 hardcode_libdir_flag_spec='-rpath $libdir'
9775 archive_cmds_need_lc='no'
9776 hardcode_libdir_separator=:
9780 no_undefined_flag=' -z defs'
9781 if test "$GCC" = yes; then
9783 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9785 $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'
9787 case `$CC -V 2>&1` in
9790 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9792 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9796 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9798 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9802 hardcode_libdir_flag_spec='-R$libdir'
9803 hardcode_shlibpath_var=no
9805 solaris2.[0-5] | solaris2.[0-5].*) ;;
9807 # The compiler driver will combine and reorder linker options,
9808 # but understands `-z linker_flag'. GCC discards it without `$wl',
9809 # but is careful enough not to reorder.
9810 # Supported since Solaris 2.6 (maybe 2.5.1?)
9811 if test "$GCC" = yes; then
9812 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9814 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9818 link_all_deplibs=yes
9822 if test "x$host_vendor" = xsequent; then
9823 # Use $CC to link under sequent, because it throws in some extra .o
9824 # files that make .init and .fini sections work.
9825 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_libdir_flag_spec='-L$libdir'
9831 hardcode_minus_L=yes
9832 hardcode_shlibpath_var=no
9836 case $host_vendor in
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_direct=yes # is this really true???
9842 ## LD is ld it makes a PLAMLIB
9843 ## CC just makes a GrossModule.
9844 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9845 reload_cmds='$CC -r -o $output$reload_objs'
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9853 runpath_var='LD_RUN_PATH'
9854 hardcode_shlibpath_var=no
9858 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9859 hardcode_shlibpath_var=no
9860 export_dynamic_flag_spec='-Bexport'
9864 if test -d /usr/nec; then
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_shlibpath_var=no
9867 runpath_var=LD_RUN_PATH
9868 hardcode_runpath_var=yes
9873 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9874 no_undefined_flag='${wl}-z,text'
9875 archive_cmds_need_lc=no
9876 hardcode_shlibpath_var=no
9877 runpath_var='LD_RUN_PATH'
9879 if test "$GCC" = yes; then
9880 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9888 sysv5* | sco3.2v5* | sco5v6*)
9889 # Note: We can NOT use -z defs as we might desire, because we do not
9890 # link with -lc, and that would cause any symbols used from libc to
9891 # always be unresolved, which means just about no library would
9892 # ever link correctly. If we're not using GNU ld we use -z text
9893 # though, which does catch some bad symbols but isn't as heavy-handed
9895 no_undefined_flag='${wl}-z,text'
9896 allow_undefined_flag='${wl}-z,nodefs'
9897 archive_cmds_need_lc=no
9898 hardcode_shlibpath_var=no
9899 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9900 hardcode_libdir_separator=':'
9901 link_all_deplibs=yes
9902 export_dynamic_flag_spec='${wl}-Bexport'
9903 runpath_var='LD_RUN_PATH'
9905 if test "$GCC" = yes; then
9906 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916 hardcode_libdir_flag_spec='-L$libdir'
9917 hardcode_shlibpath_var=no
9925 if test x$host_vendor = xsni; then
9927 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9928 export_dynamic_flag_spec='${wl}-Blargedynsym'
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9935 $as_echo "$ld_shlibs" >&6; }
9936 test "$ld_shlibs" = no && can_build_shared=no
9938 with_gnu_ld=$with_gnu_ld
9955 # Do we need to explicitly link libc?
9957 case "x$archive_cmds_need_lc" in
9959 # Assume -lc should be added
9960 archive_cmds_need_lc=yes
9962 if test "$enable_shared" = yes && test "$GCC" = yes; then
9963 case $archive_cmds in
9965 # FIXME: we may have to deal with multi-command sequences.
9968 # Test whether the compiler implicitly links with -lc since on some
9969 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9970 # to ld, don't add -lc before -lgcc.
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9972 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9973 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9974 $as_echo_n "(cached) " >&6
9977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9980 (eval $ac_compile) 2>&5
9982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9983 test $ac_status = 0; } 2>conftest.err; then
9986 libobjs=conftest.$ac_objext
9988 wl=$lt_prog_compiler_wl
9989 pic_flag=$lt_prog_compiler_pic
9995 lt_save_allow_undefined_flag=$allow_undefined_flag
9996 allow_undefined_flag=
9997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9998 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10001 test $ac_status = 0; }
10003 lt_cv_archive_cmds_need_lc=no
10005 lt_cv_archive_cmds_need_lc=yes
10007 allow_undefined_flag=$lt_save_allow_undefined_flag
10009 cat conftest.err 1>&5
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10015 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10016 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10175 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10177 if test "$GCC" = yes; then
10179 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10180 *) lt_awk_arg="/^libraries:/" ;;
10183 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10184 *) lt_sed_strip_eq="s,=/,/,g" ;;
10186 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10187 case $lt_search_path_spec in
10189 # if the path contains ";" then we assume it to be the separator
10190 # otherwise default to the standard path separator (i.e. ":") - it is
10191 # assumed that no part of a normal pathname contains ";" but that should
10192 # okay in the real world where ";" in dirpaths is itself problematic.
10193 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10196 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10199 # Ok, now we have the path, separated by spaces, we can step through it
10200 # and add multilib dir if necessary.
10201 lt_tmp_lt_search_path_spec=
10202 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10203 for lt_sys_path in $lt_search_path_spec; do
10204 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10205 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10207 test -d "$lt_sys_path" && \
10208 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10211 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10212 BEGIN {RS=" "; FS="/|\n";} {
10215 for (lt_i = NF; lt_i > 0; lt_i--) {
10216 if ($lt_i != "" && $lt_i != ".") {
10217 if ($lt_i == "..") {
10220 if (lt_count == 0) {
10221 lt_foo="/" $lt_i lt_foo;
10228 if (lt_foo != "") { lt_freq[lt_foo]++; }
10229 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10231 # AWK program above erroneously prepends '/' to C:/dos/paths
10234 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10235 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10237 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10239 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10241 library_names_spec=
10242 libname_spec='lib$name'
10246 postuninstall_cmds=
10250 shlibpath_overrides_runpath=unknown
10252 dynamic_linker="$host_os ld.so"
10253 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10254 need_lib_prefix=unknown
10255 hardcode_into_libs=no
10257 # when you set need_version to no, make sure it does not cause -set_version
10258 # flags to be left without arguments
10259 need_version=unknown
10263 version_type=linux # correct to gnu/linux during the next big refactor
10264 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10265 shlibpath_var=LIBPATH
10267 # AIX 3 has no versioning support, so we append a major version to the name.
10268 soname_spec='${libname}${release}${shared_ext}$major'
10272 version_type=linux # correct to gnu/linux during the next big refactor
10275 hardcode_into_libs=yes
10276 if test "$host_cpu" = ia64; then
10277 # AIX 5 supports IA64
10278 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10279 shlibpath_var=LD_LIBRARY_PATH
10281 # With GCC up to 2.95.x, collect2 would create an import file
10282 # for dependence libraries. The import file would start with
10283 # the line `#! .'. This would cause the generated library to
10284 # depend on `.', always an invalid library. This was fixed in
10285 # development snapshots of GCC prior to 3.0.
10287 aix4 | aix4.[01] | aix4.[01].*)
10288 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10290 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10293 can_build_shared=no
10297 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10298 # soname into executable. Probably we can add versioning support to
10299 # collect2, so additional links can be useful in future.
10300 if test "$aix_use_runtimelinking" = yes; then
10301 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10302 # instead of lib<name>.a to let people know that these are not
10303 # typical AIX shared libraries.
10304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10306 # We preserve .a as extension for shared libraries through AIX4.2
10307 # and later when we are not doing run time linking.
10308 library_names_spec='${libname}${release}.a $libname.a'
10309 soname_spec='${libname}${release}${shared_ext}$major'
10311 shlibpath_var=LIBPATH
10318 # Since July 2007 AmigaOS4 officially supports .so libraries.
10319 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10323 library_names_spec='$libname.ixlibrary $libname.a'
10324 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10325 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10331 library_names_spec='${libname}${shared_ext}'
10332 dynamic_linker="$host_os ld.so"
10333 shlibpath_var=LIBRARY_PATH
10337 version_type=linux # correct to gnu/linux during the next big refactor
10339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec='${libname}${release}${shared_ext}$major'
10341 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10342 shlibpath_var=LD_LIBRARY_PATH
10343 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10344 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10345 # the default ld.so.conf also contains /usr/contrib/lib and
10346 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10347 # libtool to hard-code these into programs
10350 cygwin* | mingw* | pw32* | cegcc*)
10351 version_type=windows
10356 case $GCC,$cc_basename in
10359 library_names_spec='$libname.dll.a'
10360 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10361 postinstall_cmds='base_file=`basename \${file}`~
10362 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10363 dldir=$destdir/`dirname \$dlpath`~
10364 test -d \$dldir || mkdir -p \$dldir~
10365 $install_prog $dir/$dlname \$dldir/$dlname~
10366 chmod a+x \$dldir/$dlname~
10367 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10368 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10370 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10371 dlpath=$dir/\$dldll~
10373 shlibpath_overrides_runpath=yes
10377 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10378 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10380 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10383 # MinGW DLLs use traditional 'lib' prefix
10384 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10387 # pw32 DLLs use 'pw' prefix rather than 'lib'
10388 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10391 dynamic_linker='Win32 ld.exe'
10396 libname_spec='$name'
10397 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10398 library_names_spec='${libname}.dll.lib'
10402 sys_lib_search_path_spec=
10405 for lt_path in $LIB
10408 # Let DOS variable expansion print the short 8.3 style file name.
10409 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10410 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10413 # Convert to MSYS style.
10414 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10417 # Convert to unix form, then to dos form, then back to unix form
10418 # but this time dos style (no spaces!) so that the unix form looks
10419 # like /cygdrive/c/PROGRA~1:/cygdr...
10420 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10421 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10422 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10425 sys_lib_search_path_spec="$LIB"
10426 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10427 # It is most probably a Windows format PATH.
10428 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10430 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10432 # FIXME: find the short name or the path components, as spaces are
10433 # common. (e.g. "Program Files" -> "PROGRA~1")
10437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10438 postinstall_cmds='base_file=`basename \${file}`~
10439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10440 dldir=$destdir/`dirname \$dlpath`~
10441 test -d \$dldir || mkdir -p \$dldir~
10442 $install_prog $dir/$dlname \$dldir/$dlname'
10443 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10444 dlpath=$dir/\$dldll~
10446 shlibpath_overrides_runpath=yes
10447 dynamic_linker='Win32 link.exe'
10451 # Assume MSVC wrapper
10452 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10453 dynamic_linker='Win32 ld.exe'
10456 # FIXME: first we should search . and the directory the executable is in
10460 darwin* | rhapsody*)
10461 dynamic_linker="$host_os dyld"
10462 version_type=darwin
10465 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10466 soname_spec='${libname}${release}${major}$shared_ext'
10467 shlibpath_overrides_runpath=yes
10468 shlibpath_var=DYLD_LIBRARY_PATH
10469 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10471 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10472 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10476 version_type=linux # correct to gnu/linux during the next big refactor
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10480 soname_spec='${libname}${release}${shared_ext}$major'
10481 shlibpath_var=LD_LIBRARY_PATH
10484 freebsd* | dragonfly*)
10485 # DragonFly does not have aout. When/if they implement a new
10486 # versioning mechanism, adjust this.
10487 if test -x /usr/bin/objformat; then
10488 objformat=`/usr/bin/objformat`
10491 freebsd[23].*) objformat=aout ;;
10492 *) objformat=elf ;;
10495 version_type=freebsd-$objformat
10496 case $version_type in
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10507 shlibpath_var=LD_LIBRARY_PATH
10510 shlibpath_overrides_runpath=yes
10512 freebsd3.[01]* | freebsdelf3.[01]*)
10513 shlibpath_overrides_runpath=yes
10514 hardcode_into_libs=yes
10516 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10517 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10518 shlibpath_overrides_runpath=no
10519 hardcode_into_libs=yes
10521 *) # from 4.6 on, and DragonFly
10522 shlibpath_overrides_runpath=yes
10523 hardcode_into_libs=yes
10529 version_type=linux # correct to gnu/linux during the next big refactor
10532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10533 soname_spec='${libname}${release}${shared_ext}$major'
10534 shlibpath_var=LD_LIBRARY_PATH
10535 shlibpath_overrides_runpath=no
10536 hardcode_into_libs=yes
10540 version_type=linux # correct to gnu/linux during the next big refactor
10543 dynamic_linker="$host_os runtime_loader"
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 shlibpath_var=LIBRARY_PATH
10547 shlibpath_overrides_runpath=yes
10548 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10549 hardcode_into_libs=yes
10552 hpux9* | hpux10* | hpux11*)
10553 # Give a soname corresponding to the major version so that dld.sl refuses to
10554 # link against other versions.
10561 hardcode_into_libs=yes
10562 dynamic_linker="$host_os dld.so"
10563 shlibpath_var=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec='${libname}${release}${shared_ext}$major'
10567 if test "X$HPUX_IA64_MODE" = X32; then
10568 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10570 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10572 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10576 hardcode_into_libs=yes
10577 dynamic_linker="$host_os dld.sl"
10578 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10579 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10581 soname_spec='${libname}${release}${shared_ext}$major'
10582 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10583 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587 dynamic_linker="$host_os dld.sl"
10588 shlibpath_var=SHLIB_PATH
10589 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 soname_spec='${libname}${release}${shared_ext}$major'
10594 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10595 postinstall_cmds='chmod 555 $lib'
10596 # or fails outright, so override atomically:
10597 install_override_mode=555
10601 version_type=linux # correct to gnu/linux during the next big refactor
10604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10605 soname_spec='${libname}${release}${shared_ext}$major'
10606 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10607 shlibpath_var=LD_LIBRARY_PATH
10608 shlibpath_overrides_runpath=no
10609 hardcode_into_libs=yes
10612 irix5* | irix6* | nonstopux*)
10614 nonstopux*) version_type=nonstopux ;;
10616 if test "$lt_cv_prog_gnu_ld" = yes; then
10617 version_type=linux # correct to gnu/linux during the next big refactor
10624 soname_spec='${libname}${release}${shared_ext}$major'
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10627 irix5* | nonstopux*)
10628 libsuff= shlibsuff=
10631 case $LD in # libtool.m4 will add one of these switches to LD
10632 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10633 libsuff= shlibsuff= libmagic=32-bit;;
10634 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10635 libsuff=32 shlibsuff=N32 libmagic=N32;;
10636 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10637 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10638 *) libsuff= shlibsuff= libmagic=never-match;;
10642 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10643 shlibpath_overrides_runpath=no
10644 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10645 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10646 hardcode_into_libs=yes
10649 # No shared lib support for Linux oldld, aout, or coff.
10650 linux*oldld* | linux*aout* | linux*coff*)
10654 # This must be glibc/ELF.
10655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10656 version_type=linux # correct to gnu/linux during the next big refactor
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 shlibpath_overrides_runpath=no
10665 # Some binutils ld are patched to set DT_RUNPATH
10666 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10667 $as_echo_n "(cached) " >&6
10669 lt_cv_shlibpath_overrides_runpath=no
10670 save_LDFLAGS=$LDFLAGS
10671 save_libdir=$libdir
10672 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10673 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10687 lt_cv_shlibpath_overrides_runpath=yes
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LDFLAGS=$save_LDFLAGS
10693 libdir=$save_libdir
10697 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10699 # This implies no fast_install, which is unacceptable.
10700 # Some rework will be needed to allow for fast_install
10701 # before this can be enabled.
10702 hardcode_into_libs=yes
10704 # Append ld.so.conf contents to the search path
10705 if test -f /etc/ld.so.conf; then
10706 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' ' '`
10707 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10710 # We used to test for /lib/ld.so.1 and disable shared libraries on
10711 # powerpc, because MkLinux only supported shared libraries with the
10712 # GNU dynamic linker. Since this was broken with cross compilers,
10713 # most powerpc-linux boxes support dynamic linking these days and
10714 # people can always --disable-shared, the test was removed, and we
10715 # assume the GNU/Linux dynamic linker is in use.
10716 dynamic_linker='GNU/Linux ld.so'
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 shlibpath_var=LD_LIBRARY_PATH
10726 shlibpath_overrides_runpath=no
10727 hardcode_into_libs=yes
10728 dynamic_linker='NetBSD ld.elf_so'
10735 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10737 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10738 dynamic_linker='NetBSD (a.out) ld.so'
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10741 soname_spec='${libname}${release}${shared_ext}$major'
10742 dynamic_linker='NetBSD ld.elf_so'
10744 shlibpath_var=LD_LIBRARY_PATH
10745 shlibpath_overrides_runpath=yes
10746 hardcode_into_libs=yes
10750 version_type=linux # correct to gnu/linux during the next big refactor
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 shlibpath_var=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath=yes
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 shlibpath_var=LD_LIBRARY_PATH
10763 shlibpath_overrides_runpath=no
10764 hardcode_into_libs=yes
10765 dynamic_linker='ldqnx.so'
10770 sys_lib_dlsearch_path_spec="/usr/lib"
10772 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10774 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10775 *) need_version=no ;;
10777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10778 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10782 openbsd2.[89] | openbsd2.[89].*)
10783 shlibpath_overrides_runpath=no
10786 shlibpath_overrides_runpath=yes
10790 shlibpath_overrides_runpath=yes
10795 libname_spec='$name'
10798 library_names_spec='$libname${shared_ext} $libname.a'
10799 dynamic_linker='OS/2 ld.exe'
10800 shlibpath_var=LIBPATH
10803 osf3* | osf4* | osf5*)
10807 soname_spec='${libname}${release}${shared_ext}$major'
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 shlibpath_var=LD_LIBRARY_PATH
10810 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10811 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10819 version_type=linux # correct to gnu/linux during the next big refactor
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823 soname_spec='${libname}${release}${shared_ext}$major'
10824 shlibpath_var=LD_LIBRARY_PATH
10825 shlibpath_overrides_runpath=yes
10826 hardcode_into_libs=yes
10827 # ldd complains unless libraries are executable
10828 postinstall_cmds='chmod +x $lib'
10833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10834 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10835 shlibpath_var=LD_LIBRARY_PATH
10836 shlibpath_overrides_runpath=yes
10837 if test "$with_gnu_ld" = yes; then
10844 version_type=linux # correct to gnu/linux during the next big refactor
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846 soname_spec='${libname}${release}${shared_ext}$major'
10847 shlibpath_var=LD_LIBRARY_PATH
10848 case $host_vendor in
10850 shlibpath_overrides_runpath=no
10852 runpath_var=LD_RUN_PATH
10860 shlibpath_overrides_runpath=no
10861 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10867 if test -d /usr/nec ;then
10868 version_type=linux # correct to gnu/linux during the next big refactor
10869 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10870 soname_spec='$libname${shared_ext}.$major'
10871 shlibpath_var=LD_LIBRARY_PATH
10875 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10876 version_type=freebsd-elf
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10880 soname_spec='${libname}${release}${shared_ext}$major'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes
10883 hardcode_into_libs=yes
10884 if test "$with_gnu_ld" = yes; then
10885 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10887 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10890 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10894 sys_lib_dlsearch_path_spec='/usr/lib'
10898 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10899 version_type=linux # correct to gnu/linux during the next big refactor
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=no
10905 hardcode_into_libs=yes
10909 version_type=linux # correct to gnu/linux during the next big refactor
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911 soname_spec='${libname}${release}${shared_ext}$major'
10912 shlibpath_var=LD_LIBRARY_PATH
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10920 $as_echo "$dynamic_linker" >&6; }
10921 test "$dynamic_linker" = no && can_build_shared=no
10923 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10924 if test "$GCC" = yes; then
10925 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10928 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10929 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10931 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10932 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11027 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11029 if test -n "$hardcode_libdir_flag_spec" ||
11030 test -n "$runpath_var" ||
11031 test "X$hardcode_automatic" = "Xyes" ; then
11033 # We can hardcode non-existent directories.
11034 if test "$hardcode_direct" != no &&
11035 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11036 # have to relink, otherwise we might link with an installed library
11037 # when we should be linking with a yet-to-be-installed one
11038 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11039 test "$hardcode_minus_L" != no; then
11040 # Linking always hardcodes the temporary library directory.
11041 hardcode_action=relink
11043 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11044 hardcode_action=immediate
11047 # We cannot hardcode anything, or else we can only hardcode existing
11049 hardcode_action=unsupported
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11052 $as_echo "$hardcode_action" >&6; }
11054 if test "$hardcode_action" = relink ||
11055 test "$inherit_rpath" = yes; then
11056 # Fast installation is not supported
11057 enable_fast_install=no
11058 elif test "$shlibpath_overrides_runpath" = yes ||
11059 test "$enable_shared" = no; then
11060 # Fast installation is not necessary
11061 enable_fast_install=needless
11069 if test "x$enable_dlopen" != xyes; then
11070 enable_dlopen=unknown
11071 enable_dlopen_self=unknown
11072 enable_dlopen_self_static=unknown
11079 lt_cv_dlopen="load_add_on"
11081 lt_cv_dlopen_self=yes
11084 mingw* | pw32* | cegcc*)
11085 lt_cv_dlopen="LoadLibrary"
11090 lt_cv_dlopen="dlopen"
11095 # if libdl is installed we need to link against it
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11097 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11098 if ${ac_cv_lib_dl_dlopen+:} false; then :
11099 $as_echo_n "(cached) " >&6
11101 ac_check_lib_save_LIBS=$LIBS
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_dl_dlopen=yes
11124 ac_cv_lib_dl_dlopen=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11131 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11132 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11133 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11136 lt_cv_dlopen="dyld"
11138 lt_cv_dlopen_self=yes
11145 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11146 if test "x$ac_cv_func_shl_load" = xyes; then :
11147 lt_cv_dlopen="shl_load"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11150 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11151 if ${ac_cv_lib_dld_shl_load+:} false; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_lib_save_LIBS=$LIBS
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11169 return shl_load ();
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_dld_shl_load=yes
11177 ac_cv_lib_dld_shl_load=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11184 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11185 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11186 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11188 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11189 if test "x$ac_cv_func_dlopen" = xyes; then :
11190 lt_cv_dlopen="dlopen"
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11193 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11194 if ${ac_cv_lib_dl_dlopen+:} false; then :
11195 $as_echo_n "(cached) " >&6
11197 ac_check_lib_save_LIBS=$LIBS
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_dl_dlopen=yes
11220 ac_cv_lib_dl_dlopen=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11227 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11228 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11229 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11232 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11233 if ${ac_cv_lib_svld_dlopen+:} false; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lsvld $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_svld_dlopen=yes
11259 ac_cv_lib_svld_dlopen=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11266 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11267 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11268 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11271 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11272 if ${ac_cv_lib_dld_dld_link+:} false; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS=$LIBS
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11290 return dld_link ();
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_dld_dld_link=yes
11298 ac_cv_lib_dld_dld_link=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11305 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11306 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11307 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11328 if test "x$lt_cv_dlopen" != xno; then
11334 case $lt_cv_dlopen in
11336 save_CPPFLAGS="$CPPFLAGS"
11337 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11339 save_LDFLAGS="$LDFLAGS"
11340 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11343 LIBS="$lt_cv_dlopen_libs $LIBS"
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11346 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11347 if ${lt_cv_dlopen_self+:} false; then :
11348 $as_echo_n "(cached) " >&6
11350 if test "$cross_compiling" = yes; then :
11351 lt_cv_dlopen_self=cross
11353 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11354 lt_status=$lt_dlunknown
11355 cat > conftest.$ac_ext <<_LT_EOF
11356 #line $LINENO "configure"
11357 #include "confdefs.h"
11366 # define LT_DLGLOBAL RTLD_GLOBAL
11369 # define LT_DLGLOBAL DL_GLOBAL
11371 # define LT_DLGLOBAL 0
11375 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11376 find out it does not work in some platform. */
11377 #ifndef LT_DLLAZY_OR_NOW
11379 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11382 # define LT_DLLAZY_OR_NOW DL_LAZY
11385 # define LT_DLLAZY_OR_NOW RTLD_NOW
11388 # define LT_DLLAZY_OR_NOW DL_NOW
11390 # define LT_DLLAZY_OR_NOW 0
11397 /* When -fvisbility=hidden is used, assume the code has been annotated
11398 correspondingly for the symbols needed. */
11399 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11400 int fnord () __attribute__((visibility("default")));
11403 int fnord () { return 42; }
11406 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11407 int status = $lt_dlunknown;
11411 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11414 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11415 else puts (dlerror ());
11417 /* dlclose (self); */
11425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11426 (eval $ac_link) 2>&5
11428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11429 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11430 (./conftest; exit; ) >&5 2>/dev/null
11432 case x$lt_status in
11433 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11434 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11435 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11438 # compilation failed
11439 lt_cv_dlopen_self=no
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11447 $as_echo "$lt_cv_dlopen_self" >&6; }
11449 if test "x$lt_cv_dlopen_self" = xyes; then
11450 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11452 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11453 if ${lt_cv_dlopen_self_static+:} false; then :
11454 $as_echo_n "(cached) " >&6
11456 if test "$cross_compiling" = yes; then :
11457 lt_cv_dlopen_self_static=cross
11459 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11460 lt_status=$lt_dlunknown
11461 cat > conftest.$ac_ext <<_LT_EOF
11462 #line $LINENO "configure"
11463 #include "confdefs.h"
11472 # define LT_DLGLOBAL RTLD_GLOBAL
11475 # define LT_DLGLOBAL DL_GLOBAL
11477 # define LT_DLGLOBAL 0
11481 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11482 find out it does not work in some platform. */
11483 #ifndef LT_DLLAZY_OR_NOW
11485 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11488 # define LT_DLLAZY_OR_NOW DL_LAZY
11491 # define LT_DLLAZY_OR_NOW RTLD_NOW
11494 # define LT_DLLAZY_OR_NOW DL_NOW
11496 # define LT_DLLAZY_OR_NOW 0
11503 /* When -fvisbility=hidden is used, assume the code has been annotated
11504 correspondingly for the symbols needed. */
11505 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11506 int fnord () __attribute__((visibility("default")));
11509 int fnord () { return 42; }
11512 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11513 int status = $lt_dlunknown;
11517 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11520 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11521 else puts (dlerror ());
11523 /* dlclose (self); */
11531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11532 (eval $ac_link) 2>&5
11534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11535 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11536 (./conftest; exit; ) >&5 2>/dev/null
11538 case x$lt_status in
11539 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11540 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11541 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11544 # compilation failed
11545 lt_cv_dlopen_self_static=no
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11553 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11556 CPPFLAGS="$save_CPPFLAGS"
11557 LDFLAGS="$save_LDFLAGS"
11562 case $lt_cv_dlopen_self in
11563 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11564 *) enable_dlopen_self=unknown ;;
11567 case $lt_cv_dlopen_self_static in
11568 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11569 *) enable_dlopen_self_static=unknown ;;
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11592 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11593 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11594 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11595 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11597 $as_echo "yes" >&6; }
11599 # FIXME - insert some real tests, host_os isn't really good enough
11602 if test -n "$STRIP" ; then
11603 striplib="$STRIP -x"
11604 old_striplib="$STRIP -S"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11606 $as_echo "yes" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11630 # Report which library types will actually be built
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11632 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11634 $as_echo "$can_build_shared" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11637 $as_echo_n "checking whether to build shared libraries... " >&6; }
11638 test "$can_build_shared" = "no" && enable_shared=no
11640 # On AIX, shared libraries and static libraries use the same namespace, and
11641 # are all built from PIC.
11644 test "$enable_shared" = yes && enable_static=no
11645 if test -n "$RANLIB"; then
11646 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11647 postinstall_cmds='$RANLIB $lib'
11652 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11653 test "$enable_shared" = yes && enable_static=no
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11658 $as_echo "$enable_shared" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11661 $as_echo_n "checking whether to build static libraries... " >&6; }
11662 # Make sure either enable_shared or enable_static is yes.
11663 test "$enable_shared" = yes || enable_static=yes
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11665 $as_echo "$enable_static" >&6; }
11672 ac_cpp='$CPP $CPPFLAGS'
11673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11679 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11680 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11681 (test "X$CXX" != "Xg++"))) ; then
11683 ac_cpp='$CXXCPP $CPPFLAGS'
11684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11688 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11689 if test -z "$CXXCPP"; then
11690 if ${ac_cv_prog_CXXCPP+:} false; then :
11691 $as_echo_n "(cached) " >&6
11693 # Double quotes because CXXCPP needs to be expanded
11694 for CXXCPP in "$CXX -E" "/lib/cpp"
11696 ac_preproc_ok=false
11697 for ac_cxx_preproc_warn_flag in '' yes
11699 # Use a header file that comes with gcc, so configuring glibc
11700 # with a fresh cross-compiler works.
11701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11702 # <limits.h> exists even on freestanding compilers.
11703 # On the NeXT, cc -E runs the code through the compiler's parser,
11704 # not just through cpp. "Syntax error" is here to catch this case.
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 @%:@ include <limits.h>
11710 @%:@ include <assert.h>
11714 if ac_fn_cxx_try_cpp "$LINENO"; then :
11717 # Broken: fails on valid input.
11720 rm -f conftest.err conftest.i conftest.$ac_ext
11722 # OK, works on sane cases. Now check whether nonexistent headers
11723 # can be detected and how.
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11726 @%:@include <ac_nonexistent.h>
11728 if ac_fn_cxx_try_cpp "$LINENO"; then :
11729 # Broken: success on invalid input.
11732 # Passes both tests.
11736 rm -f conftest.err conftest.i conftest.$ac_ext
11739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11740 rm -f conftest.i conftest.err conftest.$ac_ext
11741 if $ac_preproc_ok; then :
11746 ac_cv_prog_CXXCPP=$CXXCPP
11749 CXXCPP=$ac_cv_prog_CXXCPP
11751 ac_cv_prog_CXXCPP=$CXXCPP
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11754 $as_echo "$CXXCPP" >&6; }
11755 ac_preproc_ok=false
11756 for ac_cxx_preproc_warn_flag in '' yes
11758 # Use a header file that comes with gcc, so configuring glibc
11759 # with a fresh cross-compiler works.
11760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11761 # <limits.h> exists even on freestanding compilers.
11762 # On the NeXT, cc -E runs the code through the compiler's parser,
11763 # not just through cpp. "Syntax error" is here to catch this case.
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 @%:@ include <limits.h>
11769 @%:@ include <assert.h>
11773 if ac_fn_cxx_try_cpp "$LINENO"; then :
11776 # Broken: fails on valid input.
11779 rm -f conftest.err conftest.i conftest.$ac_ext
11781 # OK, works on sane cases. Now check whether nonexistent headers
11782 # can be detected and how.
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11785 @%:@include <ac_nonexistent.h>
11787 if ac_fn_cxx_try_cpp "$LINENO"; then :
11788 # Broken: success on invalid input.
11791 # Passes both tests.
11795 rm -f conftest.err conftest.i conftest.$ac_ext
11798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11799 rm -f conftest.i conftest.err conftest.$ac_ext
11800 if $ac_preproc_ok; then :
11803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11805 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11806 See \`config.log' for more details" "$LINENO" 5; }
11810 ac_cpp='$CPP $CPPFLAGS'
11811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11816 _lt_caught_CXX_error=yes
11820 ac_cpp='$CXXCPP $CPPFLAGS'
11821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11825 archive_cmds_need_lc_CXX=no
11826 allow_undefined_flag_CXX=
11827 always_export_symbols_CXX=no
11828 archive_expsym_cmds_CXX=
11829 compiler_needs_object_CXX=no
11830 export_dynamic_flag_spec_CXX=
11831 hardcode_direct_CXX=no
11832 hardcode_direct_absolute_CXX=no
11833 hardcode_libdir_flag_spec_CXX=
11834 hardcode_libdir_separator_CXX=
11835 hardcode_minus_L_CXX=no
11836 hardcode_shlibpath_var_CXX=unsupported
11837 hardcode_automatic_CXX=no
11838 inherit_rpath_CXX=no
11840 module_expsym_cmds_CXX=
11841 link_all_deplibs_CXX=unknown
11842 old_archive_cmds_CXX=$old_archive_cmds
11843 reload_flag_CXX=$reload_flag
11844 reload_cmds_CXX=$reload_cmds
11845 no_undefined_flag_CXX=
11846 whole_archive_flag_spec_CXX=
11847 enable_shared_with_static_runtimes_CXX=no
11849 # Source file extension for C++ test sources.
11852 # Object file extension for compiled C++ test sources.
11856 # No sense in running all these tests if we already determined that
11857 # the CXX compiler isn't working. Some variables (like enable_shared)
11858 # are currently assumed to apply to all compilers on this platform,
11859 # and will be corrupted by setting them based on a non-working compiler.
11860 if test "$_lt_caught_CXX_error" != yes; then
11861 # Code to be used in simple compile tests
11862 lt_simple_compile_test_code="int some_variable = 0;"
11864 # Code to be used in simple link tests
11865 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11867 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11874 # If no C compiler was specified, use CC.
11877 # If no C compiler flags were specified, use CFLAGS.
11878 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11880 # Allow CC to be a program name with arguments.
11884 # save warnings/boilerplate of simple test code
11885 ac_outfile=conftest.$ac_objext
11886 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11888 _lt_compiler_boilerplate=`cat conftest.err`
11891 ac_outfile=conftest.$ac_objext
11892 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11894 _lt_linker_boilerplate=`cat conftest.err`
11898 # Allow CC to be a program name with arguments.
11900 lt_save_CFLAGS=$CFLAGS
11904 lt_save_with_gnu_ld=$with_gnu_ld
11905 lt_save_path_LD=$lt_cv_path_LD
11906 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11907 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11909 $as_unset lt_cv_prog_gnu_ld
11911 if test -n "${lt_cv_path_LDCXX+set}"; then
11912 lt_cv_path_LD=$lt_cv_path_LDCXX
11914 $as_unset lt_cv_path_LD
11916 test -z "${LDCXX+set}" || LD=$LDCXX
11921 for cc_temp in $compiler""; do
11923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11929 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11932 if test -n "$compiler"; then
11933 # We don't want -fno-exception when compiling C++ code, so set the
11934 # no_builtin_flag separately
11935 if test "$GXX" = yes; then
11936 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11938 lt_prog_compiler_no_builtin_flag_CXX=
11941 if test "$GXX" = yes; then
11942 # Set up default GNU C++ configuration
11946 @%:@ Check whether --with-gnu-ld was given.
11947 if test "${with_gnu_ld+set}" = set; then :
11948 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11954 if test "$GCC" = yes; then
11955 # Check if gcc -print-prog-name=ld gives a path.
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11957 $as_echo_n "checking for ld used by $CC... " >&6; }
11960 # gcc leaves a trailing carriage return which upsets mingw
11961 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11963 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11966 # Accept absolute paths.
11968 re_direlt='/[^/][^/]*/\.\./'
11969 # Canonicalize the pathname of ld
11970 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11971 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11972 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11974 test -z "$LD" && LD="$ac_prog"
11977 # If it fails, then pretend we aren't using GCC.
11981 # If it is relative, then search for the first ld in PATH.
11982 with_gnu_ld=unknown
11985 elif test "$with_gnu_ld" = yes; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11987 $as_echo_n "checking for GNU ld... " >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11990 $as_echo_n "checking for non-GNU ld... " >&6; }
11992 if ${lt_cv_path_LD+:} false; then :
11993 $as_echo_n "(cached) " >&6
11995 if test -z "$LD"; then
11996 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11997 for ac_dir in $PATH; do
11999 test -z "$ac_dir" && ac_dir=.
12000 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12001 lt_cv_path_LD="$ac_dir/$ac_prog"
12002 # Check to see if the program is GNU ld. I'd rather use --version,
12003 # but apparently some variants of GNU ld only accept -v.
12004 # Break only if it was the GNU/non-GNU ld that we prefer.
12005 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12006 *GNU* | *'with BFD'*)
12007 test "$with_gnu_ld" != no && break
12010 test "$with_gnu_ld" != yes && break
12017 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12021 LD="$lt_cv_path_LD"
12022 if test -n "$LD"; then
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12024 $as_echo "$LD" >&6; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12027 $as_echo "no" >&6; }
12029 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12031 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12032 if ${lt_cv_prog_gnu_ld+:} false; then :
12033 $as_echo_n "(cached) " >&6
12035 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12036 case `$LD -v 2>&1 </dev/null` in
12037 *GNU* | *'with BFD'*)
12038 lt_cv_prog_gnu_ld=yes
12041 lt_cv_prog_gnu_ld=no
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12046 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12047 with_gnu_ld=$lt_cv_prog_gnu_ld
12055 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12056 # archiving commands below assume that GNU ld is being used.
12057 if test "$with_gnu_ld" = yes; then
12058 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12059 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'
12061 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12062 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12064 # If archive_cmds runs LD, not CC, wlarc should be empty
12065 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12066 # investigate it a little bit more. (MM)
12069 # ancient GNU ld didn't support --whole-archive et. al.
12070 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12071 $GREP 'no-whole-archive' > /dev/null; then
12072 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12074 whole_archive_flag_spec_CXX=
12080 # A generic and very simple default shared library creation
12081 # command for GNU C++ for the case where it uses the native
12082 # linker, instead of GNU ld. If possible, this setting should
12083 # overridden to take advantage of the native linker features on
12084 # the platform it is being used on.
12085 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12088 # Commands to make compiler produce verbose output that lists
12089 # what "hidden" libraries, object files and flags are used when
12090 # linking a shared library.
12091 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12099 # PORTME: fill in a description of your system's C++ link characteristics
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12101 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12105 # FIXME: insert proper C++ library support
12109 if test "$host_cpu" = ia64; then
12110 # On IA64, the linker does run time linking by default, so we don't
12111 # have to do anything special.
12112 aix_use_runtimelinking=no
12113 exp_sym_flag='-Bexport'
12116 aix_use_runtimelinking=no
12118 # Test if we are trying to use run time linking or normal
12119 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12120 # need to do runtime linking.
12121 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12122 for ld_flag in $LDFLAGS; do
12125 aix_use_runtimelinking=yes
12133 exp_sym_flag='-bexport'
12134 no_entry_flag='-bnoentry'
12137 # When large executables or shared objects are built, AIX ld can
12138 # have problems creating the table of contents. If linking a library
12139 # or program results in "error TOC overflow" add -mminimal-toc to
12140 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12141 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12143 archive_cmds_CXX=''
12144 hardcode_direct_CXX=yes
12145 hardcode_direct_absolute_CXX=yes
12146 hardcode_libdir_separator_CXX=':'
12147 link_all_deplibs_CXX=yes
12148 file_list_spec_CXX='${wl}-f,'
12150 if test "$GXX" = yes; then
12151 case $host_os in aix4.[012]|aix4.[012].*)
12152 # We only want to do this on AIX 4.2 and lower, the check
12153 # below for broken collect2 doesn't work under 4.3+
12154 collect2name=`${CC} -print-prog-name=collect2`
12155 if test -f "$collect2name" &&
12156 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12158 # We have reworked collect2
12161 # We have old collect2
12162 hardcode_direct_CXX=unsupported
12163 # It fails to find uninstalled libraries when the uninstalled
12164 # path is not listed in the libpath. Setting hardcode_minus_L
12165 # to unsupported forces relinking
12166 hardcode_minus_L_CXX=yes
12167 hardcode_libdir_flag_spec_CXX='-L$libdir'
12168 hardcode_libdir_separator_CXX=
12171 shared_flag='-shared'
12172 if test "$aix_use_runtimelinking" = yes; then
12173 shared_flag="$shared_flag "'${wl}-G'
12177 if test "$host_cpu" = ia64; then
12178 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12179 # chokes on -Wl,-G. The following line is correct:
12182 if test "$aix_use_runtimelinking" = yes; then
12183 shared_flag='${wl}-G'
12185 shared_flag='${wl}-bM:SRE'
12190 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12191 # It seems that -bexpall does not export symbols beginning with
12192 # underscore (_), so it is better to generate a list of symbols to
12194 always_export_symbols_CXX=yes
12195 if test "$aix_use_runtimelinking" = yes; then
12196 # Warning - without using the other runtime loading flags (-brtl),
12197 # -berok will link without error, but may produce a broken library.
12198 allow_undefined_flag_CXX='-berok'
12199 # Determine the default libpath from the value encoded in an empty
12201 if test "${lt_cv_aix_libpath+set}" = set; then
12202 aix_libpath=$lt_cv_aix_libpath
12204 if ${lt_cv_aix_libpath__CXX+:} false; then :
12205 $as_echo_n "(cached) " >&6
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12218 if ac_fn_cxx_try_link "$LINENO"; then :
12220 lt_aix_libpath_sed='
12221 /Import File Strings/,/^$/ {
12223 s/^0 *\([^ ]*\) *$/\1/
12227 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12228 # Check for a 64-bit object if we didn't find anything.
12229 if test -z "$lt_cv_aix_libpath__CXX"; then
12230 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12233 rm -f core conftest.err conftest.$ac_objext \
12234 conftest$ac_exeext conftest.$ac_ext
12235 if test -z "$lt_cv_aix_libpath__CXX"; then
12236 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12241 aix_libpath=$lt_cv_aix_libpath__CXX
12244 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12246 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12248 if test "$host_cpu" = ia64; then
12249 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12250 allow_undefined_flag_CXX="-z nodefs"
12251 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"
12253 # Determine the default libpath from the value encoded in an
12254 # empty executable.
12255 if test "${lt_cv_aix_libpath+set}" = set; then
12256 aix_libpath=$lt_cv_aix_libpath
12258 if ${lt_cv_aix_libpath__CXX+:} false; then :
12259 $as_echo_n "(cached) " >&6
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12272 if ac_fn_cxx_try_link "$LINENO"; then :
12274 lt_aix_libpath_sed='
12275 /Import File Strings/,/^$/ {
12277 s/^0 *\([^ ]*\) *$/\1/
12281 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12282 # Check for a 64-bit object if we didn't find anything.
12283 if test -z "$lt_cv_aix_libpath__CXX"; then
12284 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 if test -z "$lt_cv_aix_libpath__CXX"; then
12290 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12295 aix_libpath=$lt_cv_aix_libpath__CXX
12298 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12299 # Warning - without using the other run time loading flags,
12300 # -berok will link without error, but may produce a broken library.
12301 no_undefined_flag_CXX=' ${wl}-bernotok'
12302 allow_undefined_flag_CXX=' ${wl}-berok'
12303 if test "$with_gnu_ld" = yes; then
12304 # We only use this code for GNU lds that support --whole-archive.
12305 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12307 # Exported symbols can be pulled into shared objects from archives
12308 whole_archive_flag_spec_CXX='$convenience'
12310 archive_cmds_need_lc_CXX=yes
12311 # This is similar to how AIX traditionally builds its shared
12313 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12319 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12320 allow_undefined_flag_CXX=unsupported
12321 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12322 # support --undefined. This deserves some investigation. FIXME
12323 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12330 case $cc_basename in
12332 # FIXME: insert proper C++ library support
12338 cygwin* | mingw* | pw32* | cegcc*)
12339 case $GXX,$cc_basename in
12342 # hardcode_libdir_flag_spec is actually meaningless, as there is
12343 # no search path for DLLs.
12344 hardcode_libdir_flag_spec_CXX=' '
12345 allow_undefined_flag_CXX=unsupported
12346 always_export_symbols_CXX=yes
12347 file_list_spec_CXX='@'
12348 # Tell ltmain to make .lib files, not .a files.
12350 # Tell ltmain to make .dll files, not .so files.
12352 # FIXME: Setting linknames here is a bad hack.
12353 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12354 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12355 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12357 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12359 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12361 # The linker will not automatically build a static lib if we build a DLL.
12362 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12363 enable_shared_with_static_runtimes_CXX=yes
12365 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12366 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12367 lt_tool_outputfile="@TOOL_OUTPUT@"~
12368 case $lt_outputfile in
12371 lt_outputfile="$lt_outputfile.exe"
12372 lt_tool_outputfile="$lt_tool_outputfile.exe"
12375 func_to_tool_file "$lt_outputfile"~
12376 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12377 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12378 $RM "$lt_outputfile.manifest";
12383 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12384 # as there is no search path for DLLs.
12385 hardcode_libdir_flag_spec_CXX='-L$libdir'
12386 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12387 allow_undefined_flag_CXX=unsupported
12388 always_export_symbols_CXX=no
12389 enable_shared_with_static_runtimes_CXX=yes
12391 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12392 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'
12393 # If the export-symbols file already is a .def file (1st line
12394 # is EXPORTS), use it as is; otherwise, prepend...
12395 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12396 cp $export_symbols $output_objdir/$soname.def;
12398 echo EXPORTS > $output_objdir/$soname.def;
12399 cat $export_symbols >> $output_objdir/$soname.def;
12401 $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'
12408 darwin* | rhapsody*)
12411 archive_cmds_need_lc_CXX=no
12412 hardcode_direct_CXX=no
12413 hardcode_automatic_CXX=yes
12414 hardcode_shlibpath_var_CXX=unsupported
12415 if test "$lt_cv_ld_force_load" = "yes"; then
12416 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\"`'
12419 whole_archive_flag_spec_CXX=''
12421 link_all_deplibs_CXX=yes
12422 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12423 case $cc_basename in
12424 ifort*) _lt_dar_can_shared=yes ;;
12425 *) _lt_dar_can_shared=$GCC ;;
12427 if test "$_lt_dar_can_shared" = "yes"; then
12428 output_verbose_link_cmd=func_echo_all
12429 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}"
12430 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12431 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}"
12432 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}"
12433 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12434 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}"
12435 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}"
12445 case $cc_basename in
12447 # FIXME: insert proper C++ library support
12451 # Green Hills C++ Compiler
12452 # FIXME: insert proper C++ library support
12456 # FIXME: insert proper C++ library support
12463 # C++ shared libraries reported to be fairly broken before
12469 archive_cmds_need_lc_CXX=no
12472 freebsd* | dragonfly*)
12473 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12482 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12483 link_all_deplibs_CXX=yes
12487 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12488 hardcode_libdir_separator_CXX=:
12489 export_dynamic_flag_spec_CXX='${wl}-E'
12490 hardcode_direct_CXX=yes
12491 hardcode_minus_L_CXX=yes # Not in the search PATH,
12492 # but as the default
12493 # location of the library.
12495 case $cc_basename in
12497 # FIXME: insert proper C++ library support
12501 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12502 # Commands to make compiler produce verbose output that lists
12503 # what "hidden" libraries, object files and flags are used when
12504 # linking a shared library.
12506 # There doesn't appear to be a way to prevent this compiler from
12507 # explicitly linking system object files so we need to strip them
12508 # from the output so that they don't get included in the library
12510 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"'
12513 if test "$GXX" = yes; then
12514 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12516 # FIXME: insert proper C++ library support
12524 if test $with_gnu_ld = no; then
12525 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12526 hardcode_libdir_separator_CXX=:
12532 export_dynamic_flag_spec_CXX='${wl}-E'
12538 hardcode_direct_CXX=no
12539 hardcode_shlibpath_var_CXX=no
12542 hardcode_direct_CXX=yes
12543 hardcode_direct_absolute_CXX=yes
12544 hardcode_minus_L_CXX=yes # Not in the search PATH,
12545 # but as the default
12546 # location of the library.
12550 case $cc_basename in
12552 # FIXME: insert proper C++ library support
12558 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12561 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12564 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12567 # Commands to make compiler produce verbose output that lists
12568 # what "hidden" libraries, object files and flags are used when
12569 # linking a shared library.
12571 # There doesn't appear to be a way to prevent this compiler from
12572 # explicitly linking system object files so we need to strip them
12573 # from the output so that they don't get included in the library
12575 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"'
12578 if test "$GXX" = yes; then
12579 if test $with_gnu_ld = no; then
12582 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12585 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12588 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'
12593 # FIXME: insert proper C++ library support
12601 hardcode_direct_CXX=no
12602 hardcode_shlibpath_var_CXX=no
12603 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12604 export_dynamic_flag_spec_CXX='${wl}-E'
12605 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12606 # Instead, shared libraries are loaded at an image base (0x10000000 by
12607 # default) and relocated if they conflict, which is a slow very memory
12608 # consuming and fragmenting process. To avoid this, we pick a random,
12609 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12610 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12611 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'
12612 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'
12615 case $cc_basename in
12618 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'
12620 # Archives containing C++ object files must be created using
12621 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12622 # necessary to make sure instantiated templates are included
12624 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12627 if test "$GXX" = yes; then
12628 if test "$with_gnu_ld" = no; then
12629 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'
12631 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'
12634 link_all_deplibs_CXX=yes
12637 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12638 hardcode_libdir_separator_CXX=:
12639 inherit_rpath_CXX=yes
12642 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12643 case $cc_basename in
12645 # Kuck and Associates, Inc. (KAI) C++ Compiler
12647 # KCC will only create a shared library if the output file
12648 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12649 # to its proper name (with version) after linking.
12650 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'
12651 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'
12652 # Commands to make compiler produce verbose output that lists
12653 # what "hidden" libraries, object files and flags are used when
12654 # linking a shared library.
12656 # There doesn't appear to be a way to prevent this compiler from
12657 # explicitly linking system object files so we need to strip them
12658 # from the output so that they don't get included in the library
12660 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"'
12662 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12663 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12665 # Archives containing C++ object files must be created using
12666 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12667 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12672 # version 8.0 and above of icpc choke on multiply defined symbols
12673 # if we add $predep_objects and $postdep_objects, however 7.1 and
12674 # earlier do not add the objects themselves.
12675 case `$CC -V 2>&1` in
12677 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12678 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'
12680 *) # Version 8.0 or newer
12683 ia64*) tmp_idyn=' -i_dynamic';;
12685 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12686 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'
12689 archive_cmds_need_lc_CXX=no
12690 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12691 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12692 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12695 # Portland Group C++ compiler
12697 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12698 prelink_cmds_CXX='tpldir=Template.dir~
12700 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12701 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12702 old_archive_cmds_CXX='tpldir=Template.dir~
12704 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12705 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12707 archive_cmds_CXX='tpldir=Template.dir~
12709 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12710 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12711 archive_expsym_cmds_CXX='tpldir=Template.dir~
12713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12714 $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'
12716 *) # Version 6 and above use weak symbols
12717 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12718 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'
12722 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12723 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12724 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'
12728 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12729 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'
12731 runpath_var=LD_RUN_PATH
12732 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12733 hardcode_libdir_separator_CXX=:
12735 # Commands to make compiler produce verbose output that lists
12736 # what "hidden" libraries, object files and flags are used when
12737 # linking a shared library.
12739 # There doesn't appear to be a way to prevent this compiler from
12740 # explicitly linking system object files so we need to strip them
12741 # from the output so that they don't get included in the library
12743 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'
12745 xl* | mpixl* | bgxl*)
12746 # IBM XL 8.0 on PPC, with GNU ld
12747 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12748 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12749 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750 if test "x$supports_anon_versioning" = xyes; then
12751 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12752 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12753 echo "local: *; };" >> $output_objdir/$libname.ver~
12754 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12758 case `$CC -V 2>&1 | sed 5q` in
12761 no_undefined_flag_CXX=' -zdefs'
12762 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 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'
12764 hardcode_libdir_flag_spec_CXX='-R$libdir'
12765 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'
12766 compiler_needs_object_CXX=yes
12768 # Not sure whether something based on
12769 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12771 output_verbose_link_cmd='func_echo_all'
12773 # Archives containing C++ object files must be created using
12774 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12775 # necessary to make sure instantiated templates are included
12777 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12785 # FIXME: insert proper C++ library support
12790 # FIXME: insert proper C++ library support
12795 case $cc_basename in
12797 # FIXME: insert proper C++ library support
12801 # FIXME: insert proper C++ library support
12808 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12809 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12811 hardcode_libdir_flag_spec_CXX='-R$libdir'
12812 hardcode_direct_CXX=yes
12813 hardcode_shlibpath_var_CXX=no
12815 # Workaround some broken pre-1.5 toolchains
12816 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12824 # C++ shared libraries are fairly broken
12829 if test -f /usr/libexec/ld.so; then
12830 hardcode_direct_CXX=yes
12831 hardcode_shlibpath_var_CXX=no
12832 hardcode_direct_absolute_CXX=yes
12833 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12834 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12835 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12836 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12837 export_dynamic_flag_spec_CXX='${wl}-E'
12838 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12840 output_verbose_link_cmd=func_echo_all
12846 osf3* | osf4* | osf5*)
12847 case $cc_basename in
12849 # Kuck and Associates, Inc. (KAI) C++ Compiler
12851 # KCC will only create a shared library if the output file
12852 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12853 # to its proper name (with version) after linking.
12854 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'
12856 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12857 hardcode_libdir_separator_CXX=:
12859 # Archives containing C++ object files must be created using
12860 # the KAI C++ compiler.
12862 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12863 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12867 # Rational C++ 2.4.1
12868 # FIXME: insert proper C++ library support
12874 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12875 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'
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12879 allow_undefined_flag_CXX=' -expect_unresolved \*'
12880 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'
12881 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12882 echo "-hidden">> $lib.exp~
12883 $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~
12885 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12889 hardcode_libdir_separator_CXX=:
12891 # Commands to make compiler produce verbose output that lists
12892 # what "hidden" libraries, object files and flags are used when
12893 # linking a shared library.
12895 # There doesn't appear to be a way to prevent this compiler from
12896 # explicitly linking system object files so we need to strip them
12897 # from the output so that they don't get included in the library
12899 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"'
12902 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12903 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12906 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'
12909 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'
12913 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12914 hardcode_libdir_separator_CXX=:
12916 # Commands to make compiler produce verbose output that lists
12917 # what "hidden" libraries, object files and flags are used when
12918 # linking a shared library.
12919 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12922 # FIXME: insert proper C++ library support
12930 # FIXME: insert proper C++ library support
12935 case $cc_basename in
12938 # FIXME: insert proper C++ library support
12943 # FIXME: insert proper C++ library support
12947 # FIXME: insert proper C++ library support
12954 case $cc_basename in
12956 # Sun C++ 4.2, 5.x and Centerline C++
12957 archive_cmds_need_lc_CXX=yes
12958 no_undefined_flag_CXX=' -zdefs'
12959 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12960 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12961 $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'
12963 hardcode_libdir_flag_spec_CXX='-R$libdir'
12964 hardcode_shlibpath_var_CXX=no
12966 solaris2.[0-5] | solaris2.[0-5].*) ;;
12968 # The compiler driver will combine and reorder linker options,
12969 # but understands `-z linker_flag'.
12970 # Supported since Solaris 2.6 (maybe 2.5.1?)
12971 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12974 link_all_deplibs_CXX=yes
12976 output_verbose_link_cmd='func_echo_all'
12978 # Archives containing C++ object files must be created using
12979 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12980 # necessary to make sure instantiated templates are included
12982 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12985 # Green Hills C++ Compiler
12986 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12988 # The C++ compiler must be used to create the archive.
12989 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12992 # GNU C++ compiler with Solaris linker
12993 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12994 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12995 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12996 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12997 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12998 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13000 # Commands to make compiler produce verbose output that lists
13001 # what "hidden" libraries, object files and flags are used when
13002 # linking a shared library.
13003 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13005 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13007 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13008 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13009 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13011 # Commands to make compiler produce verbose output that lists
13012 # what "hidden" libraries, object files and flags are used when
13013 # linking a shared library.
13014 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13017 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13019 solaris2.[0-5] | solaris2.[0-5].*) ;;
13021 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13029 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13030 no_undefined_flag_CXX='${wl}-z,text'
13031 archive_cmds_need_lc_CXX=no
13032 hardcode_shlibpath_var_CXX=no
13033 runpath_var='LD_RUN_PATH'
13035 case $cc_basename in
13037 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13038 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13041 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13042 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13047 sysv5* | sco3.2v5* | sco5v6*)
13048 # Note: We can NOT use -z defs as we might desire, because we do not
13049 # link with -lc, and that would cause any symbols used from libc to
13050 # always be unresolved, which means just about no library would
13051 # ever link correctly. If we're not using GNU ld we use -z text
13052 # though, which does catch some bad symbols but isn't as heavy-handed
13054 no_undefined_flag_CXX='${wl}-z,text'
13055 allow_undefined_flag_CXX='${wl}-z,nodefs'
13056 archive_cmds_need_lc_CXX=no
13057 hardcode_shlibpath_var_CXX=no
13058 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13059 hardcode_libdir_separator_CXX=':'
13060 link_all_deplibs_CXX=yes
13061 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13062 runpath_var='LD_RUN_PATH'
13064 case $cc_basename in
13066 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13067 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13069 '"$old_archive_cmds_CXX"
13070 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13071 '"$reload_cmds_CXX"
13074 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13081 case $cc_basename in
13083 # NonStop-UX NCC 3.20
13084 # FIXME: insert proper C++ library support
13088 # FIXME: insert proper C++ library support
13095 # FIXME: insert proper C++ library support
13100 # FIXME: insert proper C++ library support
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13106 $as_echo "$ld_shlibs_CXX" >&6; }
13107 test "$ld_shlibs_CXX" = no && can_build_shared=no
13113 ## There is no encapsulation within the following macros, do not change
13114 ## the running order or otherwise move them around unless you know exactly
13115 ## what you are doing...
13116 # Dependencies to place before and after the object being linked:
13117 predep_objects_CXX=
13118 postdep_objects_CXX=
13121 compiler_lib_search_path_CXX=
13123 cat > conftest.$ac_ext <<_LT_EOF
13127 Foo (void) { a = 0; }
13134 _lt_libdeps_save_CFLAGS=$CFLAGS
13135 case "$CC $CFLAGS " in #(
13136 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13137 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13138 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13142 (eval $ac_compile) 2>&5
13144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13145 test $ac_status = 0; }; then
13146 # Parse the compiler output and extract the necessary
13147 # objects, libraries and library flags.
13149 # Sentinel used to keep track of whether or not we are before
13150 # the conftest object file.
13151 pre_test_object_deps_done=no
13153 for p in `eval "$output_verbose_link_cmd"`; do
13154 case ${prev}${p} in
13157 # Some compilers place space between "-{L,R}" and the path.
13158 # Remove the space.
13159 if test $p = "-L" ||
13160 test $p = "-R"; then
13165 # Expand the sysroot to ease extracting the directories later.
13166 if test -z "$prev"; then
13168 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13169 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13170 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13174 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13176 if test "$pre_test_object_deps_done" = no; then
13179 # Internal compiler library paths should come after those
13180 # provided the user. The postdeps already come after the
13181 # user supplied libs so there is no need to process them.
13182 if test -z "$compiler_lib_search_path_CXX"; then
13183 compiler_lib_search_path_CXX="${prev}${p}"
13185 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13188 # The "-l" case would never come before the object being
13189 # linked, so don't bother handling this case.
13192 if test -z "$postdeps_CXX"; then
13193 postdeps_CXX="${prev}${p}"
13195 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13201 *.lto.$objext) ;; # Ignore GCC LTO objects
13203 # This assumes that the test object file only shows up
13204 # once in the compiler output.
13205 if test "$p" = "conftest.$objext"; then
13206 pre_test_object_deps_done=yes
13210 if test "$pre_test_object_deps_done" = no; then
13211 if test -z "$predep_objects_CXX"; then
13212 predep_objects_CXX="$p"
13214 predep_objects_CXX="$predep_objects_CXX $p"
13217 if test -z "$postdep_objects_CXX"; then
13218 postdep_objects_CXX="$p"
13220 postdep_objects_CXX="$postdep_objects_CXX $p"
13225 *) ;; # Ignore the rest.
13233 echo "libtool.m4: error: problem compiling CXX test program"
13236 $RM -f confest.$objext
13237 CFLAGS=$_lt_libdeps_save_CFLAGS
13239 # PORTME: override above test on systems where it is broken
13242 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13243 # hack all around it, let's just trust "g++" to DTRT.
13244 predep_objects_CXX=
13245 postdep_objects_CXX=
13250 case `$CC -V 2>&1 | sed 5q` in
13254 # The more standards-conforming stlport4 library is
13255 # incompatible with the Cstd library. Avoid specifying
13256 # it if it's in CXXFLAGS. Ignore libCrun as
13257 # -library=stlport4 depends on it.
13258 case " $CXX $CXXFLAGS " in
13259 *" -library=stlport4 "*)
13260 solaris_use_stlport4=yes
13264 if test "$solaris_use_stlport4" != yes; then
13265 postdeps_CXX='-library=Cstd -library=Crun'
13272 case $cc_basename in
13274 # The more standards-conforming stlport4 library is
13275 # incompatible with the Cstd library. Avoid specifying
13276 # it if it's in CXXFLAGS. Ignore libCrun as
13277 # -library=stlport4 depends on it.
13278 case " $CXX $CXXFLAGS " in
13279 *" -library=stlport4 "*)
13280 solaris_use_stlport4=yes
13284 # Adding this requires a known-good setup of shared libraries for
13285 # Sun compiler versions before 5.6, else PIC objects from an old
13286 # archive will be linked into the output, leading to subtle bugs.
13287 if test "$solaris_use_stlport4" != yes; then
13288 postdeps_CXX='-library=Cstd -library=Crun'
13296 case " $postdeps_CXX " in
13297 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13299 compiler_lib_search_dirs_CXX=
13300 if test -n "${compiler_lib_search_path_CXX}"; then
13301 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13334 lt_prog_compiler_wl_CXX=
13335 lt_prog_compiler_pic_CXX=
13336 lt_prog_compiler_static_CXX=
13339 # C++ specific cases for pic, static, wl, etc.
13340 if test "$GXX" = yes; then
13341 lt_prog_compiler_wl_CXX='-Wl,'
13342 lt_prog_compiler_static_CXX='-static'
13346 # All AIX code is PIC.
13347 if test "$host_cpu" = ia64; then
13348 # AIX 5 now supports IA64 processor
13349 lt_prog_compiler_static_CXX='-Bstatic'
13356 # see comment about AmigaOS4 .so support
13357 lt_prog_compiler_pic_CXX='-fPIC'
13360 # FIXME: we need at least 68020 code to build shared libraries, but
13361 # adding the `-m68020' flag to GCC prevents building anything better,
13363 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13368 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13369 # PIC is the default for these OSes.
13371 mingw* | cygwin* | os2* | pw32* | cegcc*)
13372 # This hack is so that the source file can tell whether it is being
13373 # built for inclusion in a dll (and should export symbols for example).
13374 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13375 # (--disable-auto-import) libraries
13376 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13378 darwin* | rhapsody*)
13379 # PIC is the default on this platform
13380 # Common symbols not allowed in MH_DYLIB files
13381 lt_prog_compiler_pic_CXX='-fno-common'
13384 # DJGPP does not support shared libraries at all
13385 lt_prog_compiler_pic_CXX=
13388 # PIC is the default for Haiku.
13389 # The "-static" flag exists, but is broken.
13390 lt_prog_compiler_static_CXX=
13393 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13394 # Instead, we relocate shared libraries at runtime.
13397 if test -d /usr/nec; then
13398 lt_prog_compiler_pic_CXX=-Kconform_pic
13402 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13403 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13404 # sets the default TLS model and affects inlining.
13409 lt_prog_compiler_pic_CXX='-fPIC'
13414 # QNX uses GNU C++, but need to define -shared option too, otherwise
13415 # it will coredump.
13416 lt_prog_compiler_pic_CXX='-fPIC -shared'
13419 lt_prog_compiler_pic_CXX='-fPIC'
13425 # All AIX code is PIC.
13426 if test "$host_cpu" = ia64; then
13427 # AIX 5 now supports IA64 processor
13428 lt_prog_compiler_static_CXX='-Bstatic'
13430 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13434 case $cc_basename in
13436 # Green Hills C++ Compiler
13437 # _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"
13441 mingw* | cygwin* | os2* | pw32* | cegcc*)
13442 # This hack is so that the source file can tell whether it is being
13443 # built for inclusion in a dll (and should export symbols for example).
13444 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13447 case $cc_basename in
13449 lt_prog_compiler_pic_CXX='-KPIC'
13452 # Green Hills C++ Compiler
13453 lt_prog_compiler_pic_CXX='-pic'
13459 freebsd* | dragonfly*)
13460 # FreeBSD uses GNU C++
13462 hpux9* | hpux10* | hpux11*)
13463 case $cc_basename in
13465 lt_prog_compiler_wl_CXX='-Wl,'
13466 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13467 if test "$host_cpu" != ia64; then
13468 lt_prog_compiler_pic_CXX='+Z'
13472 lt_prog_compiler_wl_CXX='-Wl,'
13473 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13479 lt_prog_compiler_pic_CXX='+Z'
13488 # This is c89, which is MS Visual C++ (no shared libs)
13489 # Anyone wants to do a port?
13491 irix5* | irix6* | nonstopux*)
13492 case $cc_basename in
13494 lt_prog_compiler_wl_CXX='-Wl,'
13495 lt_prog_compiler_static_CXX='-non_shared'
13496 # CC pic flag -KPIC is the default.
13502 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13503 case $cc_basename in
13506 lt_prog_compiler_wl_CXX='--backend -Wl,'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13510 # old Intel C++ for x86_64 which still supported -KPIC.
13511 lt_prog_compiler_wl_CXX='-Wl,'
13512 lt_prog_compiler_pic_CXX='-KPIC'
13513 lt_prog_compiler_static_CXX='-static'
13516 # Intel C++, used to be incompatible with GCC.
13517 # ICC 10 doesn't accept -KPIC any more.
13518 lt_prog_compiler_wl_CXX='-Wl,'
13519 lt_prog_compiler_pic_CXX='-fPIC'
13520 lt_prog_compiler_static_CXX='-static'
13523 # Portland Group C++ compiler
13524 lt_prog_compiler_wl_CXX='-Wl,'
13525 lt_prog_compiler_pic_CXX='-fpic'
13526 lt_prog_compiler_static_CXX='-Bstatic'
13530 # Make sure the PIC flag is empty. It appears that all Alpha
13531 # Linux and Compaq Tru64 Unix objects are PIC.
13532 lt_prog_compiler_pic_CXX=
13533 lt_prog_compiler_static_CXX='-non_shared'
13535 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13536 # IBM XL 8.0, 9.0 on PPC and BlueGene
13537 lt_prog_compiler_wl_CXX='-Wl,'
13538 lt_prog_compiler_pic_CXX='-qpic'
13539 lt_prog_compiler_static_CXX='-qstaticlink'
13542 case `$CC -V 2>&1 | sed 5q` in
13545 lt_prog_compiler_pic_CXX='-KPIC'
13546 lt_prog_compiler_static_CXX='-Bstatic'
13547 lt_prog_compiler_wl_CXX='-Qoption ld '
13558 case $cc_basename in
13560 lt_prog_compiler_pic_CXX='-W c,exportall'
13566 netbsd* | netbsdelf*-gnu)
13569 # QNX uses GNU C++, but need to define -shared option too, otherwise
13570 # it will coredump.
13571 lt_prog_compiler_pic_CXX='-fPIC -shared'
13573 osf3* | osf4* | osf5*)
13574 case $cc_basename in
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13579 # Rational C++ 2.4.1
13580 lt_prog_compiler_pic_CXX='-pic'
13583 # Digital/Compaq C++
13584 lt_prog_compiler_wl_CXX='-Wl,'
13585 # Make sure the PIC flag is empty. It appears that all Alpha
13586 # Linux and Compaq Tru64 Unix objects are PIC.
13587 lt_prog_compiler_pic_CXX=
13588 lt_prog_compiler_static_CXX='-non_shared'
13597 case $cc_basename in
13599 # Sun C++ 4.2, 5.x and Centerline C++
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 lt_prog_compiler_static_CXX='-Bstatic'
13602 lt_prog_compiler_wl_CXX='-Qoption ld '
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-PIC'
13613 case $cc_basename in
13616 lt_prog_compiler_pic_CXX='-pic'
13617 lt_prog_compiler_static_CXX='-Bstatic'
13621 lt_prog_compiler_pic_CXX='-pic'
13627 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13628 case $cc_basename in
13630 lt_prog_compiler_wl_CXX='-Wl,'
13631 lt_prog_compiler_pic_CXX='-KPIC'
13632 lt_prog_compiler_static_CXX='-Bstatic'
13637 case $cc_basename in
13639 # NonStop-UX NCC 3.20
13640 lt_prog_compiler_pic_CXX='-KPIC'
13649 lt_prog_compiler_can_build_shared_CXX=no
13655 # For platforms which do not support PIC, -DPIC is meaningless:
13657 lt_prog_compiler_pic_CXX=
13660 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13665 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13666 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13667 $as_echo_n "(cached) " >&6
13669 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13672 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13673 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13676 # Check to make sure the PIC flag actually works.
13678 if test -n "$lt_prog_compiler_pic_CXX"; then
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13680 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13681 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13682 $as_echo_n "(cached) " >&6
13684 lt_cv_prog_compiler_pic_works_CXX=no
13685 ac_outfile=conftest.$ac_objext
13686 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13687 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13688 # Insert the option either (1) after the last *FLAGS variable, or
13689 # (2) before a word containing "conftest.", or (3) at the end.
13690 # Note that $ac_compile itself does not contain backslashes and begins
13691 # with a dollar sign (not a hyphen), so the echo should work correctly.
13692 # The option is referenced via a variable to avoid confusing sed.
13693 lt_compile=`echo "$ac_compile" | $SED \
13694 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13696 -e 's:$: $lt_compiler_flag:'`
13697 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13698 (eval "$lt_compile" 2>conftest.err)
13700 cat conftest.err >&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 if (exit $ac_status) && test -s "$ac_outfile"; then
13703 # The compiler can only warn and ignore the option if not recognized
13704 # So say no if there are warnings other than the usual output.
13705 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13706 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13707 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13708 lt_cv_prog_compiler_pic_works_CXX=yes
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13715 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13717 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13718 case $lt_prog_compiler_pic_CXX in
13720 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13723 lt_prog_compiler_pic_CXX=
13724 lt_prog_compiler_can_build_shared_CXX=no
13734 # Check to make sure the static flag actually works.
13736 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13739 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13740 $as_echo_n "(cached) " >&6
13742 lt_cv_prog_compiler_static_works_CXX=no
13743 save_LDFLAGS="$LDFLAGS"
13744 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13745 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13746 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13747 # The linker can only warn and ignore the option if not recognized
13748 # So say no if there are warnings
13749 if test -s conftest.err; then
13750 # Append any errors to the config.log.
13751 cat conftest.err 1>&5
13752 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13753 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13754 if diff conftest.exp conftest.er2 >/dev/null; then
13755 lt_cv_prog_compiler_static_works_CXX=yes
13758 lt_cv_prog_compiler_static_works_CXX=yes
13762 LDFLAGS="$save_LDFLAGS"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13766 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13768 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13771 lt_prog_compiler_static_CXX=
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13778 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13779 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13780 $as_echo_n "(cached) " >&6
13782 lt_cv_prog_compiler_c_o_CXX=no
13783 $RM -r conftest 2>/dev/null
13787 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13789 lt_compiler_flag="-o out/conftest2.$ac_objext"
13790 # Insert the option either (1) after the last *FLAGS variable, or
13791 # (2) before a word containing "conftest.", or (3) at the end.
13792 # Note that $ac_compile itself does not contain backslashes and begins
13793 # with a dollar sign (not a hyphen), so the echo should work correctly.
13794 lt_compile=`echo "$ac_compile" | $SED \
13795 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13796 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13797 -e 's:$: $lt_compiler_flag:'`
13798 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13799 (eval "$lt_compile" 2>out/conftest.err)
13801 cat out/conftest.err >&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13805 # The compiler can only warn and ignore the option if not recognized
13806 # So say no if there are warnings
13807 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13808 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13809 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13810 lt_cv_prog_compiler_c_o_CXX=yes
13815 # SGI C++ compiler will create directory out/ii_files/ for
13816 # template instantiation
13817 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13818 $RM out/* && rmdir out
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13825 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13830 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13831 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13832 $as_echo_n "(cached) " >&6
13834 lt_cv_prog_compiler_c_o_CXX=no
13835 $RM -r conftest 2>/dev/null
13839 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13841 lt_compiler_flag="-o out/conftest2.$ac_objext"
13842 # Insert the option either (1) after the last *FLAGS variable, or
13843 # (2) before a word containing "conftest.", or (3) at the end.
13844 # Note that $ac_compile itself does not contain backslashes and begins
13845 # with a dollar sign (not a hyphen), so the echo should work correctly.
13846 lt_compile=`echo "$ac_compile" | $SED \
13847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13849 -e 's:$: $lt_compiler_flag:'`
13850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13851 (eval "$lt_compile" 2>out/conftest.err)
13853 cat out/conftest.err >&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13857 # The compiler can only warn and ignore the option if not recognized
13858 # So say no if there are warnings
13859 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13860 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13861 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13862 lt_cv_prog_compiler_c_o_CXX=yes
13867 # SGI C++ compiler will create directory out/ii_files/ for
13868 # template instantiation
13869 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13870 $RM out/* && rmdir out
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13877 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13882 hard_links="nottested"
13883 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13884 # do not overwrite the value of need_locks provided by the user
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13886 $as_echo_n "checking if we can lock with hard links... " >&6; }
13889 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13891 ln conftest.a conftest.b 2>&5 || hard_links=no
13892 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13894 $as_echo "$hard_links" >&6; }
13895 if test "$hard_links" = no; then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13897 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13907 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13909 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13910 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13913 # If we're using GNU nm, then we don't want the "-C" option.
13914 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13915 # Also, AIX nm treats weak defined symbols like other global defined
13916 # symbols, whereas GNU nm marks them as "W".
13917 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13918 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13920 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13924 export_symbols_cmds_CXX="$ltdll_cmds"
13926 cygwin* | mingw* | cegcc*)
13927 case $cc_basename in
13929 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13932 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'
13933 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13937 linux* | k*bsd*-gnu | gnu*)
13938 link_all_deplibs_CXX=no
13941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13946 $as_echo "$ld_shlibs_CXX" >&6; }
13947 test "$ld_shlibs_CXX" = no && can_build_shared=no
13949 with_gnu_ld_CXX=$with_gnu_ld
13957 # Do we need to explicitly link libc?
13959 case "x$archive_cmds_need_lc_CXX" in
13961 # Assume -lc should be added
13962 archive_cmds_need_lc_CXX=yes
13964 if test "$enable_shared" = yes && test "$GCC" = yes; then
13965 case $archive_cmds_CXX in
13967 # FIXME: we may have to deal with multi-command sequences.
13970 # Test whether the compiler implicitly links with -lc since on some
13971 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13972 # to ld, don't add -lc before -lgcc.
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13974 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13975 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
13976 $as_echo_n "(cached) " >&6
13979 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13982 (eval $ac_compile) 2>&5
13984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13985 test $ac_status = 0; } 2>conftest.err; then
13988 libobjs=conftest.$ac_objext
13990 wl=$lt_prog_compiler_wl_CXX
13991 pic_flag=$lt_prog_compiler_pic_CXX
13997 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13998 allow_undefined_flag_CXX=
13999 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14000 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14003 test $ac_status = 0; }
14005 lt_cv_archive_cmds_need_lc_CXX=no
14007 lt_cv_archive_cmds_need_lc_CXX=yes
14009 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14011 cat conftest.err 1>&5
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14017 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14018 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14087 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14089 library_names_spec=
14090 libname_spec='lib$name'
14094 postuninstall_cmds=
14098 shlibpath_overrides_runpath=unknown
14100 dynamic_linker="$host_os ld.so"
14101 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14102 need_lib_prefix=unknown
14103 hardcode_into_libs=no
14105 # when you set need_version to no, make sure it does not cause -set_version
14106 # flags to be left without arguments
14107 need_version=unknown
14111 version_type=linux # correct to gnu/linux during the next big refactor
14112 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14113 shlibpath_var=LIBPATH
14115 # AIX 3 has no versioning support, so we append a major version to the name.
14116 soname_spec='${libname}${release}${shared_ext}$major'
14120 version_type=linux # correct to gnu/linux during the next big refactor
14123 hardcode_into_libs=yes
14124 if test "$host_cpu" = ia64; then
14125 # AIX 5 supports IA64
14126 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14127 shlibpath_var=LD_LIBRARY_PATH
14129 # With GCC up to 2.95.x, collect2 would create an import file
14130 # for dependence libraries. The import file would start with
14131 # the line `#! .'. This would cause the generated library to
14132 # depend on `.', always an invalid library. This was fixed in
14133 # development snapshots of GCC prior to 3.0.
14135 aix4 | aix4.[01] | aix4.[01].*)
14136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14138 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14141 can_build_shared=no
14145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14146 # soname into executable. Probably we can add versioning support to
14147 # collect2, so additional links can be useful in future.
14148 if test "$aix_use_runtimelinking" = yes; then
14149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14150 # instead of lib<name>.a to let people know that these are not
14151 # typical AIX shared libraries.
14152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14154 # We preserve .a as extension for shared libraries through AIX4.2
14155 # and later when we are not doing run time linking.
14156 library_names_spec='${libname}${release}.a $libname.a'
14157 soname_spec='${libname}${release}${shared_ext}$major'
14159 shlibpath_var=LIBPATH
14166 # Since July 2007 AmigaOS4 officially supports .so libraries.
14167 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14171 library_names_spec='$libname.ixlibrary $libname.a'
14172 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14173 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14179 library_names_spec='${libname}${shared_ext}'
14180 dynamic_linker="$host_os ld.so"
14181 shlibpath_var=LIBRARY_PATH
14185 version_type=linux # correct to gnu/linux during the next big refactor
14187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188 soname_spec='${libname}${release}${shared_ext}$major'
14189 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14190 shlibpath_var=LD_LIBRARY_PATH
14191 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14192 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14193 # the default ld.so.conf also contains /usr/contrib/lib and
14194 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14195 # libtool to hard-code these into programs
14198 cygwin* | mingw* | pw32* | cegcc*)
14199 version_type=windows
14204 case $GCC,$cc_basename in
14207 library_names_spec='$libname.dll.a'
14208 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14209 postinstall_cmds='base_file=`basename \${file}`~
14210 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14211 dldir=$destdir/`dirname \$dlpath`~
14212 test -d \$dldir || mkdir -p \$dldir~
14213 $install_prog $dir/$dlname \$dldir/$dlname~
14214 chmod a+x \$dldir/$dlname~
14215 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14216 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14218 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14219 dlpath=$dir/\$dldll~
14221 shlibpath_overrides_runpath=yes
14225 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14226 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14230 # MinGW DLLs use traditional 'lib' prefix
14231 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14234 # pw32 DLLs use 'pw' prefix rather than 'lib'
14235 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14238 dynamic_linker='Win32 ld.exe'
14243 libname_spec='$name'
14244 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14245 library_names_spec='${libname}.dll.lib'
14249 sys_lib_search_path_spec=
14252 for lt_path in $LIB
14255 # Let DOS variable expansion print the short 8.3 style file name.
14256 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14257 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14260 # Convert to MSYS style.
14261 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14264 # Convert to unix form, then to dos form, then back to unix form
14265 # but this time dos style (no spaces!) so that the unix form looks
14266 # like /cygdrive/c/PROGRA~1:/cygdr...
14267 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14268 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14269 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14272 sys_lib_search_path_spec="$LIB"
14273 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14274 # It is most probably a Windows format PATH.
14275 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14277 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14279 # FIXME: find the short name or the path components, as spaces are
14280 # common. (e.g. "Program Files" -> "PROGRA~1")
14284 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14285 postinstall_cmds='base_file=`basename \${file}`~
14286 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14287 dldir=$destdir/`dirname \$dlpath`~
14288 test -d \$dldir || mkdir -p \$dldir~
14289 $install_prog $dir/$dlname \$dldir/$dlname'
14290 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14291 dlpath=$dir/\$dldll~
14293 shlibpath_overrides_runpath=yes
14294 dynamic_linker='Win32 link.exe'
14298 # Assume MSVC wrapper
14299 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14300 dynamic_linker='Win32 ld.exe'
14303 # FIXME: first we should search . and the directory the executable is in
14307 darwin* | rhapsody*)
14308 dynamic_linker="$host_os dyld"
14309 version_type=darwin
14312 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14313 soname_spec='${libname}${release}${major}$shared_ext'
14314 shlibpath_overrides_runpath=yes
14315 shlibpath_var=DYLD_LIBRARY_PATH
14316 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14318 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14322 version_type=linux # correct to gnu/linux during the next big refactor
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14326 soname_spec='${libname}${release}${shared_ext}$major'
14327 shlibpath_var=LD_LIBRARY_PATH
14330 freebsd* | dragonfly*)
14331 # DragonFly does not have aout. When/if they implement a new
14332 # versioning mechanism, adjust this.
14333 if test -x /usr/bin/objformat; then
14334 objformat=`/usr/bin/objformat`
14337 freebsd[23].*) objformat=aout ;;
14338 *) objformat=elf ;;
14341 version_type=freebsd-$objformat
14342 case $version_type in
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14353 shlibpath_var=LD_LIBRARY_PATH
14356 shlibpath_overrides_runpath=yes
14358 freebsd3.[01]* | freebsdelf3.[01]*)
14359 shlibpath_overrides_runpath=yes
14360 hardcode_into_libs=yes
14362 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14363 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14364 shlibpath_overrides_runpath=no
14365 hardcode_into_libs=yes
14367 *) # from 4.6 on, and DragonFly
14368 shlibpath_overrides_runpath=yes
14369 hardcode_into_libs=yes
14375 version_type=linux # correct to gnu/linux during the next big refactor
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 shlibpath_var=LD_LIBRARY_PATH
14381 shlibpath_overrides_runpath=no
14382 hardcode_into_libs=yes
14386 version_type=linux # correct to gnu/linux during the next big refactor
14389 dynamic_linker="$host_os runtime_loader"
14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14391 soname_spec='${libname}${release}${shared_ext}$major'
14392 shlibpath_var=LIBRARY_PATH
14393 shlibpath_overrides_runpath=yes
14394 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14395 hardcode_into_libs=yes
14398 hpux9* | hpux10* | hpux11*)
14399 # Give a soname corresponding to the major version so that dld.sl refuses to
14400 # link against other versions.
14407 hardcode_into_libs=yes
14408 dynamic_linker="$host_os dld.so"
14409 shlibpath_var=LD_LIBRARY_PATH
14410 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 if test "X$HPUX_IA64_MODE" = X32; then
14414 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14416 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14418 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422 hardcode_into_libs=yes
14423 dynamic_linker="$host_os dld.sl"
14424 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14425 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14427 soname_spec='${libname}${release}${shared_ext}$major'
14428 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14429 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14433 dynamic_linker="$host_os dld.sl"
14434 shlibpath_var=SHLIB_PATH
14435 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 soname_spec='${libname}${release}${shared_ext}$major'
14440 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14441 postinstall_cmds='chmod 555 $lib'
14442 # or fails outright, so override atomically:
14443 install_override_mode=555
14447 version_type=linux # correct to gnu/linux during the next big refactor
14450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14451 soname_spec='${libname}${release}${shared_ext}$major'
14452 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14453 shlibpath_var=LD_LIBRARY_PATH
14454 shlibpath_overrides_runpath=no
14455 hardcode_into_libs=yes
14458 irix5* | irix6* | nonstopux*)
14460 nonstopux*) version_type=nonstopux ;;
14462 if test "$lt_cv_prog_gnu_ld" = yes; then
14463 version_type=linux # correct to gnu/linux during the next big refactor
14470 soname_spec='${libname}${release}${shared_ext}$major'
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14473 irix5* | nonstopux*)
14474 libsuff= shlibsuff=
14477 case $LD in # libtool.m4 will add one of these switches to LD
14478 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14479 libsuff= shlibsuff= libmagic=32-bit;;
14480 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14481 libsuff=32 shlibsuff=N32 libmagic=N32;;
14482 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14483 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14484 *) libsuff= shlibsuff= libmagic=never-match;;
14488 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14489 shlibpath_overrides_runpath=no
14490 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14491 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14492 hardcode_into_libs=yes
14495 # No shared lib support for Linux oldld, aout, or coff.
14496 linux*oldld* | linux*aout* | linux*coff*)
14500 # This must be glibc/ELF.
14501 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14502 version_type=linux # correct to gnu/linux during the next big refactor
14505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14506 soname_spec='${libname}${release}${shared_ext}$major'
14507 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14508 shlibpath_var=LD_LIBRARY_PATH
14509 shlibpath_overrides_runpath=no
14511 # Some binutils ld are patched to set DT_RUNPATH
14512 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14513 $as_echo_n "(cached) " >&6
14515 lt_cv_shlibpath_overrides_runpath=no
14516 save_LDFLAGS=$LDFLAGS
14517 save_libdir=$libdir
14518 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14519 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14531 if ac_fn_cxx_try_link "$LINENO"; then :
14532 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14533 lt_cv_shlibpath_overrides_runpath=yes
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 LDFLAGS=$save_LDFLAGS
14539 libdir=$save_libdir
14543 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14545 # This implies no fast_install, which is unacceptable.
14546 # Some rework will be needed to allow for fast_install
14547 # before this can be enabled.
14548 hardcode_into_libs=yes
14550 # Append ld.so.conf contents to the search path
14551 if test -f /etc/ld.so.conf; then
14552 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' ' '`
14553 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14556 # We used to test for /lib/ld.so.1 and disable shared libraries on
14557 # powerpc, because MkLinux only supported shared libraries with the
14558 # GNU dynamic linker. Since this was broken with cross compilers,
14559 # most powerpc-linux boxes support dynamic linking these days and
14560 # people can always --disable-shared, the test was removed, and we
14561 # assume the GNU/Linux dynamic linker is in use.
14562 dynamic_linker='GNU/Linux ld.so'
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 shlibpath_var=LD_LIBRARY_PATH
14572 shlibpath_overrides_runpath=no
14573 hardcode_into_libs=yes
14574 dynamic_linker='NetBSD ld.elf_so'
14581 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14584 dynamic_linker='NetBSD (a.out) ld.so'
14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14587 soname_spec='${libname}${release}${shared_ext}$major'
14588 dynamic_linker='NetBSD ld.elf_so'
14590 shlibpath_var=LD_LIBRARY_PATH
14591 shlibpath_overrides_runpath=yes
14592 hardcode_into_libs=yes
14596 version_type=linux # correct to gnu/linux during the next big refactor
14597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 shlibpath_overrides_runpath=yes
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 shlibpath_overrides_runpath=no
14610 hardcode_into_libs=yes
14611 dynamic_linker='ldqnx.so'
14616 sys_lib_dlsearch_path_spec="/usr/lib"
14618 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14620 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14621 *) need_version=no ;;
14623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14624 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14625 shlibpath_var=LD_LIBRARY_PATH
14626 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14628 openbsd2.[89] | openbsd2.[89].*)
14629 shlibpath_overrides_runpath=no
14632 shlibpath_overrides_runpath=yes
14636 shlibpath_overrides_runpath=yes
14641 libname_spec='$name'
14644 library_names_spec='$libname${shared_ext} $libname.a'
14645 dynamic_linker='OS/2 ld.exe'
14646 shlibpath_var=LIBPATH
14649 osf3* | osf4* | osf5*)
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14655 shlibpath_var=LD_LIBRARY_PATH
14656 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14657 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14665 version_type=linux # correct to gnu/linux during the next big refactor
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14669 soname_spec='${libname}${release}${shared_ext}$major'
14670 shlibpath_var=LD_LIBRARY_PATH
14671 shlibpath_overrides_runpath=yes
14672 hardcode_into_libs=yes
14673 # ldd complains unless libraries are executable
14674 postinstall_cmds='chmod +x $lib'
14679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14680 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14681 shlibpath_var=LD_LIBRARY_PATH
14682 shlibpath_overrides_runpath=yes
14683 if test "$with_gnu_ld" = yes; then
14690 version_type=linux # correct to gnu/linux during the next big refactor
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14692 soname_spec='${libname}${release}${shared_ext}$major'
14693 shlibpath_var=LD_LIBRARY_PATH
14694 case $host_vendor in
14696 shlibpath_overrides_runpath=no
14698 runpath_var=LD_RUN_PATH
14706 shlibpath_overrides_runpath=no
14707 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14713 if test -d /usr/nec ;then
14714 version_type=linux # correct to gnu/linux during the next big refactor
14715 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14716 soname_spec='$libname${shared_ext}.$major'
14717 shlibpath_var=LD_LIBRARY_PATH
14721 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14722 version_type=freebsd-elf
14725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14726 soname_spec='${libname}${release}${shared_ext}$major'
14727 shlibpath_var=LD_LIBRARY_PATH
14728 shlibpath_overrides_runpath=yes
14729 hardcode_into_libs=yes
14730 if test "$with_gnu_ld" = yes; then
14731 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14733 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14736 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14740 sys_lib_dlsearch_path_spec='/usr/lib'
14744 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14745 version_type=linux # correct to gnu/linux during the next big refactor
14748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14749 shlibpath_var=LD_LIBRARY_PATH
14750 shlibpath_overrides_runpath=no
14751 hardcode_into_libs=yes
14755 version_type=linux # correct to gnu/linux during the next big refactor
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14757 soname_spec='${libname}${release}${shared_ext}$major'
14758 shlibpath_var=LD_LIBRARY_PATH
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14766 $as_echo "$dynamic_linker" >&6; }
14767 test "$dynamic_linker" = no && can_build_shared=no
14769 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14770 if test "$GCC" = yes; then
14771 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14774 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14775 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14777 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14778 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14819 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14820 hardcode_action_CXX=
14821 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14822 test -n "$runpath_var_CXX" ||
14823 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14825 # We can hardcode non-existent directories.
14826 if test "$hardcode_direct_CXX" != no &&
14827 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14828 # have to relink, otherwise we might link with an installed library
14829 # when we should be linking with a yet-to-be-installed one
14830 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14831 test "$hardcode_minus_L_CXX" != no; then
14832 # Linking always hardcodes the temporary library directory.
14833 hardcode_action_CXX=relink
14835 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14836 hardcode_action_CXX=immediate
14839 # We cannot hardcode anything, or else we can only hardcode existing
14841 hardcode_action_CXX=unsupported
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14844 $as_echo "$hardcode_action_CXX" >&6; }
14846 if test "$hardcode_action_CXX" = relink ||
14847 test "$inherit_rpath_CXX" = yes; then
14848 # Fast installation is not supported
14849 enable_fast_install=no
14850 elif test "$shlibpath_overrides_runpath" = yes ||
14851 test "$enable_shared" = no; then
14852 # Fast installation is not necessary
14853 enable_fast_install=needless
14862 fi # test -n "$compiler"
14865 CFLAGS=$lt_save_CFLAGS
14869 with_gnu_ld=$lt_save_with_gnu_ld
14870 lt_cv_path_LDCXX=$lt_cv_path_LD
14871 lt_cv_path_LD=$lt_save_path_LD
14872 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14873 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14874 fi # test "$_lt_caught_CXX_error" != yes
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14896 ac_config_commands="$ac_config_commands libtool"
14901 # Only expand once:
14905 LIBSALAC_SO_VERSION=1:0:0
14907 LIBSALAC_API_VERSION=1.0
14910 ac_config_files="$ac_config_files Makefile libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in"
14912 cat >confcache <<\_ACEOF
14913 # This file is a shell script that caches the results of configure
14914 # tests run on this system so they can be shared between configure
14915 # scripts and configure runs, see configure's option --config-cache.
14916 # It is not useful on other systems. If it contains results you don't
14917 # want to keep, you may remove or edit it.
14919 # config.status only pays attention to the cache file if you give it
14920 # the --recheck option to rerun configure.
14922 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14923 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14924 # following values.
14928 # The following way of writing the cache mishandles newlines in values,
14929 # but we know of no workaround that is simple, portable, and efficient.
14930 # So, we kill variables containing newlines.
14931 # Ultrix sh set writes to stderr and can't be redirected directly,
14932 # and sets the high bit in the cache file unless we assign to the vars.
14934 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14935 eval ac_val=\$$ac_var
14939 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14940 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14943 _ | IFS | as_nl) ;; #(
14944 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14945 *) { eval $ac_var=; unset $ac_var;} ;;
14951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14952 *${as_nl}ac_space=\ *)
14953 # `set' does not quote correctly, so add quotes: double-quote
14954 # substitution turns \\\\ into \\, and sed turns \\ into \.
14957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14960 # `set' quotes correctly as required by POSIX, so do not add quotes.
14961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14975 if test -w "$cache_file"; then
14976 if test "x$cache_file" != "x/dev/null"; then
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14978 $as_echo "$as_me: updating cache $cache_file" >&6;}
14979 if test ! -f "$cache_file" || test -h "$cache_file"; then
14980 cat confcache >"$cache_file"
14982 case $cache_file in #(
14984 mv -f confcache "$cache_file"$$ &&
14985 mv -f "$cache_file"$$ "$cache_file" ;; #(
14987 mv -f confcache "$cache_file" ;;
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14993 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14998 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14999 # Let make expand exec_prefix.
15000 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15002 DEFS=-DHAVE_CONFIG_H
15007 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15008 # 1. Remove the extension, and $U if already installed.
15009 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15010 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15011 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15012 # will be set to the directory where LIBOBJS objects are built.
15013 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15014 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15016 LIB@&t@OBJS=$ac_libobjs
15018 LTLIBOBJS=$ac_ltlibobjs
15021 if test -n "$EXEEXT"; then
15023 am__EXEEXT_FALSE='#'
15025 am__EXEEXT_TRUE='#'
15029 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15030 as_fn_error $? "conditional \"AMDEP\" was never defined.
15031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15033 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15034 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15037 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15038 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15042 : "${CONFIG_STATUS=./config.status}"
15044 ac_clean_files_save=$ac_clean_files
15045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15051 # Generated by $as_me.
15052 # Run this file to recreate the current configuration.
15053 # Compiler output produced by configure, useful for debugging
15054 # configure, is in config.log if it exists.
15057 ac_cs_recheck=false
15060 SHELL=\${CONFIG_SHELL-$SHELL}
15063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15064 ## -------------------- ##
15065 ## M4sh Initialization. ##
15066 ## -------------------- ##
15068 # Be more Bourne compatible
15069 DUALCASE=1; export DUALCASE # for MKS sh
15070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15073 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15074 # is contrary to our usage. Disable this feature.
15075 alias -g '${1+"$@"}'='"$@"'
15076 setopt NO_GLOB_SUBST
15078 case `(set -o) 2>/dev/null` in @%:@(
15080 set -o posix ;; @%:@(
15090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15091 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15094 # Prefer a ksh shell builtin over an external printf program on Solaris,
15095 # but without wasting forks for bash or zsh.
15096 if test -z "$BASH_VERSION$ZSH_VERSION" \
15097 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15098 as_echo='print -r --'
15099 as_echo_n='print -rn --'
15100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15101 as_echo='printf %s\n'
15102 as_echo_n='printf %s'
15104 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15105 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15106 as_echo_n='/usr/ucb/echo -n'
15108 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15109 as_echo_n_body='eval
15113 expr "X$arg" : "X\\(.*\\)$as_nl";
15114 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15116 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15118 export as_echo_n_body
15119 as_echo_n='sh -c $as_echo_n_body as_echo'
15121 export as_echo_body
15122 as_echo='sh -c $as_echo_body as_echo'
15125 # The user is always right.
15126 if test "${PATH_SEPARATOR+set}" != set; then
15128 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15129 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15136 # We need space, tab and new line, in precisely that order. Quoting is
15137 # there to prevent editors from complaining about space-tab.
15138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15139 # splitting by setting IFS to empty value.)
15142 # Find who we are. Look in the path if we contain no directory separator.
15145 *[\\/]* ) as_myself=$0 ;;
15146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15147 for as_dir in $PATH
15150 test -z "$as_dir" && as_dir=.
15151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15157 # We did not find ourselves, most probably we were run as `sh COMMAND'
15158 # in which case we are not to be found in the path.
15159 if test "x$as_myself" = x; then
15162 if test ! -f "$as_myself"; then
15163 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15167 # Unset variables that we do not need and which cause bugs (e.g. in
15168 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15169 # suppresses any "Segmentation fault" message there. '((' could
15170 # trigger a bug in pdksh 5.2.14.
15171 for as_var in BASH_ENV ENV MAIL MAILPATH
15172 do eval test x\${$as_var+set} = xset \
15173 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15189 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15190 @%:@ ----------------------------------------
15191 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15192 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15193 @%:@ script with STATUS, using 1 if that was 0.
15196 as_status=$1; test $as_status -eq 0 && as_status=1
15198 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15199 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15201 $as_echo "$as_me: error: $2" >&2
15202 as_fn_exit $as_status
15206 @%:@ as_fn_set_status STATUS
15207 @%:@ -----------------------
15208 @%:@ Set @S|@? to STATUS, without forking.
15209 as_fn_set_status ()
15212 } @%:@ as_fn_set_status
15214 @%:@ as_fn_exit STATUS
15215 @%:@ -----------------
15216 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15220 as_fn_set_status $1
15224 @%:@ as_fn_unset VAR
15225 @%:@ ---------------
15226 @%:@ Portably unset VAR.
15229 { eval $1=; unset $1;}
15231 as_unset=as_fn_unset
15232 @%:@ as_fn_append VAR VALUE
15233 @%:@ ----------------------
15234 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15235 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15236 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15237 @%:@ implementations.
15238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15239 eval 'as_fn_append ()
15250 @%:@ as_fn_arith ARG...
15251 @%:@ ------------------
15252 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15253 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15254 @%:@ must be portable across @S|@(()) and expr.
15255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15256 eval 'as_fn_arith ()
15263 as_val=`expr "$@" || test $? -eq 1`
15268 if expr a : '\(a\)' >/dev/null 2>&1 &&
15269 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15275 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15276 as_basename=basename
15281 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15287 as_me=`$as_basename -- "$0" ||
15288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15289 X"$0" : 'X\(//\)$' \| \
15290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15292 sed '/^.*\/\([^/][^/]*\)\/*$/{
15306 # Avoid depending upon Character Ranges.
15307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15310 as_cr_digits='0123456789'
15311 as_cr_alnum=$as_cr_Letters$as_cr_digits
15313 ECHO_C= ECHO_N= ECHO_T=
15314 case `echo -n x` in @%:@(((((
15316 case `echo 'xy\c'` in
15317 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15319 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15326 rm -f conf$$ conf$$.exe conf$$.file
15327 if test -d conf$$.dir; then
15328 rm -f conf$$.dir/conf$$.file
15331 mkdir conf$$.dir 2>/dev/null
15333 if (echo >conf$$.file) 2>/dev/null; then
15334 if ln -s conf$$.file conf$$ 2>/dev/null; then
15336 # ... but there are two gotchas:
15337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15339 # In both cases, we have to default to `cp -p'.
15340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15342 elif ln conf$$.file conf$$ 2>/dev/null; then
15350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15351 rmdir conf$$.dir 2>/dev/null
15356 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15361 -*) as_dir=./$as_dir;;
15363 test -d "$as_dir" || eval $as_mkdir_p || {
15367 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15368 *) as_qdir=$as_dir;;
15370 as_dirs="'$as_qdir' $as_dirs"
15371 as_dir=`$as_dirname -- "$as_dir" ||
15372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15373 X"$as_dir" : 'X\(//\)[^/]' \| \
15374 X"$as_dir" : 'X\(//\)$' \| \
15375 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15376 $as_echo X"$as_dir" |
15377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15381 /^X\(\/\/\)[^/].*/{
15394 test -d "$as_dir" && break
15396 test -z "$as_dirs" || eval "mkdir $as_dirs"
15397 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15400 } @%:@ as_fn_mkdir_p
15401 if mkdir -p . 2>/dev/null; then
15402 as_mkdir_p='mkdir -p "$as_dir"'
15404 test -d ./-p && rmdir ./-p
15408 if test -x / >/dev/null 2>&1; then
15409 as_test_x='test -x'
15411 if ls -dL / >/dev/null 2>&1; then
15418 if test -d "$1"; then
15424 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15425 ???[sx]*):;;*)false;;esac;fi
15429 as_executable_p=$as_test_x
15431 # Sed expression to map a string onto a valid CPP name.
15432 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15434 # Sed expression to map a string onto a valid variable name.
15435 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15439 ## ----------------------------------- ##
15440 ## Main body of $CONFIG_STATUS script. ##
15441 ## ----------------------------------- ##
15443 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15446 # Save the log message, to keep $0 and so on meaningful, and to
15447 # report actual input values of CONFIG_FILES etc. instead of their
15448 # values after options handling.
15450 This file was extended by libsalac $as_me 0.1, which was
15451 generated by GNU Autoconf 2.68. Invocation command line was
15453 CONFIG_FILES = $CONFIG_FILES
15454 CONFIG_HEADERS = $CONFIG_HEADERS
15455 CONFIG_LINKS = $CONFIG_LINKS
15456 CONFIG_COMMANDS = $CONFIG_COMMANDS
15459 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15464 case $ac_config_files in *"
15465 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15468 case $ac_config_headers in *"
15469 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15474 # Files that config.status was made for.
15475 config_files="$ac_config_files"
15476 config_headers="$ac_config_headers"
15477 config_commands="$ac_config_commands"
15481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15483 \`$as_me' instantiates files and other configuration actions
15484 from templates according to the current configuration. Unless the files
15485 and actions are specified as TAGs, all are instantiated by default.
15487 Usage: $0 [OPTION]... [TAG]...
15489 -h, --help print this help, then exit
15490 -V, --version print version number and configuration settings, then exit
15491 --config print configuration, then exit
15492 -q, --quiet, --silent
15493 do not print progress messages
15494 -d, --debug don't remove temporary files
15495 --recheck update $as_me by reconfiguring in the same conditions
15496 --file=FILE[:TEMPLATE]
15497 instantiate the configuration file FILE
15498 --header=FILE[:TEMPLATE]
15499 instantiate the configuration header FILE
15501 Configuration files:
15504 Configuration headers:
15507 Configuration commands:
15510 Report bugs to <pulseaudio@niafc.de>.
15511 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>."
15514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15515 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15517 libsalac config.status 0.1
15518 configured by $0, generated by GNU Autoconf 2.68,
15519 with options \\"\$ac_cs_config\\"
15521 Copyright (C) 2010 Free Software Foundation, Inc.
15522 This config.status script is free software; the Free Software Foundation
15523 gives unlimited permission to copy, distribute and modify it."
15530 test -n "\$AWK" || AWK=awk
15533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15534 # The default lists apply if the user does not specify any file.
15540 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15545 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15557 # Handling of the options.
15558 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15560 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15561 $as_echo "$ac_cs_version"; exit ;;
15562 --config | --confi | --conf | --con | --co | --c )
15563 $as_echo "$ac_cs_config"; exit ;;
15564 --debug | --debu | --deb | --de | --d | -d )
15566 --file | --fil | --fi | --f )
15569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15570 '') as_fn_error $? "missing file argument" ;;
15572 as_fn_append CONFIG_FILES " '$ac_optarg'"
15573 ac_need_defaults=false;;
15574 --header | --heade | --head | --hea )
15577 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15579 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15580 ac_need_defaults=false;;
15582 # Conflict between --help and --header
15583 as_fn_error $? "ambiguous option: \`$1'
15584 Try \`$0 --help' for more information.";;
15585 --help | --hel | -h )
15586 $as_echo "$ac_cs_usage"; exit ;;
15587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15591 # This is an error.
15592 -*) as_fn_error $? "unrecognized option: \`$1'
15593 Try \`$0 --help' for more information." ;;
15595 *) as_fn_append ac_config_targets " $1"
15596 ac_need_defaults=false ;;
15602 ac_configure_extra_args=
15604 if $ac_cs_silent; then
15606 ac_configure_extra_args="$ac_configure_extra_args --silent"
15610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15611 if \$ac_cs_recheck; then
15612 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15614 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15615 CONFIG_SHELL='$SHELL'
15616 export CONFIG_SHELL
15621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15625 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15626 @%:@@%:@ Running $as_me. @%:@@%:@
15632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15639 # The HP-UX ksh and POSIX shell print the target directory to stdout
15640 # if CDPATH is set.
15641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15643 sed_quote_subst='$sed_quote_subst'
15644 double_quote_subst='$double_quote_subst'
15645 delay_variable_subst='$delay_variable_subst'
15646 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15647 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15648 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15649 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15650 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15651 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15652 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15653 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15654 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15655 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15656 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15657 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15658 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15659 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15660 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15661 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15662 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15663 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15664 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15665 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15666 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15667 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15668 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15669 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15670 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15671 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15672 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15673 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15674 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15675 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15676 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15677 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15678 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15679 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15680 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15681 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15682 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15683 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15684 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15685 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15686 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15687 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15688 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15689 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15690 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15691 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15692 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15693 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15694 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15695 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15696 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15697 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15698 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15699 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15700 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15701 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15702 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"`'
15703 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15704 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15705 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15706 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15707 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15708 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15709 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15710 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15711 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15712 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15713 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15714 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15715 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15716 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15717 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15718 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15719 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15720 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15721 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15722 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15723 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15724 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15725 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15726 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15727 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15728 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15729 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15730 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15731 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15732 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15733 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15734 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15735 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15736 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15737 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15738 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15739 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15740 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15741 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15742 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15743 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15744 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15745 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15746 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15747 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15748 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15749 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15750 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15751 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15752 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15753 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15754 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15755 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15756 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15757 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15758 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15759 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15760 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15761 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15762 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15763 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15764 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15765 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15766 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15767 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15768 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15769 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15770 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15771 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15772 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15773 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15774 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15775 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15776 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15777 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15778 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15779 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15780 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15781 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15782 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15783 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15784 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15785 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15786 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15787 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15788 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15789 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15790 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15791 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15792 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15793 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15794 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15795 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15796 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15797 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15798 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15799 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15800 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15801 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15802 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15803 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15804 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15805 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15806 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15807 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15808 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15809 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15810 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15811 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15812 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15813 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15814 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15815 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15816 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15817 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15818 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15819 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15820 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15821 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15822 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15823 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15824 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15825 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15826 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15827 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15828 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15829 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15832 LTCFLAGS='$LTCFLAGS'
15833 compiler='$compiler_DEFAULT'
15835 # A function that is used when there is no print builtin or printf.
15836 func_fallback_echo ()
15838 eval 'cat <<_LTECHO_EOF
15843 # Quote evaled strings.
15858 deplibs_check_method \
15863 sharedlib_from_linklib_cmd \
15866 archiver_list_spec \
15872 lt_cv_sys_global_symbol_pipe \
15873 lt_cv_sys_global_symbol_to_cdecl \
15874 lt_cv_sys_global_symbol_to_c_name_address \
15875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15876 nm_file_list_spec \
15877 lt_prog_compiler_no_builtin_flag \
15878 lt_prog_compiler_pic \
15879 lt_prog_compiler_wl \
15880 lt_prog_compiler_static \
15881 lt_cv_prog_compiler_c_o \
15890 export_dynamic_flag_spec \
15891 whole_archive_flag_spec \
15892 compiler_needs_object \
15894 allow_undefined_flag \
15895 no_undefined_flag \
15896 hardcode_libdir_flag_spec \
15897 hardcode_libdir_separator \
15901 variables_saved_for_relink \
15903 library_names_spec \
15905 install_override_mode \
15909 compiler_lib_search_dirs \
15914 compiler_lib_search_path \
15918 lt_prog_compiler_no_builtin_flag_CXX \
15919 lt_prog_compiler_pic_CXX \
15920 lt_prog_compiler_wl_CXX \
15921 lt_prog_compiler_static_CXX \
15922 lt_cv_prog_compiler_c_o_CXX \
15923 export_dynamic_flag_spec_CXX \
15924 whole_archive_flag_spec_CXX \
15925 compiler_needs_object_CXX \
15927 allow_undefined_flag_CXX \
15928 no_undefined_flag_CXX \
15929 hardcode_libdir_flag_spec_CXX \
15930 hardcode_libdir_separator_CXX \
15931 exclude_expsyms_CXX \
15932 include_expsyms_CXX \
15933 file_list_spec_CXX \
15934 compiler_lib_search_dirs_CXX \
15935 predep_objects_CXX \
15936 postdep_objects_CXX \
15939 compiler_lib_search_path_CXX; do
15940 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15941 *[\\\\\\\`\\"\\\$]*)
15942 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15945 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15950 # Double-quote double-evaled strings.
15951 for var in reload_cmds \
15952 old_postinstall_cmds \
15953 old_postuninstall_cmds \
15955 extract_expsyms_cmds \
15956 old_archive_from_new_cmds \
15957 old_archive_from_expsyms_cmds \
15959 archive_expsym_cmds \
15961 module_expsym_cmds \
15962 export_symbols_cmds \
15966 postuninstall_cmds \
15968 sys_lib_search_path_spec \
15969 sys_lib_dlsearch_path_spec \
15971 old_archive_cmds_CXX \
15972 old_archive_from_new_cmds_CXX \
15973 old_archive_from_expsyms_cmds_CXX \
15975 archive_expsym_cmds_CXX \
15977 module_expsym_cmds_CXX \
15978 export_symbols_cmds_CXX \
15980 postlink_cmds_CXX; do
15981 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15982 *[\\\\\\\`\\"\\\$]*)
15983 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15986 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15991 ac_aux_dir='$ac_aux_dir'
15992 xsi_shell='$xsi_shell'
15993 lt_shell_append='$lt_shell_append'
15995 # See if we are running on zsh, and set the options which allow our
15996 # commands through without removal of \ escapes INIT.
15997 if test -n "\${ZSH_VERSION+set}" ; then
15998 setopt NO_GLOB_SUBST
16004 TIMESTAMP='$TIMESTAMP'
16015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16017 # Handling of arguments.
16018 for ac_config_target in $ac_config_targets
16020 case $ac_config_target in
16021 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16022 "libsalacconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS libsalacconfig.h" ;;
16023 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16024 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16025 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16026 "libsalac-${LIBSALAC_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in" ;;
16028 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16033 # If the user did not use the arguments to specify the items to instantiate,
16034 # then the envvar interface is used. Set only those that are not.
16035 # We use the long form for the default assignment because of an extremely
16036 # bizarre bug on SunOS 4.1.3.
16037 if $ac_need_defaults; then
16038 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16039 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16040 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16043 # Have a temporary directory for convenience. Make it in the build tree
16044 # simply because there is no reason against having it here, and in addition,
16045 # creating and moving files from /tmp can sometimes cause problems.
16046 # Hook for its removal unless debugging.
16047 # Note that there is a small window in which the directory will not be cleaned:
16048 # after its creation but before its name has been assigned to `$tmp'.
16052 trap 'exit_status=$?
16053 : "${ac_tmp:=$tmp}"
16054 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16056 trap 'as_fn_exit 1' 1 2 13 15
16058 # Create a (secure) tmp directory for tmp files.
16061 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16065 tmp=./conf$$-$RANDOM
16066 (umask 077 && mkdir "$tmp")
16067 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16070 # Set up the scripts for CONFIG_FILES section.
16071 # No need to generate them if there are no CONFIG_FILES.
16072 # This happens for instance with `./config.status config.h'.
16073 if test -n "$CONFIG_FILES"; then
16076 ac_cr=`echo X | tr X '\015'`
16077 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16078 # But we know of no other shell where ac_cr would be empty at this
16079 # point, so we can use a bashism as a fallback.
16080 if test "x$ac_cr" = x; then
16081 eval ac_cr=\$\'\\r\'
16083 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16084 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16087 ac_cs_awk_cr=$ac_cr
16090 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16095 echo "cat >conf$$subs.awk <<_ACEOF" &&
16096 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16098 } >conf$$subs.sh ||
16099 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16100 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16102 for ac_last_try in false false false false false :; do
16103 . ./conf$$subs.sh ||
16104 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16106 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16107 if test $ac_delim_n = $ac_delim_num; then
16109 elif $ac_last_try; then
16110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16112 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16115 rm -f conf$$subs.sh
16117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16118 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16122 s/^/S["/; s/!.*/"]=/
16132 s/\(.\{148\}\)..*/\1/
16134 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16139 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16146 s/\(.\{148\}\)..*/\1/
16148 s/["\\]/\\&/g; s/^/"/; s/$/"/
16152 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16157 ' <conf$$subs.awk | sed '
16162 ' >>$CONFIG_STATUS || ac_write_fail=1
16163 rm -f conf$$subs.awk
16164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16166 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16167 for (key in S) S_is_set[key] = 1
16173 nfields = split(line, field, "@")
16175 len = length(field[1])
16176 for (i = 2; i < nfields; i++) {
16178 keylen = length(key)
16179 if (S_is_set[key]) {
16181 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16182 len += length(value) + length(field[++i])
16193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16194 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16195 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16198 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16199 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16202 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16203 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16204 # trailing colons and then remove the whole line if VPATH becomes empty
16205 # (actually we leave an empty line to preserve line numbers).
16206 if test "x$srcdir" = x.; then
16207 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16226 fi # test -n "$CONFIG_FILES"
16228 # Set up the scripts for CONFIG_HEADERS section.
16229 # No need to generate them if there are no CONFIG_HEADERS.
16230 # This happens for instance with `./config.status Makefile'.
16231 if test -n "$CONFIG_HEADERS"; then
16232 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16236 # Transform confdefs.h into an awk script `defines.awk', embedded as
16237 # here-document in config.status, that substitutes the proper values into
16238 # config.h.in to produce config.h.
16240 # Create a delimiter string that does not exist in confdefs.h, to ease
16241 # handling of long lines.
16243 for ac_last_try in false false :; do
16244 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16245 if test -z "$ac_tt"; then
16247 elif $ac_last_try; then
16248 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16254 # For the awk script, D is an array of macro values keyed by name,
16255 # likewise P contains macro parameters if any. Preserve backslash
16256 # newline sequences.
16258 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16260 s/.\{148\}/&'"$ac_delim"'/g
16263 s/^[ ]*#[ ]*define[ ][ ]*/ /
16270 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16272 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16277 D["\1"]=" \3\\\\\\n"\\/p
16279 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16284 s/.\{148\}/&'"$ac_delim"'/g
16289 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16292 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16294 ' <confdefs.h | sed '
16295 s/'"$ac_delim"'/"\\\
16296 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16299 for (key in D) D_is_set[key] = 1
16302 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16304 split(line, arg, " ")
16305 if (arg[1] == "#") {
16309 defundef = substr(arg[1], 2)
16312 split(mac1, mac2, "(") #)
16314 prefix = substr(line, 1, index(line, defundef) - 1)
16315 if (D_is_set[macro]) {
16316 # Preserve the white space surrounding the "#".
16317 print prefix "define", macro P[macro] D[macro]
16320 # Replace #undef with comments. This is necessary, for example,
16321 # in the case of _POSIX_SOURCE, which is predefined and required
16322 # on some systems where configure will not decide to define it.
16323 if (defundef == "undef") {
16324 print "/*", prefix defundef, macro, "*/"
16332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16333 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16334 fi # test -n "$CONFIG_HEADERS"
16337 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16342 :[FHLC]) ac_mode=$ac_tag; continue;;
16344 case $ac_mode$ac_tag in
16346 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16347 :[FH]-) ac_tag=-:-;;
16348 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16365 -) ac_f="$ac_tmp/stdin";;
16366 *) # Look for the file first in the build tree, then in the source tree
16367 # (if the path is not absolute). The absolute path cannot be DOS-style,
16368 # because $ac_f cannot contain `:'.
16372 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16374 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16376 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16377 as_fn_append ac_file_inputs " '$ac_f'"
16380 # Let's still pretend it is `configure' which instantiates (i.e., don't
16381 # use $as_me), people would be surprised to read:
16382 # /* config.h. Generated by config.status. */
16383 configure_input='Generated from '`
16384 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16386 if test x"$ac_file" != x-; then
16387 configure_input="$ac_file. $configure_input"
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16389 $as_echo "$as_me: creating $ac_file" >&6;}
16391 # Neutralize special characters interpreted by sed in replacement strings.
16392 case $configure_input in #(
16393 *\&* | *\|* | *\\* )
16394 ac_sed_conf_input=`$as_echo "$configure_input" |
16395 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16396 *) ac_sed_conf_input=$configure_input;;
16400 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16406 ac_dir=`$as_dirname -- "$ac_file" ||
16407 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16408 X"$ac_file" : 'X\(//\)[^/]' \| \
16409 X"$ac_file" : 'X\(//\)$' \| \
16410 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16411 $as_echo X"$ac_file" |
16412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16416 /^X\(\/\/\)[^/].*/{
16429 as_dir="$ac_dir"; as_fn_mkdir_p
16433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16435 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16436 # A ".." for each directory in $ac_dir_suffix.
16437 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16438 case $ac_top_builddir_sub in
16439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16443 ac_abs_top_builddir=$ac_pwd
16444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16445 # for backward compatibility:
16446 ac_top_builddir=$ac_top_build_prefix
16449 .) # We are building in place.
16451 ac_top_srcdir=$ac_top_builddir_sub
16452 ac_abs_top_srcdir=$ac_pwd ;;
16453 [\\/]* | ?:[\\/]* ) # Absolute name.
16454 ac_srcdir=$srcdir$ac_dir_suffix;
16455 ac_top_srcdir=$srcdir
16456 ac_abs_top_srcdir=$srcdir ;;
16457 *) # Relative name.
16458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16459 ac_top_srcdir=$ac_top_build_prefix$srcdir
16460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16472 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16473 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16475 ac_MKDIR_P=$MKDIR_P
16477 [\\/$]* | ?:[\\/]* ) ;;
16478 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16483 # If the template does not know about datarootdir, expand it.
16484 # FIXME: This hack should be removed a few years after 2.60.
16485 ac_datarootdir_hack=; ac_datarootdir_seen=
16496 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16497 *datarootdir*) ac_datarootdir_seen=yes;;
16498 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16500 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16503 ac_datarootdir_hack='
16504 s&@datadir@&$datadir&g
16505 s&@docdir@&$docdir&g
16506 s&@infodir@&$infodir&g
16507 s&@localedir@&$localedir&g
16508 s&@mandir@&$mandir&g
16509 s&\\\${datarootdir}&$datarootdir&g' ;;
16513 # Neutralize VPATH when `$srcdir' = `.'.
16514 # Shell code in configure.ac might set extrasub.
16515 # FIXME: do we really want to maintain this feature?
16516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16517 ac_sed_extra="$ac_vpsub
16520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16522 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16523 s|@configure_input@|$ac_sed_conf_input|;t t
16524 s&@top_builddir@&$ac_top_builddir_sub&;t t
16525 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16526 s&@srcdir@&$ac_srcdir&;t t
16527 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16528 s&@top_srcdir@&$ac_top_srcdir&;t t
16529 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16530 s&@builddir@&$ac_builddir&;t t
16531 s&@abs_builddir@&$ac_abs_builddir&;t t
16532 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16533 s&@INSTALL@&$ac_INSTALL&;t t
16534 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16535 $ac_datarootdir_hack
16537 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16538 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16540 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16541 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16542 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16543 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16545 which seems to be undefined. Please make sure it is defined" >&5
16546 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16547 which seems to be undefined. Please make sure it is defined" >&2;}
16549 rm -f "$ac_tmp/stdin"
16551 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16552 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16560 if test x"$ac_file" != x-; then
16562 $as_echo "/* $configure_input */" \
16563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16564 } >"$ac_tmp/config.h" \
16565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16566 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16568 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16571 mv "$ac_tmp/config.h" "$ac_file" \
16572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16575 $as_echo "/* $configure_input */" \
16576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16577 || as_fn_error $? "could not create -" "$LINENO" 5
16579 # Compute "$ac_file"'s index in $config_headers.
16582 for _am_header in $config_headers :; do
16583 case $_am_header in
16584 $_am_arg | $_am_arg:* )
16587 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16590 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16591 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16592 X"$_am_arg" : 'X\(//\)[^/]' \| \
16593 X"$_am_arg" : 'X\(//\)$' \| \
16594 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16595 $as_echo X"$_am_arg" |
16596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16600 /^X\(\/\/\)[^/].*/{
16612 s/.*/./; q'`/stamp-h$_am_stamp_count
16615 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16616 $as_echo "$as_me: executing $ac_file commands" >&6;}
16621 case $ac_file$ac_mode in
16622 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16623 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16624 # are listed without --file. Let's play safe and only enable the eval
16625 # if we detect the quoting.
16626 case $CONFIG_FILES in
16627 *\'*) eval set x "$CONFIG_FILES" ;;
16628 *) set x $CONFIG_FILES ;;
16633 # Strip MF so we end up with the name of the file.
16634 mf=`echo "$mf" | sed -e 's/:.*$//'`
16635 # Check whether this is an Automake generated Makefile or not.
16636 # We used to match only the files named `Makefile.in', but
16637 # some people rename them; so instead we look at the file content.
16638 # Grep'ing the first line is not enough: some people post-process
16639 # each Makefile.in and add a new line on top of each file to say so.
16640 # Grep'ing the whole file is not good either: AIX grep has a line
16641 # limit of 2048, but all sed's we know have understand at least 4000.
16642 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16643 dirpart=`$as_dirname -- "$mf" ||
16644 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16645 X"$mf" : 'X\(//\)[^/]' \| \
16646 X"$mf" : 'X\(//\)$' \| \
16647 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16653 /^X\(\/\/\)[^/].*/{
16669 # Extract the definition of DEPDIR, am__include, and am__quote
16670 # from the Makefile without running `make'.
16671 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16672 test -z "$DEPDIR" && continue
16673 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16674 test -z "am__include" && continue
16675 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16676 # When using ansi2knr, U may be empty or an underscore; expand it
16677 U=`sed -n 's/^U = //p' < "$mf"`
16678 # Find all dependency output files, they are included files with
16679 # $(DEPDIR) in their names. We invoke sed twice because it is the
16680 # simplest approach to changing $(DEPDIR) to its actual value in the
16682 for file in `sed -n "
16683 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16684 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16685 # Make sure the directory exists.
16686 test -f "$dirpart/$file" && continue
16687 fdir=`$as_dirname -- "$file" ||
16688 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16689 X"$file" : 'X\(//\)[^/]' \| \
16690 X"$file" : 'X\(//\)$' \| \
16691 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16692 $as_echo X"$file" |
16693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16697 /^X\(\/\/\)[^/].*/{
16710 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16711 # echo "creating $dirpart/$file"
16712 echo '# dummy' > "$dirpart/$file"
16719 # See if we are running on zsh, and set the options which allow our
16720 # commands through without removal of \ escapes.
16721 if test -n "${ZSH_VERSION+set}" ; then
16722 setopt NO_GLOB_SUBST
16725 cfgfile="${ofile}T"
16726 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16729 cat <<_LT_EOF >> "$cfgfile"
16732 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16733 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16734 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16735 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16737 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16738 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16740 # Written by Gordon Matzigkeit, 1996
16742 # This file is part of GNU Libtool.
16744 # GNU Libtool is free software; you can redistribute it and/or
16745 # modify it under the terms of the GNU General Public License as
16746 # published by the Free Software Foundation; either version 2 of
16747 # the License, or (at your option) any later version.
16749 # As a special exception to the GNU General Public License,
16750 # if you distribute this file as part of a program or library that
16751 # is built using GNU Libtool, you may include this file under the
16752 # same distribution terms that you use for the rest of that program.
16754 # GNU Libtool is distributed in the hope that it will be useful,
16755 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16756 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16757 # GNU General Public License for more details.
16759 # You should have received a copy of the GNU General Public License
16760 # along with GNU Libtool; see the file COPYING. If not, a copy
16761 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16762 # obtained by writing to the Free Software Foundation, Inc.,
16763 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16766 # The names of the tagged configurations supported by this script.
16767 available_tags="CXX "
16769 # ### BEGIN LIBTOOL CONFIG
16771 # Which release of libtool.m4 was used?
16772 macro_version=$macro_version
16773 macro_revision=$macro_revision
16775 # Whether or not to build static libraries.
16776 build_old_libs=$enable_static
16778 # Whether or not to build shared libraries.
16779 build_libtool_libs=$enable_shared
16781 # What type of objects to build.
16784 # Whether or not to optimize for fast installation.
16785 fast_install=$enable_fast_install
16787 # Shell to use when invoking shell scripts.
16790 # An echo program that protects backslashes.
16793 # The PATH separator for the build system.
16794 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16797 host_alias=$host_alias
16801 # The build system.
16802 build_alias=$build_alias
16806 # A sed program that does not truncate output.
16809 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16810 Xsed="\$SED -e 1s/^X//"
16812 # A grep program that handles long lines.
16818 # A literal string matcher.
16821 # A BSD- or MS-compatible name lister.
16824 # Whether we need soft or hard links.
16827 # What is the maximum length of a command?
16828 max_cmd_len=$max_cmd_len
16830 # Object file suffix (normally "o").
16833 # Executable file suffix (normally "").
16836 # whether the shell understands "unset".
16839 # turn spaces into newlines.
16842 # turn newlines into spaces.
16845 # convert \$build file names to \$host format.
16846 to_host_file_cmd=$lt_cv_to_host_file_cmd
16848 # convert \$build files to toolchain format.
16849 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16851 # An object symbol dumper.
16852 OBJDUMP=$lt_OBJDUMP
16854 # Method to check whether dependent libraries are shared objects.
16855 deplibs_check_method=$lt_deplibs_check_method
16857 # Command to use when deplibs_check_method = "file_magic".
16858 file_magic_cmd=$lt_file_magic_cmd
16860 # How to find potential files when deplibs_check_method = "file_magic".
16861 file_magic_glob=$lt_file_magic_glob
16863 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16864 want_nocaseglob=$lt_want_nocaseglob
16866 # DLL creation program.
16867 DLLTOOL=$lt_DLLTOOL
16869 # Command to associate shared and link libraries.
16870 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16875 # Flags to create an archive.
16876 AR_FLAGS=$lt_AR_FLAGS
16878 # How to feed a file listing to the archiver.
16879 archiver_list_spec=$lt_archiver_list_spec
16881 # A symbol stripping program.
16884 # Commands used to install an old-style archive.
16886 old_postinstall_cmds=$lt_old_postinstall_cmds
16887 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16889 # Whether to use a lock for old archive extraction.
16890 lock_old_archive_extraction=$lock_old_archive_extraction
16895 # LTCC compiler flags.
16896 LTCFLAGS=$lt_CFLAGS
16898 # Take the output of nm and produce a listing of raw symbols and C names.
16899 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16901 # Transform the output of nm in a proper C declaration.
16902 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16904 # Transform the output of nm in a C name address pair.
16905 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16907 # Transform the output of nm in a C name address pair when lib prefix is needed.
16908 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16910 # Specify filename containing input files for \$NM.
16911 nm_file_list_spec=$lt_nm_file_list_spec
16913 # The root where to search for dependent libraries,and in which our libraries should be installed.
16914 lt_sysroot=$lt_sysroot
16916 # The name of the directory that contains temporary libtool files.
16919 # Used to examine libraries when file_magic_cmd begins with "file".
16920 MAGIC_CMD=$MAGIC_CMD
16922 # Must we lock files when doing compilation?
16923 need_locks=$lt_need_locks
16926 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16928 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16929 DSYMUTIL=$lt_DSYMUTIL
16931 # Tool to change global to local symbols on Mac OS X.
16934 # Tool to manipulate fat objects and archives on Mac OS X.
16937 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16940 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16941 OTOOL64=$lt_OTOOL64
16943 # Old archive suffix (normally "a").
16946 # Shared library suffix (normally ".so").
16947 shrext_cmds=$lt_shrext_cmds
16949 # The commands to extract the exported symbol list from a shared archive.
16950 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16952 # Variables whose values should be saved in libtool wrapper scripts and
16953 # restored at link time.
16954 variables_saved_for_relink=$lt_variables_saved_for_relink
16956 # Do we need the "lib" prefix for modules?
16957 need_lib_prefix=$need_lib_prefix
16959 # Do we need a version for libraries?
16960 need_version=$need_version
16962 # Library versioning type.
16963 version_type=$version_type
16965 # Shared library runtime path variable.
16966 runpath_var=$runpath_var
16968 # Shared library path variable.
16969 shlibpath_var=$shlibpath_var
16971 # Is shlibpath searched before the hard-coded library search path?
16972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16974 # Format of library name prefix.
16975 libname_spec=$lt_libname_spec
16977 # List of archive names. First name is the real one, the rest are links.
16978 # The last name is the one that the linker finds with -lNAME
16979 library_names_spec=$lt_library_names_spec
16981 # The coded name of the library, if different from the real name.
16982 soname_spec=$lt_soname_spec
16984 # Permission mode override for installation of shared libraries.
16985 install_override_mode=$lt_install_override_mode
16987 # Command to use after installation of a shared archive.
16988 postinstall_cmds=$lt_postinstall_cmds
16990 # Command to use after uninstallation of a shared archive.
16991 postuninstall_cmds=$lt_postuninstall_cmds
16993 # Commands used to finish a libtool library installation in a directory.
16994 finish_cmds=$lt_finish_cmds
16996 # As "finish_cmds", except a single script fragment to be evaled but
16998 finish_eval=$lt_finish_eval
17000 # Whether we should hardcode library paths into libraries.
17001 hardcode_into_libs=$hardcode_into_libs
17003 # Compile-time system search path for libraries.
17004 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17006 # Run-time system search path for libraries.
17007 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17009 # Whether dlopen is supported.
17010 dlopen_support=$enable_dlopen
17012 # Whether dlopen of programs is supported.
17013 dlopen_self=$enable_dlopen_self
17015 # Whether dlopen of statically linked programs is supported.
17016 dlopen_self_static=$enable_dlopen_self_static
17018 # Commands to strip libraries.
17019 old_striplib=$lt_old_striplib
17020 striplib=$lt_striplib
17023 # The linker used to build libraries.
17026 # How to create reloadable object files.
17027 reload_flag=$lt_reload_flag
17028 reload_cmds=$lt_reload_cmds
17030 # Commands used to build an old-style archive.
17031 old_archive_cmds=$lt_old_archive_cmds
17033 # A language specific compiler.
17036 # Is the compiler the GNU compiler?
17039 # Compiler flag to turn off builtin functions.
17040 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17042 # Additional compiler flags for building library objects.
17043 pic_flag=$lt_lt_prog_compiler_pic
17045 # How to pass a linker flag through the compiler.
17046 wl=$lt_lt_prog_compiler_wl
17048 # Compiler flag to prevent dynamic linking.
17049 link_static_flag=$lt_lt_prog_compiler_static
17051 # Does compiler simultaneously support -c and -o options?
17052 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17054 # Whether or not to add -lc for building shared libraries.
17055 build_libtool_need_lc=$archive_cmds_need_lc
17057 # Whether or not to disallow shared libs when runtime libs are static.
17058 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17060 # Compiler flag to allow reflexive dlopens.
17061 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17063 # Compiler flag to generate shared objects directly from archives.
17064 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17066 # Whether the compiler copes with passing no objects directly.
17067 compiler_needs_object=$lt_compiler_needs_object
17069 # Create an old-style archive from a shared archive.
17070 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17072 # Create a temporary old-style archive to link instead of a shared archive.
17073 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17075 # Commands used to build a shared archive.
17076 archive_cmds=$lt_archive_cmds
17077 archive_expsym_cmds=$lt_archive_expsym_cmds
17079 # Commands used to build a loadable module if different from building
17080 # a shared archive.
17081 module_cmds=$lt_module_cmds
17082 module_expsym_cmds=$lt_module_expsym_cmds
17084 # Whether we are building with GNU ld or not.
17085 with_gnu_ld=$lt_with_gnu_ld
17087 # Flag that allows shared libraries with undefined symbols to be built.
17088 allow_undefined_flag=$lt_allow_undefined_flag
17090 # Flag that enforces no undefined symbols.
17091 no_undefined_flag=$lt_no_undefined_flag
17093 # Flag to hardcode \$libdir into a binary during linking.
17094 # This must work even if \$libdir does not exist
17095 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17097 # Whether we need a single "-rpath" flag with a separated argument.
17098 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17100 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17101 # DIR into the resulting binary.
17102 hardcode_direct=$hardcode_direct
17104 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17105 # DIR into the resulting binary and the resulting library dependency is
17106 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17107 # library is relocated.
17108 hardcode_direct_absolute=$hardcode_direct_absolute
17110 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17111 # into the resulting binary.
17112 hardcode_minus_L=$hardcode_minus_L
17114 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17115 # into the resulting binary.
17116 hardcode_shlibpath_var=$hardcode_shlibpath_var
17118 # Set to "yes" if building a shared library automatically hardcodes DIR
17119 # into the library and all subsequent libraries and executables linked
17121 hardcode_automatic=$hardcode_automatic
17123 # Set to yes if linker adds runtime paths of dependent libraries
17124 # to runtime path list.
17125 inherit_rpath=$inherit_rpath
17127 # Whether libtool must link a program against all its dependency libraries.
17128 link_all_deplibs=$link_all_deplibs
17130 # Set to "yes" if exported symbols are required.
17131 always_export_symbols=$always_export_symbols
17133 # The commands to list exported symbols.
17134 export_symbols_cmds=$lt_export_symbols_cmds
17136 # Symbols that should not be listed in the preloaded symbols.
17137 exclude_expsyms=$lt_exclude_expsyms
17139 # Symbols that must always be exported.
17140 include_expsyms=$lt_include_expsyms
17142 # Commands necessary for linking programs (against libraries) with templates.
17143 prelink_cmds=$lt_prelink_cmds
17145 # Commands necessary for finishing linking programs.
17146 postlink_cmds=$lt_postlink_cmds
17148 # Specify filename containing input files.
17149 file_list_spec=$lt_file_list_spec
17151 # How to hardcode a shared library path into an executable.
17152 hardcode_action=$hardcode_action
17154 # The directories searched by this compiler when creating a shared library.
17155 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17157 # Dependencies to place before and after the objects being linked to
17158 # create a shared library.
17159 predep_objects=$lt_predep_objects
17160 postdep_objects=$lt_postdep_objects
17161 predeps=$lt_predeps
17162 postdeps=$lt_postdeps
17164 # The library search path used internally by the compiler when linking
17165 # a shared library.
17166 compiler_lib_search_path=$lt_compiler_lib_search_path
17168 # ### END LIBTOOL CONFIG
17174 cat <<\_LT_EOF >> "$cfgfile"
17175 # AIX sometimes has problems with the GCC collect2 program. For some
17176 # reason, if we set the COLLECT_NAMES environment variable, the problems
17177 # vanish in a puff of smoke.
17178 if test "X${COLLECT_NAMES+set}" != Xset; then
17180 export COLLECT_NAMES
17187 ltmain="$ac_aux_dir/ltmain.sh"
17190 # We use sed instead of cat because bash on DJGPP gets confused if
17191 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17192 # text mode, it properly converts lines to CR/LF. This bash problem
17193 # is reportedly fixed, but why not run on old versions too?
17194 sed '$q' "$ltmain" >> "$cfgfile" \
17195 || (rm -f "$cfgfile"; exit 1)
17197 if test x"$xsi_shell" = xyes; then
17198 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17202 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17203 \ * ) func_dirname_result="${3}" ;;\
17205 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17206 && mv -f "$cfgfile.tmp" "$cfgfile" \
17207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17208 test 0 -eq $? || _lt_function_replace_fail=:
17211 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17214 \ func_basename_result="${1##*/}"\
17215 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17216 && mv -f "$cfgfile.tmp" "$cfgfile" \
17217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17218 test 0 -eq $? || _lt_function_replace_fail=:
17221 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17222 func_dirname_and_basename ()\
17225 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17226 \ * ) func_dirname_result="${3}" ;;\
17228 \ func_basename_result="${1##*/}"\
17229 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17230 && mv -f "$cfgfile.tmp" "$cfgfile" \
17231 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17232 test 0 -eq $? || _lt_function_replace_fail=:
17235 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17238 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17239 \ # positional parameters, so assign one to ordinary parameter first.\
17240 \ func_stripname_result=${3}\
17241 \ func_stripname_result=${func_stripname_result#"${1}"}\
17242 \ func_stripname_result=${func_stripname_result%"${2}"}\
17243 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17244 && mv -f "$cfgfile.tmp" "$cfgfile" \
17245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17246 test 0 -eq $? || _lt_function_replace_fail=:
17249 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17250 func_split_long_opt ()\
17252 \ func_split_long_opt_name=${1%%=*}\
17253 \ func_split_long_opt_arg=${1#*=}\
17254 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17255 && mv -f "$cfgfile.tmp" "$cfgfile" \
17256 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17257 test 0 -eq $? || _lt_function_replace_fail=:
17260 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17261 func_split_short_opt ()\
17263 \ func_split_short_opt_arg=${1#??}\
17264 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17265 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17266 && mv -f "$cfgfile.tmp" "$cfgfile" \
17267 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17268 test 0 -eq $? || _lt_function_replace_fail=:
17271 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17275 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17276 \ *) func_lo2o_result=${1} ;;\
17278 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17279 && mv -f "$cfgfile.tmp" "$cfgfile" \
17280 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17281 test 0 -eq $? || _lt_function_replace_fail=:
17284 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17287 func_xform_result=${1%.*}.lo\
17288 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17289 && mv -f "$cfgfile.tmp" "$cfgfile" \
17290 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17291 test 0 -eq $? || _lt_function_replace_fail=:
17294 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17297 func_arith_result=$(( $* ))\
17298 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17299 && mv -f "$cfgfile.tmp" "$cfgfile" \
17300 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17301 test 0 -eq $? || _lt_function_replace_fail=:
17304 sed -e '/^func_len ()$/,/^} # func_len /c\
17307 func_len_result=${#1}\
17308 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17309 && mv -f "$cfgfile.tmp" "$cfgfile" \
17310 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17311 test 0 -eq $? || _lt_function_replace_fail=:
17315 if test x"$lt_shell_append" = xyes; then
17316 sed -e '/^func_append ()$/,/^} # func_append /c\
17319 eval "${1}+=\\${2}"\
17320 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17321 && mv -f "$cfgfile.tmp" "$cfgfile" \
17322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17323 test 0 -eq $? || _lt_function_replace_fail=:
17326 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17327 func_append_quoted ()\
17329 \ func_quote_for_eval "${2}"\
17330 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17331 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17332 && mv -f "$cfgfile.tmp" "$cfgfile" \
17333 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17334 test 0 -eq $? || _lt_function_replace_fail=:
17337 # Save a `func_append' function call where possible by direct use of '+='
17338 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17339 && mv -f "$cfgfile.tmp" "$cfgfile" \
17340 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17341 test 0 -eq $? || _lt_function_replace_fail=:
17343 # Save a `func_append' function call even when '+=' is not available
17344 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17345 && mv -f "$cfgfile.tmp" "$cfgfile" \
17346 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17347 test 0 -eq $? || _lt_function_replace_fail=:
17350 if test x"$_lt_function_replace_fail" = x":"; then
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17352 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17356 mv -f "$cfgfile" "$ofile" ||
17357 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17361 cat <<_LT_EOF >> "$ofile"
17363 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17365 # The linker used to build libraries.
17368 # How to create reloadable object files.
17369 reload_flag=$lt_reload_flag_CXX
17370 reload_cmds=$lt_reload_cmds_CXX
17372 # Commands used to build an old-style archive.
17373 old_archive_cmds=$lt_old_archive_cmds_CXX
17375 # A language specific compiler.
17376 CC=$lt_compiler_CXX
17378 # Is the compiler the GNU compiler?
17381 # Compiler flag to turn off builtin functions.
17382 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17384 # Additional compiler flags for building library objects.
17385 pic_flag=$lt_lt_prog_compiler_pic_CXX
17387 # How to pass a linker flag through the compiler.
17388 wl=$lt_lt_prog_compiler_wl_CXX
17390 # Compiler flag to prevent dynamic linking.
17391 link_static_flag=$lt_lt_prog_compiler_static_CXX
17393 # Does compiler simultaneously support -c and -o options?
17394 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17396 # Whether or not to add -lc for building shared libraries.
17397 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17399 # Whether or not to disallow shared libs when runtime libs are static.
17400 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17402 # Compiler flag to allow reflexive dlopens.
17403 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17405 # Compiler flag to generate shared objects directly from archives.
17406 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17408 # Whether the compiler copes with passing no objects directly.
17409 compiler_needs_object=$lt_compiler_needs_object_CXX
17411 # Create an old-style archive from a shared archive.
17412 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17414 # Create a temporary old-style archive to link instead of a shared archive.
17415 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17417 # Commands used to build a shared archive.
17418 archive_cmds=$lt_archive_cmds_CXX
17419 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17421 # Commands used to build a loadable module if different from building
17422 # a shared archive.
17423 module_cmds=$lt_module_cmds_CXX
17424 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17426 # Whether we are building with GNU ld or not.
17427 with_gnu_ld=$lt_with_gnu_ld_CXX
17429 # Flag that allows shared libraries with undefined symbols to be built.
17430 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17432 # Flag that enforces no undefined symbols.
17433 no_undefined_flag=$lt_no_undefined_flag_CXX
17435 # Flag to hardcode \$libdir into a binary during linking.
17436 # This must work even if \$libdir does not exist
17437 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17439 # Whether we need a single "-rpath" flag with a separated argument.
17440 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17442 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17443 # DIR into the resulting binary.
17444 hardcode_direct=$hardcode_direct_CXX
17446 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17447 # DIR into the resulting binary and the resulting library dependency is
17448 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17449 # library is relocated.
17450 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17452 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17453 # into the resulting binary.
17454 hardcode_minus_L=$hardcode_minus_L_CXX
17456 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17457 # into the resulting binary.
17458 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17460 # Set to "yes" if building a shared library automatically hardcodes DIR
17461 # into the library and all subsequent libraries and executables linked
17463 hardcode_automatic=$hardcode_automatic_CXX
17465 # Set to yes if linker adds runtime paths of dependent libraries
17466 # to runtime path list.
17467 inherit_rpath=$inherit_rpath_CXX
17469 # Whether libtool must link a program against all its dependency libraries.
17470 link_all_deplibs=$link_all_deplibs_CXX
17472 # Set to "yes" if exported symbols are required.
17473 always_export_symbols=$always_export_symbols_CXX
17475 # The commands to list exported symbols.
17476 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17478 # Symbols that should not be listed in the preloaded symbols.
17479 exclude_expsyms=$lt_exclude_expsyms_CXX
17481 # Symbols that must always be exported.
17482 include_expsyms=$lt_include_expsyms_CXX
17484 # Commands necessary for linking programs (against libraries) with templates.
17485 prelink_cmds=$lt_prelink_cmds_CXX
17487 # Commands necessary for finishing linking programs.
17488 postlink_cmds=$lt_postlink_cmds_CXX
17490 # Specify filename containing input files.
17491 file_list_spec=$lt_file_list_spec_CXX
17493 # How to hardcode a shared library path into an executable.
17494 hardcode_action=$hardcode_action_CXX
17496 # The directories searched by this compiler when creating a shared library.
17497 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17499 # Dependencies to place before and after the objects being linked to
17500 # create a shared library.
17501 predep_objects=$lt_predep_objects_CXX
17502 postdep_objects=$lt_postdep_objects_CXX
17503 predeps=$lt_predeps_CXX
17504 postdeps=$lt_postdeps_CXX
17506 # The library search path used internally by the compiler when linking
17507 # a shared library.
17508 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17510 # ### END LIBTOOL TAG CONFIG: CXX
17521 ac_clean_files=$ac_clean_files_save
17523 test $ac_write_fail = 0 ||
17524 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17527 # configure is writing to config.log, and then calls config.status.
17528 # config.status does its own redirection, appending to config.log.
17529 # Unfortunately, on DOS this fails, as config.log is still kept open
17530 # by configure, so config.status won't be able to write to it; its
17531 # output is simply discarded. So we exec the FD to /dev/null,
17532 # effectively closing config.log, so it can be properly (re)opened and
17533 # appended to by config.status. When coming back to configure, we
17534 # need to make the FD available again.
17535 if test "$no_create" != yes; then
17537 ac_config_status_args=
17538 test "$silent" = yes &&
17539 ac_config_status_args="$ac_config_status_args --quiet"
17541 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17543 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17544 # would make configure fail if this is the last instruction.
17545 $ac_cs_success || as_fn_exit 1
17547 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17549 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}