2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libsockstream 0.1.
5 # Report bugs to <arjen@andromeda.nl>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
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=.
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 arjen@andromeda.nl
250 $0: about your system, including any error possibly output
251 $0: before this message. Then install a modern shell, or
252 $0: manually run the script under such a shell if you do
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='libsockstream'
572 PACKAGE_TARNAME='libsockstream'
573 PACKAGE_VERSION='0.1'
574 PACKAGE_STRING='libsockstream 0.1'
575 PACKAGE_BUGREPORT='arjen@andromeda.nl'
578 ac_unique_file="src/socket.cpp"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
680 INSTALL_STRIP_PROGRAM
722 program_transform_name
735 enable_option_checking
736 enable_dependency_tracking
745 ac_precious_vars='build_alias
760 # Initialize some variables set by options.
762 ac_init_version=false
763 ac_unrecognized_opts=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
774 program_transform_name=s,x,x,
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir='${exec_prefix}/bin'
789 sbindir='${exec_prefix}/sbin'
790 libexecdir='${exec_prefix}/libexec'
791 datarootdir='${prefix}/share'
792 datadir='${datarootdir}'
793 sysconfdir='${prefix}/etc'
794 sharedstatedir='${prefix}/com'
795 localstatedir='${prefix}/var'
796 includedir='${prefix}/include'
797 oldincludedir='/usr/include'
798 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir='${datarootdir}/info'
804 libdir='${exec_prefix}/lib'
805 localedir='${datarootdir}/locale'
806 mandir='${datarootdir}/man'
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\$ac_option
820 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir | --bindir | --bindi | --bind | --bin | --bi)
833 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836 -build | --build | --buil | --bui | --bu)
837 ac_prev=build_alias ;;
838 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
839 build_alias=$ac_optarg ;;
841 -cache-file | --cache-file | --cache-fil | --cache-fi \
842 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
843 ac_prev=cache_file ;;
844 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
845 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
846 cache_file=$ac_optarg ;;
849 cache_file=config.cache ;;
851 -datadir | --datadir | --datadi | --datad)
853 -datadir=* | --datadir=* | --datadi=* | --datad=*)
854 datadir=$ac_optarg ;;
856 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
857 | --dataroo | --dataro | --datar)
858 ac_prev=datarootdir ;;
859 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
860 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
861 datarootdir=$ac_optarg ;;
863 -disable-* | --disable-*)
864 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867 as_fn_error $? "invalid feature name: $ac_useropt"
868 ac_useropt_orig=$ac_useropt
869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875 ac_unrecognized_sep=', ';;
877 eval enable_$ac_useropt=no ;;
879 -docdir | --docdir | --docdi | --doc | --do)
881 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
886 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889 -enable-* | --enable-*)
890 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893 as_fn_error $? "invalid feature name: $ac_useropt"
894 ac_useropt_orig=$ac_useropt
895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901 ac_unrecognized_sep=', ';;
903 eval enable_$ac_useropt=\$ac_optarg ;;
905 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
906 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
907 | --exec | --exe | --ex)
908 ac_prev=exec_prefix ;;
909 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
910 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
911 | --exec=* | --exe=* | --ex=*)
912 exec_prefix=$ac_optarg ;;
914 -gas | --gas | --ga | --g)
915 # Obsolete; use --with-gas.
918 -help | --help | --hel | --he | -h)
920 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
921 ac_init_help=recursive ;;
922 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
923 ac_init_help=short ;;
925 -host | --host | --hos | --ho)
926 ac_prev=host_alias ;;
927 -host=* | --host=* | --hos=* | --ho=*)
928 host_alias=$ac_optarg ;;
930 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
932 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
934 htmldir=$ac_optarg ;;
936 -includedir | --includedir | --includedi | --included | --include \
937 | --includ | --inclu | --incl | --inc)
938 ac_prev=includedir ;;
939 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
940 | --includ=* | --inclu=* | --incl=* | --inc=*)
941 includedir=$ac_optarg ;;
943 -infodir | --infodir | --infodi | --infod | --info | --inf)
945 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
946 infodir=$ac_optarg ;;
948 -libdir | --libdir | --libdi | --libd)
950 -libdir=* | --libdir=* | --libdi=* | --libd=*)
953 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
954 | --libexe | --libex | --libe)
955 ac_prev=libexecdir ;;
956 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
957 | --libexe=* | --libex=* | --libe=*)
958 libexecdir=$ac_optarg ;;
960 -localedir | --localedir | --localedi | --localed | --locale)
962 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
963 localedir=$ac_optarg ;;
965 -localstatedir | --localstatedir | --localstatedi | --localstated \
966 | --localstate | --localstat | --localsta | --localst | --locals)
967 ac_prev=localstatedir ;;
968 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
969 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
970 localstatedir=$ac_optarg ;;
972 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
974 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978 # Obsolete; use --without-fp.
981 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
982 | --no-cr | --no-c | -n)
985 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
986 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
990 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
991 | --oldin | --oldi | --old | --ol | --o)
992 ac_prev=oldincludedir ;;
993 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
994 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
995 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
996 oldincludedir=$ac_optarg ;;
998 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1000 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1001 prefix=$ac_optarg ;;
1003 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1004 | --program-pre | --program-pr | --program-p)
1005 ac_prev=program_prefix ;;
1006 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1007 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1008 program_prefix=$ac_optarg ;;
1010 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1011 | --program-suf | --program-su | --program-s)
1012 ac_prev=program_suffix ;;
1013 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1014 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1015 program_suffix=$ac_optarg ;;
1017 -program-transform-name | --program-transform-name \
1018 | --program-transform-nam | --program-transform-na \
1019 | --program-transform-n | --program-transform- \
1020 | --program-transform | --program-transfor \
1021 | --program-transfo | --program-transf \
1022 | --program-trans | --program-tran \
1023 | --progr-tra | --program-tr | --program-t)
1024 ac_prev=program_transform_name ;;
1025 -program-transform-name=* | --program-transform-name=* \
1026 | --program-transform-nam=* | --program-transform-na=* \
1027 | --program-transform-n=* | --program-transform-=* \
1028 | --program-transform=* | --program-transfor=* \
1029 | --program-transfo=* | --program-transf=* \
1030 | --program-trans=* | --program-tran=* \
1031 | --progr-tra=* | --program-tr=* | --program-t=*)
1032 program_transform_name=$ac_optarg ;;
1034 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1036 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1037 pdfdir=$ac_optarg ;;
1039 -psdir | --psdir | --psdi | --psd | --ps)
1041 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045 | -silent | --silent | --silen | --sile | --sil)
1048 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1050 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1052 sbindir=$ac_optarg ;;
1054 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1055 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056 | --sharedst | --shareds | --shared | --share | --shar \
1058 ac_prev=sharedstatedir ;;
1059 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1063 sharedstatedir=$ac_optarg ;;
1065 -site | --site | --sit)
1067 -site=* | --site=* | --sit=*)
1070 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1072 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073 srcdir=$ac_optarg ;;
1075 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076 | --syscon | --sysco | --sysc | --sys | --sy)
1077 ac_prev=sysconfdir ;;
1078 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080 sysconfdir=$ac_optarg ;;
1082 -target | --target | --targe | --targ | --tar | --ta | --t)
1083 ac_prev=target_alias ;;
1084 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085 target_alias=$ac_optarg ;;
1087 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090 -version | --version | --versio | --versi | --vers | -V)
1091 ac_init_version=: ;;
1094 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval with_$ac_useropt=\$ac_optarg ;;
1109 -without-* | --without-*)
1110 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error $? "invalid package name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
1123 eval with_$ac_useropt=no ;;
1126 # Obsolete; use --with-x.
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1148 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' | [0-9]* | *[!_$as_cr_alnum]* )
1152 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error $? "missing argument to $ac_option"
1173 if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1176 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181 # Check all directory arguments for consistency.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 # Remove trailing slashes.
1191 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\$ac_val;;
1194 # Be sure to have absolute directory names.
1196 [\\/$]* | ?:[\\/]* ) continue;;
1197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1199 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1207 target=$target_alias
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211 if test "x$build_alias" = x; then
1212 cross_compiling=maybe
1213 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1214 If a cross compiler is detected then cross compile mode will be used" >&2
1215 elif test "x$build_alias" != "x$host_alias"; then
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1223 test "$silent" = yes && exec 6>/dev/null
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229 as_fn_error $? "working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 as_fn_error $? "pwd does not report name of working directory"
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1266 ac_srcdir_defaulted=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var in $ac_precious_vars; do
1287 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_${ac_var}_value=\$${ac_var}
1289 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures libsockstream 0.1 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking ...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root [DATAROOTDIR/doc/libsockstream]
1349 --htmldir=DIR html documentation [DOCDIR]
1350 --dvidir=DIR dvi documentation [DOCDIR]
1351 --pdfdir=DIR pdf documentation [DOCDIR]
1352 --psdir=DIR ps documentation [DOCDIR]
1358 --program-prefix=PREFIX prepend PREFIX to installed program names
1359 --program-suffix=SUFFIX append SUFFIX to installed program names
1360 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363 --build=BUILD configure for building on BUILD [guessed]
1364 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive ) echo "Configuration of libsockstream 0.1:";;
1375 --disable-option-checking ignore unrecognized --enable/--with options
1376 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378 --disable-dependency-tracking speeds up one-time build
1379 --enable-dependency-tracking do not reject slow dependency extractors
1380 --enable-shared[=PKGS] build shared libraries [default=yes]
1381 --enable-static[=PKGS] build static libraries [default=yes]
1382 --enable-fast-install[=PKGS]
1383 optimize for fast installation [default=yes]
1384 --disable-libtool-lock avoid locking (might break parallel builds)
1387 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1388 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1389 --with-pic try to use only PIC/non-PIC objects [default=use
1391 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1392 --with-sysroot=DIR Search for dependent libraries within DIR
1393 (or the compiler's sysroot if not specified).
1395 Some influential environment variables:
1396 CXX C++ compiler command
1397 CXXFLAGS C++ compiler flags
1398 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1399 nonstandard directory <lib dir>
1400 LIBS libraries to pass to the linker, e.g. -l<library>
1401 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1402 you have headers in a nonstandard directory <include dir>
1403 CC C compiler command
1404 CFLAGS C compiler flags
1406 CXXCPP C++ preprocessor
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1411 Report bugs to <arjen@andromeda.nl>.
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1441 .) # We are building in place.
1443 ac_top_srcdir=$ac_top_builddir_sub
1444 ac_abs_top_srcdir=$ac_pwd ;;
1445 [\\/]* | ?:[\\/]* ) # Absolute name.
1446 ac_srcdir=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir=$srcdir
1448 ac_abs_top_srcdir=$srcdir ;;
1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1474 libsockstream configure 0.1
1475 generated by GNU Autoconf 2.68
1477 Copyright (C) 2010 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1488 # ac_fn_cxx_try_compile LINENO
1489 # ----------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_cxx_try_compile ()
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext
1495 if { { ac_try="$ac_compile"
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_cxx_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1524 } # ac_fn_cxx_try_compile
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext
1533 if { { ac_try="$ac_compile"
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status $ac_retval
1562 } # ac_fn_c_try_compile
1564 # ac_fn_c_try_link LINENO
1565 # -----------------------
1566 # Try to link conftest.$ac_ext, and return whether this succeeded.
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 rm -f conftest.$ac_objext conftest$ac_exeext
1571 if { { ac_try="$ac_link"
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_link") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest$ac_exeext && {
1590 test "$cross_compiling" = yes ||
1591 $as_test_x conftest$ac_exeext
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602 # interfere with the next link command; also delete a directory that is
1603 # left behind by Apple's compiler. We do this before executing the actions.
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status $ac_retval
1608 } # ac_fn_c_try_link
1610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1611 # -------------------------------------------------------
1612 # Tests whether HEADER exists and can be compiled using the include files in
1613 # INCLUDES, setting the cache variable VAR accordingly.
1614 ac_fn_c_check_header_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if eval \${$3+:} false; then :
1620 $as_echo_n "(cached) " >&6
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1627 if ac_fn_c_try_compile "$LINENO"; then :
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 } # ac_fn_c_check_header_compile
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_cpp conftest.$ac_ext"
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } > conftest.i && {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval
1678 # ac_fn_c_try_run LINENO
1679 # ----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1681 # that executables *can* be run.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { { ac_try="$ac_link"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>&5
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1696 { { case "(($ac_try" in
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_try") 2>&5
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; }; }; then :
1708 $as_echo "$as_me: program exited with status $ac_status" >&5
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1712 ac_retval=$ac_status
1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1720 # ac_fn_c_check_func LINENO FUNC VAR
1721 # ----------------------------------
1722 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1723 ac_fn_c_check_func ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1735 #define $2 innocuous_$2
1737 /* System header to define __stub macros and hopefully few prototypes,
1738 which can conflict with char $2 (); below.
1739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1740 <limits.h> exists even on freestanding compilers. */
1743 # include <limits.h>
1745 # include <assert.h>
1750 /* Override any GCC internal prototype to avoid an error.
1751 Use char because int might match the return type of a GCC
1752 builtin and then its argument prototype would still apply. */
1757 /* The GNU C library defines this for functions which it implements
1758 to always fail with ENOSYS. Some functions are actually named
1759 something starting with __ and the normal name is an alias. */
1760 #if defined __stub_$2 || defined __stub___$2
1772 if ac_fn_c_try_link "$LINENO"; then :
1777 rm -f core conftest.err conftest.$ac_objext \
1778 conftest$ac_exeext conftest.$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 } # ac_fn_c_check_func
1787 # ac_fn_cxx_try_cpp LINENO
1788 # ------------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_cxx_try_cpp ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } > conftest.i && {
1809 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1810 test ! -s conftest.err
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status $ac_retval
1822 } # ac_fn_cxx_try_cpp
1824 # ac_fn_cxx_try_link LINENO
1825 # -------------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_cxx_try_link ()
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_cxx_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 $as_test_x conftest$ac_exeext
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_cxx_try_link
1870 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1871 # ---------------------------------------------------------
1872 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1873 # the include files in INCLUDES and setting the cache variable VAR
1875 ac_fn_cxx_check_header_mongrel ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if eval \${$3+:} false; then :
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1888 # Is the header compilable?
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1890 $as_echo_n "checking $2 usability... " >&6; }
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1896 if ac_fn_cxx_try_compile "$LINENO"; then :
1897 ac_header_compiler=yes
1899 ac_header_compiler=no
1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1903 $as_echo "$ac_header_compiler" >&6; }
1905 # Is the header present?
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1907 $as_echo_n "checking $2 presence... " >&6; }
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1912 if ac_fn_cxx_try_cpp "$LINENO"; then :
1913 ac_header_preproc=yes
1915 ac_header_preproc=no
1917 rm -f conftest.err conftest.i conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1919 $as_echo "$ac_header_preproc" >&6; }
1921 # So? What about this header?
1922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1925 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1927 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1931 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1933 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1935 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1937 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1939 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1940 ( $as_echo "## --------------------------------- ##
1941 ## Report this to arjen@andromeda.nl ##
1942 ## --------------------------------- ##"
1943 ) | sed "s/^/$as_me: WARNING: /" >&2
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \${$3+:} false; then :
1949 $as_echo_n "(cached) " >&6
1951 eval "$3=\$ac_header_compiler"
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 } # ac_fn_cxx_check_header_mongrel
1961 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1962 # ---------------------------------------------
1963 # Tests whether TYPE exists after having included INCLUDES, setting cache
1964 # variable VAR accordingly.
1965 ac_fn_cxx_check_type ()
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971 $as_echo_n "(cached) " >&6
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h. */
1986 if ac_fn_cxx_try_compile "$LINENO"; then :
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1999 if ac_fn_cxx_try_compile "$LINENO"; then :
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 } # ac_fn_cxx_check_type
2015 # ac_fn_cxx_check_func LINENO FUNC VAR
2016 # ------------------------------------
2017 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2018 ac_fn_cxx_check_func ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \${$3+:} false; then :
2024 $as_echo_n "(cached) " >&6
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2028 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2030 #define $2 innocuous_$2
2032 /* System header to define __stub macros and hopefully few prototypes,
2033 which can conflict with char $2 (); below.
2034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2035 <limits.h> exists even on freestanding compilers. */
2038 # include <limits.h>
2040 # include <assert.h>
2045 /* Override any GCC internal prototype to avoid an error.
2046 Use char because int might match the return type of a GCC
2047 builtin and then its argument prototype would still apply. */
2052 /* The GNU C library defines this for functions which it implements
2053 to always fail with ENOSYS. Some functions are actually named
2054 something starting with __ and the normal name is an alias. */
2055 #if defined __stub_$2 || defined __stub___$2
2067 if ac_fn_cxx_try_link "$LINENO"; then :
2072 rm -f core conftest.err conftest.$ac_objext \
2073 conftest$ac_exeext conftest.$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_cxx_check_func
2081 cat >config.log <<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2085 It was created by libsockstream $as_me 0.1, which was
2086 generated by GNU Autoconf 2.68. Invocation command line was
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 $as_echo "PATH: $as_dir"
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2146 ac_must_keep_next=false
2152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2157 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2160 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2162 as_fn_append ac_configure_args1 " '$ac_arg'"
2163 if test $ac_must_keep_next = true; then
2164 ac_must_keep_next=false # Got value, back to normal.
2167 *=* | --config-cache | -C | -disable-* | --disable-* \
2168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170 | -with-* | --with-* | -without-* | --without-* | --x)
2171 case "$ac_configure_args0 " in
2172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2175 -* ) ac_must_keep_next=true ;;
2178 as_fn_append ac_configure_args " '$ac_arg'"
2183 { ac_configure_args0=; unset ac_configure_args0;}
2184 { ac_configure_args1=; unset ac_configure_args1;}
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log. We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192 # Save into config.log some information that might help in debugging.
2196 $as_echo "## ---------------- ##
2197 ## Cache variables. ##
2198 ## ---------------- ##"
2200 # The following way of writing the cache mishandles newlines in values,
2202 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203 eval ac_val=\$$ac_var
2207 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2211 _ | IFS | as_nl) ;; #(
2212 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2213 *) { eval $ac_var=; unset $ac_var;} ;;
2218 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2219 *${as_nl}ac_space=\ *)
2221 "s/'\''/'\''\\\\'\'''\''/g;
2222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2232 $as_echo "## ----------------- ##
2233 ## Output variables. ##
2234 ## ----------------- ##"
2236 for ac_var in $ac_subst_vars
2238 eval ac_val=\$$ac_var
2240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242 $as_echo "$ac_var='\''$ac_val'\''"
2246 if test -n "$ac_subst_files"; then
2247 $as_echo "## ------------------- ##
2248 ## File substitutions. ##
2249 ## ------------------- ##"
2251 for ac_var in $ac_subst_files
2253 eval ac_val=\$$ac_var
2255 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2257 $as_echo "$ac_var='\''$ac_val'\''"
2262 if test -s confdefs.h; then
2263 $as_echo "## ----------- ##
2270 test "$ac_signal" != 0 &&
2271 $as_echo "$as_me: caught signal $ac_signal"
2272 $as_echo "$as_me: exit $exit_status"
2274 rm -f core *.core core.conftest.* &&
2275 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2278 for ac_signal in 1 2 13 15; do
2279 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2284 rm -f -r conftest* confdefs.h
2286 $as_echo "/* confdefs.h */" > confdefs.h
2288 # Predefined preprocessor variables.
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_NAME "$PACKAGE_NAME"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_STRING "$PACKAGE_STRING"
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_URL "$PACKAGE_URL"
2315 # Let the site file select an alternate cache file if it wants to.
2316 # Prefer an explicitly selected file to automatically selected ones.
2319 if test -n "$CONFIG_SITE"; then
2320 # We do not want a PATH search for config.site.
2321 case $CONFIG_SITE in #((
2322 -*) ac_site_file1=./$CONFIG_SITE;;
2323 */*) ac_site_file1=$CONFIG_SITE;;
2324 *) ac_site_file1=./$CONFIG_SITE;;
2326 elif test "x$prefix" != xNONE; then
2327 ac_site_file1=$prefix/share/config.site
2328 ac_site_file2=$prefix/etc/config.site
2330 ac_site_file1=$ac_default_prefix/share/config.site
2331 ac_site_file2=$ac_default_prefix/etc/config.site
2333 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2335 test "x$ac_site_file" = xNONE && continue
2336 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339 sed 's/^/| /' "$ac_site_file" >&5
2341 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 as_fn_error $? "failed to load site script $ac_site_file
2344 See \`config.log' for more details" "$LINENO" 5; }
2348 if test -r "$cache_file"; then
2349 # Some versions of bash will fail to source /dev/null (special files
2350 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2351 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2353 $as_echo "$as_me: loading cache $cache_file" >&6;}
2355 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2356 *) . "./$cache_file";;
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2361 $as_echo "$as_me: creating cache $cache_file" >&6;}
2365 # Check that the precious variables saved in the cache have kept the same
2367 ac_cache_corrupted=false
2368 for ac_var in $ac_precious_vars; do
2369 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2370 eval ac_new_set=\$ac_env_${ac_var}_set
2371 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2372 eval ac_new_val=\$ac_env_${ac_var}_value
2373 case $ac_old_set,$ac_new_set in
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2376 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2377 ac_cache_corrupted=: ;;
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2380 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2381 ac_cache_corrupted=: ;;
2384 if test "x$ac_old_val" != "x$ac_new_val"; then
2385 # differences in whitespace do not lead to failure.
2386 ac_old_val_w=`echo x $ac_old_val`
2387 ac_new_val_w=`echo x $ac_new_val`
2388 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2390 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391 ac_cache_corrupted=:
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2394 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2395 eval $ac_var=\$ac_old_val
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2398 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2400 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2403 # Pass precious variables to config.status.
2404 if test "$ac_new_set" = set; then
2406 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2407 *) ac_arg=$ac_var=$ac_new_val ;;
2409 case " $ac_configure_args " in
2410 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2411 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2415 if $ac_cache_corrupted; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2419 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2422 ## -------------------- ##
2423 ## Main body of script. ##
2424 ## -------------------- ##
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433 am__api_version='1.11'
2436 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2437 if test -f "$ac_dir/install-sh"; then
2439 ac_install_sh="$ac_aux_dir/install-sh -c"
2441 elif test -f "$ac_dir/install.sh"; then
2443 ac_install_sh="$ac_aux_dir/install.sh -c"
2445 elif test -f "$ac_dir/shtool"; then
2447 ac_install_sh="$ac_aux_dir/shtool install -c"
2451 if test -z "$ac_aux_dir"; then
2452 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2455 # These three variables are undocumented and unsupported,
2456 # and are intended to be withdrawn in a future Autoconf release.
2457 # They can cause serious problems if a builder's source tree is in a directory
2458 # whose full name contains unusual characters.
2459 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2460 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2461 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2464 # Find a good install program. We prefer a C program (faster),
2465 # so one script is as good as another. But avoid the broken or
2466 # incompatible versions:
2467 # SysV /etc/install, /usr/sbin/install
2468 # SunOS /usr/etc/install
2469 # IRIX /sbin/install
2471 # AmigaOS /C/install, which installs bootblocks on floppy discs
2472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2475 # OS/2's system install, which has a completely different semantic
2476 # ./install, which can be erroneously created by make from ./install.sh.
2477 # Reject install programs that cannot install multiple files.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2479 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2480 if test -z "$INSTALL"; then
2481 if ${ac_cv_path_install+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 # Account for people who put trailing slashes in PATH elements.
2490 case $as_dir/ in #((
2491 ./ | .// | /[cC]/* | \
2492 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2493 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2496 # OSF1 and SCO ODT 3.0 have their own names for install.
2497 # Don't use installbsd from OSF since it installs stuff as root
2499 for ac_prog in ginstall scoinst install; do
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2502 if test $ac_prog = install &&
2503 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504 # AIX install. It has an incompatible calling convention.
2506 elif test $ac_prog = install &&
2507 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2508 # program-specific install script used by HP pwplus--don't use.
2511 rm -rf conftest.one conftest.two conftest.dir
2512 echo one > conftest.one
2513 echo two > conftest.two
2515 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2516 test -s conftest.one && test -s conftest.two &&
2517 test -s conftest.dir/conftest.one &&
2518 test -s conftest.dir/conftest.two
2520 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2533 rm -rf conftest.one conftest.two conftest.dir
2536 if test "${ac_cv_path_install+set}" = set; then
2537 INSTALL=$ac_cv_path_install
2539 # As a last resort, use the slow shell script. Don't cache a
2540 # value for INSTALL within a source directory, because that will
2541 # break other packages using the cache if that directory is
2542 # removed, or if the value is a relative name.
2543 INSTALL=$ac_install_sh
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2547 $as_echo "$INSTALL" >&6; }
2549 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2550 # It thinks the first close brace ends the variable substitution.
2551 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2553 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2555 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2558 $as_echo_n "checking whether build environment is sane... " >&6; }
2561 echo timestamp > conftest.file
2562 # Reject unsafe characters in $srcdir or the absolute working directory
2563 # name. Accept space and tab only in the latter.
2567 *[\\\"\#\$\&\'\`$am_lf]*)
2568 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2571 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2572 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2575 # Do `set' in a subshell so we don't clobber the current shell's
2576 # arguments. Must try -L first in case configure is actually a
2577 # symlink; some systems play weird games with the mod time of symlinks
2578 # (eg FreeBSD returns the mod time of the symlink's containing
2581 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582 if test "$*" = "X"; then
2584 set X `ls -t "$srcdir/configure" conftest.file`
2587 if test "$*" != "X $srcdir/configure conftest.file" \
2588 && test "$*" != "X conftest.file $srcdir/configure"; then
2590 # If neither matched, then we have a broken ls. This can happen
2591 # if, for instance, CONFIG_SHELL is bash and it inherits a
2592 # broken ls alias from the environment. This has actually
2593 # happened. Such a system could not be considered "sane".
2594 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2595 alias in your environment" "$LINENO" 5
2598 test "$2" = conftest.file
2604 as_fn_error $? "newly created file is older than distributed files!
2605 Check your system clock" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2608 $as_echo "yes" >&6; }
2609 test "$program_prefix" != NONE &&
2610 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2611 # Use a double $ so make ignores it.
2612 test "$program_suffix" != NONE &&
2613 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2614 # Double any \ or $.
2615 # By default was `s,x,x', remove it if useless.
2616 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2617 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2619 # expand $ac_aux_dir to an absolute path
2620 am_aux_dir=`cd $ac_aux_dir && pwd`
2622 if test x"${MISSING+set}" != xset; then
2625 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2627 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --run true"; then
2632 am_missing_run="$MISSING --run "
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2639 if test x"${install_sh}" != xset; then
2642 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2644 install_sh="\${SHELL} $am_aux_dir/install-sh"
2648 # Installed binaries are usually stripped using `strip' when the user
2649 # run `make install-strip'. However `strip' might not be the right
2650 # tool to use in cross-compilation environments, therefore Automake
2651 # will honor the `STRIP' environment variable to overrule this program.
2652 if test "$cross_compiling" != no; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2655 set dummy ${ac_tool_prefix}strip; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_STRIP+:} false; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$STRIP"; then
2662 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 STRIP=$ac_cv_prog_STRIP
2682 if test -n "$STRIP"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$ac_cv_prog_STRIP"; then
2694 # Extract the first word of "strip", so it can be a program name with args.
2695 set dummy strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$ac_ct_STRIP"; then
2702 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_ac_ct_STRIP="strip"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2722 if test -n "$ac_ct_STRIP"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2730 if test "x$ac_ct_STRIP" = x; then
2733 case $cross_compiling:$ac_tool_warned in
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned=yes ;;
2742 STRIP="$ac_cv_prog_STRIP"
2746 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2750 if test -z "$MKDIR_P"; then
2751 if ${ac_cv_path_mkdir+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2758 test -z "$as_dir" && as_dir=.
2759 for ac_prog in mkdir gmkdir; do
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2762 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763 'mkdir (GNU coreutils) '* | \
2764 'mkdir (coreutils) '* | \
2765 'mkdir (fileutils) '4.1*)
2766 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2776 test -d ./--version && rmdir ./--version
2777 if test "${ac_cv_path_mkdir+set}" = set; then
2778 MKDIR_P="$ac_cv_path_mkdir -p"
2780 # As a last resort, use the slow shell script. Don't cache a
2781 # value for MKDIR_P within a source directory, because that will
2782 # break other packages using the cache if that directory is
2783 # removed, or if the value is a relative name.
2784 MKDIR_P="$ac_install_sh -d"
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
2792 [\\/$]* | ?:[\\/]*) ;;
2793 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2796 for ac_prog in gawk mawk nawk awk
2798 # Extract the first word of "$ac_prog", so it can be a program name with args.
2799 set dummy $ac_prog; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_AWK+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$AWK"; then
2806 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_AWK="$ac_prog"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$AWK"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2828 $as_echo "$AWK" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2835 test -n "$AWK" && break
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2839 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2841 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2842 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2843 $as_echo_n "(cached) " >&6
2845 cat >conftest.make <<\_ACEOF
2848 @echo '@@@%%%=$(MAKE)=@@@%%%'
2850 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2853 eval ac_cv_prog_make_${ac_make}_set=yes;;
2855 eval ac_cv_prog_make_${ac_make}_set=no;;
2859 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2861 $as_echo "yes" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2866 SET_MAKE="MAKE=${MAKE-make}"
2869 rm -rf .tst 2>/dev/null
2870 mkdir .tst 2>/dev/null
2871 if test -d .tst; then
2876 rmdir .tst 2>/dev/null
2878 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2879 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2880 # is not polluted with repeated "-I."
2881 am__isrc=' -I$(srcdir)'
2882 # test to see if srcdir already configured
2883 if test -f $srcdir/config.status; then
2884 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2888 # test whether we have cygpath
2889 if test -z "$CYGPATH_W"; then
2890 if (cygpath --version) >/dev/null 2>/dev/null; then
2891 CYGPATH_W='cygpath -w'
2898 # Define the identity of the package.
2899 PACKAGE='libsockstream'
2903 cat >>confdefs.h <<_ACEOF
2904 #define PACKAGE "$PACKAGE"
2908 cat >>confdefs.h <<_ACEOF
2909 #define VERSION "$VERSION"
2912 # Some tools Automake needs.
2914 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2917 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2920 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2923 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2926 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2928 # We need awk for the "check" target. The system "awk" is bad on
2930 # Always define AMTAR for backward compatibility.
2932 AMTAR=${AMTAR-"${am_missing_run}tar"}
2934 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2941 ac_cpp='$CXXCPP $CPPFLAGS'
2942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2947 ac_config_headers="$ac_config_headers config.h"
2950 # Checks for programs.
2952 ac_cpp='$CXXCPP $CPPFLAGS'
2953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2956 if test -z "$CXX"; then
2957 if test -n "$CCC"; then
2960 if test -n "$ac_tool_prefix"; then
2961 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_CXX+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 if test -n "$CXX"; then
2971 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 if test -n "$CXX"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2993 $as_echo "$CXX" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3000 test -n "$CXX" && break
3003 if test -z "$CXX"; then
3005 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3007 # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy $ac_prog; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$ac_ct_CXX"; then
3015 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_ac_ct_CXX="$ac_prog"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3035 if test -n "$ac_ct_CXX"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3037 $as_echo "$ac_ct_CXX" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3044 test -n "$ac_ct_CXX" && break
3047 if test "x$ac_ct_CXX" = x; then
3050 case $cross_compiling:$ac_tool_warned in
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3054 ac_tool_warned=yes ;;
3062 # Provide some information about the compiler.
3063 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3066 for ac_option in --version -v -V -qversion; do
3067 { { ac_try="$ac_compiler $ac_option >&5"
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3076 if test -s conftest.err; then
3078 ... rest of stderr output deleted ...
3079 10q' conftest.err >conftest.er1
3080 cat conftest.er1 >&5
3082 rm -f conftest.er1 conftest.err
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 ac_clean_files_save=$ac_clean_files
3099 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3100 # Try to create an executable without -o first, disregard a.out.
3101 # It will help us diagnose broken compilers, and finding out an intuition
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3104 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3105 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3107 # The possible output files:
3108 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3111 for ac_file in $ac_files
3114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3115 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3120 if { { ac_try="$ac_link_default"
3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127 (eval "$ac_link_default") 2>&5
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; }; then :
3131 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3132 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3133 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3134 # so that the user can short-circuit this test for compilers unknown to
3136 for ac_file in $ac_files ''
3138 test -f "$ac_file" || continue
3140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3143 # We found the default executable, but exeext='' is most
3147 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3149 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3151 # We set ac_cv_exeext here because the later test for it is not
3152 # safe: cross compilers may not add the suffix if given an `-o'
3153 # argument, so we may need to know it at that point already.
3154 # Even if this section looks crufty: it has the advantage of
3161 test "$ac_cv_exeext" = no && ac_cv_exeext=
3166 if test -z "$ac_file"; then :
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error 77 "C++ compiler cannot create executables
3175 See \`config.log' for more details" "$LINENO" 5; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3178 $as_echo "yes" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3181 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3183 $as_echo "$ac_file" >&6; }
3184 ac_exeext=$ac_cv_exeext
3186 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3187 ac_clean_files=$ac_clean_files_save
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3189 $as_echo_n "checking for suffix of executables... " >&6; }
3190 if { { ac_try="$ac_link"
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link") 2>&5
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }; then :
3201 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3202 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3203 # work properly (i.e., refer to `conftest.exe'), while it won't with
3205 for ac_file in conftest.exe conftest conftest.*; do
3206 test -f "$ac_file" || continue
3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3209 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3218 See \`config.log' for more details" "$LINENO" 5; }
3220 rm -f conftest conftest$ac_cv_exeext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3222 $as_echo "$ac_cv_exeext" >&6; }
3224 rm -f conftest.$ac_ext
3225 EXEEXT=$ac_cv_exeext
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3233 FILE *f = fopen ("conftest.out", "w");
3234 return ferror (f) || fclose (f) != 0;
3240 ac_clean_files="$ac_clean_files conftest.out"
3241 # Check that the compiler produces executables we can run. If not, either
3242 # the compiler is broken, or we cross compile.
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3244 $as_echo_n "checking whether we are cross compiling... " >&6; }
3245 if test "$cross_compiling" != yes; then
3246 { { ac_try="$ac_link"
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3252 $as_echo "$ac_try_echo"; } >&5
3253 (eval "$ac_link") 2>&5
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }
3257 if { ac_try='./conftest$ac_cv_exeext'
3258 { { case "(($ac_try" in
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_try") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; }; then
3270 if test "$cross_compiling" = maybe; then
3273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 as_fn_error $? "cannot run C++ compiled programs.
3276 If you meant to cross compile, use \`--host'.
3277 See \`config.log' for more details" "$LINENO" 5; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3282 $as_echo "$cross_compiling" >&6; }
3284 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3285 ac_clean_files=$ac_clean_files_save
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3287 $as_echo_n "checking for suffix of object files... " >&6; }
3288 if ${ac_cv_objext+:} false; then :
3289 $as_echo_n "(cached) " >&6
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 rm -f conftest.o conftest.obj
3303 if { { ac_try="$ac_compile"
3305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_compile") 2>&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313 test $ac_status = 0; }; then :
3314 for ac_file in conftest.o conftest.obj conftest.*; do
3315 test -f "$ac_file" || continue;
3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3318 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3323 $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 as_fn_error $? "cannot compute suffix of object files: cannot compile
3329 See \`config.log' for more details" "$LINENO" 5; }
3331 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3334 $as_echo "$ac_cv_objext" >&6; }
3335 OBJEXT=$ac_cv_objext
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3338 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3339 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3356 if ac_fn_cxx_try_compile "$LINENO"; then :
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3366 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3367 if test $ac_compiler_gnu = yes; then
3372 ac_test_CXXFLAGS=${CXXFLAGS+set}
3373 ac_save_CXXFLAGS=$CXXFLAGS
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3375 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3376 if ${ac_cv_prog_cxx_g+:} false; then :
3377 $as_echo_n "(cached) " >&6
3379 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3380 ac_cxx_werror_flag=yes
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3394 if ac_fn_cxx_try_compile "$LINENO"; then :
3395 ac_cv_prog_cxx_g=yes
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3409 if ac_fn_cxx_try_compile "$LINENO"; then :
3412 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 if ac_fn_cxx_try_compile "$LINENO"; then :
3426 ac_cv_prog_cxx_g=yes
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3436 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3437 if test "$ac_test_CXXFLAGS" = set; then
3438 CXXFLAGS=$ac_save_CXXFLAGS
3439 elif test $ac_cv_prog_cxx_g = yes; then
3440 if test "$GXX" = yes; then
3446 if test "$GXX" = yes; then
3453 ac_cpp='$CXXCPP $CPPFLAGS'
3454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3457 DEPDIR="${am__leading_dot}deps"
3459 ac_config_commands="$ac_config_commands depfiles"
3462 am_make=${MAKE-make}
3463 cat > confinc << 'END'
3465 @echo this is the am__doit target
3468 # If we don't find an include directive, just comment out the code.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3470 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3474 # First try GNU make style include.
3475 echo "include confinc" > confmf
3476 # Ignore all kinds of additional output from `make'.
3477 case `$am_make -s -f confmf 2> /dev/null` in #(
3478 *the\ am__doit\ target*)
3484 # Now try BSD make style include.
3485 if test "$am__include" = "#"; then
3486 echo '.include "confinc"' > confmf
3487 case `$am_make -s -f confmf 2> /dev/null` in #(
3488 *the\ am__doit\ target*)
3489 am__include=.include
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3498 $as_echo "$_am_result" >&6; }
3499 rm -f confinc confmf
3501 # Check whether --enable-dependency-tracking was given.
3502 if test "${enable_dependency_tracking+set}" = set; then :
3503 enableval=$enable_dependency_tracking;
3506 if test "x$enable_dependency_tracking" != xno; then
3507 am_depcomp="$ac_aux_dir/depcomp"
3510 if test "x$enable_dependency_tracking" != xno; then
3520 depcc="$CXX" am_compiler_list=
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3523 $as_echo_n "checking dependency style of $depcc... " >&6; }
3524 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3528 # We make a subdir and do the tests there. Otherwise we can end up
3529 # making bogus files that we don't know about and never remove. For
3530 # instance it was reported that on HP-UX the gcc test will end up
3531 # making a dummy file named `D' -- because `-MD' means `put the output
3534 # Copy depcomp to subdir because otherwise we won't find it if we're
3535 # using a relative directory.
3536 cp "$am_depcomp" conftest.dir
3538 # We will build objects and dependencies in a subdirectory because
3539 # it helps to detect inapplicable dependency modes. For instance
3540 # both Tru64's cc and ICC support -MD to output dependencies as a
3541 # side effect of compilation, but ICC will put the dependencies in
3542 # the current directory while Tru64 will put them in the object
3546 am_cv_CXX_dependencies_compiler_type=none
3547 if test "$am_compiler_list" = ""; then
3548 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3551 case " $depcc " in #(
3552 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3555 for depmode in $am_compiler_list; do
3556 # Setup a source with many dependencies, because some compilers
3557 # like to wrap large dependency lists on column 80 (with \), and
3558 # we should not choose a depcomp mode which is confused by this.
3560 # We need to recreate these files for each test, as the compiler may
3561 # overwrite some of them when testing with obscure command lines.
3562 # This happens at least with the AIX C compiler.
3564 for i in 1 2 3 4 5 6; do
3565 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3566 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3567 # Solaris 8's {/usr,}/bin/sh.
3568 touch sub/conftst$i.h
3570 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3572 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3573 # mode. It turns out that the SunPro C++ compiler does not properly
3574 # handle `-M -o', and we need to detect this. Also, some Intel
3575 # versions had trouble with output in subdirs
3576 am__obj=sub/conftest.${OBJEXT-o}
3577 am__minus_obj="-o $am__obj"
3580 # This depmode causes a compiler race in universal mode.
3581 test "$am__universal" = false || continue
3584 # after this tag, mechanisms are not by side-effect, so they'll
3585 # only be used when explicitly requested
3586 if test "x$enable_dependency_tracking" = xyes; then
3592 msvisualcpp | msvcmsys)
3593 # This compiler won't grok `-c -o', but also, the minuso test has
3594 # not run yet. These depmodes are late enough in the game, and
3595 # so weak that their functioning should not be impacted.
3596 am__obj=conftest.${OBJEXT-o}
3601 if depmode=$depmode \
3602 source=sub/conftest.c object=$am__obj \
3603 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3604 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3605 >/dev/null 2>conftest.err &&
3606 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3607 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3608 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3609 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3610 # icc doesn't choke on unknown options, it will just issue warnings
3611 # or remarks (even with -Werror). So we grep stderr for any message
3612 # that says an option was ignored or not supported.
3613 # When given -MP, icc 7.0 and 7.1 complain thusly:
3614 # icc: Command line warning: ignoring option '-M'; no argument required
3615 # The diagnosis changed in icc 8.0:
3616 # icc: Command line remark: option '-MP' not supported
3617 if (grep 'ignoring option' conftest.err ||
3618 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3619 am_cv_CXX_dependencies_compiler_type=$depmode
3628 am_cv_CXX_dependencies_compiler_type=none
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3633 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3634 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3637 test "x$enable_dependency_tracking" != xno \
3638 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3639 am__fastdepCXX_TRUE=
3640 am__fastdepCXX_FALSE='#'
3642 am__fastdepCXX_TRUE='#'
3643 am__fastdepCXX_FALSE=
3648 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652 if test -n "$ac_tool_prefix"; then
3653 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if ${ac_cv_prog_CC+:} false; then :
3658 $as_echo_n "(cached) " >&6
3660 if test -n "$CC"; then
3661 ac_cv_prog_CC="$CC" # Let the user override the test.
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3691 if test -z "$ac_cv_prog_CC"; then
3693 # Extract the first word of "gcc", so it can be a program name with args.
3694 set dummy gcc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3698 $as_echo_n "(cached) " >&6
3700 if test -n "$ac_ct_CC"; then
3701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710 ac_cv_prog_ac_ct_CC="gcc"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3721 if test -n "$ac_ct_CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3723 $as_echo "$ac_ct_CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3729 if test "x$ac_ct_CC" = x; then
3732 case $cross_compiling:$ac_tool_warned in
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3736 ac_tool_warned=yes ;;
3744 if test -z "$CC"; then
3745 if test -n "$ac_tool_prefix"; then
3746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3747 set dummy ${ac_tool_prefix}cc; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_CC+:} false; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$CC"; then
3754 ac_cv_prog_CC="$CC" # Let the user override the test.
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763 ac_cv_prog_CC="${ac_tool_prefix}cc"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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; }
3785 if test -z "$CC"; then
3786 # Extract the first word of "cc", so it can be a program name with args.
3787 set dummy cc; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_CC+:} false; then :
3791 $as_echo_n "(cached) " >&6
3793 if test -n "$CC"; then
3794 ac_cv_prog_CC="$CC" # Let the user override the test.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3805 ac_prog_rejected=yes
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 if test $ac_prog_rejected = yes; then
3817 # We found a bogon in the path, so make sure we never use it.
3818 set dummy $ac_cv_prog_CC
3820 if test $# != 0; then
3821 # We chose a different compiler from the bogus one.
3822 # However, it has the same basename, so the bogon will be chosen
3823 # first if we set CC to just the basename; use the full file name.
3825 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3841 if test -z "$CC"; then
3842 if test -n "$ac_tool_prefix"; then
3843 for ac_prog in cl.exe
3845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3846 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_CC+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -n "$CC"; then
3853 ac_cv_prog_CC="$CC" # Let the user override the test.
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3862 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 if test -n "$CC"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3875 $as_echo "$CC" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3882 test -n "$CC" && break
3885 if test -z "$CC"; then
3887 for ac_prog in cl.exe
3889 # Extract the first word of "$ac_prog", so it can be a program name with args.
3890 set dummy $ac_prog; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$ac_ct_CC"; then
3897 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir=.
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3906 ac_cv_prog_ac_ct_CC="$ac_prog"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3917 if test -n "$ac_ct_CC"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3919 $as_echo "$ac_ct_CC" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3926 test -n "$ac_ct_CC" && break
3929 if test "x$ac_ct_CC" = x; then
3932 case $cross_compiling:$ac_tool_warned in
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3936 ac_tool_warned=yes ;;
3945 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947 as_fn_error $? "no acceptable C compiler found in \$PATH
3948 See \`config.log' for more details" "$LINENO" 5; }
3950 # Provide some information about the compiler.
3951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3954 for ac_option in --version -v -V -qversion; do
3955 { { ac_try="$ac_compiler $ac_option >&5"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3964 if test -s conftest.err; then
3966 ... rest of stderr output deleted ...
3967 10q' conftest.err >conftest.er1
3968 cat conftest.er1 >&5
3970 rm -f conftest.er1 conftest.err
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3976 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3977 if ${ac_cv_c_compiler_gnu+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3994 if ac_fn_c_try_compile "$LINENO"; then :
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4004 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4005 if test $ac_compiler_gnu = yes; then
4010 ac_test_CFLAGS=${CFLAGS+set}
4011 ac_save_CFLAGS=$CFLAGS
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4013 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4014 if ${ac_cv_prog_cc_g+:} false; then :
4015 $as_echo_n "(cached) " >&6
4017 ac_save_c_werror_flag=$ac_c_werror_flag
4018 ac_c_werror_flag=yes
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4032 if ac_fn_c_try_compile "$LINENO"; then :
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 if ac_fn_c_try_compile "$LINENO"; then :
4050 ac_c_werror_flag=$ac_save_c_werror_flag
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4063 if ac_fn_c_try_compile "$LINENO"; then :
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071 ac_c_werror_flag=$ac_save_c_werror_flag
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4074 $as_echo "$ac_cv_prog_cc_g" >&6; }
4075 if test "$ac_test_CFLAGS" = set; then
4076 CFLAGS=$ac_save_CFLAGS
4077 elif test $ac_cv_prog_cc_g = yes; then
4078 if test "$GCC" = yes; then
4084 if test "$GCC" = yes; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4091 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4092 if ${ac_cv_prog_cc_c89+:} false; then :
4093 $as_echo_n "(cached) " >&6
4095 ac_cv_prog_cc_c89=no
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4101 #include <sys/types.h>
4102 #include <sys/stat.h>
4103 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4104 struct buf { int x; };
4105 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4106 static char *e (p, i)
4112 static char *f (char * (*g) (char **, int), char **p, ...)
4117 s = g (p, va_arg (v,int));
4122 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4123 function prototypes and stuff, but not '\xHH' hex character constants.
4124 These don't provoke an error unfortunately, instead are silently treated
4125 as 'x'. The following induces an error, until -std is added to get
4126 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4127 array size at least. It's necessary to write '\x00'==0 to get something
4128 that's true only with -std. */
4129 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4131 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4132 inside strings and character constants. */
4134 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4136 int test (int i, double x);
4137 struct s1 {int (*f) (int a);};
4138 struct s2 {int (*f) (double a);};
4139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4150 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4151 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4153 CC="$ac_save_CC $ac_arg"
4154 if ac_fn_c_try_compile "$LINENO"; then :
4155 ac_cv_prog_cc_c89=$ac_arg
4157 rm -f core conftest.err conftest.$ac_objext
4158 test "x$ac_cv_prog_cc_c89" != "xno" && break
4160 rm -f conftest.$ac_ext
4165 case "x$ac_cv_prog_cc_c89" in
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4168 $as_echo "none needed" >&6; } ;;
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4171 $as_echo "unsupported" >&6; } ;;
4173 CC="$CC $ac_cv_prog_cc_c89"
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4175 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4177 if test "x$ac_cv_prog_cc_c89" != xno; then :
4182 ac_cpp='$CXXCPP $CPPFLAGS'
4183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4187 depcc="$CC" am_compiler_list=
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4190 $as_echo_n "checking dependency style of $depcc... " >&6; }
4191 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4195 # We make a subdir and do the tests there. Otherwise we can end up
4196 # making bogus files that we don't know about and never remove. For
4197 # instance it was reported that on HP-UX the gcc test will end up
4198 # making a dummy file named `D' -- because `-MD' means `put the output
4201 # Copy depcomp to subdir because otherwise we won't find it if we're
4202 # using a relative directory.
4203 cp "$am_depcomp" conftest.dir
4205 # We will build objects and dependencies in a subdirectory because
4206 # it helps to detect inapplicable dependency modes. For instance
4207 # both Tru64's cc and ICC support -MD to output dependencies as a
4208 # side effect of compilation, but ICC will put the dependencies in
4209 # the current directory while Tru64 will put them in the object
4213 am_cv_CC_dependencies_compiler_type=none
4214 if test "$am_compiler_list" = ""; then
4215 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4218 case " $depcc " in #(
4219 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4222 for depmode in $am_compiler_list; do
4223 # Setup a source with many dependencies, because some compilers
4224 # like to wrap large dependency lists on column 80 (with \), and
4225 # we should not choose a depcomp mode which is confused by this.
4227 # We need to recreate these files for each test, as the compiler may
4228 # overwrite some of them when testing with obscure command lines.
4229 # This happens at least with the AIX C compiler.
4231 for i in 1 2 3 4 5 6; do
4232 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4233 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4234 # Solaris 8's {/usr,}/bin/sh.
4235 touch sub/conftst$i.h
4237 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4239 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4240 # mode. It turns out that the SunPro C++ compiler does not properly
4241 # handle `-M -o', and we need to detect this. Also, some Intel
4242 # versions had trouble with output in subdirs
4243 am__obj=sub/conftest.${OBJEXT-o}
4244 am__minus_obj="-o $am__obj"
4247 # This depmode causes a compiler race in universal mode.
4248 test "$am__universal" = false || continue
4251 # after this tag, mechanisms are not by side-effect, so they'll
4252 # only be used when explicitly requested
4253 if test "x$enable_dependency_tracking" = xyes; then
4259 msvisualcpp | msvcmsys)
4260 # This compiler won't grok `-c -o', but also, the minuso test has
4261 # not run yet. These depmodes are late enough in the game, and
4262 # so weak that their functioning should not be impacted.
4263 am__obj=conftest.${OBJEXT-o}
4268 if depmode=$depmode \
4269 source=sub/conftest.c object=$am__obj \
4270 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4271 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4272 >/dev/null 2>conftest.err &&
4273 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4274 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4275 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4276 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4277 # icc doesn't choke on unknown options, it will just issue warnings
4278 # or remarks (even with -Werror). So we grep stderr for any message
4279 # that says an option was ignored or not supported.
4280 # When given -MP, icc 7.0 and 7.1 complain thusly:
4281 # icc: Command line warning: ignoring option '-M'; no argument required
4282 # The diagnosis changed in icc 8.0:
4283 # icc: Command line remark: option '-MP' not supported
4284 if (grep 'ignoring option' conftest.err ||
4285 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4286 am_cv_CC_dependencies_compiler_type=$depmode
4295 am_cv_CC_dependencies_compiler_type=none
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4300 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4301 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4304 test "x$enable_dependency_tracking" != xno \
4305 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4307 am__fastdepCC_FALSE='#'
4309 am__fastdepCC_TRUE='#'
4310 am__fastdepCC_FALSE=
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4317 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4323 macro_revision='1.3293'
4337 ltmain="$ac_aux_dir/ltmain.sh"
4339 # Make sure we can run config.sub.
4340 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4341 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4344 $as_echo_n "checking build system type... " >&6; }
4345 if ${ac_cv_build+:} false; then :
4346 $as_echo_n "(cached) " >&6
4348 ac_build_alias=$build_alias
4349 test "x$ac_build_alias" = x &&
4350 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4351 test "x$ac_build_alias" = x &&
4352 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4353 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4354 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4358 $as_echo "$ac_cv_build" >&6; }
4359 case $ac_cv_build in
4361 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4364 ac_save_IFS=$IFS; IFS='-'
4370 # Remember, the first character of IFS is used to create $*,
4371 # except with old shells:
4374 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4378 $as_echo_n "checking host system type... " >&6; }
4379 if ${ac_cv_host+:} false; then :
4380 $as_echo_n "(cached) " >&6
4382 if test "x$host_alias" = x; then
4383 ac_cv_host=$ac_cv_build
4385 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4386 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4391 $as_echo "$ac_cv_host" >&6; }
4394 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4397 ac_save_IFS=$IFS; IFS='-'
4403 # Remember, the first character of IFS is used to create $*,
4404 # except with old shells:
4407 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4410 # Backslashify metacharacters that are still active within
4411 # double-quoted strings.
4412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4414 # Same as above, but do not quote variable references.
4415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4417 # Sed substitution to delay expansion of an escaped shell variable in a
4418 # double_quote_subst'ed string.
4419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4421 # Sed substitution to delay expansion of an escaped single quote.
4422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4424 # Sed substitution to avoid accidental globbing in evaled expressions
4425 no_glob_subst='s/\*/\\\*/g'
4427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4432 $as_echo_n "checking how to print strings... " >&6; }
4433 # Test print first, because it will be a builtin if present.
4434 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4435 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4440 # Use this function as a fallback that always works.
4441 func_fallback_echo ()
4443 eval 'cat <<_LTECHO_EOF
4447 ECHO='func_fallback_echo'
4450 # func_echo_all arg...
4451 # Invoke $ECHO with all args, space-separated.
4458 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4459 $as_echo "printf" >&6; } ;;
4460 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4461 $as_echo "print -r" >&6; } ;;
4462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4463 $as_echo "cat" >&6; } ;;
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4481 if ${ac_cv_path_SED+:} false; then :
4482 $as_echo_n "(cached) " >&6
4484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4485 for ac_i in 1 2 3 4 5 6 7; do
4486 ac_script="$ac_script$as_nl$ac_script"
4488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4489 { ac_script=; unset ac_script;}
4490 if test -z "$SED"; then
4491 ac_path_SED_found=false
4492 # Loop through the user's path and test for each of PROGNAME-LIST
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir=.
4498 for ac_prog in sed gsed; do
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4502 # Check for GNU ac_path_SED and select it if it is found.
4503 # Check for GNU $ac_path_SED
4504 case `"$ac_path_SED" --version 2>&1` in
4506 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4509 $as_echo_n 0123456789 >"conftest.in"
4512 cat "conftest.in" "conftest.in" >"conftest.tmp"
4513 mv "conftest.tmp" "conftest.in"
4514 cp "conftest.in" "conftest.nl"
4515 $as_echo '' >> "conftest.nl"
4516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4518 as_fn_arith $ac_count + 1 && ac_count=$as_val
4519 if test $ac_count -gt ${ac_path_SED_max-0}; then
4520 # Best one so far, save it but keep looking for a better one
4521 ac_cv_path_SED="$ac_path_SED"
4522 ac_path_SED_max=$ac_count
4524 # 10*(2^10) chars as input seems more than enough
4525 test $ac_count -gt 10 && break
4527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4530 $ac_path_SED_found && break 3
4535 if test -z "$ac_cv_path_SED"; then
4536 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4544 $as_echo "$ac_cv_path_SED" >&6; }
4545 SED="$ac_cv_path_SED"
4548 test -z "$SED" && SED=sed
4549 Xsed="$SED -e 1s/^X//"
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4563 if ${ac_cv_path_GREP+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -z "$GREP"; then
4567 ac_path_GREP_found=false
4568 # Loop through the user's path and test for each of PROGNAME-LIST
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4573 test -z "$as_dir" && as_dir=.
4574 for ac_prog in grep ggrep; do
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4577 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4578 # Check for GNU ac_path_GREP and select it if it is found.
4579 # Check for GNU $ac_path_GREP
4580 case `"$ac_path_GREP" --version 2>&1` in
4582 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4585 $as_echo_n 0123456789 >"conftest.in"
4588 cat "conftest.in" "conftest.in" >"conftest.tmp"
4589 mv "conftest.tmp" "conftest.in"
4590 cp "conftest.in" "conftest.nl"
4591 $as_echo 'GREP' >> "conftest.nl"
4592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4594 as_fn_arith $ac_count + 1 && ac_count=$as_val
4595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4596 # Best one so far, save it but keep looking for a better one
4597 ac_cv_path_GREP="$ac_path_GREP"
4598 ac_path_GREP_max=$ac_count
4600 # 10*(2^10) chars as input seems more than enough
4601 test $ac_count -gt 10 && break
4603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4606 $ac_path_GREP_found && break 3
4611 if test -z "$ac_cv_path_GREP"; then
4612 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4615 ac_cv_path_GREP=$GREP
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4620 $as_echo "$ac_cv_path_GREP" >&6; }
4621 GREP="$ac_cv_path_GREP"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4625 $as_echo_n "checking for egrep... " >&6; }
4626 if ${ac_cv_path_EGREP+:} false; then :
4627 $as_echo_n "(cached) " >&6
4629 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4630 then ac_cv_path_EGREP="$GREP -E"
4632 if test -z "$EGREP"; then
4633 ac_path_EGREP_found=false
4634 # Loop through the user's path and test for each of PROGNAME-LIST
4635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4639 test -z "$as_dir" && as_dir=.
4640 for ac_prog in egrep; do
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4643 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4644 # Check for GNU ac_path_EGREP and select it if it is found.
4645 # Check for GNU $ac_path_EGREP
4646 case `"$ac_path_EGREP" --version 2>&1` in
4648 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4651 $as_echo_n 0123456789 >"conftest.in"
4654 cat "conftest.in" "conftest.in" >"conftest.tmp"
4655 mv "conftest.tmp" "conftest.in"
4656 cp "conftest.in" "conftest.nl"
4657 $as_echo 'EGREP' >> "conftest.nl"
4658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4659 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4660 as_fn_arith $ac_count + 1 && ac_count=$as_val
4661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4662 # Best one so far, save it but keep looking for a better one
4663 ac_cv_path_EGREP="$ac_path_EGREP"
4664 ac_path_EGREP_max=$ac_count
4666 # 10*(2^10) chars as input seems more than enough
4667 test $ac_count -gt 10 && break
4669 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4672 $ac_path_EGREP_found && break 3
4677 if test -z "$ac_cv_path_EGREP"; then
4678 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4681 ac_cv_path_EGREP=$EGREP
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4687 $as_echo "$ac_cv_path_EGREP" >&6; }
4688 EGREP="$ac_cv_path_EGREP"
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4692 $as_echo_n "checking for fgrep... " >&6; }
4693 if ${ac_cv_path_FGREP+:} false; then :
4694 $as_echo_n "(cached) " >&6
4696 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4697 then ac_cv_path_FGREP="$GREP -F"
4699 if test -z "$FGREP"; then
4700 ac_path_FGREP_found=false
4701 # Loop through the user's path and test for each of PROGNAME-LIST
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4706 test -z "$as_dir" && as_dir=.
4707 for ac_prog in fgrep; do
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4710 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4711 # Check for GNU ac_path_FGREP and select it if it is found.
4712 # Check for GNU $ac_path_FGREP
4713 case `"$ac_path_FGREP" --version 2>&1` in
4715 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4718 $as_echo_n 0123456789 >"conftest.in"
4721 cat "conftest.in" "conftest.in" >"conftest.tmp"
4722 mv "conftest.tmp" "conftest.in"
4723 cp "conftest.in" "conftest.nl"
4724 $as_echo 'FGREP' >> "conftest.nl"
4725 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4727 as_fn_arith $ac_count + 1 && ac_count=$as_val
4728 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4729 # Best one so far, save it but keep looking for a better one
4730 ac_cv_path_FGREP="$ac_path_FGREP"
4731 ac_path_FGREP_max=$ac_count
4733 # 10*(2^10) chars as input seems more than enough
4734 test $ac_count -gt 10 && break
4736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4739 $ac_path_FGREP_found && break 3
4744 if test -z "$ac_cv_path_FGREP"; then
4745 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4748 ac_cv_path_FGREP=$FGREP
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4754 $as_echo "$ac_cv_path_FGREP" >&6; }
4755 FGREP="$ac_cv_path_FGREP"
4758 test -z "$GREP" && GREP=grep
4778 # Check whether --with-gnu-ld was given.
4779 if test "${with_gnu_ld+set}" = set; then :
4780 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4786 if test "$GCC" = yes; then
4787 # Check if gcc -print-prog-name=ld gives a path.
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4789 $as_echo_n "checking for ld used by $CC... " >&6; }
4792 # gcc leaves a trailing carriage return which upsets mingw
4793 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4795 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4798 # Accept absolute paths.
4800 re_direlt='/[^/][^/]*/\.\./'
4801 # Canonicalize the pathname of ld
4802 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4803 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4804 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4806 test -z "$LD" && LD="$ac_prog"
4809 # If it fails, then pretend we aren't using GCC.
4813 # If it is relative, then search for the first ld in PATH.
4817 elif test "$with_gnu_ld" = yes; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4819 $as_echo_n "checking for GNU ld... " >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4822 $as_echo_n "checking for non-GNU ld... " >&6; }
4824 if ${lt_cv_path_LD+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -z "$LD"; then
4828 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4829 for ac_dir in $PATH; do
4831 test -z "$ac_dir" && ac_dir=.
4832 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4833 lt_cv_path_LD="$ac_dir/$ac_prog"
4834 # Check to see if the program is GNU ld. I'd rather use --version,
4835 # but apparently some variants of GNU ld only accept -v.
4836 # Break only if it was the GNU/non-GNU ld that we prefer.
4837 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4838 *GNU* | *'with BFD'*)
4839 test "$with_gnu_ld" != no && break
4842 test "$with_gnu_ld" != yes && break
4849 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4854 if test -n "$LD"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4856 $as_echo "$LD" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4861 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4863 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4864 if ${lt_cv_prog_gnu_ld+:} false; then :
4865 $as_echo_n "(cached) " >&6
4867 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4868 case `$LD -v 2>&1 </dev/null` in
4869 *GNU* | *'with BFD'*)
4870 lt_cv_prog_gnu_ld=yes
4873 lt_cv_prog_gnu_ld=no
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4878 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4879 with_gnu_ld=$lt_cv_prog_gnu_ld
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4890 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4891 if ${lt_cv_path_NM+:} false; then :
4892 $as_echo_n "(cached) " >&6
4894 if test -n "$NM"; then
4895 # Let the user override the test.
4898 lt_nm_to_check="${ac_tool_prefix}nm"
4899 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4900 lt_nm_to_check="$lt_nm_to_check nm"
4902 for lt_tmp_nm in $lt_nm_to_check; do
4903 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4904 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4906 test -z "$ac_dir" && ac_dir=.
4907 tmp_nm="$ac_dir/$lt_tmp_nm"
4908 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4909 # Check to see if the nm accepts a BSD-compat flag.
4910 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4911 # nm: unknown option "B" ignored
4912 # Tru64's nm complains that /dev/null is an invalid object file
4913 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4914 */dev/null* | *'Invalid file or object type'*)
4915 lt_cv_path_NM="$tmp_nm -B"
4919 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4921 lt_cv_path_NM="$tmp_nm -p"
4925 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4926 continue # so that we can try to find one that supports BSD flags
4935 : ${lt_cv_path_NM=no}
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4939 $as_echo "$lt_cv_path_NM" >&6; }
4940 if test "$lt_cv_path_NM" != "no"; then
4943 # Didn't find any BSD compatible name lister, look for dumpbin.
4944 if test -n "$DUMPBIN"; then :
4945 # Let the user override the test.
4947 if test -n "$ac_tool_prefix"; then
4948 for ac_prog in dumpbin "link -dump"
4950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_DUMPBIN+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$DUMPBIN"; then
4958 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 DUMPBIN=$ac_cv_prog_DUMPBIN
4978 if test -n "$DUMPBIN"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4980 $as_echo "$DUMPBIN" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4987 test -n "$DUMPBIN" && break
4990 if test -z "$DUMPBIN"; then
4991 ac_ct_DUMPBIN=$DUMPBIN
4992 for ac_prog in dumpbin "link -dump"
4994 # Extract the first word of "$ac_prog", so it can be a program name with args.
4995 set dummy $ac_prog; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4999 $as_echo_n "(cached) " >&6
5001 if test -n "$ac_ct_DUMPBIN"; then
5002 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5022 if test -n "$ac_ct_DUMPBIN"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5024 $as_echo "$ac_ct_DUMPBIN" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5031 test -n "$ac_ct_DUMPBIN" && break
5034 if test "x$ac_ct_DUMPBIN" = x; then
5037 case $cross_compiling:$ac_tool_warned in
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041 ac_tool_warned=yes ;;
5043 DUMPBIN=$ac_ct_DUMPBIN
5047 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5049 DUMPBIN="$DUMPBIN -symbols"
5057 if test "$DUMPBIN" != ":"; then
5061 test -z "$NM" && NM=nm
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5069 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5070 if ${lt_cv_nm_interface+:} false; then :
5071 $as_echo_n "(cached) " >&6
5073 lt_cv_nm_interface="BSD nm"
5074 echo "int some_variable = 0;" > conftest.$ac_ext
5075 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5076 (eval "$ac_compile" 2>conftest.err)
5077 cat conftest.err >&5
5078 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5079 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5080 cat conftest.err >&5
5081 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5082 cat conftest.out >&5
5083 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5084 lt_cv_nm_interface="MS dumpbin"
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5089 $as_echo "$lt_cv_nm_interface" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5092 $as_echo_n "checking whether ln -s works... " >&6; }
5094 if test "$LN_S" = "ln -s"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5096 $as_echo "yes" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5099 $as_echo "no, using $LN_S" >&6; }
5102 # find the maximum length of command line arguments
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5104 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5105 if ${lt_cv_sys_max_cmd_len+:} false; then :
5106 $as_echo_n "(cached) " >&6
5113 # On DJGPP, this test can blow up pretty badly due to problems in libc
5114 # (any single argument exceeding 2000 bytes causes a buffer overrun
5115 # during glob expansion). Even if it were fixed, the result of this
5116 # check would be larger than it should be.
5117 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5121 # Under GNU Hurd, this test is not required because there is
5122 # no limit to the length of command line arguments.
5123 # Libtool will interpret -1 as no limit whatsoever
5124 lt_cv_sys_max_cmd_len=-1;
5127 cygwin* | mingw* | cegcc*)
5128 # On Win9x/ME, this test blows up -- it succeeds, but takes
5129 # about 5 minutes as the teststring grows exponentially.
5130 # Worse, since 9x/ME are not pre-emptively multitasking,
5131 # you end up with a "frozen" computer, even though with patience
5132 # the test eventually succeeds (with a max line length of 256k).
5133 # Instead, let's just punt: use the minimum linelength reported by
5134 # all of the supported platforms: 8192 (on NT/2K/XP).
5135 lt_cv_sys_max_cmd_len=8192;
5139 # On MiNT this can take a long time and run out of memory.
5140 lt_cv_sys_max_cmd_len=8192;
5144 # On AmigaOS with pdksh, this test takes hours, literally.
5145 # So we just punt and use a minimum line length of 8192.
5146 lt_cv_sys_max_cmd_len=8192;
5149 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5150 # This has been around since 386BSD, at least. Likely further.
5151 if test -x /sbin/sysctl; then
5152 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5153 elif test -x /usr/sbin/sysctl; then
5154 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5156 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5158 # And add a safety zone
5159 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5160 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5164 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5165 lt_cv_sys_max_cmd_len=196608
5169 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5170 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5171 # nice to cause kernel panics so lets avoid the loop below.
5172 # First set a reasonable default.
5173 lt_cv_sys_max_cmd_len=16384
5175 if test -x /sbin/sysconfig; then
5176 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5177 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5182 lt_cv_sys_max_cmd_len=102400
5184 sysv5* | sco5v6* | sysv4.2uw2*)
5185 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5186 if test -n "$kargmax"; then
5187 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5189 lt_cv_sys_max_cmd_len=32768
5193 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5194 if test -n "$lt_cv_sys_max_cmd_len"; then
5195 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5196 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5198 # Make teststring a little bigger before we do anything with it.
5199 # a 1K string should be a reasonable start.
5200 for i in 1 2 3 4 5 6 7 8 ; do
5201 teststring=$teststring$teststring
5203 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5204 # If test is not a shell built-in, we'll probably end up computing a
5205 # maximum length that is only half of the actual maximum length, but
5207 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5208 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5209 test $i != 17 # 1/2 MB should be enough
5212 teststring=$teststring$teststring
5214 # Only check the string length outside the loop.
5215 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5217 # Add a significant safety factor because C++ compilers can tack on
5218 # massive amounts of additional arguments before passing them to the
5219 # linker. It appears as though 1/2 is a usable value.
5220 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5227 if test -n $lt_cv_sys_max_cmd_len ; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5229 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5232 $as_echo "none" >&6; }
5234 max_cmd_len=$lt_cv_sys_max_cmd_len
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5246 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5247 # Try some XSI features
5250 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5252 && eval 'test $(( 1 + 1 )) -eq 2 \
5253 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5256 $as_echo "$xsi_shell" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5260 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5262 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5264 && lt_shell_append=yes
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5266 $as_echo "$lt_shell_append" >&6; }
5269 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5279 # test EBCDIC or ASCII
5280 case `echo X|tr X '\101'` in
5281 A) # ASCII based system
5282 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5283 lt_SP2NL='tr \040 \012'
5284 lt_NL2SP='tr \015\012 \040\040'
5286 *) # EBCDIC based system
5287 lt_SP2NL='tr \100 \n'
5288 lt_NL2SP='tr \r\n \100\100'
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5301 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5302 if ${lt_cv_to_host_file_cmd+:} false; then :
5303 $as_echo_n "(cached) " >&6
5308 *-*-mingw* ) # actually msys
5309 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5312 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5314 * ) # otherwise, assume *nix
5315 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5321 *-*-mingw* ) # actually msys
5322 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5325 lt_cv_to_host_file_cmd=func_convert_file_noop
5327 * ) # otherwise, assume *nix
5328 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5332 * ) # unhandled hosts (and "normal" native builds)
5333 lt_cv_to_host_file_cmd=func_convert_file_noop
5339 to_host_file_cmd=$lt_cv_to_host_file_cmd
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5341 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5348 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5349 if ${lt_cv_to_tool_file_cmd+:} false; then :
5350 $as_echo_n "(cached) " >&6
5352 #assume ordinary cross tools, or native build.
5353 lt_cv_to_tool_file_cmd=func_convert_file_noop
5357 *-*-mingw* ) # actually msys
5358 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5366 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5368 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5375 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5376 if ${lt_cv_ld_reload_flag+:} false; then :
5377 $as_echo_n "(cached) " >&6
5379 lt_cv_ld_reload_flag='-r'
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5382 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5383 reload_flag=$lt_cv_ld_reload_flag
5384 case $reload_flag in
5386 *) reload_flag=" $reload_flag" ;;
5388 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5390 cygwin* | mingw* | pw32* | cegcc*)
5391 if test "$GCC" != yes; then
5396 if test "$GCC" = yes; then
5397 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5399 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_OBJDUMP+:} false; then :
5418 $as_echo_n "(cached) " >&6
5420 if test -n "$OBJDUMP"; then
5421 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 OBJDUMP=$ac_cv_prog_OBJDUMP
5441 if test -n "$OBJDUMP"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5443 $as_echo "$OBJDUMP" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5451 if test -z "$ac_cv_prog_OBJDUMP"; then
5452 ac_ct_OBJDUMP=$OBJDUMP
5453 # Extract the first word of "objdump", so it can be a program name with args.
5454 set dummy objdump; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5458 $as_echo_n "(cached) " >&6
5460 if test -n "$ac_ct_OBJDUMP"; then
5461 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5481 if test -n "$ac_ct_OBJDUMP"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5483 $as_echo "$ac_ct_OBJDUMP" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5489 if test "x$ac_ct_OBJDUMP" = x; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5496 ac_tool_warned=yes ;;
5498 OBJDUMP=$ac_ct_OBJDUMP
5501 OBJDUMP="$ac_cv_prog_OBJDUMP"
5504 test -z "$OBJDUMP" && OBJDUMP=objdump
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5515 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5516 if ${lt_cv_deplibs_check_method+:} false; then :
5517 $as_echo_n "(cached) " >&6
5519 lt_cv_file_magic_cmd='$MAGIC_CMD'
5520 lt_cv_file_magic_test_file=
5521 lt_cv_deplibs_check_method='unknown'
5522 # Need to set the preceding variable on all platforms that support
5523 # interlibrary dependencies.
5524 # 'none' -- dependencies not supported.
5525 # `unknown' -- same as none, but documents that we really don't know.
5526 # 'pass_all' -- all dependencies passed with no checks.
5527 # 'test_compile' -- check by making test program.
5528 # 'file_magic [[regex]]' -- check by looking for files in library path
5529 # which responds to the $file_magic_cmd with a given extended regex.
5530 # If you have `file' or equivalent on your system and you're not sure
5531 # whether `pass_all' will *always* work, you probably want this one.
5535 lt_cv_deplibs_check_method=pass_all
5539 lt_cv_deplibs_check_method=pass_all
5543 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5544 lt_cv_file_magic_cmd='/usr/bin/file -L'
5545 lt_cv_file_magic_test_file=/shlib/libc.so
5549 # func_win32_libid is a shell function defined in ltmain.sh
5550 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5551 lt_cv_file_magic_cmd='func_win32_libid'
5555 # Base MSYS/MinGW do not provide the 'file' command needed by
5556 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5557 # unless we find 'file', for example because we are cross-compiling.
5558 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5559 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5560 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5561 lt_cv_file_magic_cmd='func_win32_libid'
5563 # Keep this pattern in sync with the one in func_win32_libid.
5564 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5565 lt_cv_file_magic_cmd='$OBJDUMP -f'
5570 # use the weaker test based on 'objdump'. See mingw*.
5571 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5572 lt_cv_file_magic_cmd='$OBJDUMP -f'
5575 darwin* | rhapsody*)
5576 lt_cv_deplibs_check_method=pass_all
5579 freebsd* | dragonfly*)
5580 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5583 # Not sure whether the presence of OpenBSD here was a mistake.
5584 # Let's accept both of them until this is cleared up.
5585 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5586 lt_cv_file_magic_cmd=/usr/bin/file
5587 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5591 lt_cv_deplibs_check_method=pass_all
5596 lt_cv_deplibs_check_method=pass_all
5600 lt_cv_deplibs_check_method=pass_all
5603 hpux10.20* | hpux11*)
5604 lt_cv_file_magic_cmd=/usr/bin/file
5607 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5608 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5611 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]'
5612 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5615 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5616 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5622 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5626 irix5* | irix6* | nonstopux*)
5628 *-32|*"-32 ") libmagic=32-bit;;
5629 *-n32|*"-n32 ") libmagic=N32;;
5630 *-64|*"-64 ") libmagic=64-bit;;
5631 *) libmagic=never-match;;
5633 lt_cv_deplibs_check_method=pass_all
5636 # This must be Linux ELF.
5637 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5638 lt_cv_deplibs_check_method=pass_all
5641 netbsd* | netbsdelf*-gnu)
5642 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5650 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5651 lt_cv_file_magic_cmd=/usr/bin/file
5652 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5656 lt_cv_deplibs_check_method=pass_all
5660 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5667 osf3* | osf4* | osf5*)
5668 lt_cv_deplibs_check_method=pass_all
5672 lt_cv_deplibs_check_method=pass_all
5676 lt_cv_deplibs_check_method=pass_all
5679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5680 lt_cv_deplibs_check_method=pass_all
5684 case $host_vendor in
5686 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]'
5687 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5690 lt_cv_deplibs_check_method=pass_all
5693 lt_cv_file_magic_cmd='/bin/file'
5694 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5697 lt_cv_file_magic_cmd='/bin/file'
5698 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5699 lt_cv_file_magic_test_file=/lib/libc.so
5702 lt_cv_deplibs_check_method=pass_all
5705 lt_cv_deplibs_check_method=pass_all
5711 lt_cv_deplibs_check_method=pass_all
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5717 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5721 if test "$build" = "$host"; then
5724 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5727 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5733 file_magic_cmd=$lt_cv_file_magic_cmd
5734 deplibs_check_method=$lt_cv_deplibs_check_method
5735 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_DLLTOOL+:} false; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$DLLTOOL"; then
5767 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 DLLTOOL=$ac_cv_prog_DLLTOOL
5787 if test -n "$DLLTOOL"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5789 $as_echo "$DLLTOOL" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5797 if test -z "$ac_cv_prog_DLLTOOL"; then
5798 ac_ct_DLLTOOL=$DLLTOOL
5799 # Extract the first word of "dlltool", so it can be a program name with args.
5800 set dummy dlltool; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5804 $as_echo_n "(cached) " >&6
5806 if test -n "$ac_ct_DLLTOOL"; then
5807 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5827 if test -n "$ac_ct_DLLTOOL"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5829 $as_echo "$ac_ct_DLLTOOL" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5835 if test "x$ac_ct_DLLTOOL" = x; then
5838 case $cross_compiling:$ac_tool_warned in
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5844 DLLTOOL=$ac_ct_DLLTOOL
5847 DLLTOOL="$ac_cv_prog_DLLTOOL"
5850 test -z "$DLLTOOL" && DLLTOOL=dlltool
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5862 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5863 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5864 $as_echo_n "(cached) " >&6
5866 lt_cv_sharedlib_from_linklib_cmd='unknown'
5869 cygwin* | mingw* | pw32* | cegcc*)
5870 # two different shell functions defined in ltmain.sh
5871 # decide which to use based on capabilities of $DLLTOOL
5872 case `$DLLTOOL --help 2>&1` in
5873 *--identify-strict*)
5874 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5877 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5882 # fallback: assume linklib IS sharedlib
5883 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5889 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5890 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5891 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5900 if test -n "$ac_tool_prefix"; then
5903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_AR+:} false; then :
5908 $as_echo_n "(cached) " >&6
5910 if test -n "$AR"; then
5911 ac_cv_prog_AR="$AR" # Let the user override the test.
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5920 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 if test -n "$AR"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5933 $as_echo "$AR" >&6; }
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5940 test -n "$AR" && break
5943 if test -z "$AR"; then
5947 # Extract the first word of "$ac_prog", so it can be a program name with args.
5948 set dummy $ac_prog; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5952 $as_echo_n "(cached) " >&6
5954 if test -n "$ac_ct_AR"; then
5955 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir=.
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964 ac_cv_prog_ac_ct_AR="$ac_prog"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5975 if test -n "$ac_ct_AR"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5977 $as_echo "$ac_ct_AR" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5984 test -n "$ac_ct_AR" && break
5987 if test "x$ac_ct_AR" = x; then
5990 case $cross_compiling:$ac_tool_warned in
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5994 ac_tool_warned=yes ;;
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6014 $as_echo_n "checking for archiver @FILE support... " >&6; }
6015 if ${lt_cv_ar_at_file+:} false; then :
6016 $as_echo_n "(cached) " >&6
6019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6020 /* end confdefs.h. */
6030 if ac_fn_cxx_try_compile "$LINENO"; then :
6031 echo conftest.$ac_objext > conftest.lst
6032 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6033 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6034 (eval $lt_ar_try) 2>&5
6036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6037 test $ac_status = 0; }
6038 if test "$ac_status" -eq 0; then
6039 # Ensure the archiver fails upon bogus file names.
6040 rm -f conftest.$ac_objext libconftest.a
6041 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6042 (eval $lt_ar_try) 2>&5
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6045 test $ac_status = 0; }
6046 if test "$ac_status" -ne 0; then
6050 rm -f conftest.* libconftest.a
6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6057 $as_echo "$lt_cv_ar_at_file" >&6; }
6059 if test "x$lt_cv_ar_at_file" = xno; then
6062 archiver_list_spec=$lt_cv_ar_at_file
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}strip; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_STRIP+:} false; then :
6077 $as_echo_n "(cached) " >&6
6079 if test -n "$STRIP"; then
6080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 STRIP=$ac_cv_prog_STRIP
6100 if test -n "$STRIP"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6102 $as_echo "$STRIP" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 if test -z "$ac_cv_prog_STRIP"; then
6112 # Extract the first word of "strip", so it can be a program name with args.
6113 set dummy strip; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6117 $as_echo_n "(cached) " >&6
6119 if test -n "$ac_ct_STRIP"; then
6120 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_ac_ct_STRIP="strip"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6140 if test -n "$ac_ct_STRIP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6142 $as_echo "$ac_ct_STRIP" >&6; }
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6148 if test "x$ac_ct_STRIP" = x; then
6151 case $cross_compiling:$ac_tool_warned in
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6160 STRIP="$ac_cv_prog_STRIP"
6163 test -z "$STRIP" && STRIP=:
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_RANLIB+:} false; then :
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$RANLIB"; then
6179 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 RANLIB=$ac_cv_prog_RANLIB
6199 if test -n "$RANLIB"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6201 $as_echo "$RANLIB" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6209 if test -z "$ac_cv_prog_RANLIB"; then
6210 ac_ct_RANLIB=$RANLIB
6211 # Extract the first word of "ranlib", so it can be a program name with args.
6212 set dummy ranlib; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6216 $as_echo_n "(cached) " >&6
6218 if test -n "$ac_ct_RANLIB"; then
6219 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228 ac_cv_prog_ac_ct_RANLIB="ranlib"
6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6239 if test -n "$ac_ct_RANLIB"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6241 $as_echo "$ac_ct_RANLIB" >&6; }
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6247 if test "x$ac_ct_RANLIB" = x; then
6250 case $cross_compiling:$ac_tool_warned in
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6254 ac_tool_warned=yes ;;
6256 RANLIB=$ac_ct_RANLIB
6259 RANLIB="$ac_cv_prog_RANLIB"
6262 test -z "$RANLIB" && RANLIB=:
6269 # Determine commands to create old-style static archives.
6270 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6271 old_postinstall_cmds='chmod 644 $oldlib'
6272 old_postuninstall_cmds=
6274 if test -n "$RANLIB"; then
6277 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6280 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6283 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6288 lock_old_archive_extraction=yes ;;
6290 lock_old_archive_extraction=no ;;
6331 # If no C compiler was specified, use CC.
6334 # If no C compiler flags were specified, use CFLAGS.
6335 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6337 # Allow CC to be a program name with arguments.
6341 # Check for command to grab the raw symbol name followed by C symbol from nm.
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6343 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6344 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6345 $as_echo_n "(cached) " >&6
6348 # These are sane defaults that work on at least a few old systems.
6349 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6351 # Character class describing NM global symbol codes.
6352 symcode='[BCDEGRST]'
6354 # Regexp to match symbols that can be accessed directly from C.
6355 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6357 # Define system-specific variables.
6362 cygwin* | mingw* | pw32* | cegcc*)
6363 symcode='[ABCDGISTW]'
6366 if test "$host_cpu" = ia64; then
6367 symcode='[ABCDEGRST]'
6371 symcode='[BCDEGRST]'
6374 symcode='[BCDEGQRST]'
6385 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6393 # If we're using GNU nm, then use its standard symbol codes.
6394 case `$NM -V 2>&1` in
6395 *GNU* | *'with BFD'*)
6396 symcode='[ABCDGIRSTW]' ;;
6399 # Transform an extracted symbol line into a proper C declaration.
6400 # Some systems (esp. on ia64) link data and code symbols differently,
6401 # so use this general approach.
6402 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6404 # Transform an extracted symbol line into symbol name and symbol address
6405 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6406 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'"
6408 # Handle CRLF in mingw tool chain
6412 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6416 # Try without a prefix underscore, then with it.
6417 for ac_symprfx in "" "_"; do
6419 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6420 symxfrm="\\1 $ac_symprfx\\2 \\2"
6422 # Write the raw and C identifiers.
6423 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6424 # Fake it for dumpbin and say T for any non-static function
6425 # and D for any global variable.
6426 # Also find C++ and __fastcall symbols from MSVC++,
6427 # which start with @ or ?.
6428 lt_cv_sys_global_symbol_pipe="$AWK '"\
6429 " {last_section=section; section=\$ 3};"\
6430 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6431 " \$ 0!~/External *\|/{next};"\
6432 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6433 " {if(hide[section]) next};"\
6434 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6435 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6436 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6437 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6438 " ' prfx=^$ac_symprfx"
6440 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6442 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6444 # Check to see that the pipe works correctly.
6448 cat > conftest.$ac_ext <<_LT_EOF
6453 void nm_test_func(void);
6454 void nm_test_func(void){}
6458 int main(){nm_test_var='a';nm_test_func();return(0);}
6461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6462 (eval $ac_compile) 2>&5
6464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465 test $ac_status = 0; }; then
6466 # Now try to grab the symbols.
6468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6469 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6472 test $ac_status = 0; } && test -s "$nlist"; then
6473 # Try sorting and uniquifying the output.
6474 if sort "$nlist" | uniq > "$nlist"T; then
6475 mv -f "$nlist"T "$nlist"
6480 # Make sure that we snagged all the symbols we need.
6481 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6482 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6483 cat <<_LT_EOF > conftest.$ac_ext
6484 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6485 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6486 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6487 relocations are performed -- see ld's documentation on pseudo-relocs. */
6488 # define LT_DLSYM_CONST
6489 #elif defined(__osf__)
6490 /* This system does not cope well with relocations in const data. */
6491 # define LT_DLSYM_CONST
6493 # define LT_DLSYM_CONST const
6501 # Now generate the symbol file.
6502 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6504 cat <<_LT_EOF >> conftest.$ac_ext
6506 /* The mapping between symbol names and symbols. */
6507 LT_DLSYM_CONST struct {
6511 lt__PROGRAM__LTX_preloaded_symbols[] =
6513 { "@PROGRAM@", (void *) 0 },
6515 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6516 cat <<\_LT_EOF >> conftest.$ac_ext
6520 /* This works around a problem in FreeBSD linker */
6521 #ifdef FREEBSD_WORKAROUND
6522 static const void *lt_preloaded_setup() {
6523 return lt__PROGRAM__LTX_preloaded_symbols;
6531 # Now try linking the two files.
6532 mv conftest.$ac_objext conftstm.$ac_objext
6533 lt_globsym_save_LIBS=$LIBS
6534 lt_globsym_save_CFLAGS=$CFLAGS
6535 LIBS="conftstm.$ac_objext"
6536 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6538 (eval $ac_link) 2>&5
6540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6541 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6544 LIBS=$lt_globsym_save_LIBS
6545 CFLAGS=$lt_globsym_save_CFLAGS
6547 echo "cannot find nm_test_func in $nlist" >&5
6550 echo "cannot find nm_test_var in $nlist" >&5
6553 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6556 echo "$progname: failed program was:" >&5
6557 cat conftest.$ac_ext >&5
6559 rm -rf conftest* conftst*
6561 # Do not use the global_symbol_pipe unless it works.
6562 if test "$pipe_works" = yes; then
6565 lt_cv_sys_global_symbol_pipe=
6571 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6572 lt_cv_sys_global_symbol_to_cdecl=
6574 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6576 $as_echo "failed" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6579 $as_echo "ok" >&6; }
6582 # Response file support.
6583 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6584 nm_file_list_spec='@'
6585 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6586 nm_file_list_spec='@'
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6616 $as_echo_n "checking for sysroot... " >&6; }
6618 # Check whether --with-sysroot was given.
6619 if test "${with_sysroot+set}" = set; then :
6620 withval=$with_sysroot;
6627 case ${with_sysroot} in #(
6629 if test "$GCC" = yes; then
6630 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6634 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6640 $as_echo "${with_sysroot}" >&6; }
6641 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6646 $as_echo "${lt_sysroot:-no}" >&6; }
6653 # Check whether --enable-libtool-lock was given.
6654 if test "${enable_libtool_lock+set}" = set; then :
6655 enableval=$enable_libtool_lock;
6658 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6660 # Some flags need to be propagated to the compiler or linker for good
6664 # Find out which ABI we are using.
6665 echo 'int i;' > conftest.$ac_ext
6666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6667 (eval $ac_compile) 2>&5
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670 test $ac_status = 0; }; then
6671 case `/usr/bin/file conftest.$ac_objext` in
6683 # Find out which ABI we are using.
6684 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6686 (eval $ac_compile) 2>&5
6688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6689 test $ac_status = 0; }; then
6690 if test "$lt_cv_prog_gnu_ld" = yes; then
6691 case `/usr/bin/file conftest.$ac_objext` in
6693 LD="${LD-ld} -melf32bsmip"
6696 LD="${LD-ld} -melf32bmipn32"
6699 LD="${LD-ld} -melf64bmip"
6703 case `/usr/bin/file conftest.$ac_objext` in
6719 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6720 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6721 # Find out which ABI we are using.
6722 echo 'int i;' > conftest.$ac_ext
6723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6724 (eval $ac_compile) 2>&5
6726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6727 test $ac_status = 0; }; then
6728 case `/usr/bin/file conftest.o` in
6731 x86_64-*kfreebsd*-gnu)
6732 LD="${LD-ld} -m elf_i386_fbsd"
6735 LD="${LD-ld} -m elf_i386"
6737 ppc64-*linux*|powerpc64-*linux*)
6738 LD="${LD-ld} -m elf32ppclinux"
6741 LD="${LD-ld} -m elf_s390"
6744 LD="${LD-ld} -m elf32_sparc"
6750 x86_64-*kfreebsd*-gnu)
6751 LD="${LD-ld} -m elf_x86_64_fbsd"
6754 LD="${LD-ld} -m elf_x86_64"
6756 ppc*-*linux*|powerpc*-*linux*)
6757 LD="${LD-ld} -m elf64ppc"
6759 s390*-*linux*|s390*-*tpf*)
6760 LD="${LD-ld} -m elf64_s390"
6763 LD="${LD-ld} -m elf64_sparc"
6773 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6774 SAVE_CFLAGS="$CFLAGS"
6775 CFLAGS="$CFLAGS -belf"
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6777 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6778 if ${lt_cv_cc_needs_belf+:} false; then :
6779 $as_echo_n "(cached) " >&6
6782 ac_cpp='$CPP $CPPFLAGS'
6783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6798 if ac_fn_c_try_link "$LINENO"; then :
6799 lt_cv_cc_needs_belf=yes
6801 lt_cv_cc_needs_belf=no
6803 rm -f core conftest.err conftest.$ac_objext \
6804 conftest$ac_exeext conftest.$ac_ext
6806 ac_cpp='$CPP $CPPFLAGS'
6807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6813 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6814 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6815 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6816 CFLAGS="$SAVE_CFLAGS"
6820 # Find out which ABI we are using.
6821 echo 'int i;' > conftest.$ac_ext
6822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823 (eval $ac_compile) 2>&5
6825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826 test $ac_status = 0; }; then
6827 case `/usr/bin/file conftest.o` in
6829 case $lt_cv_prog_gnu_ld in
6830 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6832 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6844 need_locks="$enable_libtool_lock"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}mt; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$MANIFEST_TOOL"; then
6855 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6875 if test -n "$MANIFEST_TOOL"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6877 $as_echo "$MANIFEST_TOOL" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6885 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6886 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6887 # Extract the first word of "mt", so it can be a program name with args.
6888 set dummy mt; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$ac_ct_MANIFEST_TOOL"; then
6895 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6915 if test -n "$ac_ct_MANIFEST_TOOL"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6917 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6923 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6932 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6935 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6938 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6940 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6941 if ${lt_cv_path_mainfest_tool+:} false; then :
6942 $as_echo_n "(cached) " >&6
6944 lt_cv_path_mainfest_tool=no
6945 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6946 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6947 cat conftest.err >&5
6948 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6949 lt_cv_path_mainfest_tool=yes
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6954 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6955 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6965 rhapsody* | darwin*)
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$DSYMUTIL"; then
6975 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6995 if test -n "$DSYMUTIL"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6997 $as_echo "$DSYMUTIL" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7005 if test -z "$ac_cv_prog_DSYMUTIL"; then
7006 ac_ct_DSYMUTIL=$DSYMUTIL
7007 # Extract the first word of "dsymutil", so it can be a program name with args.
7008 set dummy dsymutil; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$ac_ct_DSYMUTIL"; then
7015 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7035 if test -n "$ac_ct_DSYMUTIL"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7037 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7043 if test "x$ac_ct_DSYMUTIL" = x; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned=yes ;;
7052 DSYMUTIL=$ac_ct_DSYMUTIL
7055 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_NMEDIT+:} false; then :
7064 $as_echo_n "(cached) " >&6
7066 if test -n "$NMEDIT"; then
7067 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 NMEDIT=$ac_cv_prog_NMEDIT
7087 if test -n "$NMEDIT"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7089 $as_echo "$NMEDIT" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_NMEDIT"; then
7098 ac_ct_NMEDIT=$NMEDIT
7099 # Extract the first word of "nmedit", so it can be a program name with args.
7100 set dummy nmedit; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$ac_ct_NMEDIT"; then
7107 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7127 if test -n "$ac_ct_NMEDIT"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7129 $as_echo "$ac_ct_NMEDIT" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_NMEDIT" = x; then
7138 case $cross_compiling:$ac_tool_warned in
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7144 NMEDIT=$ac_ct_NMEDIT
7147 NMEDIT="$ac_cv_prog_NMEDIT"
7150 if test -n "$ac_tool_prefix"; then
7151 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7152 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_LIPO+:} false; then :
7156 $as_echo_n "(cached) " >&6
7158 if test -n "$LIPO"; then
7159 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 test -z "$as_dir" && as_dir=.
7166 for ac_exec_ext in '' $ac_executable_extensions; do
7167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7168 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 LIPO=$ac_cv_prog_LIPO
7179 if test -n "$LIPO"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7181 $as_echo "$LIPO" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7189 if test -z "$ac_cv_prog_LIPO"; then
7191 # Extract the first word of "lipo", so it can be a program name with args.
7192 set dummy lipo; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7196 $as_echo_n "(cached) " >&6
7198 if test -n "$ac_ct_LIPO"; then
7199 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208 ac_cv_prog_ac_ct_LIPO="lipo"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7219 if test -n "$ac_ct_LIPO"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7221 $as_echo "$ac_ct_LIPO" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7227 if test "x$ac_ct_LIPO" = x; then
7230 case $cross_compiling:$ac_tool_warned in
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7234 ac_tool_warned=yes ;;
7239 LIPO="$ac_cv_prog_LIPO"
7242 if test -n "$ac_tool_prefix"; then
7243 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7244 set dummy ${ac_tool_prefix}otool; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_prog_OTOOL+:} false; then :
7248 $as_echo_n "(cached) " >&6
7250 if test -n "$OTOOL"; then
7251 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7270 OTOOL=$ac_cv_prog_OTOOL
7271 if test -n "$OTOOL"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7273 $as_echo "$OTOOL" >&6; }
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7281 if test -z "$ac_cv_prog_OTOOL"; then
7283 # Extract the first word of "otool", so it can be a program name with args.
7284 set dummy otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7288 $as_echo_n "(cached) " >&6
7290 if test -n "$ac_ct_OTOOL"; then
7291 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300 ac_cv_prog_ac_ct_OTOOL="otool"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7311 if test -n "$ac_ct_OTOOL"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7313 $as_echo "$ac_ct_OTOOL" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7319 if test "x$ac_ct_OTOOL" = x; then
7322 case $cross_compiling:$ac_tool_warned in
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned=yes ;;
7331 OTOOL="$ac_cv_prog_OTOOL"
7334 if test -n "$ac_tool_prefix"; then
7335 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_OTOOL64+:} false; then :
7340 $as_echo_n "(cached) " >&6
7342 if test -n "$OTOOL64"; then
7343 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 OTOOL64=$ac_cv_prog_OTOOL64
7363 if test -n "$OTOOL64"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7365 $as_echo "$OTOOL64" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7373 if test -z "$ac_cv_prog_OTOOL64"; then
7374 ac_ct_OTOOL64=$OTOOL64
7375 # Extract the first word of "otool64", so it can be a program name with args.
7376 set dummy otool64; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7380 $as_echo_n "(cached) " >&6
7382 if test -n "$ac_ct_OTOOL64"; then
7383 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392 ac_cv_prog_ac_ct_OTOOL64="otool64"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7403 if test -n "$ac_ct_OTOOL64"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7405 $as_echo "$ac_ct_OTOOL64" >&6; }
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7411 if test "x$ac_ct_OTOOL64" = x; then
7414 case $cross_compiling:$ac_tool_warned in
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7420 OTOOL64=$ac_ct_OTOOL64
7423 OTOOL64="$ac_cv_prog_OTOOL64"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7453 $as_echo_n "checking for -single_module linker flag... " >&6; }
7454 if ${lt_cv_apple_cc_single_mod+:} false; then :
7455 $as_echo_n "(cached) " >&6
7457 lt_cv_apple_cc_single_mod=no
7458 if test -z "${LT_MULTI_MODULE}"; then
7459 # By default we will add the -single_module flag. You can override
7460 # by either setting the environment variable LT_MULTI_MODULE
7461 # non-empty at configure time, or by adding -multi_module to the
7463 rm -rf libconftest.dylib*
7464 echo "int foo(void){return 1;}" > conftest.c
7465 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7466 -dynamiclib -Wl,-single_module conftest.c" >&5
7467 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7468 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7470 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7471 lt_cv_apple_cc_single_mod=yes
7473 cat conftest.err >&5
7475 rm -rf libconftest.dylib*
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7480 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7482 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7483 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7484 $as_echo_n "(cached) " >&6
7486 lt_cv_ld_exported_symbols_list=no
7487 save_LDFLAGS=$LDFLAGS
7488 echo "_main" > conftest.sym
7489 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491 /* end confdefs.h. */
7501 if ac_fn_c_try_link "$LINENO"; then :
7502 lt_cv_ld_exported_symbols_list=yes
7504 lt_cv_ld_exported_symbols_list=no
7506 rm -f core conftest.err conftest.$ac_objext \
7507 conftest$ac_exeext conftest.$ac_ext
7508 LDFLAGS="$save_LDFLAGS"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7512 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7514 $as_echo_n "checking for -force_load linker flag... " >&6; }
7515 if ${lt_cv_ld_force_load+:} false; then :
7516 $as_echo_n "(cached) " >&6
7518 lt_cv_ld_force_load=no
7519 cat > conftest.c << _LT_EOF
7520 int forced_loaded() { return 2;}
7522 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7523 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7524 echo "$AR cru libconftest.a conftest.o" >&5
7525 $AR cru libconftest.a conftest.o 2>&5
7526 echo "$RANLIB libconftest.a" >&5
7527 $RANLIB libconftest.a 2>&5
7528 cat > conftest.c << _LT_EOF
7529 int main() { return 0;}
7531 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7532 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7534 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7535 lt_cv_ld_force_load=yes
7537 cat conftest.err >&5
7539 rm -f conftest.err libconftest.a conftest conftest.c
7540 rm -rf conftest.dSYM
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7544 $as_echo "$lt_cv_ld_force_load" >&6; }
7546 rhapsody* | darwin1.[012])
7547 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7549 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7550 darwin*) # darwin 5.x on
7551 # if running on 10.5 or later, the deployment target defaults
7552 # to the OS version, if on x86, and 10.4, the deployment
7553 # target defaults to 10.4. Don't you love it?
7554 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7555 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7556 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7558 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7560 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7564 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7565 _lt_dar_single_mod='$single_module'
7567 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7568 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7570 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7572 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7573 _lt_dsymutil='~$DSYMUTIL $lib || :'
7581 ac_cpp='$CPP $CPPFLAGS'
7582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7586 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7587 # On Suns, sometimes $CPP names a directory.
7588 if test -n "$CPP" && test -d "$CPP"; then
7591 if test -z "$CPP"; then
7592 if ${ac_cv_prog_CPP+:} false; then :
7593 $as_echo_n "(cached) " >&6
7595 # Double quotes because CPP needs to be expanded
7596 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7599 for ac_c_preproc_warn_flag in '' yes
7601 # Use a header file that comes with gcc, so configuring glibc
7602 # with a fresh cross-compiler works.
7603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7604 # <limits.h> exists even on freestanding compilers.
7605 # On the NeXT, cc -E runs the code through the compiler's parser,
7606 # not just through cpp. "Syntax error" is here to catch this case.
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7610 # include <limits.h>
7612 # include <assert.h>
7616 if ac_fn_c_try_cpp "$LINENO"; then :
7619 # Broken: fails on valid input.
7622 rm -f conftest.err conftest.i conftest.$ac_ext
7624 # OK, works on sane cases. Now check whether nonexistent headers
7625 # can be detected and how.
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <ac_nonexistent.h>
7630 if ac_fn_c_try_cpp "$LINENO"; then :
7631 # Broken: success on invalid input.
7634 # Passes both tests.
7638 rm -f conftest.err conftest.i conftest.$ac_ext
7641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7642 rm -f conftest.i conftest.err conftest.$ac_ext
7643 if $ac_preproc_ok; then :
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7656 $as_echo "$CPP" >&6; }
7658 for ac_c_preproc_warn_flag in '' yes
7660 # Use a header file that comes with gcc, so configuring glibc
7661 # with a fresh cross-compiler works.
7662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7663 # <limits.h> exists even on freestanding compilers.
7664 # On the NeXT, cc -E runs the code through the compiler's parser,
7665 # not just through cpp. "Syntax error" is here to catch this case.
7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7669 # include <limits.h>
7671 # include <assert.h>
7675 if ac_fn_c_try_cpp "$LINENO"; then :
7678 # Broken: fails on valid input.
7681 rm -f conftest.err conftest.i conftest.$ac_ext
7683 # OK, works on sane cases. Now check whether nonexistent headers
7684 # can be detected and how.
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #include <ac_nonexistent.h>
7689 if ac_fn_c_try_cpp "$LINENO"; then :
7690 # Broken: success on invalid input.
7693 # Passes both tests.
7697 rm -f conftest.err conftest.i conftest.$ac_ext
7700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7701 rm -f conftest.i conftest.err conftest.$ac_ext
7702 if $ac_preproc_ok; then :
7705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7707 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7708 See \`config.log' for more details" "$LINENO" 5; }
7712 ac_cpp='$CPP $CPPFLAGS'
7713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7719 $as_echo_n "checking for ANSI C header files... " >&6; }
7720 if ${ac_cv_header_stdc+:} false; then :
7721 $as_echo_n "(cached) " >&6
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7738 if ac_fn_c_try_compile "$LINENO"; then :
7739 ac_cv_header_stdc=yes
7741 ac_cv_header_stdc=no
7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7745 if test $ac_cv_header_stdc = yes; then
7746 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7748 /* end confdefs.h. */
7752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7753 $EGREP "memchr" >/dev/null 2>&1; then :
7756 ac_cv_header_stdc=no
7762 if test $ac_cv_header_stdc = yes; then
7763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h. */
7769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7770 $EGREP "free" >/dev/null 2>&1; then :
7773 ac_cv_header_stdc=no
7779 if test $ac_cv_header_stdc = yes; then
7780 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7781 if test "$cross_compiling" = yes; then :
7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7788 #if ((' ' & 0x0FF) == 0x020)
7789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7792 # define ISLOWER(c) \
7793 (('a' <= (c) && (c) <= 'i') \
7794 || ('j' <= (c) && (c) <= 'r') \
7795 || ('s' <= (c) && (c) <= 'z'))
7796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7804 for (i = 0; i < 256; i++)
7805 if (XOR (islower (i), ISLOWER (i))
7806 || toupper (i) != TOUPPER (i))
7811 if ac_fn_c_try_run "$LINENO"; then :
7814 ac_cv_header_stdc=no
7816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7817 conftest.$ac_objext conftest.beam conftest.$ac_ext
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7823 $as_echo "$ac_cv_header_stdc" >&6; }
7824 if test $ac_cv_header_stdc = yes; then
7826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7832 inttypes.h stdint.h unistd.h
7834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7847 for ac_header in dlfcn.h
7849 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7851 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_DLFCN_H 1
7862 func_stripname_cnf ()
7865 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7866 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7868 } # func_stripname_cnf
7884 # Check whether --enable-shared was given.
7885 if test "${enable_shared+set}" = set; then :
7886 enableval=$enable_shared; p=${PACKAGE-default}
7888 yes) enable_shared=yes ;;
7889 no) enable_shared=no ;;
7892 # Look at the argument we got. We use all the common list separators.
7893 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7894 for pkg in $enableval; do
7896 if test "X$pkg" = "X$p"; then
7915 # Check whether --enable-static was given.
7916 if test "${enable_static+set}" = set; then :
7917 enableval=$enable_static; p=${PACKAGE-default}
7919 yes) enable_static=yes ;;
7920 no) enable_static=no ;;
7923 # Look at the argument we got. We use all the common list separators.
7924 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7925 for pkg in $enableval; do
7927 if test "X$pkg" = "X$p"; then
7947 # Check whether --with-pic was given.
7948 if test "${with_pic+set}" = set; then :
7949 withval=$with_pic; pic_mode="$withval"
7955 test -z "$pic_mode" && pic_mode=default
7963 # Check whether --enable-fast-install was given.
7964 if test "${enable_fast_install+set}" = set; then :
7965 enableval=$enable_fast_install; p=${PACKAGE-default}
7967 yes) enable_fast_install=yes ;;
7968 no) enable_fast_install=no ;;
7970 enable_fast_install=no
7971 # Look at the argument we got. We use all the common list separators.
7972 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7973 for pkg in $enableval; do
7975 if test "X$pkg" = "X$p"; then
7976 enable_fast_install=yes
7983 enable_fast_install=yes
7996 # This can be used to rebuild libtool when needed
7997 LIBTOOL_DEPS="$ltmain"
7999 # Always use our own libtool.
8000 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8027 test -z "$LN_S" && LN_S="ln -s"
8042 if test -n "${ZSH_VERSION+set}" ; then
8043 setopt NO_GLOB_SUBST
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8047 $as_echo_n "checking for objdir... " >&6; }
8048 if ${lt_cv_objdir+:} false; then :
8049 $as_echo_n "(cached) " >&6
8051 rm -f .libs 2>/dev/null
8052 mkdir .libs 2>/dev/null
8053 if test -d .libs; then
8056 # MS-DOS does not allow filenames that begin with a dot.
8059 rmdir .libs 2>/dev/null
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8062 $as_echo "$lt_cv_objdir" >&6; }
8063 objdir=$lt_cv_objdir
8069 cat >>confdefs.h <<_ACEOF
8070 #define LT_OBJDIR "$lt_cv_objdir/"
8078 # AIX sometimes has problems with the GCC collect2 program. For some
8079 # reason, if we set the COLLECT_NAMES environment variable, the problems
8080 # vanish in a puff of smoke.
8081 if test "X${COLLECT_NAMES+set}" != Xset; then
8083 export COLLECT_NAMES
8090 can_build_shared=yes
8092 # All known linkers require a `.a' archive for static linking (except MSVC,
8093 # which needs '.lib').
8096 with_gnu_ld="$lt_cv_prog_gnu_ld"
8099 old_CFLAGS="$CFLAGS"
8101 # Set sane defaults for various variables
8102 test -z "$CC" && CC=cc
8103 test -z "$LTCC" && LTCC=$CC
8104 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8105 test -z "$LD" && LD=ld
8106 test -z "$ac_objext" && ac_objext=o
8108 for cc_temp in $compiler""; do
8110 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8111 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8116 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8119 # Only perform the check for file, if the check method requires it
8120 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8121 case $deplibs_check_method in
8123 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8125 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8126 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8127 $as_echo_n "(cached) " >&6
8131 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8134 lt_save_MAGIC_CMD="$MAGIC_CMD"
8135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8136 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8137 for ac_dir in $ac_dummy; do
8139 test -z "$ac_dir" && ac_dir=.
8140 if test -f $ac_dir/${ac_tool_prefix}file; then
8141 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8142 if test -n "$file_magic_test_file"; then
8143 case $deplibs_check_method in
8145 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8147 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8148 $EGREP "$file_magic_regex" > /dev/null; then
8153 *** Warning: the command libtool uses to detect shared libraries,
8154 *** $file_magic_cmd, produces output that libtool cannot recognize.
8155 *** The result is that libtool may fail to recognize shared libraries
8156 *** as such. This will affect the creation of libtool libraries that
8157 *** depend on shared libraries, but programs linked with such libtool
8158 *** libraries will work regardless of this problem. Nevertheless, you
8159 *** may want to report the problem to your system manager and/or to
8160 *** bug-libtool@gnu.org
8170 MAGIC_CMD="$lt_save_MAGIC_CMD"
8175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8176 if test -n "$MAGIC_CMD"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8178 $as_echo "$MAGIC_CMD" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8188 if test -z "$lt_cv_path_MAGIC_CMD"; then
8189 if test -n "$ac_tool_prefix"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8191 $as_echo_n "checking for file... " >&6; }
8192 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8193 $as_echo_n "(cached) " >&6
8197 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8200 lt_save_MAGIC_CMD="$MAGIC_CMD"
8201 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8202 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8203 for ac_dir in $ac_dummy; do
8205 test -z "$ac_dir" && ac_dir=.
8206 if test -f $ac_dir/file; then
8207 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8208 if test -n "$file_magic_test_file"; then
8209 case $deplibs_check_method in
8211 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8213 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8214 $EGREP "$file_magic_regex" > /dev/null; then
8219 *** Warning: the command libtool uses to detect shared libraries,
8220 *** $file_magic_cmd, produces output that libtool cannot recognize.
8221 *** The result is that libtool may fail to recognize shared libraries
8222 *** as such. This will affect the creation of libtool libraries that
8223 *** depend on shared libraries, but programs linked with such libtool
8224 *** libraries will work regardless of this problem. Nevertheless, you
8225 *** may want to report the problem to your system manager and/or to
8226 *** bug-libtool@gnu.org
8236 MAGIC_CMD="$lt_save_MAGIC_CMD"
8241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8242 if test -n "$MAGIC_CMD"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8244 $as_echo "$MAGIC_CMD" >&6; }
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 $as_echo "no" >&6; }
8260 # Use C for the default configuration in the libtool script
8264 ac_cpp='$CPP $CPPFLAGS'
8265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8270 # Source file extension for C test sources.
8273 # Object file extension for compiled C test sources.
8277 # Code to be used in simple compile tests
8278 lt_simple_compile_test_code="int some_variable = 0;"
8280 # Code to be used in simple link tests
8281 lt_simple_link_test_code='int main(){return(0);}'
8289 # If no C compiler was specified, use CC.
8292 # If no C compiler flags were specified, use CFLAGS.
8293 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8295 # Allow CC to be a program name with arguments.
8298 # Save the default compiler, since it gets overwritten when the other
8299 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8300 compiler_DEFAULT=$CC
8302 # save warnings/boilerplate of simple test code
8303 ac_outfile=conftest.$ac_objext
8304 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8305 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8306 _lt_compiler_boilerplate=`cat conftest.err`
8309 ac_outfile=conftest.$ac_objext
8310 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8311 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8312 _lt_linker_boilerplate=`cat conftest.err`
8316 if test -n "$compiler"; then
8318 lt_prog_compiler_no_builtin_flag=
8320 if test "$GCC" = yes; then
8321 case $cc_basename in
8323 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8325 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8329 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8330 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8331 $as_echo_n "(cached) " >&6
8333 lt_cv_prog_compiler_rtti_exceptions=no
8334 ac_outfile=conftest.$ac_objext
8335 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8336 lt_compiler_flag="-fno-rtti -fno-exceptions"
8337 # Insert the option either (1) after the last *FLAGS variable, or
8338 # (2) before a word containing "conftest.", or (3) at the end.
8339 # Note that $ac_compile itself does not contain backslashes and begins
8340 # with a dollar sign (not a hyphen), so the echo should work correctly.
8341 # The option is referenced via a variable to avoid confusing sed.
8342 lt_compile=`echo "$ac_compile" | $SED \
8343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345 -e 's:$: $lt_compiler_flag:'`
8346 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8347 (eval "$lt_compile" 2>conftest.err)
8349 cat conftest.err >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 if (exit $ac_status) && test -s "$ac_outfile"; then
8352 # The compiler can only warn and ignore the option if not recognized
8353 # So say no if there are warnings other than the usual output.
8354 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8356 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8357 lt_cv_prog_compiler_rtti_exceptions=yes
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8364 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8367 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8379 lt_prog_compiler_wl=
8380 lt_prog_compiler_pic=
8381 lt_prog_compiler_static=
8384 if test "$GCC" = yes; then
8385 lt_prog_compiler_wl='-Wl,'
8386 lt_prog_compiler_static='-static'
8390 # All AIX code is PIC.
8391 if test "$host_cpu" = ia64; then
8392 # AIX 5 now supports IA64 processor
8393 lt_prog_compiler_static='-Bstatic'
8400 # see comment about AmigaOS4 .so support
8401 lt_prog_compiler_pic='-fPIC'
8404 # FIXME: we need at least 68020 code to build shared libraries, but
8405 # adding the `-m68020' flag to GCC prevents building anything better,
8407 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8412 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8413 # PIC is the default for these OSes.
8416 mingw* | cygwin* | pw32* | os2* | cegcc*)
8417 # This hack is so that the source file can tell whether it is being
8418 # built for inclusion in a dll (and should export symbols for example).
8419 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8420 # (--disable-auto-import) libraries
8421 lt_prog_compiler_pic='-DDLL_EXPORT'
8424 darwin* | rhapsody*)
8425 # PIC is the default on this platform
8426 # Common symbols not allowed in MH_DYLIB files
8427 lt_prog_compiler_pic='-fno-common'
8431 # PIC is the default for Haiku.
8432 # The "-static" flag exists, but is broken.
8433 lt_prog_compiler_static=
8437 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8438 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8439 # sets the default TLS model and affects inlining.
8445 lt_prog_compiler_pic='-fPIC'
8451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8452 # Instead, we relocate shared libraries at runtime.
8456 # Just because we use GCC doesn't mean we suddenly get shared libraries
8457 # on systems that don't support them.
8458 lt_prog_compiler_can_build_shared=no
8463 # QNX uses GNU C++, but need to define -shared option too, otherwise
8465 lt_prog_compiler_pic='-fPIC -shared'
8469 if test -d /usr/nec; then
8470 lt_prog_compiler_pic=-Kconform_pic
8475 lt_prog_compiler_pic='-fPIC'
8479 case $cc_basename in
8480 nvcc*) # Cuda Compiler Driver 2.2
8481 lt_prog_compiler_wl='-Xlinker '
8482 lt_prog_compiler_pic='-Xcompiler -fPIC'
8486 # PORTME Check for flag to pass linker flags through the system compiler.
8489 lt_prog_compiler_wl='-Wl,'
8490 if test "$host_cpu" = ia64; then
8491 # AIX 5 now supports IA64 processor
8492 lt_prog_compiler_static='-Bstatic'
8494 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8498 mingw* | cygwin* | pw32* | os2* | cegcc*)
8499 # This hack is so that the source file can tell whether it is being
8500 # built for inclusion in a dll (and should export symbols for example).
8501 lt_prog_compiler_pic='-DDLL_EXPORT'
8504 hpux9* | hpux10* | hpux11*)
8505 lt_prog_compiler_wl='-Wl,'
8506 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8513 lt_prog_compiler_pic='+Z'
8516 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8517 lt_prog_compiler_static='${wl}-a ${wl}archive'
8520 irix5* | irix6* | nonstopux*)
8521 lt_prog_compiler_wl='-Wl,'
8522 # PIC (with -KPIC) is the default.
8523 lt_prog_compiler_static='-non_shared'
8526 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8527 case $cc_basename in
8528 # old Intel for x86_64 which still supported -KPIC.
8530 lt_prog_compiler_wl='-Wl,'
8531 lt_prog_compiler_pic='-KPIC'
8532 lt_prog_compiler_static='-static'
8534 # icc used to be incompatible with GCC.
8535 # ICC 10 doesn't accept -KPIC any more.
8537 lt_prog_compiler_wl='-Wl,'
8538 lt_prog_compiler_pic='-fPIC'
8539 lt_prog_compiler_static='-static'
8541 # Lahey Fortran 8.1.
8543 lt_prog_compiler_wl='-Wl,'
8544 lt_prog_compiler_pic='--shared'
8545 lt_prog_compiler_static='--static'
8548 # NAG Fortran compiler
8549 lt_prog_compiler_wl='-Wl,-Wl,,'
8550 lt_prog_compiler_pic='-PIC'
8551 lt_prog_compiler_static='-Bstatic'
8553 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8554 # Portland Group compilers (*not* the Pentium gcc compiler,
8555 # which looks to be a dead project)
8556 lt_prog_compiler_wl='-Wl,'
8557 lt_prog_compiler_pic='-fpic'
8558 lt_prog_compiler_static='-Bstatic'
8561 lt_prog_compiler_wl='-Wl,'
8562 # All Alpha code is PIC.
8563 lt_prog_compiler_static='-non_shared'
8565 xl* | bgxl* | bgf* | mpixl*)
8566 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8567 lt_prog_compiler_wl='-Wl,'
8568 lt_prog_compiler_pic='-qpic'
8569 lt_prog_compiler_static='-qstaticlink'
8572 case `$CC -V 2>&1 | sed 5q` in
8573 *Sun\ F* | *Sun*Fortran*)
8574 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8575 lt_prog_compiler_pic='-KPIC'
8576 lt_prog_compiler_static='-Bstatic'
8577 lt_prog_compiler_wl=''
8581 lt_prog_compiler_pic='-KPIC'
8582 lt_prog_compiler_static='-Bstatic'
8583 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-KPIC'
8592 lt_prog_compiler_static='-Bstatic'
8596 # QNX uses GNU C++, but need to define -shared option too, otherwise
8598 lt_prog_compiler_pic='-fPIC -shared'
8601 osf3* | osf4* | osf5*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # All OSF/1 code is PIC.
8604 lt_prog_compiler_static='-non_shared'
8608 lt_prog_compiler_static='-non_shared'
8612 lt_prog_compiler_pic='-KPIC'
8613 lt_prog_compiler_static='-Bstatic'
8614 case $cc_basename in
8615 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8616 lt_prog_compiler_wl='-Qoption ld ';;
8618 lt_prog_compiler_wl='-Wl,';;
8623 lt_prog_compiler_wl='-Qoption ld '
8624 lt_prog_compiler_pic='-PIC'
8625 lt_prog_compiler_static='-Bstatic'
8628 sysv4 | sysv4.2uw2* | sysv4.3*)
8629 lt_prog_compiler_wl='-Wl,'
8630 lt_prog_compiler_pic='-KPIC'
8631 lt_prog_compiler_static='-Bstatic'
8635 if test -d /usr/nec ;then
8636 lt_prog_compiler_pic='-Kconform_pic'
8637 lt_prog_compiler_static='-Bstatic'
8641 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8642 lt_prog_compiler_wl='-Wl,'
8643 lt_prog_compiler_pic='-KPIC'
8644 lt_prog_compiler_static='-Bstatic'
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_can_build_shared=no
8653 lt_prog_compiler_pic='-pic'
8654 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_can_build_shared=no
8664 # For platforms which do not support PIC, -DPIC is meaningless:
8666 lt_prog_compiler_pic=
8669 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8674 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8675 if ${lt_cv_prog_compiler_pic+:} false; then :
8676 $as_echo_n "(cached) " >&6
8678 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8681 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8682 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8685 # Check to make sure the PIC flag actually works.
8687 if test -n "$lt_prog_compiler_pic"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8689 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8690 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8691 $as_echo_n "(cached) " >&6
8693 lt_cv_prog_compiler_pic_works=no
8694 ac_outfile=conftest.$ac_objext
8695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8696 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8697 # Insert the option either (1) after the last *FLAGS variable, or
8698 # (2) before a word containing "conftest.", or (3) at the end.
8699 # Note that $ac_compile itself does not contain backslashes and begins
8700 # with a dollar sign (not a hyphen), so the echo should work correctly.
8701 # The option is referenced via a variable to avoid confusing sed.
8702 lt_compile=`echo "$ac_compile" | $SED \
8703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8705 -e 's:$: $lt_compiler_flag:'`
8706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8707 (eval "$lt_compile" 2>conftest.err)
8709 cat conftest.err >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 if (exit $ac_status) && test -s "$ac_outfile"; then
8712 # The compiler can only warn and ignore the option if not recognized
8713 # So say no if there are warnings other than the usual output.
8714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8715 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8716 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8717 lt_cv_prog_compiler_pic_works=yes
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8724 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8726 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8727 case $lt_prog_compiler_pic in
8729 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8732 lt_prog_compiler_pic=
8733 lt_prog_compiler_can_build_shared=no
8749 # Check to make sure the static flag actually works.
8751 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8753 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8754 if ${lt_cv_prog_compiler_static_works+:} false; then :
8755 $as_echo_n "(cached) " >&6
8757 lt_cv_prog_compiler_static_works=no
8758 save_LDFLAGS="$LDFLAGS"
8759 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8760 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8761 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8762 # The linker can only warn and ignore the option if not recognized
8763 # So say no if there are warnings
8764 if test -s conftest.err; then
8765 # Append any errors to the config.log.
8766 cat conftest.err 1>&5
8767 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8769 if diff conftest.exp conftest.er2 >/dev/null; then
8770 lt_cv_prog_compiler_static_works=yes
8773 lt_cv_prog_compiler_static_works=yes
8777 LDFLAGS="$save_LDFLAGS"
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8781 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8783 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8786 lt_prog_compiler_static=
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8796 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8797 if ${lt_cv_prog_compiler_c_o+:} false; then :
8798 $as_echo_n "(cached) " >&6
8800 lt_cv_prog_compiler_c_o=no
8801 $RM -r conftest 2>/dev/null
8805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8807 lt_compiler_flag="-o out/conftest2.$ac_objext"
8808 # Insert the option either (1) after the last *FLAGS variable, or
8809 # (2) before a word containing "conftest.", or (3) at the end.
8810 # Note that $ac_compile itself does not contain backslashes and begins
8811 # with a dollar sign (not a hyphen), so the echo should work correctly.
8812 lt_compile=`echo "$ac_compile" | $SED \
8813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8815 -e 's:$: $lt_compiler_flag:'`
8816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8817 (eval "$lt_compile" 2>out/conftest.err)
8819 cat out/conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8823 # The compiler can only warn and ignore the option if not recognized
8824 # So say no if there are warnings
8825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8826 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8827 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8828 lt_cv_prog_compiler_c_o=yes
8833 # SGI C++ compiler will create directory out/ii_files/ for
8834 # template instantiation
8835 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8836 $RM out/* && rmdir out
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8843 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8851 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8852 if ${lt_cv_prog_compiler_c_o+:} false; then :
8853 $as_echo_n "(cached) " >&6
8855 lt_cv_prog_compiler_c_o=no
8856 $RM -r conftest 2>/dev/null
8860 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8862 lt_compiler_flag="-o out/conftest2.$ac_objext"
8863 # Insert the option either (1) after the last *FLAGS variable, or
8864 # (2) before a word containing "conftest.", or (3) at the end.
8865 # Note that $ac_compile itself does not contain backslashes and begins
8866 # with a dollar sign (not a hyphen), so the echo should work correctly.
8867 lt_compile=`echo "$ac_compile" | $SED \
8868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8870 -e 's:$: $lt_compiler_flag:'`
8871 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8872 (eval "$lt_compile" 2>out/conftest.err)
8874 cat out/conftest.err >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8878 # The compiler can only warn and ignore the option if not recognized
8879 # So say no if there are warnings
8880 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8881 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8882 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8883 lt_cv_prog_compiler_c_o=yes
8888 # SGI C++ compiler will create directory out/ii_files/ for
8889 # template instantiation
8890 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8891 $RM out/* && rmdir out
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8898 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8903 hard_links="nottested"
8904 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8905 # do not overwrite the value of need_locks provided by the user
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8907 $as_echo_n "checking if we can lock with hard links... " >&6; }
8910 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8912 ln conftest.a conftest.b 2>&5 || hard_links=no
8913 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8915 $as_echo "$hard_links" >&6; }
8916 if test "$hard_links" = no; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8918 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8931 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8934 allow_undefined_flag=
8935 always_export_symbols=no
8937 archive_expsym_cmds=
8938 compiler_needs_object=no
8939 enable_shared_with_static_runtimes=no
8940 export_dynamic_flag_spec=
8941 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8942 hardcode_automatic=no
8944 hardcode_direct_absolute=no
8945 hardcode_libdir_flag_spec=
8946 hardcode_libdir_flag_spec_ld=
8947 hardcode_libdir_separator=
8949 hardcode_shlibpath_var=unsupported
8951 link_all_deplibs=unknown
8954 old_archive_from_new_cmds=
8955 old_archive_from_expsyms_cmds=
8956 thread_safe_flag_spec=
8957 whole_archive_flag_spec=
8958 # include_expsyms should be a list of space-separated symbols to be *always*
8959 # included in the symbol list
8961 # exclude_expsyms can be an extended regexp of symbols to exclude
8962 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8963 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8964 # as well as any symbol that contains `d'.
8965 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8966 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8967 # platforms (ab)use it in PIC code, but their linkers get confused if
8968 # the symbol is explicitly referenced. Since portable code cannot
8969 # rely on this symbol name, it's probably fine to never include it in
8970 # preloaded symbol tables.
8971 # Exclude shared library initialization/finalization symbols.
8972 extract_expsyms_cmds=
8975 cygwin* | mingw* | pw32* | cegcc*)
8976 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8977 # When not using gcc, we currently assume that we are using
8978 # Microsoft Visual C++.
8979 if test "$GCC" != yes; then
8984 # we just hope/assume this is gcc and not c89 (= MSVC++)
8990 linux* | k*bsd*-gnu | gnu*)
8997 # On some targets, GNU ld is compatible enough with the native linker
8998 # that we're better off using the native interface for both.
8999 lt_use_gnu_ld_interface=no
9000 if test "$with_gnu_ld" = yes; then
9003 # The AIX port of GNU ld has always aspired to compatibility
9004 # with the native linker. However, as the warning in the GNU ld
9005 # block says, versions before 2.19.5* couldn't really create working
9006 # shared libraries, regardless of the interface used.
9007 case `$LD -v 2>&1` in
9008 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9009 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9010 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9012 lt_use_gnu_ld_interface=yes
9017 lt_use_gnu_ld_interface=yes
9022 if test "$lt_use_gnu_ld_interface" = yes; then
9023 # If archive_cmds runs LD, not CC, wlarc should be empty
9026 # Set some defaults for GNU ld with shared library support. These
9027 # are reset later if shared libraries are not supported. Putting them
9028 # here allows them to be overridden if necessary.
9029 runpath_var=LD_RUN_PATH
9030 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9031 export_dynamic_flag_spec='${wl}--export-dynamic'
9032 # ancient GNU ld didn't support --whole-archive et. al.
9033 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9034 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9036 whole_archive_flag_spec=
9038 supports_anon_versioning=no
9039 case `$LD -v 2>&1` in
9040 *GNU\ gold*) supports_anon_versioning=yes ;;
9041 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9042 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9043 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9044 *\ 2.11.*) ;; # other 2.11 versions
9045 *) supports_anon_versioning=yes ;;
9048 # See if GNU ld supports shared libraries.
9051 # On AIX/PPC, the GNU linker is very broken
9052 if test "$host_cpu" != ia64; then
9056 *** Warning: the GNU linker, at least up to release 2.19, is reported
9057 *** to be unable to reliably create shared libraries on AIX.
9058 *** Therefore, libtool is disabling shared libraries support. If you
9059 *** really care for shared libraries, you may want to install binutils
9060 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9061 *** You will then need to restart the configuration process.
9070 # see comment about AmigaOS4 .so support
9071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9072 archive_expsym_cmds=''
9075 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)'
9076 hardcode_libdir_flag_spec='-L$libdir'
9077 hardcode_minus_L=yes
9083 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9084 allow_undefined_flag=unsupported
9085 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9086 # support --undefined. This deserves some investigation. FIXME
9087 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093 cygwin* | mingw* | pw32* | cegcc*)
9094 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9095 # as there is no search path for DLLs.
9096 hardcode_libdir_flag_spec='-L$libdir'
9097 export_dynamic_flag_spec='${wl}--export-all-symbols'
9098 allow_undefined_flag=unsupported
9099 always_export_symbols=no
9100 enable_shared_with_static_runtimes=yes
9101 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'
9102 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9104 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9105 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9106 # If the export-symbols file already is a .def file (1st line
9107 # is EXPORTS), use it as is; otherwise, prepend...
9108 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9109 cp $export_symbols $output_objdir/$soname.def;
9111 echo EXPORTS > $output_objdir/$soname.def;
9112 cat $export_symbols >> $output_objdir/$soname.def;
9114 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 link_all_deplibs=yes
9127 hardcode_shlibpath_var=no
9128 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9129 export_dynamic_flag_spec='${wl}-E'
9130 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9131 # Instead, shared libraries are loaded at an image base (0x10000000 by
9132 # default) and relocated if they conflict, which is a slow very memory
9133 # consuming and fragmenting process. To avoid this, we pick a random,
9134 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9135 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9136 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9137 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'
9140 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9142 if test "$host_os" = linux-dietlibc; then
9143 case $cc_basename in
9144 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9147 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9148 && test "$tmp_diet" = no
9150 tmp_addflag=' $pic_flag'
9151 tmp_sharedflag='-shared'
9152 case $cc_basename,$host_cpu in
9153 pgcc*) # Portland Group C compiler
9154 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'
9155 tmp_addflag=' $pic_flag'
9157 pgf77* | pgf90* | pgf95* | pgfortran*)
9158 # Portland Group f77 and f90 compilers
9159 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'
9160 tmp_addflag=' $pic_flag -Mnomain' ;;
9161 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9162 tmp_addflag=' -i_dynamic' ;;
9163 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9164 tmp_addflag=' -i_dynamic -nofor_main' ;;
9165 ifc* | ifort*) # Intel Fortran compiler
9166 tmp_addflag=' -nofor_main' ;;
9167 lf95*) # Lahey Fortran 8.1
9168 whole_archive_flag_spec=
9169 tmp_sharedflag='--shared' ;;
9170 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9171 tmp_sharedflag='-qmkshrobj'
9173 nvcc*) # Cuda Compiler Driver 2.2
9174 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'
9175 compiler_needs_object=yes
9178 case `$CC -V 2>&1 | sed 5q` in
9179 *Sun\ C*) # Sun C 5.9
9180 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'
9181 compiler_needs_object=yes
9182 tmp_sharedflag='-G' ;;
9183 *Sun\ F*) # Sun Fortran 8.3
9184 tmp_sharedflag='-G' ;;
9186 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188 if test "x$supports_anon_versioning" = xyes; then
9189 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9190 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9191 echo "local: *; };" >> $output_objdir/$libname.ver~
9192 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9195 case $cc_basename in
9196 xlf* | bgf* | bgxlf* | mpixlf*)
9197 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9198 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9199 hardcode_libdir_flag_spec=
9200 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9201 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9202 if test "x$supports_anon_versioning" = xyes; then
9203 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9204 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9205 echo "local: *; };" >> $output_objdir/$libname.ver~
9206 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9215 netbsd* | netbsdelf*-gnu)
9216 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9217 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9220 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9230 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9231 *** create shared libraries on Solaris systems. Therefore, libtool
9232 *** is disabling shared libraries support. We urge you to upgrade GNU
9233 *** binutils to release 2.9.1 or newer. Another option is to modify
9234 *** your PATH or compiler configuration so that the native linker is
9235 *** used, and then restart.
9238 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9239 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9240 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9246 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9247 case `$LD -v 2>&1` in
9248 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9252 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9253 *** reliably create shared libraries on SCO systems. Therefore, libtool
9254 *** is disabling shared libraries support. We urge you to upgrade GNU
9255 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9256 *** your PATH or compiler configuration so that the native linker is
9257 *** used, and then restart.
9262 # For security reasons, it is highly recommended that you always
9263 # use absolute paths for naming shared libraries, and exclude the
9264 # DT_RUNPATH tag from executables and libraries. But doing so
9265 # requires that you compile everything twice, which is a pain.
9266 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9278 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9281 hardcode_shlibpath_var=no
9285 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9286 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9287 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9294 if test "$ld_shlibs" = no; then
9296 hardcode_libdir_flag_spec=
9297 export_dynamic_flag_spec=
9298 whole_archive_flag_spec=
9301 # PORTME fill in a description of your system's linker (not GNU ld)
9304 allow_undefined_flag=unsupported
9305 always_export_symbols=yes
9306 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'
9307 # Note: this linker hardcodes the directories in LIBPATH if there
9308 # are no directories specified by -L.
9309 hardcode_minus_L=yes
9310 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9311 # Neither direct hardcoding nor static linking is supported with a
9313 hardcode_direct=unsupported
9318 if test "$host_cpu" = ia64; then
9319 # On IA64, the linker does run time linking by default, so we don't
9320 # have to do anything special.
9321 aix_use_runtimelinking=no
9322 exp_sym_flag='-Bexport'
9325 # If we're using GNU nm, then we don't want the "-C" option.
9326 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9327 # Also, AIX nm treats weak defined symbols like other global
9328 # defined symbols, whereas GNU nm marks them as "W".
9329 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9330 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'
9332 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'
9334 aix_use_runtimelinking=no
9336 # Test if we are trying to use run time linking or normal
9337 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9338 # need to do runtime linking.
9339 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9340 for ld_flag in $LDFLAGS; do
9341 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9342 aix_use_runtimelinking=yes
9349 exp_sym_flag='-bexport'
9350 no_entry_flag='-bnoentry'
9353 # When large executables or shared objects are built, AIX ld can
9354 # have problems creating the table of contents. If linking a library
9355 # or program results in "error TOC overflow" add -mminimal-toc to
9356 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9357 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9361 hardcode_direct_absolute=yes
9362 hardcode_libdir_separator=':'
9363 link_all_deplibs=yes
9364 file_list_spec='${wl}-f,'
9366 if test "$GCC" = yes; then
9367 case $host_os in aix4.[012]|aix4.[012].*)
9368 # We only want to do this on AIX 4.2 and lower, the check
9369 # below for broken collect2 doesn't work under 4.3+
9370 collect2name=`${CC} -print-prog-name=collect2`
9371 if test -f "$collect2name" &&
9372 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9374 # We have reworked collect2
9377 # We have old collect2
9378 hardcode_direct=unsupported
9379 # It fails to find uninstalled libraries when the uninstalled
9380 # path is not listed in the libpath. Setting hardcode_minus_L
9381 # to unsupported forces relinking
9382 hardcode_minus_L=yes
9383 hardcode_libdir_flag_spec='-L$libdir'
9384 hardcode_libdir_separator=
9388 shared_flag='-shared'
9389 if test "$aix_use_runtimelinking" = yes; then
9390 shared_flag="$shared_flag "'${wl}-G'
9395 if test "$host_cpu" = ia64; then
9396 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9397 # chokes on -Wl,-G. The following line is correct:
9400 if test "$aix_use_runtimelinking" = yes; then
9401 shared_flag='${wl}-G'
9403 shared_flag='${wl}-bM:SRE'
9408 export_dynamic_flag_spec='${wl}-bexpall'
9409 # It seems that -bexpall does not export symbols beginning with
9410 # underscore (_), so it is better to generate a list of symbols to export.
9411 always_export_symbols=yes
9412 if test "$aix_use_runtimelinking" = yes; then
9413 # Warning - without using the other runtime loading flags (-brtl),
9414 # -berok will link without error, but may produce a broken library.
9415 allow_undefined_flag='-berok'
9416 # Determine the default libpath from the value encoded in an
9418 if test "${lt_cv_aix_libpath+set}" = set; then
9419 aix_libpath=$lt_cv_aix_libpath
9421 if ${lt_cv_aix_libpath_+:} false; then :
9422 $as_echo_n "(cached) " >&6
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9435 if ac_fn_c_try_link "$LINENO"; then :
9437 lt_aix_libpath_sed='
9438 /Import File Strings/,/^$/ {
9440 s/^0 *\([^ ]*\) *$/\1/
9444 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9445 # Check for a 64-bit object if we didn't find anything.
9446 if test -z "$lt_cv_aix_libpath_"; then
9447 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 if test -z "$lt_cv_aix_libpath_"; then
9453 lt_cv_aix_libpath_="/usr/lib:/lib"
9458 aix_libpath=$lt_cv_aix_libpath_
9461 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9462 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"
9464 if test "$host_cpu" = ia64; then
9465 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9466 allow_undefined_flag="-z nodefs"
9467 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"
9469 # Determine the default libpath from the value encoded in an
9471 if test "${lt_cv_aix_libpath+set}" = set; then
9472 aix_libpath=$lt_cv_aix_libpath
9474 if ${lt_cv_aix_libpath_+:} false; then :
9475 $as_echo_n "(cached) " >&6
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9488 if ac_fn_c_try_link "$LINENO"; then :
9490 lt_aix_libpath_sed='
9491 /Import File Strings/,/^$/ {
9493 s/^0 *\([^ ]*\) *$/\1/
9497 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9498 # Check for a 64-bit object if we didn't find anything.
9499 if test -z "$lt_cv_aix_libpath_"; then
9500 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 if test -z "$lt_cv_aix_libpath_"; then
9506 lt_cv_aix_libpath_="/usr/lib:/lib"
9511 aix_libpath=$lt_cv_aix_libpath_
9514 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9515 # Warning - without using the other run time loading flags,
9516 # -berok will link without error, but may produce a broken library.
9517 no_undefined_flag=' ${wl}-bernotok'
9518 allow_undefined_flag=' ${wl}-berok'
9519 if test "$with_gnu_ld" = yes; then
9520 # We only use this code for GNU lds that support --whole-archive.
9521 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9523 # Exported symbols can be pulled into shared objects from archives
9524 whole_archive_flag_spec='$convenience'
9526 archive_cmds_need_lc=yes
9527 # This is similar to how AIX traditionally builds its shared libraries.
9528 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'
9536 # see comment about AmigaOS4 .so support
9537 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9538 archive_expsym_cmds=''
9541 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)'
9542 hardcode_libdir_flag_spec='-L$libdir'
9543 hardcode_minus_L=yes
9549 export_dynamic_flag_spec=-rdynamic
9552 cygwin* | mingw* | pw32* | cegcc*)
9553 # When not using gcc, we currently assume that we are using
9554 # Microsoft Visual C++.
9555 # hardcode_libdir_flag_spec is actually meaningless, as there is
9556 # no search path for DLLs.
9557 case $cc_basename in
9560 hardcode_libdir_flag_spec=' '
9561 allow_undefined_flag=unsupported
9562 always_export_symbols=yes
9564 # Tell ltmain to make .lib files, not .a files.
9566 # Tell ltmain to make .dll files, not .so files.
9568 # FIXME: Setting linknames here is a bad hack.
9569 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9570 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9571 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9573 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9575 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9577 # The linker will not automatically build a static lib if we build a DLL.
9578 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9579 enable_shared_with_static_runtimes=yes
9580 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9582 old_postinstall_cmds='chmod 644 $oldlib'
9583 postlink_cmds='lt_outputfile="@OUTPUT@"~
9584 lt_tool_outputfile="@TOOL_OUTPUT@"~
9585 case $lt_outputfile in
9588 lt_outputfile="$lt_outputfile.exe"
9589 lt_tool_outputfile="$lt_tool_outputfile.exe"
9592 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9593 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9594 $RM "$lt_outputfile.manifest";
9598 # Assume MSVC wrapper
9599 hardcode_libdir_flag_spec=' '
9600 allow_undefined_flag=unsupported
9601 # Tell ltmain to make .lib files, not .a files.
9603 # Tell ltmain to make .dll files, not .so files.
9605 # FIXME: Setting linknames here is a bad hack.
9606 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9607 # The linker will automatically build a .lib file if we build a DLL.
9608 old_archive_from_new_cmds='true'
9609 # FIXME: Should let the user specify the lib program.
9610 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9611 enable_shared_with_static_runtimes=yes
9616 darwin* | rhapsody*)
9619 archive_cmds_need_lc=no
9621 hardcode_automatic=yes
9622 hardcode_shlibpath_var=unsupported
9623 if test "$lt_cv_ld_force_load" = "yes"; then
9624 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\"`'
9626 whole_archive_flag_spec=''
9628 link_all_deplibs=yes
9629 allow_undefined_flag="$_lt_dar_allow_undefined"
9630 case $cc_basename in
9631 ifort*) _lt_dar_can_shared=yes ;;
9632 *) _lt_dar_can_shared=$GCC ;;
9634 if test "$_lt_dar_can_shared" = "yes"; then
9635 output_verbose_link_cmd=func_echo_all
9636 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9637 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9638 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}"
9639 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}"
9648 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9649 hardcode_libdir_flag_spec='-L$libdir'
9650 hardcode_shlibpath_var=no
9657 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9658 # support. Future versions do this automatically, but an explicit c++rt0.o
9659 # does not break anything, and helps significantly (at the cost of a little
9662 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9663 hardcode_libdir_flag_spec='-R$libdir'
9665 hardcode_shlibpath_var=no
9668 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9670 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9672 hardcode_minus_L=yes
9673 hardcode_shlibpath_var=no
9676 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9677 freebsd* | dragonfly*)
9678 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9679 hardcode_libdir_flag_spec='-R$libdir'
9681 hardcode_shlibpath_var=no
9685 if test "$GCC" = yes; then
9686 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'
9688 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'
9690 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9691 hardcode_libdir_separator=:
9694 # hardcode_minus_L: Not really in the search PATH,
9695 # but as the default location of the library.
9696 hardcode_minus_L=yes
9697 export_dynamic_flag_spec='${wl}-E'
9701 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9702 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9706 if test "$with_gnu_ld" = no; then
9707 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9708 hardcode_libdir_flag_spec_ld='+b $libdir'
9709 hardcode_libdir_separator=:
9711 hardcode_direct_absolute=yes
9712 export_dynamic_flag_spec='${wl}-E'
9713 # hardcode_minus_L: Not really in the search PATH,
9714 # but as the default location of the library.
9715 hardcode_minus_L=yes
9720 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9723 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9726 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9742 # Older versions of the 11.00 compiler do not understand -b yet
9743 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9745 $as_echo_n "checking if $CC understands -b... " >&6; }
9746 if ${lt_cv_prog_compiler__b+:} false; then :
9747 $as_echo_n "(cached) " >&6
9749 lt_cv_prog_compiler__b=no
9750 save_LDFLAGS="$LDFLAGS"
9751 LDFLAGS="$LDFLAGS -b"
9752 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9753 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9754 # The linker can only warn and ignore the option if not recognized
9755 # So say no if there are warnings
9756 if test -s conftest.err; then
9757 # Append any errors to the config.log.
9758 cat conftest.err 1>&5
9759 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9760 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9761 if diff conftest.exp conftest.er2 >/dev/null; then
9762 lt_cv_prog_compiler__b=yes
9765 lt_cv_prog_compiler__b=yes
9769 LDFLAGS="$save_LDFLAGS"
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9773 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9775 if test x"$lt_cv_prog_compiler__b" = xyes; then
9776 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9784 if test "$with_gnu_ld" = no; then
9785 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9786 hardcode_libdir_separator=:
9791 hardcode_shlibpath_var=no
9795 hardcode_direct_absolute=yes
9796 export_dynamic_flag_spec='${wl}-E'
9798 # hardcode_minus_L: Not really in the search PATH,
9799 # but as the default location of the library.
9800 hardcode_minus_L=yes
9806 irix5* | irix6* | nonstopux*)
9807 if test "$GCC" = yes; then
9808 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'
9809 # Try to use the -exported_symbol ld option, if it does not
9810 # work, assume that -exports_file does not work either and
9811 # implicitly export all symbols.
9812 # This should be the same for all languages, so no per-tag cache variable.
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9814 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9815 if ${lt_cv_irix_exported_symbol+:} false; then :
9816 $as_echo_n "(cached) " >&6
9818 save_LDFLAGS="$LDFLAGS"
9819 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9822 int foo (void) { return 0; }
9824 if ac_fn_c_try_link "$LINENO"; then :
9825 lt_cv_irix_exported_symbol=yes
9827 lt_cv_irix_exported_symbol=no
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LDFLAGS="$save_LDFLAGS"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9834 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9835 if test "$lt_cv_irix_exported_symbol" = yes; then
9836 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'
9839 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'
9840 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'
9842 archive_cmds_need_lc='no'
9843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844 hardcode_libdir_separator=:
9846 link_all_deplibs=yes
9849 netbsd* | netbsdelf*-gnu)
9850 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9851 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9853 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9855 hardcode_libdir_flag_spec='-R$libdir'
9857 hardcode_shlibpath_var=no
9861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9863 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9864 hardcode_libdir_separator=:
9865 hardcode_shlibpath_var=no
9872 if test -f /usr/libexec/ld.so; then
9874 hardcode_shlibpath_var=no
9875 hardcode_direct_absolute=yes
9876 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9877 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9879 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9880 export_dynamic_flag_spec='${wl}-E'
9883 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9884 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_libdir_flag_spec='-R$libdir'
9888 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9899 hardcode_libdir_flag_spec='-L$libdir'
9900 hardcode_minus_L=yes
9901 allow_undefined_flag=unsupported
9902 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'
9903 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9907 if test "$GCC" = yes; then
9908 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9909 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'
9911 allow_undefined_flag=' -expect_unresolved \*'
9912 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'
9914 archive_cmds_need_lc='no'
9915 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9916 hardcode_libdir_separator=:
9919 osf4* | osf5*) # as osf3* with the addition of -msym flag
9920 if test "$GCC" = yes; then
9921 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9922 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'
9923 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9925 allow_undefined_flag=' -expect_unresolved \*'
9926 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'
9927 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~
9928 $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'
9930 # Both c and cxx compiler support -rpath directly
9931 hardcode_libdir_flag_spec='-rpath $libdir'
9933 archive_cmds_need_lc='no'
9934 hardcode_libdir_separator=:
9938 no_undefined_flag=' -z defs'
9939 if test "$GCC" = yes; then
9941 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9943 $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'
9945 case `$CC -V 2>&1` in
9948 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9950 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9954 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9956 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9960 hardcode_libdir_flag_spec='-R$libdir'
9961 hardcode_shlibpath_var=no
9963 solaris2.[0-5] | solaris2.[0-5].*) ;;
9965 # The compiler driver will combine and reorder linker options,
9966 # but understands `-z linker_flag'. GCC discards it without `$wl',
9967 # but is careful enough not to reorder.
9968 # Supported since Solaris 2.6 (maybe 2.5.1?)
9969 if test "$GCC" = yes; then
9970 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9972 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9976 link_all_deplibs=yes
9980 if test "x$host_vendor" = xsequent; then
9981 # Use $CC to link under sequent, because it throws in some extra .o
9982 # files that make .init and .fini sections work.
9983 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9987 hardcode_libdir_flag_spec='-L$libdir'
9989 hardcode_minus_L=yes
9990 hardcode_shlibpath_var=no
9994 case $host_vendor in
9996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_direct=yes # is this really true???
10000 ## LD is ld it makes a PLAMLIB
10001 ## CC just makes a GrossModule.
10002 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10003 reload_cmds='$CC -r -o $output$reload_objs'
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10011 runpath_var='LD_RUN_PATH'
10012 hardcode_shlibpath_var=no
10016 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_shlibpath_var=no
10018 export_dynamic_flag_spec='-Bexport'
10022 if test -d /usr/nec; then
10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_shlibpath_var=no
10025 runpath_var=LD_RUN_PATH
10026 hardcode_runpath_var=yes
10031 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10032 no_undefined_flag='${wl}-z,text'
10033 archive_cmds_need_lc=no
10034 hardcode_shlibpath_var=no
10035 runpath_var='LD_RUN_PATH'
10037 if test "$GCC" = yes; then
10038 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 sysv5* | sco3.2v5* | sco5v6*)
10047 # Note: We can NOT use -z defs as we might desire, because we do not
10048 # link with -lc, and that would cause any symbols used from libc to
10049 # always be unresolved, which means just about no library would
10050 # ever link correctly. If we're not using GNU ld we use -z text
10051 # though, which does catch some bad symbols but isn't as heavy-handed
10053 no_undefined_flag='${wl}-z,text'
10054 allow_undefined_flag='${wl}-z,nodefs'
10055 archive_cmds_need_lc=no
10056 hardcode_shlibpath_var=no
10057 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10058 hardcode_libdir_separator=':'
10059 link_all_deplibs=yes
10060 export_dynamic_flag_spec='${wl}-Bexport'
10061 runpath_var='LD_RUN_PATH'
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_libdir_flag_spec='-L$libdir'
10075 hardcode_shlibpath_var=no
10083 if test x$host_vendor = xsni; then
10085 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10086 export_dynamic_flag_spec='${wl}-Blargedynsym'
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10093 $as_echo "$ld_shlibs" >&6; }
10094 test "$ld_shlibs" = no && can_build_shared=no
10096 with_gnu_ld=$with_gnu_ld
10113 # Do we need to explicitly link libc?
10115 case "x$archive_cmds_need_lc" in
10117 # Assume -lc should be added
10118 archive_cmds_need_lc=yes
10120 if test "$enable_shared" = yes && test "$GCC" = yes; then
10121 case $archive_cmds in
10123 # FIXME: we may have to deal with multi-command sequences.
10126 # Test whether the compiler implicitly links with -lc since on some
10127 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10128 # to ld, don't add -lc before -lgcc.
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10130 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10131 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10132 $as_echo_n "(cached) " >&6
10135 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10138 (eval $ac_compile) 2>&5
10140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10141 test $ac_status = 0; } 2>conftest.err; then
10144 libobjs=conftest.$ac_objext
10146 wl=$lt_prog_compiler_wl
10147 pic_flag=$lt_prog_compiler_pic
10153 lt_save_allow_undefined_flag=$allow_undefined_flag
10154 allow_undefined_flag=
10155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10156 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10159 test $ac_status = 0; }
10161 lt_cv_archive_cmds_need_lc=no
10163 lt_cv_archive_cmds_need_lc=yes
10165 allow_undefined_flag=$lt_save_allow_undefined_flag
10167 cat conftest.err 1>&5
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10173 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10174 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10338 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10340 if test "$GCC" = yes; then
10342 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10343 *) lt_awk_arg="/^libraries:/" ;;
10346 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10347 *) lt_sed_strip_eq="s,=/,/,g" ;;
10349 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10350 case $lt_search_path_spec in
10352 # if the path contains ";" then we assume it to be the separator
10353 # otherwise default to the standard path separator (i.e. ":") - it is
10354 # assumed that no part of a normal pathname contains ";" but that should
10355 # okay in the real world where ";" in dirpaths is itself problematic.
10356 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10359 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10362 # Ok, now we have the path, separated by spaces, we can step through it
10363 # and add multilib dir if necessary.
10364 lt_tmp_lt_search_path_spec=
10365 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10366 for lt_sys_path in $lt_search_path_spec; do
10367 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10368 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10370 test -d "$lt_sys_path" && \
10371 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10374 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10375 BEGIN {RS=" "; FS="/|\n";} {
10378 for (lt_i = NF; lt_i > 0; lt_i--) {
10379 if ($lt_i != "" && $lt_i != ".") {
10380 if ($lt_i == "..") {
10383 if (lt_count == 0) {
10384 lt_foo="/" $lt_i lt_foo;
10391 if (lt_foo != "") { lt_freq[lt_foo]++; }
10392 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10394 # AWK program above erroneously prepends '/' to C:/dos/paths
10397 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10398 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10400 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10402 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10404 library_names_spec=
10405 libname_spec='lib$name'
10409 postuninstall_cmds=
10413 shlibpath_overrides_runpath=unknown
10415 dynamic_linker="$host_os ld.so"
10416 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10417 need_lib_prefix=unknown
10418 hardcode_into_libs=no
10420 # when you set need_version to no, make sure it does not cause -set_version
10421 # flags to be left without arguments
10422 need_version=unknown
10427 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10428 shlibpath_var=LIBPATH
10430 # AIX 3 has no versioning support, so we append a major version to the name.
10431 soname_spec='${libname}${release}${shared_ext}$major'
10438 hardcode_into_libs=yes
10439 if test "$host_cpu" = ia64; then
10440 # AIX 5 supports IA64
10441 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10442 shlibpath_var=LD_LIBRARY_PATH
10444 # With GCC up to 2.95.x, collect2 would create an import file
10445 # for dependence libraries. The import file would start with
10446 # the line `#! .'. This would cause the generated library to
10447 # depend on `.', always an invalid library. This was fixed in
10448 # development snapshots of GCC prior to 3.0.
10450 aix4 | aix4.[01] | aix4.[01].*)
10451 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10453 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10456 can_build_shared=no
10460 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10461 # soname into executable. Probably we can add versioning support to
10462 # collect2, so additional links can be useful in future.
10463 if test "$aix_use_runtimelinking" = yes; then
10464 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10465 # instead of lib<name>.a to let people know that these are not
10466 # typical AIX shared libraries.
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10469 # We preserve .a as extension for shared libraries through AIX4.2
10470 # and later when we are not doing run time linking.
10471 library_names_spec='${libname}${release}.a $libname.a'
10472 soname_spec='${libname}${release}${shared_ext}$major'
10474 shlibpath_var=LIBPATH
10481 # Since July 2007 AmigaOS4 officially supports .so libraries.
10482 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486 library_names_spec='$libname.ixlibrary $libname.a'
10487 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10488 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'
10494 library_names_spec='${libname}${shared_ext}'
10495 dynamic_linker="$host_os ld.so"
10496 shlibpath_var=LIBRARY_PATH
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 soname_spec='${libname}${release}${shared_ext}$major'
10504 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10505 shlibpath_var=LD_LIBRARY_PATH
10506 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10507 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10508 # the default ld.so.conf also contains /usr/contrib/lib and
10509 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10510 # libtool to hard-code these into programs
10513 cygwin* | mingw* | pw32* | cegcc*)
10514 version_type=windows
10519 case $GCC,$cc_basename in
10522 library_names_spec='$libname.dll.a'
10523 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10524 postinstall_cmds='base_file=`basename \${file}`~
10525 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10526 dldir=$destdir/`dirname \$dlpath`~
10527 test -d \$dldir || mkdir -p \$dldir~
10528 $install_prog $dir/$dlname \$dldir/$dlname~
10529 chmod a+x \$dldir/$dlname~
10530 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10531 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10533 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10534 dlpath=$dir/\$dldll~
10536 shlibpath_overrides_runpath=yes
10540 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10541 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10543 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10546 # MinGW DLLs use traditional 'lib' prefix
10547 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10550 # pw32 DLLs use 'pw' prefix rather than 'lib'
10551 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10554 dynamic_linker='Win32 ld.exe'
10559 libname_spec='$name'
10560 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561 library_names_spec='${libname}.dll.lib'
10565 sys_lib_search_path_spec=
10568 for lt_path in $LIB
10571 # Let DOS variable expansion print the short 8.3 style file name.
10572 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10573 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10576 # Convert to MSYS style.
10577 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10580 # Convert to unix form, then to dos form, then back to unix form
10581 # but this time dos style (no spaces!) so that the unix form looks
10582 # like /cygdrive/c/PROGRA~1:/cygdr...
10583 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10584 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10585 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10588 sys_lib_search_path_spec="$LIB"
10589 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10590 # It is most probably a Windows format PATH.
10591 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10595 # FIXME: find the short name or the path components, as spaces are
10596 # common. (e.g. "Program Files" -> "PROGRA~1")
10600 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10601 postinstall_cmds='base_file=`basename \${file}`~
10602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10603 dldir=$destdir/`dirname \$dlpath`~
10604 test -d \$dldir || mkdir -p \$dldir~
10605 $install_prog $dir/$dlname \$dldir/$dlname'
10606 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10607 dlpath=$dir/\$dldll~
10609 shlibpath_overrides_runpath=yes
10610 dynamic_linker='Win32 link.exe'
10614 # Assume MSVC wrapper
10615 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10616 dynamic_linker='Win32 ld.exe'
10619 # FIXME: first we should search . and the directory the executable is in
10623 darwin* | rhapsody*)
10624 dynamic_linker="$host_os dyld"
10625 version_type=darwin
10628 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10629 soname_spec='${libname}${release}${major}$shared_ext'
10630 shlibpath_overrides_runpath=yes
10631 shlibpath_var=DYLD_LIBRARY_PATH
10632 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10634 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10635 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 shlibpath_var=LD_LIBRARY_PATH
10651 freebsd* | dragonfly*)
10652 # DragonFly does not have aout. When/if they implement a new
10653 # versioning mechanism, adjust this.
10654 if test -x /usr/bin/objformat; then
10655 objformat=`/usr/bin/objformat`
10658 freebsd[123]*) objformat=aout ;;
10659 *) objformat=elf ;;
10662 version_type=freebsd-$objformat
10663 case $version_type in
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10674 shlibpath_var=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath=yes
10679 freebsd3.[01]* | freebsdelf3.[01]*)
10680 shlibpath_overrides_runpath=yes
10681 hardcode_into_libs=yes
10683 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10684 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10685 shlibpath_overrides_runpath=no
10686 hardcode_into_libs=yes
10688 *) # from 4.6 on, and DragonFly
10689 shlibpath_overrides_runpath=yes
10690 hardcode_into_libs=yes
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 shlibpath_var=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath=no
10703 hardcode_into_libs=yes
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10834 $as_echo_n "(cached) " >&6
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10854 lt_cv_shlibpath_overrides_runpath=yes
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LDFLAGS=$save_LDFLAGS
10860 libdir=$save_libdir
10864 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10866 # This implies no fast_install, which is unacceptable.
10867 # Some rework will be needed to allow for fast_install
10868 # before this can be enabled.
10869 hardcode_into_libs=yes
10871 # Append ld.so.conf contents to the search path
10872 if test -f /etc/ld.so.conf; then
10873 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' ' '`
10874 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10877 # We used to test for /lib/ld.so.1 and disable shared libraries on
10878 # powerpc, because MkLinux only supported shared libraries with the
10879 # GNU dynamic linker. Since this was broken with cross compilers,
10880 # most powerpc-linux boxes support dynamic linking these days and
10881 # people can always --disable-shared, the test was removed, and we
10882 # assume the GNU/Linux dynamic linker is in use.
10883 dynamic_linker='GNU/Linux ld.so'
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10892 shlibpath_var=LD_LIBRARY_PATH
10893 shlibpath_overrides_runpath=no
10894 hardcode_into_libs=yes
10895 dynamic_linker='NetBSD ld.elf_so'
10902 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10905 dynamic_linker='NetBSD (a.out) ld.so'
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 dynamic_linker='NetBSD ld.elf_so'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=yes
10913 hardcode_into_libs=yes
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 shlibpath_var=LD_LIBRARY_PATH
10920 shlibpath_overrides_runpath=yes
10927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 shlibpath_overrides_runpath=no
10931 hardcode_into_libs=yes
10932 dynamic_linker='ldqnx.so'
10937 sys_lib_dlsearch_path_spec="/usr/lib"
10939 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10941 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10942 *) need_version=no ;;
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10945 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10946 shlibpath_var=LD_LIBRARY_PATH
10947 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10949 openbsd2.[89] | openbsd2.[89].*)
10950 shlibpath_overrides_runpath=no
10953 shlibpath_overrides_runpath=yes
10957 shlibpath_overrides_runpath=yes
10962 libname_spec='$name'
10965 library_names_spec='$libname${shared_ext} $libname.a'
10966 dynamic_linker='OS/2 ld.exe'
10967 shlibpath_var=LIBPATH
10970 osf3* | osf4* | osf5*)
10974 soname_spec='${libname}${release}${shared_ext}$major'
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10978 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10993 hardcode_into_libs=yes
10994 # ldd complains unless libraries are executable
10995 postinstall_cmds='chmod +x $lib'
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11001 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath=yes
11004 if test "$with_gnu_ld" = yes; then
11012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11013 soname_spec='${libname}${release}${shared_ext}$major'
11014 shlibpath_var=LD_LIBRARY_PATH
11015 case $host_vendor in
11017 shlibpath_overrides_runpath=no
11019 runpath_var=LD_RUN_PATH
11027 shlibpath_overrides_runpath=no
11028 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11034 if test -d /usr/nec ;then
11036 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11037 soname_spec='$libname${shared_ext}.$major'
11038 shlibpath_var=LD_LIBRARY_PATH
11042 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11043 version_type=freebsd-elf
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=yes
11050 hardcode_into_libs=yes
11051 if test "$with_gnu_ld" = yes; then
11052 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11054 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11057 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11061 sys_lib_dlsearch_path_spec='/usr/lib'
11065 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070 shlibpath_var=LD_LIBRARY_PATH
11071 shlibpath_overrides_runpath=no
11072 hardcode_into_libs=yes
11077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 soname_spec='${libname}${release}${shared_ext}$major'
11079 shlibpath_var=LD_LIBRARY_PATH
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11087 $as_echo "$dynamic_linker" >&6; }
11088 test "$dynamic_linker" = no && can_build_shared=no
11090 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11091 if test "$GCC" = yes; then
11092 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11095 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11096 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11098 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11099 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11194 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11196 if test -n "$hardcode_libdir_flag_spec" ||
11197 test -n "$runpath_var" ||
11198 test "X$hardcode_automatic" = "Xyes" ; then
11200 # We can hardcode non-existent directories.
11201 if test "$hardcode_direct" != no &&
11202 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11203 # have to relink, otherwise we might link with an installed library
11204 # when we should be linking with a yet-to-be-installed one
11205 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11206 test "$hardcode_minus_L" != no; then
11207 # Linking always hardcodes the temporary library directory.
11208 hardcode_action=relink
11210 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11211 hardcode_action=immediate
11214 # We cannot hardcode anything, or else we can only hardcode existing
11216 hardcode_action=unsupported
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11219 $as_echo "$hardcode_action" >&6; }
11221 if test "$hardcode_action" = relink ||
11222 test "$inherit_rpath" = yes; then
11223 # Fast installation is not supported
11224 enable_fast_install=no
11225 elif test "$shlibpath_overrides_runpath" = yes ||
11226 test "$enable_shared" = no; then
11227 # Fast installation is not necessary
11228 enable_fast_install=needless
11236 if test "x$enable_dlopen" != xyes; then
11237 enable_dlopen=unknown
11238 enable_dlopen_self=unknown
11239 enable_dlopen_self_static=unknown
11246 lt_cv_dlopen="load_add_on"
11248 lt_cv_dlopen_self=yes
11251 mingw* | pw32* | cegcc*)
11252 lt_cv_dlopen="LoadLibrary"
11257 lt_cv_dlopen="dlopen"
11262 # if libdl is installed we need to link against it
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11265 if ${ac_cv_lib_dl_dlopen+:} false; then :
11266 $as_echo_n "(cached) " >&6
11268 ac_check_lib_save_LIBS=$LIBS
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_dl_dlopen=yes
11291 ac_cv_lib_dl_dlopen=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11299 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11300 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11303 lt_cv_dlopen="dyld"
11305 lt_cv_dlopen_self=yes
11312 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11313 if test "x$ac_cv_func_shl_load" = xyes; then :
11314 lt_cv_dlopen="shl_load"
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11317 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11318 if ${ac_cv_lib_dld_shl_load+:} false; then :
11319 $as_echo_n "(cached) " >&6
11321 ac_check_lib_save_LIBS=$LIBS
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 /* Override any GCC internal prototype to avoid an error.
11327 Use char because int might match the return type of a GCC
11328 builtin and then its argument prototype would still apply. */
11336 return shl_load ();
11341 if ac_fn_c_try_link "$LINENO"; then :
11342 ac_cv_lib_dld_shl_load=yes
11344 ac_cv_lib_dld_shl_load=no
11346 rm -f core conftest.err conftest.$ac_objext \
11347 conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11351 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11352 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11353 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11355 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11356 if test "x$ac_cv_func_dlopen" = xyes; then :
11357 lt_cv_dlopen="dlopen"
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11361 if ${ac_cv_lib_dl_dlopen+:} false; then :
11362 $as_echo_n "(cached) " >&6
11364 ac_check_lib_save_LIBS=$LIBS
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if ${ac_cv_lib_svld_dlopen+:} false; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 ac_cv_lib_svld_dlopen=yes
11426 ac_cv_lib_svld_dlopen=no
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_lib_save_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11433 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11434 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11435 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11438 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11439 if ${ac_cv_lib_dld_dld_link+:} false; then :
11440 $as_echo_n "(cached) " >&6
11442 ac_check_lib_save_LIBS=$LIBS
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11457 return dld_link ();
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dld_dld_link=yes
11465 ac_cv_lib_dld_dld_link=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11472 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11473 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11474 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11495 if test "x$lt_cv_dlopen" != xno; then
11501 case $lt_cv_dlopen in
11503 save_CPPFLAGS="$CPPFLAGS"
11504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11506 save_LDFLAGS="$LDFLAGS"
11507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11510 LIBS="$lt_cv_dlopen_libs $LIBS"
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11513 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11514 if ${lt_cv_dlopen_self+:} false; then :
11515 $as_echo_n "(cached) " >&6
11517 if test "$cross_compiling" = yes; then :
11518 lt_cv_dlopen_self=cross
11520 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11521 lt_status=$lt_dlunknown
11522 cat > conftest.$ac_ext <<_LT_EOF
11523 #line $LINENO "configure"
11524 #include "confdefs.h"
11533 # define LT_DLGLOBAL RTLD_GLOBAL
11536 # define LT_DLGLOBAL DL_GLOBAL
11538 # define LT_DLGLOBAL 0
11542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11543 find out it does not work in some platform. */
11544 #ifndef LT_DLLAZY_OR_NOW
11546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11549 # define LT_DLLAZY_OR_NOW DL_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_NOW
11555 # define LT_DLLAZY_OR_NOW DL_NOW
11557 # define LT_DLLAZY_OR_NOW 0
11564 /* When -fvisbility=hidden is used, assume the code has been annotated
11565 correspondingly for the symbols needed. */
11566 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11567 int fnord () __attribute__((visibility("default")));
11570 int fnord () { return 42; }
11573 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11574 int status = $lt_dlunknown;
11578 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11581 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11582 else puts (dlerror ());
11584 /* dlclose (self); */
11592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11593 (eval $ac_link) 2>&5
11595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11596 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11597 (./conftest; exit; ) >&5 2>/dev/null
11599 case x$lt_status in
11600 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11601 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11602 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11605 # compilation failed
11606 lt_cv_dlopen_self=no
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11614 $as_echo "$lt_cv_dlopen_self" >&6; }
11616 if test "x$lt_cv_dlopen_self" = xyes; then
11617 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11619 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11620 if ${lt_cv_dlopen_self_static+:} false; then :
11621 $as_echo_n "(cached) " >&6
11623 if test "$cross_compiling" = yes; then :
11624 lt_cv_dlopen_self_static=cross
11626 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11627 lt_status=$lt_dlunknown
11628 cat > conftest.$ac_ext <<_LT_EOF
11629 #line $LINENO "configure"
11630 #include "confdefs.h"
11639 # define LT_DLGLOBAL RTLD_GLOBAL
11642 # define LT_DLGLOBAL DL_GLOBAL
11644 # define LT_DLGLOBAL 0
11648 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11649 find out it does not work in some platform. */
11650 #ifndef LT_DLLAZY_OR_NOW
11652 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11655 # define LT_DLLAZY_OR_NOW DL_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_NOW
11661 # define LT_DLLAZY_OR_NOW DL_NOW
11663 # define LT_DLLAZY_OR_NOW 0
11670 /* When -fvisbility=hidden is used, assume the code has been annotated
11671 correspondingly for the symbols needed. */
11672 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11673 int fnord () __attribute__((visibility("default")));
11676 int fnord () { return 42; }
11679 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11680 int status = $lt_dlunknown;
11684 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11687 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11688 else puts (dlerror ());
11690 /* dlclose (self); */
11698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11699 (eval $ac_link) 2>&5
11701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11702 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11703 (./conftest; exit; ) >&5 2>/dev/null
11705 case x$lt_status in
11706 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11707 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11708 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11711 # compilation failed
11712 lt_cv_dlopen_self_static=no
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11720 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11723 CPPFLAGS="$save_CPPFLAGS"
11724 LDFLAGS="$save_LDFLAGS"
11729 case $lt_cv_dlopen_self in
11730 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11731 *) enable_dlopen_self=unknown ;;
11734 case $lt_cv_dlopen_self_static in
11735 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11736 *) enable_dlopen_self_static=unknown ;;
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11759 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11760 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11761 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11762 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11766 # FIXME - insert some real tests, host_os isn't really good enough
11769 if test -n "$STRIP" ; then
11770 striplib="$STRIP -x"
11771 old_striplib="$STRIP -S"
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11773 $as_echo "yes" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776 $as_echo "no" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 $as_echo "no" >&6; }
11797 # Report which library types will actually be built
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11799 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11801 $as_echo "$can_build_shared" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11804 $as_echo_n "checking whether to build shared libraries... " >&6; }
11805 test "$can_build_shared" = "no" && enable_shared=no
11807 # On AIX, shared libraries and static libraries use the same namespace, and
11808 # are all built from PIC.
11811 test "$enable_shared" = yes && enable_static=no
11812 if test -n "$RANLIB"; then
11813 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11814 postinstall_cmds='$RANLIB $lib'
11819 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11820 test "$enable_shared" = yes && enable_static=no
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11825 $as_echo "$enable_shared" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11828 $as_echo_n "checking whether to build static libraries... " >&6; }
11829 # Make sure either enable_shared or enable_static is yes.
11830 test "$enable_shared" = yes || enable_static=yes
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11832 $as_echo "$enable_static" >&6; }
11839 ac_cpp='$CXXCPP $CPPFLAGS'
11840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11846 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11847 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11848 (test "X$CXX" != "Xg++"))) ; then
11850 ac_cpp='$CXXCPP $CPPFLAGS'
11851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11855 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11856 if test -z "$CXXCPP"; then
11857 if ${ac_cv_prog_CXXCPP+:} false; then :
11858 $as_echo_n "(cached) " >&6
11860 # Double quotes because CXXCPP needs to be expanded
11861 for CXXCPP in "$CXX -E" "/lib/cpp"
11863 ac_preproc_ok=false
11864 for ac_cxx_preproc_warn_flag in '' yes
11866 # Use a header file that comes with gcc, so configuring glibc
11867 # with a fresh cross-compiler works.
11868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11869 # <limits.h> exists even on freestanding compilers.
11870 # On the NeXT, cc -E runs the code through the compiler's parser,
11871 # not just through cpp. "Syntax error" is here to catch this case.
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 # include <limits.h>
11877 # include <assert.h>
11881 if ac_fn_cxx_try_cpp "$LINENO"; then :
11884 # Broken: fails on valid input.
11887 rm -f conftest.err conftest.i conftest.$ac_ext
11889 # OK, works on sane cases. Now check whether nonexistent headers
11890 # can be detected and how.
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #include <ac_nonexistent.h>
11895 if ac_fn_cxx_try_cpp "$LINENO"; then :
11896 # Broken: success on invalid input.
11899 # Passes both tests.
11903 rm -f conftest.err conftest.i conftest.$ac_ext
11906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11907 rm -f conftest.i conftest.err conftest.$ac_ext
11908 if $ac_preproc_ok; then :
11913 ac_cv_prog_CXXCPP=$CXXCPP
11916 CXXCPP=$ac_cv_prog_CXXCPP
11918 ac_cv_prog_CXXCPP=$CXXCPP
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11921 $as_echo "$CXXCPP" >&6; }
11922 ac_preproc_ok=false
11923 for ac_cxx_preproc_warn_flag in '' yes
11925 # Use a header file that comes with gcc, so configuring glibc
11926 # with a fresh cross-compiler works.
11927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11928 # <limits.h> exists even on freestanding compilers.
11929 # On the NeXT, cc -E runs the code through the compiler's parser,
11930 # not just through cpp. "Syntax error" is here to catch this case.
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 # include <limits.h>
11936 # include <assert.h>
11940 if ac_fn_cxx_try_cpp "$LINENO"; then :
11943 # Broken: fails on valid input.
11946 rm -f conftest.err conftest.i conftest.$ac_ext
11948 # OK, works on sane cases. Now check whether nonexistent headers
11949 # can be detected and how.
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #include <ac_nonexistent.h>
11954 if ac_fn_cxx_try_cpp "$LINENO"; then :
11955 # Broken: success on invalid input.
11958 # Passes both tests.
11962 rm -f conftest.err conftest.i conftest.$ac_ext
11965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11966 rm -f conftest.i conftest.err conftest.$ac_ext
11967 if $ac_preproc_ok; then :
11970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11972 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11973 See \`config.log' for more details" "$LINENO" 5; }
11977 ac_cpp='$CXXCPP $CPPFLAGS'
11978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11983 _lt_caught_CXX_error=yes
11987 ac_cpp='$CXXCPP $CPPFLAGS'
11988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11992 archive_cmds_need_lc_CXX=no
11993 allow_undefined_flag_CXX=
11994 always_export_symbols_CXX=no
11995 archive_expsym_cmds_CXX=
11996 compiler_needs_object_CXX=no
11997 export_dynamic_flag_spec_CXX=
11998 hardcode_direct_CXX=no
11999 hardcode_direct_absolute_CXX=no
12000 hardcode_libdir_flag_spec_CXX=
12001 hardcode_libdir_flag_spec_ld_CXX=
12002 hardcode_libdir_separator_CXX=
12003 hardcode_minus_L_CXX=no
12004 hardcode_shlibpath_var_CXX=unsupported
12005 hardcode_automatic_CXX=no
12006 inherit_rpath_CXX=no
12008 module_expsym_cmds_CXX=
12009 link_all_deplibs_CXX=unknown
12010 old_archive_cmds_CXX=$old_archive_cmds
12011 reload_flag_CXX=$reload_flag
12012 reload_cmds_CXX=$reload_cmds
12013 no_undefined_flag_CXX=
12014 whole_archive_flag_spec_CXX=
12015 enable_shared_with_static_runtimes_CXX=no
12017 # Source file extension for C++ test sources.
12020 # Object file extension for compiled C++ test sources.
12024 # No sense in running all these tests if we already determined that
12025 # the CXX compiler isn't working. Some variables (like enable_shared)
12026 # are currently assumed to apply to all compilers on this platform,
12027 # and will be corrupted by setting them based on a non-working compiler.
12028 if test "$_lt_caught_CXX_error" != yes; then
12029 # Code to be used in simple compile tests
12030 lt_simple_compile_test_code="int some_variable = 0;"
12032 # Code to be used in simple link tests
12033 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12035 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12042 # If no C compiler was specified, use CC.
12045 # If no C compiler flags were specified, use CFLAGS.
12046 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12048 # Allow CC to be a program name with arguments.
12052 # save warnings/boilerplate of simple test code
12053 ac_outfile=conftest.$ac_objext
12054 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12055 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12056 _lt_compiler_boilerplate=`cat conftest.err`
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12061 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_linker_boilerplate=`cat conftest.err`
12066 # Allow CC to be a program name with arguments.
12068 lt_save_CFLAGS=$CFLAGS
12072 lt_save_with_gnu_ld=$with_gnu_ld
12073 lt_save_path_LD=$lt_cv_path_LD
12074 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12075 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12077 $as_unset lt_cv_prog_gnu_ld
12079 if test -n "${lt_cv_path_LDCXX+set}"; then
12080 lt_cv_path_LD=$lt_cv_path_LDCXX
12082 $as_unset lt_cv_path_LD
12084 test -z "${LDCXX+set}" || LD=$LDCXX
12089 for cc_temp in $compiler""; do
12091 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12092 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12100 if test -n "$compiler"; then
12101 # We don't want -fno-exception when compiling C++ code, so set the
12102 # no_builtin_flag separately
12103 if test "$GXX" = yes; then
12104 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12106 lt_prog_compiler_no_builtin_flag_CXX=
12109 if test "$GXX" = yes; then
12110 # Set up default GNU C++ configuration
12114 # Check whether --with-gnu-ld was given.
12115 if test "${with_gnu_ld+set}" = set; then :
12116 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12122 if test "$GCC" = yes; then
12123 # Check if gcc -print-prog-name=ld gives a path.
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12125 $as_echo_n "checking for ld used by $CC... " >&6; }
12128 # gcc leaves a trailing carriage return which upsets mingw
12129 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12131 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12134 # Accept absolute paths.
12136 re_direlt='/[^/][^/]*/\.\./'
12137 # Canonicalize the pathname of ld
12138 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12139 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12140 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12142 test -z "$LD" && LD="$ac_prog"
12145 # If it fails, then pretend we aren't using GCC.
12149 # If it is relative, then search for the first ld in PATH.
12150 with_gnu_ld=unknown
12153 elif test "$with_gnu_ld" = yes; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12155 $as_echo_n "checking for GNU ld... " >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12158 $as_echo_n "checking for non-GNU ld... " >&6; }
12160 if ${lt_cv_path_LD+:} false; then :
12161 $as_echo_n "(cached) " >&6
12163 if test -z "$LD"; then
12164 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12165 for ac_dir in $PATH; do
12167 test -z "$ac_dir" && ac_dir=.
12168 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12169 lt_cv_path_LD="$ac_dir/$ac_prog"
12170 # Check to see if the program is GNU ld. I'd rather use --version,
12171 # but apparently some variants of GNU ld only accept -v.
12172 # Break only if it was the GNU/non-GNU ld that we prefer.
12173 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12174 *GNU* | *'with BFD'*)
12175 test "$with_gnu_ld" != no && break
12178 test "$with_gnu_ld" != yes && break
12185 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12189 LD="$lt_cv_path_LD"
12190 if test -n "$LD"; then
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12192 $as_echo "$LD" >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12195 $as_echo "no" >&6; }
12197 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12199 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12200 if ${lt_cv_prog_gnu_ld+:} false; then :
12201 $as_echo_n "(cached) " >&6
12203 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12204 case `$LD -v 2>&1 </dev/null` in
12205 *GNU* | *'with BFD'*)
12206 lt_cv_prog_gnu_ld=yes
12209 lt_cv_prog_gnu_ld=no
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12214 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12215 with_gnu_ld=$lt_cv_prog_gnu_ld
12223 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12224 # archiving commands below assume that GNU ld is being used.
12225 if test "$with_gnu_ld" = yes; then
12226 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12227 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'
12229 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12230 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12232 # If archive_cmds runs LD, not CC, wlarc should be empty
12233 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12234 # investigate it a little bit more. (MM)
12237 # ancient GNU ld didn't support --whole-archive et. al.
12238 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12239 $GREP 'no-whole-archive' > /dev/null; then
12240 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12242 whole_archive_flag_spec_CXX=
12248 # A generic and very simple default shared library creation
12249 # command for GNU C++ for the case where it uses the native
12250 # linker, instead of GNU ld. If possible, this setting should
12251 # overridden to take advantage of the native linker features on
12252 # the platform it is being used on.
12253 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12256 # Commands to make compiler produce verbose output that lists
12257 # what "hidden" libraries, object files and flags are used when
12258 # linking a shared library.
12259 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12267 # PORTME: fill in a description of your system's C++ link characteristics
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12269 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12273 # FIXME: insert proper C++ library support
12277 if test "$host_cpu" = ia64; then
12278 # On IA64, the linker does run time linking by default, so we don't
12279 # have to do anything special.
12280 aix_use_runtimelinking=no
12281 exp_sym_flag='-Bexport'
12284 aix_use_runtimelinking=no
12286 # Test if we are trying to use run time linking or normal
12287 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12288 # need to do runtime linking.
12289 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12290 for ld_flag in $LDFLAGS; do
12293 aix_use_runtimelinking=yes
12301 exp_sym_flag='-bexport'
12302 no_entry_flag='-bnoentry'
12305 # When large executables or shared objects are built, AIX ld can
12306 # have problems creating the table of contents. If linking a library
12307 # or program results in "error TOC overflow" add -mminimal-toc to
12308 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12309 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12311 archive_cmds_CXX=''
12312 hardcode_direct_CXX=yes
12313 hardcode_direct_absolute_CXX=yes
12314 hardcode_libdir_separator_CXX=':'
12315 link_all_deplibs_CXX=yes
12316 file_list_spec_CXX='${wl}-f,'
12318 if test "$GXX" = yes; then
12319 case $host_os in aix4.[012]|aix4.[012].*)
12320 # We only want to do this on AIX 4.2 and lower, the check
12321 # below for broken collect2 doesn't work under 4.3+
12322 collect2name=`${CC} -print-prog-name=collect2`
12323 if test -f "$collect2name" &&
12324 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12326 # We have reworked collect2
12329 # We have old collect2
12330 hardcode_direct_CXX=unsupported
12331 # It fails to find uninstalled libraries when the uninstalled
12332 # path is not listed in the libpath. Setting hardcode_minus_L
12333 # to unsupported forces relinking
12334 hardcode_minus_L_CXX=yes
12335 hardcode_libdir_flag_spec_CXX='-L$libdir'
12336 hardcode_libdir_separator_CXX=
12339 shared_flag='-shared'
12340 if test "$aix_use_runtimelinking" = yes; then
12341 shared_flag="$shared_flag "'${wl}-G'
12345 if test "$host_cpu" = ia64; then
12346 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12347 # chokes on -Wl,-G. The following line is correct:
12350 if test "$aix_use_runtimelinking" = yes; then
12351 shared_flag='${wl}-G'
12353 shared_flag='${wl}-bM:SRE'
12358 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12359 # It seems that -bexpall does not export symbols beginning with
12360 # underscore (_), so it is better to generate a list of symbols to
12362 always_export_symbols_CXX=yes
12363 if test "$aix_use_runtimelinking" = yes; then
12364 # Warning - without using the other runtime loading flags (-brtl),
12365 # -berok will link without error, but may produce a broken library.
12366 allow_undefined_flag_CXX='-berok'
12367 # Determine the default libpath from the value encoded in an empty
12369 if test "${lt_cv_aix_libpath+set}" = set; then
12370 aix_libpath=$lt_cv_aix_libpath
12372 if ${lt_cv_aix_libpath__CXX+:} false; then :
12373 $as_echo_n "(cached) " >&6
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12386 if ac_fn_cxx_try_link "$LINENO"; then :
12388 lt_aix_libpath_sed='
12389 /Import File Strings/,/^$/ {
12391 s/^0 *\([^ ]*\) *$/\1/
12395 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12396 # Check for a 64-bit object if we didn't find anything.
12397 if test -z "$lt_cv_aix_libpath__CXX"; then
12398 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12401 rm -f core conftest.err conftest.$ac_objext \
12402 conftest$ac_exeext conftest.$ac_ext
12403 if test -z "$lt_cv_aix_libpath__CXX"; then
12404 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12409 aix_libpath=$lt_cv_aix_libpath__CXX
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12414 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"
12416 if test "$host_cpu" = ia64; then
12417 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12418 allow_undefined_flag_CXX="-z nodefs"
12419 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"
12421 # Determine the default libpath from the value encoded in an
12422 # empty executable.
12423 if test "${lt_cv_aix_libpath+set}" = set; then
12424 aix_libpath=$lt_cv_aix_libpath
12426 if ${lt_cv_aix_libpath__CXX+:} false; then :
12427 $as_echo_n "(cached) " >&6
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12440 if ac_fn_cxx_try_link "$LINENO"; then :
12442 lt_aix_libpath_sed='
12443 /Import File Strings/,/^$/ {
12445 s/^0 *\([^ ]*\) *$/\1/
12449 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12450 # Check for a 64-bit object if we didn't find anything.
12451 if test -z "$lt_cv_aix_libpath__CXX"; then
12452 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457 if test -z "$lt_cv_aix_libpath__CXX"; then
12458 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12463 aix_libpath=$lt_cv_aix_libpath__CXX
12466 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12467 # Warning - without using the other run time loading flags,
12468 # -berok will link without error, but may produce a broken library.
12469 no_undefined_flag_CXX=' ${wl}-bernotok'
12470 allow_undefined_flag_CXX=' ${wl}-berok'
12471 if test "$with_gnu_ld" = yes; then
12472 # We only use this code for GNU lds that support --whole-archive.
12473 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12475 # Exported symbols can be pulled into shared objects from archives
12476 whole_archive_flag_spec_CXX='$convenience'
12478 archive_cmds_need_lc_CXX=yes
12479 # This is similar to how AIX traditionally builds its shared
12481 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'
12487 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12488 allow_undefined_flag_CXX=unsupported
12489 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12490 # support --undefined. This deserves some investigation. FIXME
12491 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12498 case $cc_basename in
12500 # FIXME: insert proper C++ library support
12506 cygwin* | mingw* | pw32* | cegcc*)
12507 case $GXX,$cc_basename in
12510 # hardcode_libdir_flag_spec is actually meaningless, as there is
12511 # no search path for DLLs.
12512 hardcode_libdir_flag_spec_CXX=' '
12513 allow_undefined_flag_CXX=unsupported
12514 always_export_symbols_CXX=yes
12515 file_list_spec_CXX='@'
12516 # Tell ltmain to make .lib files, not .a files.
12518 # Tell ltmain to make .dll files, not .so files.
12520 # FIXME: Setting linknames here is a bad hack.
12521 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12522 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12523 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12525 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12527 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12529 # The linker will not automatically build a static lib if we build a DLL.
12530 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12531 enable_shared_with_static_runtimes_CXX=yes
12533 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12534 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12535 lt_tool_outputfile="@TOOL_OUTPUT@"~
12536 case $lt_outputfile in
12539 lt_outputfile="$lt_outputfile.exe"
12540 lt_tool_outputfile="$lt_tool_outputfile.exe"
12543 func_to_tool_file "$lt_outputfile"~
12544 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12545 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12546 $RM "$lt_outputfile.manifest";
12551 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12552 # as there is no search path for DLLs.
12553 hardcode_libdir_flag_spec_CXX='-L$libdir'
12554 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12555 allow_undefined_flag_CXX=unsupported
12556 always_export_symbols_CXX=no
12557 enable_shared_with_static_runtimes_CXX=yes
12559 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12560 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'
12561 # If the export-symbols file already is a .def file (1st line
12562 # is EXPORTS), use it as is; otherwise, prepend...
12563 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12564 cp $export_symbols $output_objdir/$soname.def;
12566 echo EXPORTS > $output_objdir/$soname.def;
12567 cat $export_symbols >> $output_objdir/$soname.def;
12569 $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'
12576 darwin* | rhapsody*)
12579 archive_cmds_need_lc_CXX=no
12580 hardcode_direct_CXX=no
12581 hardcode_automatic_CXX=yes
12582 hardcode_shlibpath_var_CXX=unsupported
12583 if test "$lt_cv_ld_force_load" = "yes"; then
12584 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\"`'
12586 whole_archive_flag_spec_CXX=''
12588 link_all_deplibs_CXX=yes
12589 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12590 case $cc_basename in
12591 ifort*) _lt_dar_can_shared=yes ;;
12592 *) _lt_dar_can_shared=$GCC ;;
12594 if test "$_lt_dar_can_shared" = "yes"; then
12595 output_verbose_link_cmd=func_echo_all
12596 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}"
12597 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12598 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}"
12599 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}"
12600 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12601 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}"
12602 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}"
12612 case $cc_basename in
12614 # FIXME: insert proper C++ library support
12618 # Green Hills C++ Compiler
12619 # FIXME: insert proper C++ library support
12623 # FIXME: insert proper C++ library support
12630 # C++ shared libraries reported to be fairly broken before
12636 archive_cmds_need_lc_CXX=no
12639 freebsd* | dragonfly*)
12640 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12650 link_all_deplibs_CXX=yes
12654 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12655 hardcode_libdir_separator_CXX=:
12656 export_dynamic_flag_spec_CXX='${wl}-E'
12657 hardcode_direct_CXX=yes
12658 hardcode_minus_L_CXX=yes # Not in the search PATH,
12659 # but as the default
12660 # location of the library.
12662 case $cc_basename in
12664 # FIXME: insert proper C++ library support
12668 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'
12669 # Commands to make compiler produce verbose output that lists
12670 # what "hidden" libraries, object files and flags are used when
12671 # linking a shared library.
12673 # There doesn't appear to be a way to prevent this compiler from
12674 # explicitly linking system object files so we need to strip them
12675 # from the output so that they don't get included in the library
12677 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"'
12680 if test "$GXX" = yes; then
12681 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'
12683 # FIXME: insert proper C++ library support
12691 if test $with_gnu_ld = no; then
12692 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12693 hardcode_libdir_separator_CXX=:
12699 export_dynamic_flag_spec_CXX='${wl}-E'
12705 hardcode_direct_CXX=no
12706 hardcode_shlibpath_var_CXX=no
12709 hardcode_direct_CXX=yes
12710 hardcode_direct_absolute_CXX=yes
12711 hardcode_minus_L_CXX=yes # Not in the search PATH,
12712 # but as the default
12713 # location of the library.
12717 case $cc_basename in
12719 # FIXME: insert proper C++ library support
12725 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12728 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12734 # Commands to make compiler produce verbose output that lists
12735 # what "hidden" libraries, object files and flags are used when
12736 # linking a shared library.
12738 # There doesn't appear to be a way to prevent this compiler from
12739 # explicitly linking system object files so we need to strip them
12740 # from the output so that they don't get included in the library
12742 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"'
12745 if test "$GXX" = yes; then
12746 if test $with_gnu_ld = no; then
12749 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12755 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'
12760 # FIXME: insert proper C++ library support
12768 hardcode_direct_CXX=no
12769 hardcode_shlibpath_var_CXX=no
12770 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12771 export_dynamic_flag_spec_CXX='${wl}-E'
12772 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12773 # Instead, shared libraries are loaded at an image base (0x10000000 by
12774 # default) and relocated if they conflict, which is a slow very memory
12775 # consuming and fragmenting process. To avoid this, we pick a random,
12776 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12777 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12778 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'
12779 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'
12782 case $cc_basename in
12785 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'
12787 # Archives containing C++ object files must be created using
12788 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12789 # necessary to make sure instantiated templates are included
12791 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12794 if test "$GXX" = yes; then
12795 if test "$with_gnu_ld" = no; then
12796 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'
12798 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'
12801 link_all_deplibs_CXX=yes
12804 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12805 hardcode_libdir_separator_CXX=:
12806 inherit_rpath_CXX=yes
12809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12810 case $cc_basename in
12812 # Kuck and Associates, Inc. (KAI) C++ Compiler
12814 # KCC will only create a shared library if the output file
12815 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12816 # to its proper name (with version) after linking.
12817 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'
12818 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'
12819 # Commands to make compiler produce verbose output that lists
12820 # what "hidden" libraries, object files and flags are used when
12821 # linking a shared library.
12823 # There doesn't appear to be a way to prevent this compiler from
12824 # explicitly linking system object files so we need to strip them
12825 # from the output so that they don't get included in the library
12827 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"'
12829 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12830 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12832 # Archives containing C++ object files must be created using
12833 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12834 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12839 # version 8.0 and above of icpc choke on multiply defined symbols
12840 # if we add $predep_objects and $postdep_objects, however 7.1 and
12841 # earlier do not add the objects themselves.
12842 case `$CC -V 2>&1` in
12844 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12845 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'
12847 *) # Version 8.0 or newer
12850 ia64*) tmp_idyn=' -i_dynamic';;
12852 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 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'
12856 archive_cmds_need_lc_CXX=no
12857 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12858 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12859 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12862 # Portland Group C++ compiler
12864 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12865 prelink_cmds_CXX='tpldir=Template.dir~
12867 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12868 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12869 old_archive_cmds_CXX='tpldir=Template.dir~
12871 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12872 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12874 archive_cmds_CXX='tpldir=Template.dir~
12876 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12877 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12878 archive_expsym_cmds_CXX='tpldir=Template.dir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12881 $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'
12883 *) # Version 6 and above use weak symbols
12884 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12885 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'
12889 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12890 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12891 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'
12895 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896 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'
12898 runpath_var=LD_RUN_PATH
12899 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12900 hardcode_libdir_separator_CXX=:
12902 # Commands to make compiler produce verbose output that lists
12903 # what "hidden" libraries, object files and flags are used when
12904 # linking a shared library.
12906 # There doesn't appear to be a way to prevent this compiler from
12907 # explicitly linking system object files so we need to strip them
12908 # from the output so that they don't get included in the library
12910 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'
12912 xl* | mpixl* | bgxl*)
12913 # IBM XL 8.0 on PPC, with GNU ld
12914 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12915 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12916 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12917 if test "x$supports_anon_versioning" = xyes; then
12918 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12919 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12920 echo "local: *; };" >> $output_objdir/$libname.ver~
12921 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12925 case `$CC -V 2>&1 | sed 5q` in
12928 no_undefined_flag_CXX=' -zdefs'
12929 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12930 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'
12931 hardcode_libdir_flag_spec_CXX='-R$libdir'
12932 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'
12933 compiler_needs_object_CXX=yes
12935 # Not sure whether something based on
12936 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12938 output_verbose_link_cmd='func_echo_all'
12940 # Archives containing C++ object files must be created using
12941 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12942 # necessary to make sure instantiated templates are included
12944 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12952 # FIXME: insert proper C++ library support
12957 # FIXME: insert proper C++ library support
12962 case $cc_basename in
12964 # FIXME: insert proper C++ library support
12968 # FIXME: insert proper C++ library support
12975 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12976 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12978 hardcode_libdir_flag_spec_CXX='-R$libdir'
12979 hardcode_direct_CXX=yes
12980 hardcode_shlibpath_var_CXX=no
12982 # Workaround some broken pre-1.5 toolchains
12983 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12991 # C++ shared libraries are fairly broken
12996 if test -f /usr/libexec/ld.so; then
12997 hardcode_direct_CXX=yes
12998 hardcode_shlibpath_var_CXX=no
12999 hardcode_direct_absolute_CXX=yes
13000 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13001 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13002 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13003 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13004 export_dynamic_flag_spec_CXX='${wl}-E'
13005 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13007 output_verbose_link_cmd=func_echo_all
13013 osf3* | osf4* | osf5*)
13014 case $cc_basename in
13016 # Kuck and Associates, Inc. (KAI) C++ Compiler
13018 # KCC will only create a shared library if the output file
13019 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13020 # to its proper name (with version) after linking.
13021 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'
13023 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13024 hardcode_libdir_separator_CXX=:
13026 # Archives containing C++ object files must be created using
13027 # the KAI C++ compiler.
13029 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13030 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13034 # Rational C++ 2.4.1
13035 # FIXME: insert proper C++ library support
13041 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13042 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'
13043 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13046 allow_undefined_flag_CXX=' -expect_unresolved \*'
13047 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'
13048 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13049 echo "-hidden">> $lib.exp~
13050 $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~
13052 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13056 hardcode_libdir_separator_CXX=:
13058 # Commands to make compiler produce verbose output that lists
13059 # what "hidden" libraries, object files and flags are used when
13060 # linking a shared library.
13062 # There doesn't appear to be a way to prevent this compiler from
13063 # explicitly linking system object files so we need to strip them
13064 # from the output so that they don't get included in the library
13066 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"'
13069 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13070 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13073 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'
13076 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'
13080 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13081 hardcode_libdir_separator_CXX=:
13083 # Commands to make compiler produce verbose output that lists
13084 # what "hidden" libraries, object files and flags are used when
13085 # linking a shared library.
13086 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13089 # FIXME: insert proper C++ library support
13097 # FIXME: insert proper C++ library support
13102 case $cc_basename in
13105 # FIXME: insert proper C++ library support
13110 # FIXME: insert proper C++ library support
13114 # FIXME: insert proper C++ library support
13121 case $cc_basename in
13123 # Sun C++ 4.2, 5.x and Centerline C++
13124 archive_cmds_need_lc_CXX=yes
13125 no_undefined_flag_CXX=' -zdefs'
13126 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13127 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13128 $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'
13130 hardcode_libdir_flag_spec_CXX='-R$libdir'
13131 hardcode_shlibpath_var_CXX=no
13133 solaris2.[0-5] | solaris2.[0-5].*) ;;
13135 # The compiler driver will combine and reorder linker options,
13136 # but understands `-z linker_flag'.
13137 # Supported since Solaris 2.6 (maybe 2.5.1?)
13138 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13141 link_all_deplibs_CXX=yes
13143 output_verbose_link_cmd='func_echo_all'
13145 # Archives containing C++ object files must be created using
13146 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13147 # necessary to make sure instantiated templates are included
13149 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13152 # Green Hills C++ Compiler
13153 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13155 # The C++ compiler must be used to create the archive.
13156 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13159 # GNU C++ compiler with Solaris linker
13160 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13161 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13162 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13163 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13164 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13165 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13167 # Commands to make compiler produce verbose output that lists
13168 # what "hidden" libraries, object files and flags are used when
13169 # linking a shared library.
13170 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13172 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13174 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13175 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13176 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13178 # Commands to make compiler produce verbose output that lists
13179 # what "hidden" libraries, object files and flags are used when
13180 # linking a shared library.
13181 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13184 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13186 solaris2.[0-5] | solaris2.[0-5].*) ;;
13188 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13196 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13197 no_undefined_flag_CXX='${wl}-z,text'
13198 archive_cmds_need_lc_CXX=no
13199 hardcode_shlibpath_var_CXX=no
13200 runpath_var='LD_RUN_PATH'
13202 case $cc_basename in
13204 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13205 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13208 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13209 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 sysv5* | sco3.2v5* | sco5v6*)
13215 # Note: We can NOT use -z defs as we might desire, because we do not
13216 # link with -lc, and that would cause any symbols used from libc to
13217 # always be unresolved, which means just about no library would
13218 # ever link correctly. If we're not using GNU ld we use -z text
13219 # though, which does catch some bad symbols but isn't as heavy-handed
13221 no_undefined_flag_CXX='${wl}-z,text'
13222 allow_undefined_flag_CXX='${wl}-z,nodefs'
13223 archive_cmds_need_lc_CXX=no
13224 hardcode_shlibpath_var_CXX=no
13225 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13226 hardcode_libdir_separator_CXX=':'
13227 link_all_deplibs_CXX=yes
13228 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13229 runpath_var='LD_RUN_PATH'
13231 case $cc_basename in
13233 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13235 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13236 '"$old_archive_cmds_CXX"
13237 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13238 '"$reload_cmds_CXX"
13241 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 case $cc_basename in
13250 # NonStop-UX NCC 3.20
13251 # FIXME: insert proper C++ library support
13255 # FIXME: insert proper C++ library support
13262 # FIXME: insert proper C++ library support
13267 # FIXME: insert proper C++ library support
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13273 $as_echo "$ld_shlibs_CXX" >&6; }
13274 test "$ld_shlibs_CXX" = no && can_build_shared=no
13280 ## There is no encapsulation within the following macros, do not change
13281 ## the running order or otherwise move them around unless you know exactly
13282 ## what you are doing...
13283 # Dependencies to place before and after the object being linked:
13284 predep_objects_CXX=
13285 postdep_objects_CXX=
13288 compiler_lib_search_path_CXX=
13290 cat > conftest.$ac_ext <<_LT_EOF
13294 Foo (void) { a = 0; }
13301 _lt_libdeps_save_CFLAGS=$CFLAGS
13302 case "$CC $CFLAGS " in #(
13303 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13304 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13308 (eval $ac_compile) 2>&5
13310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13311 test $ac_status = 0; }; then
13312 # Parse the compiler output and extract the necessary
13313 # objects, libraries and library flags.
13315 # Sentinel used to keep track of whether or not we are before
13316 # the conftest object file.
13317 pre_test_object_deps_done=no
13319 for p in `eval "$output_verbose_link_cmd"`; do
13320 case ${prev}${p} in
13323 # Some compilers place space between "-{L,R}" and the path.
13324 # Remove the space.
13325 if test $p = "-L" ||
13326 test $p = "-R"; then
13331 # Expand the sysroot to ease extracting the directories later.
13332 if test -z "$prev"; then
13334 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13335 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13336 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13340 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13342 if test "$pre_test_object_deps_done" = no; then
13345 # Internal compiler library paths should come after those
13346 # provided the user. The postdeps already come after the
13347 # user supplied libs so there is no need to process them.
13348 if test -z "$compiler_lib_search_path_CXX"; then
13349 compiler_lib_search_path_CXX="${prev}${p}"
13351 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13354 # The "-l" case would never come before the object being
13355 # linked, so don't bother handling this case.
13358 if test -z "$postdeps_CXX"; then
13359 postdeps_CXX="${prev}${p}"
13361 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13367 *.lto.$objext) ;; # Ignore GCC LTO objects
13369 # This assumes that the test object file only shows up
13370 # once in the compiler output.
13371 if test "$p" = "conftest.$objext"; then
13372 pre_test_object_deps_done=yes
13376 if test "$pre_test_object_deps_done" = no; then
13377 if test -z "$predep_objects_CXX"; then
13378 predep_objects_CXX="$p"
13380 predep_objects_CXX="$predep_objects_CXX $p"
13383 if test -z "$postdep_objects_CXX"; then
13384 postdep_objects_CXX="$p"
13386 postdep_objects_CXX="$postdep_objects_CXX $p"
13391 *) ;; # Ignore the rest.
13399 echo "libtool.m4: error: problem compiling CXX test program"
13402 $RM -f confest.$objext
13403 CFLAGS=$_lt_libdeps_save_CFLAGS
13405 # PORTME: override above test on systems where it is broken
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13416 case `$CC -V 2>&1 | sed 5q` in
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13438 case $cc_basename in
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13505 # C++ specific cases for pic, static, wl, etc.
13506 if test "$GXX" = yes; then
13507 lt_prog_compiler_wl_CXX='-Wl,'
13508 lt_prog_compiler_static_CXX='-static'
13512 # All AIX code is PIC.
13513 if test "$host_cpu" = ia64; then
13514 # AIX 5 now supports IA64 processor
13515 lt_prog_compiler_static_CXX='-Bstatic'
13522 # see comment about AmigaOS4 .so support
13523 lt_prog_compiler_pic_CXX='-fPIC'
13526 # FIXME: we need at least 68020 code to build shared libraries, but
13527 # adding the `-m68020' flag to GCC prevents building anything better,
13529 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13534 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13535 # PIC is the default for these OSes.
13537 mingw* | cygwin* | os2* | pw32* | cegcc*)
13538 # This hack is so that the source file can tell whether it is being
13539 # built for inclusion in a dll (and should export symbols for example).
13540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13541 # (--disable-auto-import) libraries
13542 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13544 darwin* | rhapsody*)
13545 # PIC is the default on this platform
13546 # Common symbols not allowed in MH_DYLIB files
13547 lt_prog_compiler_pic_CXX='-fno-common'
13550 # DJGPP does not support shared libraries at all
13551 lt_prog_compiler_pic_CXX=
13554 # PIC is the default for Haiku.
13555 # The "-static" flag exists, but is broken.
13556 lt_prog_compiler_static_CXX=
13559 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13560 # Instead, we relocate shared libraries at runtime.
13563 if test -d /usr/nec; then
13564 lt_prog_compiler_pic_CXX=-Kconform_pic
13568 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13569 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13570 # sets the default TLS model and affects inlining.
13575 lt_prog_compiler_pic_CXX='-fPIC'
13580 # QNX uses GNU C++, but need to define -shared option too, otherwise
13581 # it will coredump.
13582 lt_prog_compiler_pic_CXX='-fPIC -shared'
13585 lt_prog_compiler_pic_CXX='-fPIC'
13591 # All AIX code is PIC.
13592 if test "$host_cpu" = ia64; then
13593 # AIX 5 now supports IA64 processor
13594 lt_prog_compiler_static_CXX='-Bstatic'
13596 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13600 case $cc_basename in
13602 # Green Hills C++ Compiler
13603 # _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"
13607 mingw* | cygwin* | os2* | pw32* | cegcc*)
13608 # This hack is so that the source file can tell whether it is being
13609 # built for inclusion in a dll (and should export symbols for example).
13610 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13613 case $cc_basename in
13615 lt_prog_compiler_pic_CXX='-KPIC'
13618 # Green Hills C++ Compiler
13619 lt_prog_compiler_pic_CXX='-pic'
13625 freebsd* | dragonfly*)
13626 # FreeBSD uses GNU C++
13628 hpux9* | hpux10* | hpux11*)
13629 case $cc_basename in
13631 lt_prog_compiler_wl_CXX='-Wl,'
13632 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13633 if test "$host_cpu" != ia64; then
13634 lt_prog_compiler_pic_CXX='+Z'
13638 lt_prog_compiler_wl_CXX='-Wl,'
13639 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13645 lt_prog_compiler_pic_CXX='+Z'
13654 # This is c89, which is MS Visual C++ (no shared libs)
13655 # Anyone wants to do a port?
13657 irix5* | irix6* | nonstopux*)
13658 case $cc_basename in
13660 lt_prog_compiler_wl_CXX='-Wl,'
13661 lt_prog_compiler_static_CXX='-non_shared'
13662 # CC pic flag -KPIC is the default.
13668 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13669 case $cc_basename in
13672 lt_prog_compiler_wl_CXX='--backend -Wl,'
13673 lt_prog_compiler_pic_CXX='-fPIC'
13676 # old Intel C++ for x86_64 which still supported -KPIC.
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-KPIC'
13679 lt_prog_compiler_static_CXX='-static'
13682 # Intel C++, used to be incompatible with GCC.
13683 # ICC 10 doesn't accept -KPIC any more.
13684 lt_prog_compiler_wl_CXX='-Wl,'
13685 lt_prog_compiler_pic_CXX='-fPIC'
13686 lt_prog_compiler_static_CXX='-static'
13689 # Portland Group C++ compiler
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-fpic'
13692 lt_prog_compiler_static_CXX='-Bstatic'
13696 # Make sure the PIC flag is empty. It appears that all Alpha
13697 # Linux and Compaq Tru64 Unix objects are PIC.
13698 lt_prog_compiler_pic_CXX=
13699 lt_prog_compiler_static_CXX='-non_shared'
13701 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13702 # IBM XL 8.0, 9.0 on PPC and BlueGene
13703 lt_prog_compiler_wl_CXX='-Wl,'
13704 lt_prog_compiler_pic_CXX='-qpic'
13705 lt_prog_compiler_static_CXX='-qstaticlink'
13708 case `$CC -V 2>&1 | sed 5q` in
13711 lt_prog_compiler_pic_CXX='-KPIC'
13712 lt_prog_compiler_static_CXX='-Bstatic'
13713 lt_prog_compiler_wl_CXX='-Qoption ld '
13724 case $cc_basename in
13726 lt_prog_compiler_pic_CXX='-W c,exportall'
13732 netbsd* | netbsdelf*-gnu)
13735 # QNX uses GNU C++, but need to define -shared option too, otherwise
13736 # it will coredump.
13737 lt_prog_compiler_pic_CXX='-fPIC -shared'
13739 osf3* | osf4* | osf5*)
13740 case $cc_basename in
13742 lt_prog_compiler_wl_CXX='--backend -Wl,'
13745 # Rational C++ 2.4.1
13746 lt_prog_compiler_pic_CXX='-pic'
13749 # Digital/Compaq C++
13750 lt_prog_compiler_wl_CXX='-Wl,'
13751 # Make sure the PIC flag is empty. It appears that all Alpha
13752 # Linux and Compaq Tru64 Unix objects are PIC.
13753 lt_prog_compiler_pic_CXX=
13754 lt_prog_compiler_static_CXX='-non_shared'
13763 case $cc_basename in
13765 # Sun C++ 4.2, 5.x and Centerline C++
13766 lt_prog_compiler_pic_CXX='-KPIC'
13767 lt_prog_compiler_static_CXX='-Bstatic'
13768 lt_prog_compiler_wl_CXX='-Qoption ld '
13771 # Green Hills C++ Compiler
13772 lt_prog_compiler_pic_CXX='-PIC'
13779 case $cc_basename in
13782 lt_prog_compiler_pic_CXX='-pic'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13787 lt_prog_compiler_pic_CXX='-pic'
13793 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13794 case $cc_basename in
13796 lt_prog_compiler_wl_CXX='-Wl,'
13797 lt_prog_compiler_pic_CXX='-KPIC'
13798 lt_prog_compiler_static_CXX='-Bstatic'
13803 case $cc_basename in
13805 # NonStop-UX NCC 3.20
13806 lt_prog_compiler_pic_CXX='-KPIC'
13815 lt_prog_compiler_can_build_shared_CXX=no
13821 # For platforms which do not support PIC, -DPIC is meaningless:
13823 lt_prog_compiler_pic_CXX=
13826 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13831 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13832 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13833 $as_echo_n "(cached) " >&6
13835 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13838 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13839 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13842 # Check to make sure the PIC flag actually works.
13844 if test -n "$lt_prog_compiler_pic_CXX"; then
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13846 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13847 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13848 $as_echo_n "(cached) " >&6
13850 lt_cv_prog_compiler_pic_works_CXX=no
13851 ac_outfile=conftest.$ac_objext
13852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13853 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13854 # Insert the option either (1) after the last *FLAGS variable, or
13855 # (2) before a word containing "conftest.", or (3) at the end.
13856 # Note that $ac_compile itself does not contain backslashes and begins
13857 # with a dollar sign (not a hyphen), so the echo should work correctly.
13858 # The option is referenced via a variable to avoid confusing sed.
13859 lt_compile=`echo "$ac_compile" | $SED \
13860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13862 -e 's:$: $lt_compiler_flag:'`
13863 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13864 (eval "$lt_compile" 2>conftest.err)
13866 cat conftest.err >&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 if (exit $ac_status) && test -s "$ac_outfile"; then
13869 # The compiler can only warn and ignore the option if not recognized
13870 # So say no if there are warnings other than the usual output.
13871 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13872 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13873 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13874 lt_cv_prog_compiler_pic_works_CXX=yes
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13881 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13883 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13884 case $lt_prog_compiler_pic_CXX in
13886 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13889 lt_prog_compiler_pic_CXX=
13890 lt_prog_compiler_can_build_shared_CXX=no
13900 # Check to make sure the static flag actually works.
13902 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13905 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13906 $as_echo_n "(cached) " >&6
13908 lt_cv_prog_compiler_static_works_CXX=no
13909 save_LDFLAGS="$LDFLAGS"
13910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13913 # The linker can only warn and ignore the option if not recognized
13914 # So say no if there are warnings
13915 if test -s conftest.err; then
13916 # Append any errors to the config.log.
13917 cat conftest.err 1>&5
13918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13920 if diff conftest.exp conftest.er2 >/dev/null; then
13921 lt_cv_prog_compiler_static_works_CXX=yes
13924 lt_cv_prog_compiler_static_works_CXX=yes
13928 LDFLAGS="$save_LDFLAGS"
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13932 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13934 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13937 lt_prog_compiler_static_CXX=
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13944 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13945 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13946 $as_echo_n "(cached) " >&6
13948 lt_cv_prog_compiler_c_o_CXX=no
13949 $RM -r conftest 2>/dev/null
13953 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13955 lt_compiler_flag="-o out/conftest2.$ac_objext"
13956 # Insert the option either (1) after the last *FLAGS variable, or
13957 # (2) before a word containing "conftest.", or (3) at the end.
13958 # Note that $ac_compile itself does not contain backslashes and begins
13959 # with a dollar sign (not a hyphen), so the echo should work correctly.
13960 lt_compile=`echo "$ac_compile" | $SED \
13961 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13962 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13963 -e 's:$: $lt_compiler_flag:'`
13964 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13965 (eval "$lt_compile" 2>out/conftest.err)
13967 cat out/conftest.err >&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13971 # The compiler can only warn and ignore the option if not recognized
13972 # So say no if there are warnings
13973 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13974 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13975 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13976 lt_cv_prog_compiler_c_o_CXX=yes
13981 # SGI C++ compiler will create directory out/ii_files/ for
13982 # template instantiation
13983 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13984 $RM out/* && rmdir out
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13991 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13996 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13997 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13998 $as_echo_n "(cached) " >&6
14000 lt_cv_prog_compiler_c_o_CXX=no
14001 $RM -r conftest 2>/dev/null
14005 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14007 lt_compiler_flag="-o out/conftest2.$ac_objext"
14008 # Insert the option either (1) after the last *FLAGS variable, or
14009 # (2) before a word containing "conftest.", or (3) at the end.
14010 # Note that $ac_compile itself does not contain backslashes and begins
14011 # with a dollar sign (not a hyphen), so the echo should work correctly.
14012 lt_compile=`echo "$ac_compile" | $SED \
14013 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14014 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14015 -e 's:$: $lt_compiler_flag:'`
14016 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14017 (eval "$lt_compile" 2>out/conftest.err)
14019 cat out/conftest.err >&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14023 # The compiler can only warn and ignore the option if not recognized
14024 # So say no if there are warnings
14025 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14026 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14027 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14028 lt_cv_prog_compiler_c_o_CXX=yes
14033 # SGI C++ compiler will create directory out/ii_files/ for
14034 # template instantiation
14035 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14036 $RM out/* && rmdir out
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14043 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14048 hard_links="nottested"
14049 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14050 # do not overwrite the value of need_locks provided by the user
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14052 $as_echo_n "checking if we can lock with hard links... " >&6; }
14055 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14057 ln conftest.a conftest.b 2>&5 || hard_links=no
14058 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14060 $as_echo "$hard_links" >&6; }
14061 if test "$hard_links" = no; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14063 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14073 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14075 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14079 # If we're using GNU nm, then we don't want the "-C" option.
14080 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14081 # Also, AIX nm treats weak defined symbols like other global defined
14082 # symbols, whereas GNU nm marks them as "W".
14083 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14084 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'
14086 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'
14090 export_symbols_cmds_CXX="$ltdll_cmds"
14092 cygwin* | mingw* | cegcc*)
14093 case $cc_basename in
14096 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'
14097 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14101 linux* | k*bsd*-gnu | gnu*)
14102 link_all_deplibs_CXX=no
14105 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14110 $as_echo "$ld_shlibs_CXX" >&6; }
14111 test "$ld_shlibs_CXX" = no && can_build_shared=no
14113 with_gnu_ld_CXX=$with_gnu_ld
14121 # Do we need to explicitly link libc?
14123 case "x$archive_cmds_need_lc_CXX" in
14125 # Assume -lc should be added
14126 archive_cmds_need_lc_CXX=yes
14128 if test "$enable_shared" = yes && test "$GCC" = yes; then
14129 case $archive_cmds_CXX in
14131 # FIXME: we may have to deal with multi-command sequences.
14134 # Test whether the compiler implicitly links with -lc since on some
14135 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14136 # to ld, don't add -lc before -lgcc.
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14138 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14139 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14140 $as_echo_n "(cached) " >&6
14143 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14146 (eval $ac_compile) 2>&5
14148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14149 test $ac_status = 0; } 2>conftest.err; then
14152 libobjs=conftest.$ac_objext
14154 wl=$lt_prog_compiler_wl_CXX
14155 pic_flag=$lt_prog_compiler_pic_CXX
14161 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14162 allow_undefined_flag_CXX=
14163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14164 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14167 test $ac_status = 0; }
14169 lt_cv_archive_cmds_need_lc_CXX=no
14171 lt_cv_archive_cmds_need_lc_CXX=yes
14173 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14175 cat conftest.err 1>&5
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14181 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14182 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14253 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14255 library_names_spec=
14256 libname_spec='lib$name'
14260 postuninstall_cmds=
14264 shlibpath_overrides_runpath=unknown
14266 dynamic_linker="$host_os ld.so"
14267 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14268 need_lib_prefix=unknown
14269 hardcode_into_libs=no
14271 # when you set need_version to no, make sure it does not cause -set_version
14272 # flags to be left without arguments
14273 need_version=unknown
14278 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14279 shlibpath_var=LIBPATH
14281 # AIX 3 has no versioning support, so we append a major version to the name.
14282 soname_spec='${libname}${release}${shared_ext}$major'
14289 hardcode_into_libs=yes
14290 if test "$host_cpu" = ia64; then
14291 # AIX 5 supports IA64
14292 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14293 shlibpath_var=LD_LIBRARY_PATH
14295 # With GCC up to 2.95.x, collect2 would create an import file
14296 # for dependence libraries. The import file would start with
14297 # the line `#! .'. This would cause the generated library to
14298 # depend on `.', always an invalid library. This was fixed in
14299 # development snapshots of GCC prior to 3.0.
14301 aix4 | aix4.[01] | aix4.[01].*)
14302 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14304 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14307 can_build_shared=no
14311 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14312 # soname into executable. Probably we can add versioning support to
14313 # collect2, so additional links can be useful in future.
14314 if test "$aix_use_runtimelinking" = yes; then
14315 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14316 # instead of lib<name>.a to let people know that these are not
14317 # typical AIX shared libraries.
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 # We preserve .a as extension for shared libraries through AIX4.2
14321 # and later when we are not doing run time linking.
14322 library_names_spec='${libname}${release}.a $libname.a'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14325 shlibpath_var=LIBPATH
14332 # Since July 2007 AmigaOS4 officially supports .so libraries.
14333 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14337 library_names_spec='$libname.ixlibrary $libname.a'
14338 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14339 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'
14345 library_names_spec='${libname}${shared_ext}'
14346 dynamic_linker="$host_os ld.so"
14347 shlibpath_var=LIBRARY_PATH
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14356 shlibpath_var=LD_LIBRARY_PATH
14357 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14358 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14359 # the default ld.so.conf also contains /usr/contrib/lib and
14360 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14361 # libtool to hard-code these into programs
14364 cygwin* | mingw* | pw32* | cegcc*)
14365 version_type=windows
14370 case $GCC,$cc_basename in
14373 library_names_spec='$libname.dll.a'
14374 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14375 postinstall_cmds='base_file=`basename \${file}`~
14376 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14377 dldir=$destdir/`dirname \$dlpath`~
14378 test -d \$dldir || mkdir -p \$dldir~
14379 $install_prog $dir/$dlname \$dldir/$dlname~
14380 chmod a+x \$dldir/$dlname~
14381 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14382 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14384 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14385 dlpath=$dir/\$dldll~
14387 shlibpath_overrides_runpath=yes
14391 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14392 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14396 # MinGW DLLs use traditional 'lib' prefix
14397 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14400 # pw32 DLLs use 'pw' prefix rather than 'lib'
14401 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14404 dynamic_linker='Win32 ld.exe'
14409 libname_spec='$name'
14410 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14411 library_names_spec='${libname}.dll.lib'
14415 sys_lib_search_path_spec=
14418 for lt_path in $LIB
14421 # Let DOS variable expansion print the short 8.3 style file name.
14422 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14423 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14426 # Convert to MSYS style.
14427 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14430 # Convert to unix form, then to dos form, then back to unix form
14431 # but this time dos style (no spaces!) so that the unix form looks
14432 # like /cygdrive/c/PROGRA~1:/cygdr...
14433 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14434 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14435 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14438 sys_lib_search_path_spec="$LIB"
14439 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14440 # It is most probably a Windows format PATH.
14441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14443 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14445 # FIXME: find the short name or the path components, as spaces are
14446 # common. (e.g. "Program Files" -> "PROGRA~1")
14450 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14451 postinstall_cmds='base_file=`basename \${file}`~
14452 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14453 dldir=$destdir/`dirname \$dlpath`~
14454 test -d \$dldir || mkdir -p \$dldir~
14455 $install_prog $dir/$dlname \$dldir/$dlname'
14456 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14457 dlpath=$dir/\$dldll~
14459 shlibpath_overrides_runpath=yes
14460 dynamic_linker='Win32 link.exe'
14464 # Assume MSVC wrapper
14465 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14466 dynamic_linker='Win32 ld.exe'
14469 # FIXME: first we should search . and the directory the executable is in
14473 darwin* | rhapsody*)
14474 dynamic_linker="$host_os dyld"
14475 version_type=darwin
14478 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14479 soname_spec='${libname}${release}${major}$shared_ext'
14480 shlibpath_overrides_runpath=yes
14481 shlibpath_var=DYLD_LIBRARY_PATH
14482 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14484 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14492 soname_spec='${libname}${release}${shared_ext}$major'
14493 shlibpath_var=LD_LIBRARY_PATH
14500 freebsd* | dragonfly*)
14501 # DragonFly does not have aout. When/if they implement a new
14502 # versioning mechanism, adjust this.
14503 if test -x /usr/bin/objformat; then
14504 objformat=`/usr/bin/objformat`
14507 freebsd[123]*) objformat=aout ;;
14508 *) objformat=elf ;;
14511 version_type=freebsd-$objformat
14512 case $version_type in
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14523 shlibpath_var=LD_LIBRARY_PATH
14526 shlibpath_overrides_runpath=yes
14528 freebsd3.[01]* | freebsdelf3.[01]*)
14529 shlibpath_overrides_runpath=yes
14530 hardcode_into_libs=yes
14532 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14533 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14534 shlibpath_overrides_runpath=no
14535 hardcode_into_libs=yes
14537 *) # from 4.6 on, and DragonFly
14538 shlibpath_overrides_runpath=yes
14539 hardcode_into_libs=yes
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14549 soname_spec='${libname}${release}${shared_ext}$major'
14550 shlibpath_var=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath=no
14552 hardcode_into_libs=yes
14559 dynamic_linker="$host_os runtime_loader"
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 shlibpath_var=LIBRARY_PATH
14563 shlibpath_overrides_runpath=yes
14564 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14565 hardcode_into_libs=yes
14568 hpux9* | hpux10* | hpux11*)
14569 # Give a soname corresponding to the major version so that dld.sl refuses to
14570 # link against other versions.
14577 hardcode_into_libs=yes
14578 dynamic_linker="$host_os dld.so"
14579 shlibpath_var=LD_LIBRARY_PATH
14580 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 if test "X$HPUX_IA64_MODE" = X32; then
14584 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14586 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14588 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14592 hardcode_into_libs=yes
14593 dynamic_linker="$host_os dld.sl"
14594 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14595 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14597 soname_spec='${libname}${release}${shared_ext}$major'
14598 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14599 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14603 dynamic_linker="$host_os dld.sl"
14604 shlibpath_var=SHLIB_PATH
14605 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
14610 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14611 postinstall_cmds='chmod 555 $lib'
14612 # or fails outright, so override atomically:
14613 install_override_mode=555
14620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14621 soname_spec='${libname}${release}${shared_ext}$major'
14622 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14623 shlibpath_var=LD_LIBRARY_PATH
14624 shlibpath_overrides_runpath=no
14625 hardcode_into_libs=yes
14628 irix5* | irix6* | nonstopux*)
14630 nonstopux*) version_type=nonstopux ;;
14632 if test "$lt_cv_prog_gnu_ld" = yes; then
14640 soname_spec='${libname}${release}${shared_ext}$major'
14641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14643 irix5* | nonstopux*)
14644 libsuff= shlibsuff=
14647 case $LD in # libtool.m4 will add one of these switches to LD
14648 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14649 libsuff= shlibsuff= libmagic=32-bit;;
14650 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14651 libsuff=32 shlibsuff=N32 libmagic=N32;;
14652 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14653 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14654 *) libsuff= shlibsuff= libmagic=never-match;;
14658 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14659 shlibpath_overrides_runpath=no
14660 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14661 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14662 hardcode_into_libs=yes
14665 # No shared lib support for Linux oldld, aout, or coff.
14666 linux*oldld* | linux*aout* | linux*coff*)
14670 # This must be Linux ELF.
14671 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 soname_spec='${libname}${release}${shared_ext}$major'
14677 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14678 shlibpath_var=LD_LIBRARY_PATH
14679 shlibpath_overrides_runpath=no
14681 # Some binutils ld are patched to set DT_RUNPATH
14682 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14683 $as_echo_n "(cached) " >&6
14685 lt_cv_shlibpath_overrides_runpath=no
14686 save_LDFLAGS=$LDFLAGS
14687 save_libdir=$libdir
14688 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14689 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14701 if ac_fn_cxx_try_link "$LINENO"; then :
14702 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14703 lt_cv_shlibpath_overrides_runpath=yes
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14708 LDFLAGS=$save_LDFLAGS
14709 libdir=$save_libdir
14713 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14715 # This implies no fast_install, which is unacceptable.
14716 # Some rework will be needed to allow for fast_install
14717 # before this can be enabled.
14718 hardcode_into_libs=yes
14720 # Append ld.so.conf contents to the search path
14721 if test -f /etc/ld.so.conf; then
14722 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' ' '`
14723 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14726 # We used to test for /lib/ld.so.1 and disable shared libraries on
14727 # powerpc, because MkLinux only supported shared libraries with the
14728 # GNU dynamic linker. Since this was broken with cross compilers,
14729 # most powerpc-linux boxes support dynamic linking these days and
14730 # people can always --disable-shared, the test was removed, and we
14731 # assume the GNU/Linux dynamic linker is in use.
14732 dynamic_linker='GNU/Linux ld.so'
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 shlibpath_overrides_runpath=no
14743 hardcode_into_libs=yes
14744 dynamic_linker='NetBSD ld.elf_so'
14751 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14753 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14754 dynamic_linker='NetBSD (a.out) ld.so'
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 dynamic_linker='NetBSD ld.elf_so'
14760 shlibpath_var=LD_LIBRARY_PATH
14761 shlibpath_overrides_runpath=yes
14762 hardcode_into_libs=yes
14767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14768 shlibpath_var=LD_LIBRARY_PATH
14769 shlibpath_overrides_runpath=yes
14776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14777 soname_spec='${libname}${release}${shared_ext}$major'
14778 shlibpath_var=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath=no
14780 hardcode_into_libs=yes
14781 dynamic_linker='ldqnx.so'
14786 sys_lib_dlsearch_path_spec="/usr/lib"
14788 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14790 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14791 *) need_version=no ;;
14793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14794 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14795 shlibpath_var=LD_LIBRARY_PATH
14796 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14798 openbsd2.[89] | openbsd2.[89].*)
14799 shlibpath_overrides_runpath=no
14802 shlibpath_overrides_runpath=yes
14806 shlibpath_overrides_runpath=yes
14811 libname_spec='$name'
14814 library_names_spec='$libname${shared_ext} $libname.a'
14815 dynamic_linker='OS/2 ld.exe'
14816 shlibpath_var=LIBPATH
14819 osf3* | osf4* | osf5*)
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825 shlibpath_var=LD_LIBRARY_PATH
14826 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14827 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14839 soname_spec='${libname}${release}${shared_ext}$major'
14840 shlibpath_var=LD_LIBRARY_PATH
14841 shlibpath_overrides_runpath=yes
14842 hardcode_into_libs=yes
14843 # ldd complains unless libraries are executable
14844 postinstall_cmds='chmod +x $lib'
14849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14850 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14851 shlibpath_var=LD_LIBRARY_PATH
14852 shlibpath_overrides_runpath=yes
14853 if test "$with_gnu_ld" = yes; then
14861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14862 soname_spec='${libname}${release}${shared_ext}$major'
14863 shlibpath_var=LD_LIBRARY_PATH
14864 case $host_vendor in
14866 shlibpath_overrides_runpath=no
14868 runpath_var=LD_RUN_PATH
14876 shlibpath_overrides_runpath=no
14877 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14883 if test -d /usr/nec ;then
14885 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14886 soname_spec='$libname${shared_ext}.$major'
14887 shlibpath_var=LD_LIBRARY_PATH
14891 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14892 version_type=freebsd-elf
14895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14896 soname_spec='${libname}${release}${shared_ext}$major'
14897 shlibpath_var=LD_LIBRARY_PATH
14898 shlibpath_overrides_runpath=yes
14899 hardcode_into_libs=yes
14900 if test "$with_gnu_ld" = yes; then
14901 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14903 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14906 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14910 sys_lib_dlsearch_path_spec='/usr/lib'
14914 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14919 shlibpath_var=LD_LIBRARY_PATH
14920 shlibpath_overrides_runpath=no
14921 hardcode_into_libs=yes
14926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14927 soname_spec='${libname}${release}${shared_ext}$major'
14928 shlibpath_var=LD_LIBRARY_PATH
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14936 $as_echo "$dynamic_linker" >&6; }
14937 test "$dynamic_linker" = no && can_build_shared=no
14939 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14940 if test "$GCC" = yes; then
14941 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14944 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14945 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14947 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14948 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14989 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14990 hardcode_action_CXX=
14991 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14992 test -n "$runpath_var_CXX" ||
14993 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14995 # We can hardcode non-existent directories.
14996 if test "$hardcode_direct_CXX" != no &&
14997 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14998 # have to relink, otherwise we might link with an installed library
14999 # when we should be linking with a yet-to-be-installed one
15000 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15001 test "$hardcode_minus_L_CXX" != no; then
15002 # Linking always hardcodes the temporary library directory.
15003 hardcode_action_CXX=relink
15005 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15006 hardcode_action_CXX=immediate
15009 # We cannot hardcode anything, or else we can only hardcode existing
15011 hardcode_action_CXX=unsupported
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15014 $as_echo "$hardcode_action_CXX" >&6; }
15016 if test "$hardcode_action_CXX" = relink ||
15017 test "$inherit_rpath_CXX" = yes; then
15018 # Fast installation is not supported
15019 enable_fast_install=no
15020 elif test "$shlibpath_overrides_runpath" = yes ||
15021 test "$enable_shared" = no; then
15022 # Fast installation is not necessary
15023 enable_fast_install=needless
15032 fi # test -n "$compiler"
15035 CFLAGS=$lt_save_CFLAGS
15039 with_gnu_ld=$lt_save_with_gnu_ld
15040 lt_cv_path_LDCXX=$lt_cv_path_LD
15041 lt_cv_path_LD=$lt_save_path_LD
15042 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15043 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15044 fi # test "$_lt_caught_CXX_error" != yes
15047 ac_cpp='$CXXCPP $CPPFLAGS'
15048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15064 ac_config_commands="$ac_config_commands libtool"
15069 # Only expand once:
15073 # Checks for libraries.
15074 # FIXME: Replace `main' with a function in `-lAXE':
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lAXE" >&5
15076 $as_echo_n "checking for main in -lAXE... " >&6; }
15077 if ${ac_cv_lib_AXE_main+:} false; then :
15078 $as_echo_n "(cached) " >&6
15080 ac_check_lib_save_LIBS=$LIBS
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15094 if ac_fn_cxx_try_link "$LINENO"; then :
15095 ac_cv_lib_AXE_main=yes
15097 ac_cv_lib_AXE_main=no
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_lib_save_LIBS
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_AXE_main" >&5
15104 $as_echo "$ac_cv_lib_AXE_main" >&6; }
15105 if test "x$ac_cv_lib_AXE_main" = xyes; then :
15106 cat >>confdefs.h <<_ACEOF
15107 #define HAVE_LIBAXE 1
15115 # Checks for header files.
15117 for ac_header in arpa/inet.h netdb.h sys/socket.h
15119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15120 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15122 cat >>confdefs.h <<_ACEOF
15123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15131 # Checks for typedefs, structures, and compiler characteristics.
15132 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15133 if test "x$ac_cv_type_size_t" = xyes; then :
15137 cat >>confdefs.h <<_ACEOF
15138 #define size_t unsigned int
15143 ac_fn_cxx_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15144 if test "x$ac_cv_type_ssize_t" = xyes; then :
15148 cat >>confdefs.h <<_ACEOF
15149 #define ssize_t int
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15155 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15156 if ${ac_cv_header_stdbool_h+:} false; then :
15157 $as_echo_n "(cached) " >&6
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 #include <stdbool.h>
15164 "error: bool is not defined"
15167 "error: false is not defined"
15170 "error: false is not 0"
15173 "error: true is not defined"
15176 "error: true is not 1"
15178 #ifndef __bool_true_false_are_defined
15179 "error: __bool_true_false_are_defined is not defined"
15182 struct s { _Bool s: 1; _Bool t; } s;
15184 char a[true == 1 ? 1 : -1];
15185 char b[false == 0 ? 1 : -1];
15186 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
15187 char d[(bool) 0.5 == true ? 1 : -1];
15188 /* See body of main program for 'e'. */
15189 char f[(_Bool) 0.0 == false ? 1 : -1];
15191 char h[sizeof (_Bool)];
15192 char i[sizeof s.t];
15193 enum { j = false, k = true, l = false * true, m = true * 256 };
15194 /* The following fails for
15195 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15197 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
15198 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
15199 /* Catch a bug in an HP-UX C compiler. See
15200 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15201 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
15213 /* Refer to every declared value, to avoid compiler optimizations. */
15214 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
15215 + !m + !n + !o + !p + !q + !pq);
15221 if ac_fn_cxx_try_compile "$LINENO"; then :
15222 ac_cv_header_stdbool_h=yes
15224 ac_cv_header_stdbool_h=no
15226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15229 $as_echo "$ac_cv_header_stdbool_h" >&6; }
15230 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15231 if test "x$ac_cv_type__Bool" = xyes; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define HAVE__BOOL 1
15240 if test $ac_cv_header_stdbool_h = yes; then
15242 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
15247 # Checks for library functions.
15248 for ac_func in socket strchr
15250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15251 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15253 cat >>confdefs.h <<_ACEOF
15254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15261 ac_config_files="$ac_config_files Makefile doc/Makefile test/Makefile src/Makefile"
15263 cat >confcache <<\_ACEOF
15264 # This file is a shell script that caches the results of configure
15265 # tests run on this system so they can be shared between configure
15266 # scripts and configure runs, see configure's option --config-cache.
15267 # It is not useful on other systems. If it contains results you don't
15268 # want to keep, you may remove or edit it.
15270 # config.status only pays attention to the cache file if you give it
15271 # the --recheck option to rerun configure.
15273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15275 # following values.
15279 # The following way of writing the cache mishandles newlines in values,
15280 # but we know of no workaround that is simple, portable, and efficient.
15281 # So, we kill variables containing newlines.
15282 # Ultrix sh set writes to stderr and can't be redirected directly,
15283 # and sets the high bit in the cache file unless we assign to the vars.
15285 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15286 eval ac_val=\$$ac_var
15290 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15294 _ | IFS | as_nl) ;; #(
15295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15296 *) { eval $ac_var=; unset $ac_var;} ;;
15302 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15303 *${as_nl}ac_space=\ *)
15304 # `set' does not quote correctly, so add quotes: double-quote
15305 # substitution turns \\\\ into \\, and sed turns \\ into \.
15308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15311 # `set' quotes correctly as required by POSIX, so do not add quotes.
15312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15323 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15325 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15326 if test -w "$cache_file"; then
15327 if test "x$cache_file" != "x/dev/null"; then
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15329 $as_echo "$as_me: updating cache $cache_file" >&6;}
15330 if test ! -f "$cache_file" || test -h "$cache_file"; then
15331 cat confcache >"$cache_file"
15333 case $cache_file in #(
15335 mv -f confcache "$cache_file"$$ &&
15336 mv -f "$cache_file"$$ "$cache_file" ;; #(
15338 mv -f confcache "$cache_file" ;;
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15344 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15349 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15350 # Let make expand exec_prefix.
15351 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15353 DEFS=-DHAVE_CONFIG_H
15358 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15359 # 1. Remove the extension, and $U if already installed.
15360 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15361 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15362 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15363 # will be set to the directory where LIBOBJS objects are built.
15364 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15365 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15367 LIBOBJS=$ac_libobjs
15369 LTLIBOBJS=$ac_ltlibobjs
15372 if test -n "$EXEEXT"; then
15374 am__EXEEXT_FALSE='#'
15376 am__EXEEXT_TRUE='#'
15380 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15381 as_fn_error $? "conditional \"AMDEP\" was never defined.
15382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15384 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15385 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15389 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15393 : "${CONFIG_STATUS=./config.status}"
15395 ac_clean_files_save=$ac_clean_files
15396 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15398 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15400 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15402 # Generated by $as_me.
15403 # Run this file to recreate the current configuration.
15404 # Compiler output produced by configure, useful for debugging
15405 # configure, is in config.log if it exists.
15408 ac_cs_recheck=false
15411 SHELL=\${CONFIG_SHELL-$SHELL}
15414 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15415 ## -------------------- ##
15416 ## M4sh Initialization. ##
15417 ## -------------------- ##
15419 # Be more Bourne compatible
15420 DUALCASE=1; export DUALCASE # for MKS sh
15421 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15424 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15425 # is contrary to our usage. Disable this feature.
15426 alias -g '${1+"$@"}'='"$@"'
15427 setopt NO_GLOB_SUBST
15429 case `(set -o) 2>/dev/null` in #(
15441 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15442 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15445 # Prefer a ksh shell builtin over an external printf program on Solaris,
15446 # but without wasting forks for bash or zsh.
15447 if test -z "$BASH_VERSION$ZSH_VERSION" \
15448 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15449 as_echo='print -r --'
15450 as_echo_n='print -rn --'
15451 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15452 as_echo='printf %s\n'
15453 as_echo_n='printf %s'
15455 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15456 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15457 as_echo_n='/usr/ucb/echo -n'
15459 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15460 as_echo_n_body='eval
15464 expr "X$arg" : "X\\(.*\\)$as_nl";
15465 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15467 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15469 export as_echo_n_body
15470 as_echo_n='sh -c $as_echo_n_body as_echo'
15472 export as_echo_body
15473 as_echo='sh -c $as_echo_body as_echo'
15476 # The user is always right.
15477 if test "${PATH_SEPARATOR+set}" != set; then
15479 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15480 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15487 # We need space, tab and new line, in precisely that order. Quoting is
15488 # there to prevent editors from complaining about space-tab.
15489 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15490 # splitting by setting IFS to empty value.)
15493 # Find who we are. Look in the path if we contain no directory separator.
15496 *[\\/]* ) as_myself=$0 ;;
15497 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15498 for as_dir in $PATH
15501 test -z "$as_dir" && as_dir=.
15502 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15508 # We did not find ourselves, most probably we were run as `sh COMMAND'
15509 # in which case we are not to be found in the path.
15510 if test "x$as_myself" = x; then
15513 if test ! -f "$as_myself"; then
15514 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15518 # Unset variables that we do not need and which cause bugs (e.g. in
15519 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15520 # suppresses any "Segmentation fault" message there. '((' could
15521 # trigger a bug in pdksh 5.2.14.
15522 for as_var in BASH_ENV ENV MAIL MAILPATH
15523 do eval test x\${$as_var+set} = xset \
15524 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15537 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15540 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15541 # ----------------------------------------
15542 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15543 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15544 # script with STATUS, using 1 if that was 0.
15547 as_status=$1; test $as_status -eq 0 && as_status=1
15549 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15550 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15552 $as_echo "$as_me: error: $2" >&2
15553 as_fn_exit $as_status
15557 # as_fn_set_status STATUS
15558 # -----------------------
15559 # Set $? to STATUS, without forking.
15560 as_fn_set_status ()
15563 } # as_fn_set_status
15565 # as_fn_exit STATUS
15566 # -----------------
15567 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15571 as_fn_set_status $1
15577 # Portably unset VAR.
15580 { eval $1=; unset $1;}
15582 as_unset=as_fn_unset
15583 # as_fn_append VAR VALUE
15584 # ----------------------
15585 # Append the text in VALUE to the end of the definition contained in VAR. Take
15586 # advantage of any shell optimizations that allow amortized linear growth over
15587 # repeated appends, instead of the typical quadratic growth present in naive
15589 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15590 eval 'as_fn_append ()
15601 # as_fn_arith ARG...
15602 # ------------------
15603 # Perform arithmetic evaluation on the ARGs, and store the result in the
15604 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15605 # must be portable across $(()) and expr.
15606 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15607 eval 'as_fn_arith ()
15614 as_val=`expr "$@" || test $? -eq 1`
15619 if expr a : '\(a\)' >/dev/null 2>&1 &&
15620 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15626 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15627 as_basename=basename
15632 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15638 as_me=`$as_basename -- "$0" ||
15639 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15640 X"$0" : 'X\(//\)$' \| \
15641 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15643 sed '/^.*\/\([^/][^/]*\)\/*$/{
15657 # Avoid depending upon Character Ranges.
15658 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15659 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15660 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15661 as_cr_digits='0123456789'
15662 as_cr_alnum=$as_cr_Letters$as_cr_digits
15664 ECHO_C= ECHO_N= ECHO_T=
15665 case `echo -n x` in #(((((
15667 case `echo 'xy\c'` in
15668 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15670 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15677 rm -f conf$$ conf$$.exe conf$$.file
15678 if test -d conf$$.dir; then
15679 rm -f conf$$.dir/conf$$.file
15682 mkdir conf$$.dir 2>/dev/null
15684 if (echo >conf$$.file) 2>/dev/null; then
15685 if ln -s conf$$.file conf$$ 2>/dev/null; then
15687 # ... but there are two gotchas:
15688 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15689 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15690 # In both cases, we have to default to `cp -p'.
15691 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15693 elif ln conf$$.file conf$$ 2>/dev/null; then
15701 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15702 rmdir conf$$.dir 2>/dev/null
15707 # Create "$as_dir" as a directory, including parents if necessary.
15712 -*) as_dir=./$as_dir;;
15714 test -d "$as_dir" || eval $as_mkdir_p || {
15718 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15719 *) as_qdir=$as_dir;;
15721 as_dirs="'$as_qdir' $as_dirs"
15722 as_dir=`$as_dirname -- "$as_dir" ||
15723 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15724 X"$as_dir" : 'X\(//\)[^/]' \| \
15725 X"$as_dir" : 'X\(//\)$' \| \
15726 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15727 $as_echo X"$as_dir" |
15728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15732 /^X\(\/\/\)[^/].*/{
15745 test -d "$as_dir" && break
15747 test -z "$as_dirs" || eval "mkdir $as_dirs"
15748 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15752 if mkdir -p . 2>/dev/null; then
15753 as_mkdir_p='mkdir -p "$as_dir"'
15755 test -d ./-p && rmdir ./-p
15759 if test -x / >/dev/null 2>&1; then
15760 as_test_x='test -x'
15762 if ls -dL / >/dev/null 2>&1; then
15769 if test -d "$1"; then
15775 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15776 ???[sx]*):;;*)false;;esac;fi
15780 as_executable_p=$as_test_x
15782 # Sed expression to map a string onto a valid CPP name.
15783 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15785 # Sed expression to map a string onto a valid variable name.
15786 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15790 ## ----------------------------------- ##
15791 ## Main body of $CONFIG_STATUS script. ##
15792 ## ----------------------------------- ##
15794 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15797 # Save the log message, to keep $0 and so on meaningful, and to
15798 # report actual input values of CONFIG_FILES etc. instead of their
15799 # values after options handling.
15801 This file was extended by libsockstream $as_me 0.1, which was
15802 generated by GNU Autoconf 2.68. Invocation command line was
15804 CONFIG_FILES = $CONFIG_FILES
15805 CONFIG_HEADERS = $CONFIG_HEADERS
15806 CONFIG_LINKS = $CONFIG_LINKS
15807 CONFIG_COMMANDS = $CONFIG_COMMANDS
15810 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15815 case $ac_config_files in *"
15816 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15819 case $ac_config_headers in *"
15820 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15825 # Files that config.status was made for.
15826 config_files="$ac_config_files"
15827 config_headers="$ac_config_headers"
15828 config_commands="$ac_config_commands"
15832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15834 \`$as_me' instantiates files and other configuration actions
15835 from templates according to the current configuration. Unless the files
15836 and actions are specified as TAGs, all are instantiated by default.
15838 Usage: $0 [OPTION]... [TAG]...
15840 -h, --help print this help, then exit
15841 -V, --version print version number and configuration settings, then exit
15842 --config print configuration, then exit
15843 -q, --quiet, --silent
15844 do not print progress messages
15845 -d, --debug don't remove temporary files
15846 --recheck update $as_me by reconfiguring in the same conditions
15847 --file=FILE[:TEMPLATE]
15848 instantiate the configuration file FILE
15849 --header=FILE[:TEMPLATE]
15850 instantiate the configuration header FILE
15852 Configuration files:
15855 Configuration headers:
15858 Configuration commands:
15861 Report bugs to <arjen@andromeda.nl>."
15864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15865 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15867 libsockstream config.status 0.1
15868 configured by $0, generated by GNU Autoconf 2.68,
15869 with options \\"\$ac_cs_config\\"
15871 Copyright (C) 2010 Free Software Foundation, Inc.
15872 This config.status script is free software; the Free Software Foundation
15873 gives unlimited permission to copy, distribute and modify it."
15880 test -n "\$AWK" || AWK=awk
15883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15884 # The default lists apply if the user does not specify any file.
15890 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15891 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15895 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15907 # Handling of the options.
15908 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15910 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15911 $as_echo "$ac_cs_version"; exit ;;
15912 --config | --confi | --conf | --con | --co | --c )
15913 $as_echo "$ac_cs_config"; exit ;;
15914 --debug | --debu | --deb | --de | --d | -d )
15916 --file | --fil | --fi | --f )
15919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15920 '') as_fn_error $? "missing file argument" ;;
15922 as_fn_append CONFIG_FILES " '$ac_optarg'"
15923 ac_need_defaults=false;;
15924 --header | --heade | --head | --hea )
15927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15929 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15930 ac_need_defaults=false;;
15932 # Conflict between --help and --header
15933 as_fn_error $? "ambiguous option: \`$1'
15934 Try \`$0 --help' for more information.";;
15935 --help | --hel | -h )
15936 $as_echo "$ac_cs_usage"; exit ;;
15937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15941 # This is an error.
15942 -*) as_fn_error $? "unrecognized option: \`$1'
15943 Try \`$0 --help' for more information." ;;
15945 *) as_fn_append ac_config_targets " $1"
15946 ac_need_defaults=false ;;
15952 ac_configure_extra_args=
15954 if $ac_cs_silent; then
15956 ac_configure_extra_args="$ac_configure_extra_args --silent"
15960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15961 if \$ac_cs_recheck; then
15962 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15964 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15965 CONFIG_SHELL='$SHELL'
15966 export CONFIG_SHELL
15971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15975 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15976 ## Running $as_me. ##
15982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15986 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15989 # The HP-UX ksh and POSIX shell print the target directory to stdout
15990 # if CDPATH is set.
15991 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15993 sed_quote_subst='$sed_quote_subst'
15994 double_quote_subst='$double_quote_subst'
15995 delay_variable_subst='$delay_variable_subst'
15996 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15997 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15998 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15999 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16000 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16001 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16002 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16003 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16004 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16005 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16006 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16007 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16008 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16009 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16010 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16011 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16012 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16013 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16014 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16015 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16016 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16017 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16018 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16019 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16020 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16021 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16022 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16023 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16024 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16025 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16026 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16027 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16028 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16029 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16030 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16031 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16032 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16033 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16034 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16035 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16036 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16037 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16038 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16039 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16040 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16041 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16042 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16043 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16044 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16045 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16046 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16047 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16048 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16049 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16050 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16051 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"`'
16052 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16053 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16054 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16055 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16056 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16057 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16058 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16059 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16060 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16061 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16062 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16063 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16064 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16065 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16066 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16067 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16068 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16069 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16070 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16071 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16072 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16073 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16074 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16075 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16076 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16077 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16078 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16079 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16080 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16081 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16082 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16083 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16084 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16085 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16086 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16087 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16088 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16089 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16090 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16091 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16092 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16093 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16094 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16095 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16096 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16097 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16098 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16099 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16100 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16101 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16102 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16103 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16104 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16105 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16106 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16107 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16108 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16109 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16110 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16111 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16112 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16113 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16114 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16115 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16116 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16117 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16118 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16119 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16120 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16121 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16122 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16123 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16124 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16125 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16126 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16127 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16128 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16129 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16130 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16131 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16132 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16133 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16134 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16135 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16136 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16137 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16138 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16139 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16140 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16141 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16142 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16143 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16144 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16145 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16146 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16147 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16148 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16149 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16150 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16151 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16152 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16153 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16154 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16155 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16156 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16157 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16158 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16159 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16160 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16161 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16162 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16163 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16164 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16165 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16166 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16167 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16168 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16169 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16170 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16171 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16172 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16173 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16174 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16175 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16176 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16177 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16178 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16179 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16180 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16183 LTCFLAGS='$LTCFLAGS'
16184 compiler='$compiler_DEFAULT'
16186 # A function that is used when there is no print builtin or printf.
16187 func_fallback_echo ()
16189 eval 'cat <<_LTECHO_EOF
16194 # Quote evaled strings.
16208 deplibs_check_method \
16213 sharedlib_from_linklib_cmd \
16216 archiver_list_spec \
16222 lt_cv_sys_global_symbol_pipe \
16223 lt_cv_sys_global_symbol_to_cdecl \
16224 lt_cv_sys_global_symbol_to_c_name_address \
16225 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16226 nm_file_list_spec \
16227 lt_prog_compiler_no_builtin_flag \
16228 lt_prog_compiler_pic \
16229 lt_prog_compiler_wl \
16230 lt_prog_compiler_static \
16231 lt_cv_prog_compiler_c_o \
16240 export_dynamic_flag_spec \
16241 whole_archive_flag_spec \
16242 compiler_needs_object \
16244 allow_undefined_flag \
16245 no_undefined_flag \
16246 hardcode_libdir_flag_spec \
16247 hardcode_libdir_flag_spec_ld \
16248 hardcode_libdir_separator \
16252 variables_saved_for_relink \
16254 library_names_spec \
16256 install_override_mode \
16260 compiler_lib_search_dirs \
16265 compiler_lib_search_path \
16269 lt_prog_compiler_no_builtin_flag_CXX \
16270 lt_prog_compiler_pic_CXX \
16271 lt_prog_compiler_wl_CXX \
16272 lt_prog_compiler_static_CXX \
16273 lt_cv_prog_compiler_c_o_CXX \
16274 export_dynamic_flag_spec_CXX \
16275 whole_archive_flag_spec_CXX \
16276 compiler_needs_object_CXX \
16278 allow_undefined_flag_CXX \
16279 no_undefined_flag_CXX \
16280 hardcode_libdir_flag_spec_CXX \
16281 hardcode_libdir_flag_spec_ld_CXX \
16282 hardcode_libdir_separator_CXX \
16283 exclude_expsyms_CXX \
16284 include_expsyms_CXX \
16285 file_list_spec_CXX \
16286 compiler_lib_search_dirs_CXX \
16287 predep_objects_CXX \
16288 postdep_objects_CXX \
16291 compiler_lib_search_path_CXX; do
16292 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16293 *[\\\\\\\`\\"\\\$]*)
16294 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16297 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16302 # Double-quote double-evaled strings.
16303 for var in reload_cmds \
16304 old_postinstall_cmds \
16305 old_postuninstall_cmds \
16307 extract_expsyms_cmds \
16308 old_archive_from_new_cmds \
16309 old_archive_from_expsyms_cmds \
16311 archive_expsym_cmds \
16313 module_expsym_cmds \
16314 export_symbols_cmds \
16318 postuninstall_cmds \
16320 sys_lib_search_path_spec \
16321 sys_lib_dlsearch_path_spec \
16323 old_archive_cmds_CXX \
16324 old_archive_from_new_cmds_CXX \
16325 old_archive_from_expsyms_cmds_CXX \
16327 archive_expsym_cmds_CXX \
16329 module_expsym_cmds_CXX \
16330 export_symbols_cmds_CXX \
16332 postlink_cmds_CXX; do
16333 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16334 *[\\\\\\\`\\"\\\$]*)
16335 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16338 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16343 ac_aux_dir='$ac_aux_dir'
16344 xsi_shell='$xsi_shell'
16345 lt_shell_append='$lt_shell_append'
16347 # See if we are running on zsh, and set the options which allow our
16348 # commands through without removal of \ escapes INIT.
16349 if test -n "\${ZSH_VERSION+set}" ; then
16350 setopt NO_GLOB_SUBST
16356 TIMESTAMP='$TIMESTAMP'
16367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16369 # Handling of arguments.
16370 for ac_config_target in $ac_config_targets
16372 case $ac_config_target in
16373 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16374 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16375 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16376 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16377 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16378 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16379 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16381 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16386 # If the user did not use the arguments to specify the items to instantiate,
16387 # then the envvar interface is used. Set only those that are not.
16388 # We use the long form for the default assignment because of an extremely
16389 # bizarre bug on SunOS 4.1.3.
16390 if $ac_need_defaults; then
16391 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16392 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16393 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16396 # Have a temporary directory for convenience. Make it in the build tree
16397 # simply because there is no reason against having it here, and in addition,
16398 # creating and moving files from /tmp can sometimes cause problems.
16399 # Hook for its removal unless debugging.
16400 # Note that there is a small window in which the directory will not be cleaned:
16401 # after its creation but before its name has been assigned to `$tmp'.
16405 trap 'exit_status=$?
16406 : "${ac_tmp:=$tmp}"
16407 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16409 trap 'as_fn_exit 1' 1 2 13 15
16411 # Create a (secure) tmp directory for tmp files.
16414 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16418 tmp=./conf$$-$RANDOM
16419 (umask 077 && mkdir "$tmp")
16420 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16423 # Set up the scripts for CONFIG_FILES section.
16424 # No need to generate them if there are no CONFIG_FILES.
16425 # This happens for instance with `./config.status config.h'.
16426 if test -n "$CONFIG_FILES"; then
16429 ac_cr=`echo X | tr X '\015'`
16430 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16431 # But we know of no other shell where ac_cr would be empty at this
16432 # point, so we can use a bashism as a fallback.
16433 if test "x$ac_cr" = x; then
16434 eval ac_cr=\$\'\\r\'
16436 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16437 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16440 ac_cs_awk_cr=$ac_cr
16443 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16448 echo "cat >conf$$subs.awk <<_ACEOF" &&
16449 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16451 } >conf$$subs.sh ||
16452 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16453 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16455 for ac_last_try in false false false false false :; do
16456 . ./conf$$subs.sh ||
16457 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16459 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16460 if test $ac_delim_n = $ac_delim_num; then
16462 elif $ac_last_try; then
16463 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16465 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16468 rm -f conf$$subs.sh
16470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16471 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16475 s/^/S["/; s/!.*/"]=/
16485 s/\(.\{148\}\)..*/\1/
16487 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16492 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16499 s/\(.\{148\}\)..*/\1/
16501 s/["\\]/\\&/g; s/^/"/; s/$/"/
16505 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16510 ' <conf$$subs.awk | sed '
16515 ' >>$CONFIG_STATUS || ac_write_fail=1
16516 rm -f conf$$subs.awk
16517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16519 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16520 for (key in S) S_is_set[key] = 1
16526 nfields = split(line, field, "@")
16528 len = length(field[1])
16529 for (i = 2; i < nfields; i++) {
16531 keylen = length(key)
16532 if (S_is_set[key]) {
16534 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16535 len += length(value) + length(field[++i])
16546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16547 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16548 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16551 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16552 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16555 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16556 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16557 # trailing colons and then remove the whole line if VPATH becomes empty
16558 # (actually we leave an empty line to preserve line numbers).
16559 if test "x$srcdir" = x.; then
16560 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16579 fi # test -n "$CONFIG_FILES"
16581 # Set up the scripts for CONFIG_HEADERS section.
16582 # No need to generate them if there are no CONFIG_HEADERS.
16583 # This happens for instance with `./config.status Makefile'.
16584 if test -n "$CONFIG_HEADERS"; then
16585 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16589 # Transform confdefs.h into an awk script `defines.awk', embedded as
16590 # here-document in config.status, that substitutes the proper values into
16591 # config.h.in to produce config.h.
16593 # Create a delimiter string that does not exist in confdefs.h, to ease
16594 # handling of long lines.
16596 for ac_last_try in false false :; do
16597 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16598 if test -z "$ac_tt"; then
16600 elif $ac_last_try; then
16601 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16603 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16607 # For the awk script, D is an array of macro values keyed by name,
16608 # likewise P contains macro parameters if any. Preserve backslash
16609 # newline sequences.
16611 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16613 s/.\{148\}/&'"$ac_delim"'/g
16616 s/^[ ]*#[ ]*define[ ][ ]*/ /
16623 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16625 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16629 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16630 D["\1"]=" \3\\\\\\n"\\/p
16632 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16637 s/.\{148\}/&'"$ac_delim"'/g
16642 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16645 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16647 ' <confdefs.h | sed '
16648 s/'"$ac_delim"'/"\\\
16649 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16652 for (key in D) D_is_set[key] = 1
16655 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16657 split(line, arg, " ")
16658 if (arg[1] == "#") {
16662 defundef = substr(arg[1], 2)
16665 split(mac1, mac2, "(") #)
16667 prefix = substr(line, 1, index(line, defundef) - 1)
16668 if (D_is_set[macro]) {
16669 # Preserve the white space surrounding the "#".
16670 print prefix "define", macro P[macro] D[macro]
16673 # Replace #undef with comments. This is necessary, for example,
16674 # in the case of _POSIX_SOURCE, which is predefined and required
16675 # on some systems where configure will not decide to define it.
16676 if (defundef == "undef") {
16677 print "/*", prefix defundef, macro, "*/"
16685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16686 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16687 fi # test -n "$CONFIG_HEADERS"
16690 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16695 :[FHLC]) ac_mode=$ac_tag; continue;;
16697 case $ac_mode$ac_tag in
16699 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16700 :[FH]-) ac_tag=-:-;;
16701 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16718 -) ac_f="$ac_tmp/stdin";;
16719 *) # Look for the file first in the build tree, then in the source tree
16720 # (if the path is not absolute). The absolute path cannot be DOS-style,
16721 # because $ac_f cannot contain `:'.
16725 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16727 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16729 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16730 as_fn_append ac_file_inputs " '$ac_f'"
16733 # Let's still pretend it is `configure' which instantiates (i.e., don't
16734 # use $as_me), people would be surprised to read:
16735 # /* config.h. Generated by config.status. */
16736 configure_input='Generated from '`
16737 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16739 if test x"$ac_file" != x-; then
16740 configure_input="$ac_file. $configure_input"
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16742 $as_echo "$as_me: creating $ac_file" >&6;}
16744 # Neutralize special characters interpreted by sed in replacement strings.
16745 case $configure_input in #(
16746 *\&* | *\|* | *\\* )
16747 ac_sed_conf_input=`$as_echo "$configure_input" |
16748 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16749 *) ac_sed_conf_input=$configure_input;;
16753 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16754 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16759 ac_dir=`$as_dirname -- "$ac_file" ||
16760 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16761 X"$ac_file" : 'X\(//\)[^/]' \| \
16762 X"$ac_file" : 'X\(//\)$' \| \
16763 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16764 $as_echo X"$ac_file" |
16765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16769 /^X\(\/\/\)[^/].*/{
16782 as_dir="$ac_dir"; as_fn_mkdir_p
16786 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16788 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16789 # A ".." for each directory in $ac_dir_suffix.
16790 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16791 case $ac_top_builddir_sub in
16792 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16793 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16796 ac_abs_top_builddir=$ac_pwd
16797 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16798 # for backward compatibility:
16799 ac_top_builddir=$ac_top_build_prefix
16802 .) # We are building in place.
16804 ac_top_srcdir=$ac_top_builddir_sub
16805 ac_abs_top_srcdir=$ac_pwd ;;
16806 [\\/]* | ?:[\\/]* ) # Absolute name.
16807 ac_srcdir=$srcdir$ac_dir_suffix;
16808 ac_top_srcdir=$srcdir
16809 ac_abs_top_srcdir=$srcdir ;;
16810 *) # Relative name.
16811 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16812 ac_top_srcdir=$ac_top_build_prefix$srcdir
16813 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16815 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16825 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16826 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16828 ac_MKDIR_P=$MKDIR_P
16830 [\\/$]* | ?:[\\/]* ) ;;
16831 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16836 # If the template does not know about datarootdir, expand it.
16837 # FIXME: This hack should be removed a few years after 2.60.
16838 ac_datarootdir_hack=; ac_datarootdir_seen=
16849 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16850 *datarootdir*) ac_datarootdir_seen=yes;;
16851 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16853 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16856 ac_datarootdir_hack='
16857 s&@datadir@&$datadir&g
16858 s&@docdir@&$docdir&g
16859 s&@infodir@&$infodir&g
16860 s&@localedir@&$localedir&g
16861 s&@mandir@&$mandir&g
16862 s&\\\${datarootdir}&$datarootdir&g' ;;
16866 # Neutralize VPATH when `$srcdir' = `.'.
16867 # Shell code in configure.ac might set extrasub.
16868 # FIXME: do we really want to maintain this feature?
16869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16870 ac_sed_extra="$ac_vpsub
16873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16875 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16876 s|@configure_input@|$ac_sed_conf_input|;t t
16877 s&@top_builddir@&$ac_top_builddir_sub&;t t
16878 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16879 s&@srcdir@&$ac_srcdir&;t t
16880 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16881 s&@top_srcdir@&$ac_top_srcdir&;t t
16882 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16883 s&@builddir@&$ac_builddir&;t t
16884 s&@abs_builddir@&$ac_abs_builddir&;t t
16885 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16886 s&@INSTALL@&$ac_INSTALL&;t t
16887 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16888 $ac_datarootdir_hack
16890 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16891 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16893 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16894 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16895 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16896 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16898 which seems to be undefined. Please make sure it is defined" >&5
16899 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16900 which seems to be undefined. Please make sure it is defined" >&2;}
16902 rm -f "$ac_tmp/stdin"
16904 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16905 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16907 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16913 if test x"$ac_file" != x-; then
16915 $as_echo "/* $configure_input */" \
16916 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16917 } >"$ac_tmp/config.h" \
16918 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16919 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16921 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16924 mv "$ac_tmp/config.h" "$ac_file" \
16925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16928 $as_echo "/* $configure_input */" \
16929 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16930 || as_fn_error $? "could not create -" "$LINENO" 5
16932 # Compute "$ac_file"'s index in $config_headers.
16935 for _am_header in $config_headers :; do
16936 case $_am_header in
16937 $_am_arg | $_am_arg:* )
16940 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16943 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16944 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16945 X"$_am_arg" : 'X\(//\)[^/]' \| \
16946 X"$_am_arg" : 'X\(//\)$' \| \
16947 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16948 $as_echo X"$_am_arg" |
16949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16953 /^X\(\/\/\)[^/].*/{
16965 s/.*/./; q'`/stamp-h$_am_stamp_count
16968 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16969 $as_echo "$as_me: executing $ac_file commands" >&6;}
16974 case $ac_file$ac_mode in
16975 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16976 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16977 # are listed without --file. Let's play safe and only enable the eval
16978 # if we detect the quoting.
16979 case $CONFIG_FILES in
16980 *\'*) eval set x "$CONFIG_FILES" ;;
16981 *) set x $CONFIG_FILES ;;
16986 # Strip MF so we end up with the name of the file.
16987 mf=`echo "$mf" | sed -e 's/:.*$//'`
16988 # Check whether this is an Automake generated Makefile or not.
16989 # We used to match only the files named `Makefile.in', but
16990 # some people rename them; so instead we look at the file content.
16991 # Grep'ing the first line is not enough: some people post-process
16992 # each Makefile.in and add a new line on top of each file to say so.
16993 # Grep'ing the whole file is not good either: AIX grep has a line
16994 # limit of 2048, but all sed's we know have understand at least 4000.
16995 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16996 dirpart=`$as_dirname -- "$mf" ||
16997 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16998 X"$mf" : 'X\(//\)[^/]' \| \
16999 X"$mf" : 'X\(//\)$' \| \
17000 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17006 /^X\(\/\/\)[^/].*/{
17022 # Extract the definition of DEPDIR, am__include, and am__quote
17023 # from the Makefile without running `make'.
17024 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17025 test -z "$DEPDIR" && continue
17026 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17027 test -z "am__include" && continue
17028 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17029 # When using ansi2knr, U may be empty or an underscore; expand it
17030 U=`sed -n 's/^U = //p' < "$mf"`
17031 # Find all dependency output files, they are included files with
17032 # $(DEPDIR) in their names. We invoke sed twice because it is the
17033 # simplest approach to changing $(DEPDIR) to its actual value in the
17035 for file in `sed -n "
17036 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17037 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17038 # Make sure the directory exists.
17039 test -f "$dirpart/$file" && continue
17040 fdir=`$as_dirname -- "$file" ||
17041 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17042 X"$file" : 'X\(//\)[^/]' \| \
17043 X"$file" : 'X\(//\)$' \| \
17044 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17045 $as_echo X"$file" |
17046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17050 /^X\(\/\/\)[^/].*/{
17063 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17064 # echo "creating $dirpart/$file"
17065 echo '# dummy' > "$dirpart/$file"
17072 # See if we are running on zsh, and set the options which allow our
17073 # commands through without removal of \ escapes.
17074 if test -n "${ZSH_VERSION+set}" ; then
17075 setopt NO_GLOB_SUBST
17078 cfgfile="${ofile}T"
17079 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17082 cat <<_LT_EOF >> "$cfgfile"
17085 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17086 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17087 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17088 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17090 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17091 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17093 # Written by Gordon Matzigkeit, 1996
17095 # This file is part of GNU Libtool.
17097 # GNU Libtool is free software; you can redistribute it and/or
17098 # modify it under the terms of the GNU General Public License as
17099 # published by the Free Software Foundation; either version 2 of
17100 # the License, or (at your option) any later version.
17102 # As a special exception to the GNU General Public License,
17103 # if you distribute this file as part of a program or library that
17104 # is built using GNU Libtool, you may include this file under the
17105 # same distribution terms that you use for the rest of that program.
17107 # GNU Libtool is distributed in the hope that it will be useful,
17108 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17109 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17110 # GNU General Public License for more details.
17112 # You should have received a copy of the GNU General Public License
17113 # along with GNU Libtool; see the file COPYING. If not, a copy
17114 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17115 # obtained by writing to the Free Software Foundation, Inc.,
17116 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17119 # The names of the tagged configurations supported by this script.
17120 available_tags="CXX "
17122 # ### BEGIN LIBTOOL CONFIG
17124 # Which release of libtool.m4 was used?
17125 macro_version=$macro_version
17126 macro_revision=$macro_revision
17128 # Whether or not to build shared libraries.
17129 build_libtool_libs=$enable_shared
17131 # Whether or not to build static libraries.
17132 build_old_libs=$enable_static
17134 # What type of objects to build.
17137 # Whether or not to optimize for fast installation.
17138 fast_install=$enable_fast_install
17140 # Shell to use when invoking shell scripts.
17143 # An echo program that protects backslashes.
17147 host_alias=$host_alias
17151 # The build system.
17152 build_alias=$build_alias
17156 # A sed program that does not truncate output.
17159 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17160 Xsed="\$SED -e 1s/^X//"
17162 # A grep program that handles long lines.
17168 # A literal string matcher.
17171 # A BSD- or MS-compatible name lister.
17174 # Whether we need soft or hard links.
17177 # What is the maximum length of a command?
17178 max_cmd_len=$max_cmd_len
17180 # Object file suffix (normally "o").
17183 # Executable file suffix (normally "").
17186 # whether the shell understands "unset".
17189 # turn spaces into newlines.
17192 # turn newlines into spaces.
17195 # convert \$build file names to \$host format.
17196 to_host_file_cmd=$lt_cv_to_host_file_cmd
17198 # convert \$build files to toolchain format.
17199 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17201 # An object symbol dumper.
17202 OBJDUMP=$lt_OBJDUMP
17204 # Method to check whether dependent libraries are shared objects.
17205 deplibs_check_method=$lt_deplibs_check_method
17207 # Command to use when deplibs_check_method = "file_magic".
17208 file_magic_cmd=$lt_file_magic_cmd
17210 # How to find potential files when deplibs_check_method = "file_magic".
17211 file_magic_glob=$lt_file_magic_glob
17213 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17214 want_nocaseglob=$lt_want_nocaseglob
17216 # DLL creation program.
17217 DLLTOOL=$lt_DLLTOOL
17219 # Command to associate shared and link libraries.
17220 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17225 # Flags to create an archive.
17226 AR_FLAGS=$lt_AR_FLAGS
17228 # How to feed a file listing to the archiver.
17229 archiver_list_spec=$lt_archiver_list_spec
17231 # A symbol stripping program.
17234 # Commands used to install an old-style archive.
17236 old_postinstall_cmds=$lt_old_postinstall_cmds
17237 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17239 # Whether to use a lock for old archive extraction.
17240 lock_old_archive_extraction=$lock_old_archive_extraction
17245 # LTCC compiler flags.
17246 LTCFLAGS=$lt_CFLAGS
17248 # Take the output of nm and produce a listing of raw symbols and C names.
17249 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17251 # Transform the output of nm in a proper C declaration.
17252 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17254 # Transform the output of nm in a C name address pair.
17255 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17257 # Transform the output of nm in a C name address pair when lib prefix is needed.
17258 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17260 # Specify filename containing input files for \$NM.
17261 nm_file_list_spec=$lt_nm_file_list_spec
17263 # The root where to search for dependent libraries,and in which our libraries should be installed.
17264 lt_sysroot=$lt_sysroot
17266 # The name of the directory that contains temporary libtool files.
17269 # Used to examine libraries when file_magic_cmd begins with "file".
17270 MAGIC_CMD=$MAGIC_CMD
17272 # Must we lock files when doing compilation?
17273 need_locks=$lt_need_locks
17276 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17278 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17279 DSYMUTIL=$lt_DSYMUTIL
17281 # Tool to change global to local symbols on Mac OS X.
17284 # Tool to manipulate fat objects and archives on Mac OS X.
17287 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17290 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17291 OTOOL64=$lt_OTOOL64
17293 # Old archive suffix (normally "a").
17296 # Shared library suffix (normally ".so").
17297 shrext_cmds=$lt_shrext_cmds
17299 # The commands to extract the exported symbol list from a shared archive.
17300 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17302 # Variables whose values should be saved in libtool wrapper scripts and
17303 # restored at link time.
17304 variables_saved_for_relink=$lt_variables_saved_for_relink
17306 # Do we need the "lib" prefix for modules?
17307 need_lib_prefix=$need_lib_prefix
17309 # Do we need a version for libraries?
17310 need_version=$need_version
17312 # Library versioning type.
17313 version_type=$version_type
17315 # Shared library runtime path variable.
17316 runpath_var=$runpath_var
17318 # Shared library path variable.
17319 shlibpath_var=$shlibpath_var
17321 # Is shlibpath searched before the hard-coded library search path?
17322 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17324 # Format of library name prefix.
17325 libname_spec=$lt_libname_spec
17327 # List of archive names. First name is the real one, the rest are links.
17328 # The last name is the one that the linker finds with -lNAME
17329 library_names_spec=$lt_library_names_spec
17331 # The coded name of the library, if different from the real name.
17332 soname_spec=$lt_soname_spec
17334 # Permission mode override for installation of shared libraries.
17335 install_override_mode=$lt_install_override_mode
17337 # Command to use after installation of a shared archive.
17338 postinstall_cmds=$lt_postinstall_cmds
17340 # Command to use after uninstallation of a shared archive.
17341 postuninstall_cmds=$lt_postuninstall_cmds
17343 # Commands used to finish a libtool library installation in a directory.
17344 finish_cmds=$lt_finish_cmds
17346 # As "finish_cmds", except a single script fragment to be evaled but
17348 finish_eval=$lt_finish_eval
17350 # Whether we should hardcode library paths into libraries.
17351 hardcode_into_libs=$hardcode_into_libs
17353 # Compile-time system search path for libraries.
17354 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17356 # Run-time system search path for libraries.
17357 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17359 # Whether dlopen is supported.
17360 dlopen_support=$enable_dlopen
17362 # Whether dlopen of programs is supported.
17363 dlopen_self=$enable_dlopen_self
17365 # Whether dlopen of statically linked programs is supported.
17366 dlopen_self_static=$enable_dlopen_self_static
17368 # Commands to strip libraries.
17369 old_striplib=$lt_old_striplib
17370 striplib=$lt_striplib
17373 # The linker used to build libraries.
17376 # How to create reloadable object files.
17377 reload_flag=$lt_reload_flag
17378 reload_cmds=$lt_reload_cmds
17380 # Commands used to build an old-style archive.
17381 old_archive_cmds=$lt_old_archive_cmds
17383 # A language specific compiler.
17386 # Is the compiler the GNU compiler?
17389 # Compiler flag to turn off builtin functions.
17390 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17392 # Additional compiler flags for building library objects.
17393 pic_flag=$lt_lt_prog_compiler_pic
17395 # How to pass a linker flag through the compiler.
17396 wl=$lt_lt_prog_compiler_wl
17398 # Compiler flag to prevent dynamic linking.
17399 link_static_flag=$lt_lt_prog_compiler_static
17401 # Does compiler simultaneously support -c and -o options?
17402 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17404 # Whether or not to add -lc for building shared libraries.
17405 build_libtool_need_lc=$archive_cmds_need_lc
17407 # Whether or not to disallow shared libs when runtime libs are static.
17408 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17410 # Compiler flag to allow reflexive dlopens.
17411 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17413 # Compiler flag to generate shared objects directly from archives.
17414 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17416 # Whether the compiler copes with passing no objects directly.
17417 compiler_needs_object=$lt_compiler_needs_object
17419 # Create an old-style archive from a shared archive.
17420 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17422 # Create a temporary old-style archive to link instead of a shared archive.
17423 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17425 # Commands used to build a shared archive.
17426 archive_cmds=$lt_archive_cmds
17427 archive_expsym_cmds=$lt_archive_expsym_cmds
17429 # Commands used to build a loadable module if different from building
17430 # a shared archive.
17431 module_cmds=$lt_module_cmds
17432 module_expsym_cmds=$lt_module_expsym_cmds
17434 # Whether we are building with GNU ld or not.
17435 with_gnu_ld=$lt_with_gnu_ld
17437 # Flag that allows shared libraries with undefined symbols to be built.
17438 allow_undefined_flag=$lt_allow_undefined_flag
17440 # Flag that enforces no undefined symbols.
17441 no_undefined_flag=$lt_no_undefined_flag
17443 # Flag to hardcode \$libdir into a binary during linking.
17444 # This must work even if \$libdir does not exist
17445 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17447 # If ld is used when linking, flag to hardcode \$libdir into a binary
17448 # during linking. This must work even if \$libdir does not exist.
17449 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17451 # Whether we need a single "-rpath" flag with a separated argument.
17452 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17454 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17455 # DIR into the resulting binary.
17456 hardcode_direct=$hardcode_direct
17458 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17459 # DIR into the resulting binary and the resulting library dependency is
17460 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17461 # library is relocated.
17462 hardcode_direct_absolute=$hardcode_direct_absolute
17464 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17465 # into the resulting binary.
17466 hardcode_minus_L=$hardcode_minus_L
17468 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17469 # into the resulting binary.
17470 hardcode_shlibpath_var=$hardcode_shlibpath_var
17472 # Set to "yes" if building a shared library automatically hardcodes DIR
17473 # into the library and all subsequent libraries and executables linked
17475 hardcode_automatic=$hardcode_automatic
17477 # Set to yes if linker adds runtime paths of dependent libraries
17478 # to runtime path list.
17479 inherit_rpath=$inherit_rpath
17481 # Whether libtool must link a program against all its dependency libraries.
17482 link_all_deplibs=$link_all_deplibs
17484 # Set to "yes" if exported symbols are required.
17485 always_export_symbols=$always_export_symbols
17487 # The commands to list exported symbols.
17488 export_symbols_cmds=$lt_export_symbols_cmds
17490 # Symbols that should not be listed in the preloaded symbols.
17491 exclude_expsyms=$lt_exclude_expsyms
17493 # Symbols that must always be exported.
17494 include_expsyms=$lt_include_expsyms
17496 # Commands necessary for linking programs (against libraries) with templates.
17497 prelink_cmds=$lt_prelink_cmds
17499 # Commands necessary for finishing linking programs.
17500 postlink_cmds=$lt_postlink_cmds
17502 # Specify filename containing input files.
17503 file_list_spec=$lt_file_list_spec
17505 # How to hardcode a shared library path into an executable.
17506 hardcode_action=$hardcode_action
17508 # The directories searched by this compiler when creating a shared library.
17509 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17511 # Dependencies to place before and after the objects being linked to
17512 # create a shared library.
17513 predep_objects=$lt_predep_objects
17514 postdep_objects=$lt_postdep_objects
17515 predeps=$lt_predeps
17516 postdeps=$lt_postdeps
17518 # The library search path used internally by the compiler when linking
17519 # a shared library.
17520 compiler_lib_search_path=$lt_compiler_lib_search_path
17522 # ### END LIBTOOL CONFIG
17528 cat <<\_LT_EOF >> "$cfgfile"
17529 # AIX sometimes has problems with the GCC collect2 program. For some
17530 # reason, if we set the COLLECT_NAMES environment variable, the problems
17531 # vanish in a puff of smoke.
17532 if test "X${COLLECT_NAMES+set}" != Xset; then
17534 export COLLECT_NAMES
17541 ltmain="$ac_aux_dir/ltmain.sh"
17544 # We use sed instead of cat because bash on DJGPP gets confused if
17545 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17546 # text mode, it properly converts lines to CR/LF. This bash problem
17547 # is reportedly fixed, but why not run on old versions too?
17548 sed '$q' "$ltmain" >> "$cfgfile" \
17549 || (rm -f "$cfgfile"; exit 1)
17551 if test x"$xsi_shell" = xyes; then
17552 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17556 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17557 \ * ) func_dirname_result="${3}" ;;\
17559 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17560 && mv -f "$cfgfile.tmp" "$cfgfile" \
17561 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17562 test 0 -eq $? || _lt_function_replace_fail=:
17565 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17568 \ func_basename_result="${1##*/}"\
17569 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17570 && mv -f "$cfgfile.tmp" "$cfgfile" \
17571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17572 test 0 -eq $? || _lt_function_replace_fail=:
17575 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17576 func_dirname_and_basename ()\
17579 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17580 \ * ) func_dirname_result="${3}" ;;\
17582 \ func_basename_result="${1##*/}"\
17583 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17584 && mv -f "$cfgfile.tmp" "$cfgfile" \
17585 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17586 test 0 -eq $? || _lt_function_replace_fail=:
17589 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17592 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17593 \ # positional parameters, so assign one to ordinary parameter first.\
17594 \ func_stripname_result=${3}\
17595 \ func_stripname_result=${func_stripname_result#"${1}"}\
17596 \ func_stripname_result=${func_stripname_result%"${2}"}\
17597 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17598 && mv -f "$cfgfile.tmp" "$cfgfile" \
17599 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17600 test 0 -eq $? || _lt_function_replace_fail=:
17603 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17604 func_split_long_opt ()\
17606 \ func_split_long_opt_name=${1%%=*}\
17607 \ func_split_long_opt_arg=${1#*=}\
17608 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17609 && mv -f "$cfgfile.tmp" "$cfgfile" \
17610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17611 test 0 -eq $? || _lt_function_replace_fail=:
17614 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17615 func_split_short_opt ()\
17617 \ func_split_short_opt_arg=${1#??}\
17618 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17619 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17620 && mv -f "$cfgfile.tmp" "$cfgfile" \
17621 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17622 test 0 -eq $? || _lt_function_replace_fail=:
17625 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17629 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17630 \ *) func_lo2o_result=${1} ;;\
17632 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17633 && mv -f "$cfgfile.tmp" "$cfgfile" \
17634 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17635 test 0 -eq $? || _lt_function_replace_fail=:
17638 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17641 func_xform_result=${1%.*}.lo\
17642 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17643 && mv -f "$cfgfile.tmp" "$cfgfile" \
17644 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17645 test 0 -eq $? || _lt_function_replace_fail=:
17648 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17651 func_arith_result=$(( $* ))\
17652 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17653 && mv -f "$cfgfile.tmp" "$cfgfile" \
17654 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17655 test 0 -eq $? || _lt_function_replace_fail=:
17658 sed -e '/^func_len ()$/,/^} # func_len /c\
17661 func_len_result=${#1}\
17662 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17663 && mv -f "$cfgfile.tmp" "$cfgfile" \
17664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17665 test 0 -eq $? || _lt_function_replace_fail=:
17669 if test x"$lt_shell_append" = xyes; then
17670 sed -e '/^func_append ()$/,/^} # func_append /c\
17673 eval "${1}+=\\${2}"\
17674 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17675 && mv -f "$cfgfile.tmp" "$cfgfile" \
17676 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17677 test 0 -eq $? || _lt_function_replace_fail=:
17680 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17681 func_append_quoted ()\
17683 \ func_quote_for_eval "${2}"\
17684 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17685 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17686 && mv -f "$cfgfile.tmp" "$cfgfile" \
17687 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17688 test 0 -eq $? || _lt_function_replace_fail=:
17691 # Save a `func_append' function call where possible by direct use of '+='
17692 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17693 && mv -f "$cfgfile.tmp" "$cfgfile" \
17694 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17695 test 0 -eq $? || _lt_function_replace_fail=:
17697 # Save a `func_append' function call even when '+=' is not available
17698 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17699 && mv -f "$cfgfile.tmp" "$cfgfile" \
17700 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17701 test 0 -eq $? || _lt_function_replace_fail=:
17704 if test x"$_lt_function_replace_fail" = x":"; then
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17706 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17710 mv -f "$cfgfile" "$ofile" ||
17711 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17715 cat <<_LT_EOF >> "$ofile"
17717 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17719 # The linker used to build libraries.
17722 # How to create reloadable object files.
17723 reload_flag=$lt_reload_flag_CXX
17724 reload_cmds=$lt_reload_cmds_CXX
17726 # Commands used to build an old-style archive.
17727 old_archive_cmds=$lt_old_archive_cmds_CXX
17729 # A language specific compiler.
17730 CC=$lt_compiler_CXX
17732 # Is the compiler the GNU compiler?
17735 # Compiler flag to turn off builtin functions.
17736 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17738 # Additional compiler flags for building library objects.
17739 pic_flag=$lt_lt_prog_compiler_pic_CXX
17741 # How to pass a linker flag through the compiler.
17742 wl=$lt_lt_prog_compiler_wl_CXX
17744 # Compiler flag to prevent dynamic linking.
17745 link_static_flag=$lt_lt_prog_compiler_static_CXX
17747 # Does compiler simultaneously support -c and -o options?
17748 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17750 # Whether or not to add -lc for building shared libraries.
17751 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17753 # Whether or not to disallow shared libs when runtime libs are static.
17754 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17756 # Compiler flag to allow reflexive dlopens.
17757 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17759 # Compiler flag to generate shared objects directly from archives.
17760 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17762 # Whether the compiler copes with passing no objects directly.
17763 compiler_needs_object=$lt_compiler_needs_object_CXX
17765 # Create an old-style archive from a shared archive.
17766 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17768 # Create a temporary old-style archive to link instead of a shared archive.
17769 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17771 # Commands used to build a shared archive.
17772 archive_cmds=$lt_archive_cmds_CXX
17773 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17775 # Commands used to build a loadable module if different from building
17776 # a shared archive.
17777 module_cmds=$lt_module_cmds_CXX
17778 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17780 # Whether we are building with GNU ld or not.
17781 with_gnu_ld=$lt_with_gnu_ld_CXX
17783 # Flag that allows shared libraries with undefined symbols to be built.
17784 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17786 # Flag that enforces no undefined symbols.
17787 no_undefined_flag=$lt_no_undefined_flag_CXX
17789 # Flag to hardcode \$libdir into a binary during linking.
17790 # This must work even if \$libdir does not exist
17791 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17793 # If ld is used when linking, flag to hardcode \$libdir into a binary
17794 # during linking. This must work even if \$libdir does not exist.
17795 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17797 # Whether we need a single "-rpath" flag with a separated argument.
17798 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17800 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17801 # DIR into the resulting binary.
17802 hardcode_direct=$hardcode_direct_CXX
17804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17805 # DIR into the resulting binary and the resulting library dependency is
17806 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17807 # library is relocated.
17808 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17810 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17811 # into the resulting binary.
17812 hardcode_minus_L=$hardcode_minus_L_CXX
17814 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17815 # into the resulting binary.
17816 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17818 # Set to "yes" if building a shared library automatically hardcodes DIR
17819 # into the library and all subsequent libraries and executables linked
17821 hardcode_automatic=$hardcode_automatic_CXX
17823 # Set to yes if linker adds runtime paths of dependent libraries
17824 # to runtime path list.
17825 inherit_rpath=$inherit_rpath_CXX
17827 # Whether libtool must link a program against all its dependency libraries.
17828 link_all_deplibs=$link_all_deplibs_CXX
17830 # Set to "yes" if exported symbols are required.
17831 always_export_symbols=$always_export_symbols_CXX
17833 # The commands to list exported symbols.
17834 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17836 # Symbols that should not be listed in the preloaded symbols.
17837 exclude_expsyms=$lt_exclude_expsyms_CXX
17839 # Symbols that must always be exported.
17840 include_expsyms=$lt_include_expsyms_CXX
17842 # Commands necessary for linking programs (against libraries) with templates.
17843 prelink_cmds=$lt_prelink_cmds_CXX
17845 # Commands necessary for finishing linking programs.
17846 postlink_cmds=$lt_postlink_cmds_CXX
17848 # Specify filename containing input files.
17849 file_list_spec=$lt_file_list_spec_CXX
17851 # How to hardcode a shared library path into an executable.
17852 hardcode_action=$hardcode_action_CXX
17854 # The directories searched by this compiler when creating a shared library.
17855 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17857 # Dependencies to place before and after the objects being linked to
17858 # create a shared library.
17859 predep_objects=$lt_predep_objects_CXX
17860 postdep_objects=$lt_postdep_objects_CXX
17861 predeps=$lt_predeps_CXX
17862 postdeps=$lt_postdeps_CXX
17864 # The library search path used internally by the compiler when linking
17865 # a shared library.
17866 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17868 # ### END LIBTOOL TAG CONFIG: CXX
17879 ac_clean_files=$ac_clean_files_save
17881 test $ac_write_fail = 0 ||
17882 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17885 # configure is writing to config.log, and then calls config.status.
17886 # config.status does its own redirection, appending to config.log.
17887 # Unfortunately, on DOS this fails, as config.log is still kept open
17888 # by configure, so config.status won't be able to write to it; its
17889 # output is simply discarded. So we exec the FD to /dev/null,
17890 # effectively closing config.log, so it can be properly (re)opened and
17891 # appended to by config.status. When coming back to configure, we
17892 # need to make the FD available again.
17893 if test "$no_create" != yes; then
17895 ac_config_status_args=
17896 test "$silent" = yes &&
17897 ac_config_status_args="$ac_config_status_args --quiet"
17899 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17901 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17902 # would make configure fail if this is the last instruction.
17903 $ac_cs_success || as_fn_exit 1
17905 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17907 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}