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 @%:@(
150 set -o posix ;; @%:@(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
201 case $as_dir in @%:@(
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and 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 @S|@? to STATUS, without forking.
283 } @%:@ as_fn_set_status
285 @%:@ as_fn_exit STATUS
286 @%:@ -----------------
287 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 @%:@ as_fn_append VAR VALUE
343 @%:@ ----------------------
344 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
345 @%:@ advantage of any shell optimizations that allow amortized linear growth over
346 @%:@ repeated appends, instead of the typical quadratic growth present in naive
347 @%:@ implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
360 @%:@ as_fn_arith ARG...
361 @%:@ ------------------
362 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
363 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364 @%:@ must be portable across @S|@(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
379 @%:@ ----------------------------------------
380 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 @%:@ script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in @%:@(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='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 @<:@@S|@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.@S|@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.@S|@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.@S|@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.@S|@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
1676 } @%:@ ac_fn_c_try_cpp
1678 @%:@ ac_fn_c_try_run LINENO
1679 @%:@ ----------------------
1680 @%:@ Try to link conftest.@S|@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
1718 } @%:@ ac_fn_c_try_run
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.@S|@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.@S|@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. */
3229 @%:@include <stdio.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@&t@_DLSYM_CONST
6489 #elif defined(__osf__)
6490 /* This system does not cope well with relocations in const data. */
6491 # define LT@&t@_DLSYM_CONST
6493 # define LT@&t@_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@&t@_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`
8317 ## There is no encapsulation within the following macros, do not change
8318 ## the running order or otherwise move them around unless you know exactly
8319 ## what you are doing...
8320 if test -n "$compiler"; then
8322 lt_prog_compiler_no_builtin_flag=
8324 if test "$GCC" = yes; then
8325 case $cc_basename in
8327 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8329 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8333 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8334 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8335 $as_echo_n "(cached) " >&6
8337 lt_cv_prog_compiler_rtti_exceptions=no
8338 ac_outfile=conftest.$ac_objext
8339 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8340 lt_compiler_flag="-fno-rtti -fno-exceptions"
8341 # Insert the option either (1) after the last *FLAGS variable, or
8342 # (2) before a word containing "conftest.", or (3) at the end.
8343 # Note that $ac_compile itself does not contain backslashes and begins
8344 # with a dollar sign (not a hyphen), so the echo should work correctly.
8345 # The option is referenced via a variable to avoid confusing sed.
8346 lt_compile=`echo "$ac_compile" | $SED \
8347 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8348 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8349 -e 's:$: $lt_compiler_flag:'`
8350 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8351 (eval "$lt_compile" 2>conftest.err)
8353 cat conftest.err >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 if (exit $ac_status) && test -s "$ac_outfile"; then
8356 # The compiler can only warn and ignore the option if not recognized
8357 # So say no if there are warnings other than the usual output.
8358 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8359 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8360 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8361 lt_cv_prog_compiler_rtti_exceptions=yes
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8368 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8370 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8371 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8383 lt_prog_compiler_wl=
8384 lt_prog_compiler_pic=
8385 lt_prog_compiler_static=
8388 if test "$GCC" = yes; then
8389 lt_prog_compiler_wl='-Wl,'
8390 lt_prog_compiler_static='-static'
8394 # All AIX code is PIC.
8395 if test "$host_cpu" = ia64; then
8396 # AIX 5 now supports IA64 processor
8397 lt_prog_compiler_static='-Bstatic'
8404 # see comment about AmigaOS4 .so support
8405 lt_prog_compiler_pic='-fPIC'
8408 # FIXME: we need at least 68020 code to build shared libraries, but
8409 # adding the `-m68020' flag to GCC prevents building anything better,
8411 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8416 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8417 # PIC is the default for these OSes.
8420 mingw* | cygwin* | pw32* | os2* | cegcc*)
8421 # This hack is so that the source file can tell whether it is being
8422 # built for inclusion in a dll (and should export symbols for example).
8423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8424 # (--disable-auto-import) libraries
8425 lt_prog_compiler_pic='-DDLL_EXPORT'
8428 darwin* | rhapsody*)
8429 # PIC is the default on this platform
8430 # Common symbols not allowed in MH_DYLIB files
8431 lt_prog_compiler_pic='-fno-common'
8435 # PIC is the default for Haiku.
8436 # The "-static" flag exists, but is broken.
8437 lt_prog_compiler_static=
8441 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8442 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8443 # sets the default TLS model and affects inlining.
8449 lt_prog_compiler_pic='-fPIC'
8455 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8456 # Instead, we relocate shared libraries at runtime.
8460 # Just because we use GCC doesn't mean we suddenly get shared libraries
8461 # on systems that don't support them.
8462 lt_prog_compiler_can_build_shared=no
8467 # QNX uses GNU C++, but need to define -shared option too, otherwise
8469 lt_prog_compiler_pic='-fPIC -shared'
8473 if test -d /usr/nec; then
8474 lt_prog_compiler_pic=-Kconform_pic
8479 lt_prog_compiler_pic='-fPIC'
8483 case $cc_basename in
8484 nvcc*) # Cuda Compiler Driver 2.2
8485 lt_prog_compiler_wl='-Xlinker '
8486 lt_prog_compiler_pic='-Xcompiler -fPIC'
8490 # PORTME Check for flag to pass linker flags through the system compiler.
8493 lt_prog_compiler_wl='-Wl,'
8494 if test "$host_cpu" = ia64; then
8495 # AIX 5 now supports IA64 processor
8496 lt_prog_compiler_static='-Bstatic'
8498 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8502 mingw* | cygwin* | pw32* | os2* | cegcc*)
8503 # This hack is so that the source file can tell whether it is being
8504 # built for inclusion in a dll (and should export symbols for example).
8505 lt_prog_compiler_pic='-DDLL_EXPORT'
8508 hpux9* | hpux10* | hpux11*)
8509 lt_prog_compiler_wl='-Wl,'
8510 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8517 lt_prog_compiler_pic='+Z'
8520 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8521 lt_prog_compiler_static='${wl}-a ${wl}archive'
8524 irix5* | irix6* | nonstopux*)
8525 lt_prog_compiler_wl='-Wl,'
8526 # PIC (with -KPIC) is the default.
8527 lt_prog_compiler_static='-non_shared'
8530 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8531 case $cc_basename in
8532 # old Intel for x86_64 which still supported -KPIC.
8534 lt_prog_compiler_wl='-Wl,'
8535 lt_prog_compiler_pic='-KPIC'
8536 lt_prog_compiler_static='-static'
8538 # icc used to be incompatible with GCC.
8539 # ICC 10 doesn't accept -KPIC any more.
8541 lt_prog_compiler_wl='-Wl,'
8542 lt_prog_compiler_pic='-fPIC'
8543 lt_prog_compiler_static='-static'
8545 # Lahey Fortran 8.1.
8547 lt_prog_compiler_wl='-Wl,'
8548 lt_prog_compiler_pic='--shared'
8549 lt_prog_compiler_static='--static'
8552 # NAG Fortran compiler
8553 lt_prog_compiler_wl='-Wl,-Wl,,'
8554 lt_prog_compiler_pic='-PIC'
8555 lt_prog_compiler_static='-Bstatic'
8557 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8558 # Portland Group compilers (*not* the Pentium gcc compiler,
8559 # which looks to be a dead project)
8560 lt_prog_compiler_wl='-Wl,'
8561 lt_prog_compiler_pic='-fpic'
8562 lt_prog_compiler_static='-Bstatic'
8565 lt_prog_compiler_wl='-Wl,'
8566 # All Alpha code is PIC.
8567 lt_prog_compiler_static='-non_shared'
8569 xl* | bgxl* | bgf* | mpixl*)
8570 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8571 lt_prog_compiler_wl='-Wl,'
8572 lt_prog_compiler_pic='-qpic'
8573 lt_prog_compiler_static='-qstaticlink'
8576 case `$CC -V 2>&1 | sed 5q` in
8577 *Sun\ F* | *Sun*Fortran*)
8578 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8579 lt_prog_compiler_pic='-KPIC'
8580 lt_prog_compiler_static='-Bstatic'
8581 lt_prog_compiler_wl=''
8585 lt_prog_compiler_pic='-KPIC'
8586 lt_prog_compiler_static='-Bstatic'
8587 lt_prog_compiler_wl='-Wl,'
8595 lt_prog_compiler_pic='-KPIC'
8596 lt_prog_compiler_static='-Bstatic'
8600 # QNX uses GNU C++, but need to define -shared option too, otherwise
8602 lt_prog_compiler_pic='-fPIC -shared'
8605 osf3* | osf4* | osf5*)
8606 lt_prog_compiler_wl='-Wl,'
8607 # All OSF/1 code is PIC.
8608 lt_prog_compiler_static='-non_shared'
8612 lt_prog_compiler_static='-non_shared'
8616 lt_prog_compiler_pic='-KPIC'
8617 lt_prog_compiler_static='-Bstatic'
8618 case $cc_basename in
8619 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8620 lt_prog_compiler_wl='-Qoption ld ';;
8622 lt_prog_compiler_wl='-Wl,';;
8627 lt_prog_compiler_wl='-Qoption ld '
8628 lt_prog_compiler_pic='-PIC'
8629 lt_prog_compiler_static='-Bstatic'
8632 sysv4 | sysv4.2uw2* | sysv4.3*)
8633 lt_prog_compiler_wl='-Wl,'
8634 lt_prog_compiler_pic='-KPIC'
8635 lt_prog_compiler_static='-Bstatic'
8639 if test -d /usr/nec ;then
8640 lt_prog_compiler_pic='-Kconform_pic'
8641 lt_prog_compiler_static='-Bstatic'
8645 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8646 lt_prog_compiler_wl='-Wl,'
8647 lt_prog_compiler_pic='-KPIC'
8648 lt_prog_compiler_static='-Bstatic'
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_can_build_shared=no
8657 lt_prog_compiler_pic='-pic'
8658 lt_prog_compiler_static='-Bstatic'
8662 lt_prog_compiler_can_build_shared=no
8668 # For platforms which do not support PIC, -DPIC is meaningless:
8670 lt_prog_compiler_pic=
8673 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8678 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8679 if ${lt_cv_prog_compiler_pic+:} false; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8685 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8686 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8689 # Check to make sure the PIC flag actually works.
8691 if test -n "$lt_prog_compiler_pic"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8693 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8694 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8695 $as_echo_n "(cached) " >&6
8697 lt_cv_prog_compiler_pic_works=no
8698 ac_outfile=conftest.$ac_objext
8699 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8700 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8701 # Insert the option either (1) after the last *FLAGS variable, or
8702 # (2) before a word containing "conftest.", or (3) at the end.
8703 # Note that $ac_compile itself does not contain backslashes and begins
8704 # with a dollar sign (not a hyphen), so the echo should work correctly.
8705 # The option is referenced via a variable to avoid confusing sed.
8706 lt_compile=`echo "$ac_compile" | $SED \
8707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8709 -e 's:$: $lt_compiler_flag:'`
8710 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8711 (eval "$lt_compile" 2>conftest.err)
8713 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 if (exit $ac_status) && test -s "$ac_outfile"; then
8716 # The compiler can only warn and ignore the option if not recognized
8717 # So say no if there are warnings other than the usual output.
8718 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8720 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8721 lt_cv_prog_compiler_pic_works=yes
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8728 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8730 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8731 case $lt_prog_compiler_pic in
8733 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8736 lt_prog_compiler_pic=
8737 lt_prog_compiler_can_build_shared=no
8753 # Check to make sure the static flag actually works.
8755 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8757 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8758 if ${lt_cv_prog_compiler_static_works+:} false; then :
8759 $as_echo_n "(cached) " >&6
8761 lt_cv_prog_compiler_static_works=no
8762 save_LDFLAGS="$LDFLAGS"
8763 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8764 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8765 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8766 # The linker can only warn and ignore the option if not recognized
8767 # So say no if there are warnings
8768 if test -s conftest.err; then
8769 # Append any errors to the config.log.
8770 cat conftest.err 1>&5
8771 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8773 if diff conftest.exp conftest.er2 >/dev/null; then
8774 lt_cv_prog_compiler_static_works=yes
8777 lt_cv_prog_compiler_static_works=yes
8781 LDFLAGS="$save_LDFLAGS"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8785 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8787 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8790 lt_prog_compiler_static=
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8800 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8801 if ${lt_cv_prog_compiler_c_o+:} false; then :
8802 $as_echo_n "(cached) " >&6
8804 lt_cv_prog_compiler_c_o=no
8805 $RM -r conftest 2>/dev/null
8809 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8811 lt_compiler_flag="-o out/conftest2.$ac_objext"
8812 # Insert the option either (1) after the last *FLAGS variable, or
8813 # (2) before a word containing "conftest.", or (3) at the end.
8814 # Note that $ac_compile itself does not contain backslashes and begins
8815 # with a dollar sign (not a hyphen), so the echo should work correctly.
8816 lt_compile=`echo "$ac_compile" | $SED \
8817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819 -e 's:$: $lt_compiler_flag:'`
8820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821 (eval "$lt_compile" 2>out/conftest.err)
8823 cat out/conftest.err >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8827 # The compiler can only warn and ignore the option if not recognized
8828 # So say no if there are warnings
8829 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8830 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8831 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8832 lt_cv_prog_compiler_c_o=yes
8837 # SGI C++ compiler will create directory out/ii_files/ for
8838 # template instantiation
8839 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8840 $RM out/* && rmdir out
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8847 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8855 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8856 if ${lt_cv_prog_compiler_c_o+:} false; then :
8857 $as_echo_n "(cached) " >&6
8859 lt_cv_prog_compiler_c_o=no
8860 $RM -r conftest 2>/dev/null
8864 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8866 lt_compiler_flag="-o out/conftest2.$ac_objext"
8867 # Insert the option either (1) after the last *FLAGS variable, or
8868 # (2) before a word containing "conftest.", or (3) at the end.
8869 # Note that $ac_compile itself does not contain backslashes and begins
8870 # with a dollar sign (not a hyphen), so the echo should work correctly.
8871 lt_compile=`echo "$ac_compile" | $SED \
8872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8874 -e 's:$: $lt_compiler_flag:'`
8875 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8876 (eval "$lt_compile" 2>out/conftest.err)
8878 cat out/conftest.err >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8882 # The compiler can only warn and ignore the option if not recognized
8883 # So say no if there are warnings
8884 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8885 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8886 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8887 lt_cv_prog_compiler_c_o=yes
8892 # SGI C++ compiler will create directory out/ii_files/ for
8893 # template instantiation
8894 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8895 $RM out/* && rmdir out
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8902 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8907 hard_links="nottested"
8908 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8909 # do not overwrite the value of need_locks provided by the user
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8911 $as_echo_n "checking if we can lock with hard links... " >&6; }
8914 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8916 ln conftest.a conftest.b 2>&5 || hard_links=no
8917 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8919 $as_echo "$hard_links" >&6; }
8920 if test "$hard_links" = no; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8922 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8935 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8938 allow_undefined_flag=
8939 always_export_symbols=no
8941 archive_expsym_cmds=
8942 compiler_needs_object=no
8943 enable_shared_with_static_runtimes=no
8944 export_dynamic_flag_spec=
8945 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8946 hardcode_automatic=no
8948 hardcode_direct_absolute=no
8949 hardcode_libdir_flag_spec=
8950 hardcode_libdir_flag_spec_ld=
8951 hardcode_libdir_separator=
8953 hardcode_shlibpath_var=unsupported
8955 link_all_deplibs=unknown
8958 old_archive_from_new_cmds=
8959 old_archive_from_expsyms_cmds=
8960 thread_safe_flag_spec=
8961 whole_archive_flag_spec=
8962 # include_expsyms should be a list of space-separated symbols to be *always*
8963 # included in the symbol list
8965 # exclude_expsyms can be an extended regexp of symbols to exclude
8966 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8967 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8968 # as well as any symbol that contains `d'.
8969 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8970 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8971 # platforms (ab)use it in PIC code, but their linkers get confused if
8972 # the symbol is explicitly referenced. Since portable code cannot
8973 # rely on this symbol name, it's probably fine to never include it in
8974 # preloaded symbol tables.
8975 # Exclude shared library initialization/finalization symbols.
8976 extract_expsyms_cmds=
8979 cygwin* | mingw* | pw32* | cegcc*)
8980 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8981 # When not using gcc, we currently assume that we are using
8982 # Microsoft Visual C++.
8983 if test "$GCC" != yes; then
8988 # we just hope/assume this is gcc and not c89 (= MSVC++)
8994 linux* | k*bsd*-gnu | gnu*)
9001 # On some targets, GNU ld is compatible enough with the native linker
9002 # that we're better off using the native interface for both.
9003 lt_use_gnu_ld_interface=no
9004 if test "$with_gnu_ld" = yes; then
9007 # The AIX port of GNU ld has always aspired to compatibility
9008 # with the native linker. However, as the warning in the GNU ld
9009 # block says, versions before 2.19.5* couldn't really create working
9010 # shared libraries, regardless of the interface used.
9011 case `$LD -v 2>&1` in
9012 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9013 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9014 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9016 lt_use_gnu_ld_interface=yes
9021 lt_use_gnu_ld_interface=yes
9026 if test "$lt_use_gnu_ld_interface" = yes; then
9027 # If archive_cmds runs LD, not CC, wlarc should be empty
9030 # Set some defaults for GNU ld with shared library support. These
9031 # are reset later if shared libraries are not supported. Putting them
9032 # here allows them to be overridden if necessary.
9033 runpath_var=LD_RUN_PATH
9034 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9035 export_dynamic_flag_spec='${wl}--export-dynamic'
9036 # ancient GNU ld didn't support --whole-archive et. al.
9037 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9038 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9040 whole_archive_flag_spec=
9042 supports_anon_versioning=no
9043 case `$LD -v 2>&1` in
9044 *GNU\ gold*) supports_anon_versioning=yes ;;
9045 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9046 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9047 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9048 *\ 2.11.*) ;; # other 2.11 versions
9049 *) supports_anon_versioning=yes ;;
9052 # See if GNU ld supports shared libraries.
9055 # On AIX/PPC, the GNU linker is very broken
9056 if test "$host_cpu" != ia64; then
9060 *** Warning: the GNU linker, at least up to release 2.19, is reported
9061 *** to be unable to reliably create shared libraries on AIX.
9062 *** Therefore, libtool is disabling shared libraries support. If you
9063 *** really care for shared libraries, you may want to install binutils
9064 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9065 *** You will then need to restart the configuration process.
9074 # see comment about AmigaOS4 .so support
9075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9076 archive_expsym_cmds=''
9079 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)'
9080 hardcode_libdir_flag_spec='-L$libdir'
9081 hardcode_minus_L=yes
9087 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9088 allow_undefined_flag=unsupported
9089 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9090 # support --undefined. This deserves some investigation. FIXME
9091 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9097 cygwin* | mingw* | pw32* | cegcc*)
9098 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9099 # as there is no search path for DLLs.
9100 hardcode_libdir_flag_spec='-L$libdir'
9101 export_dynamic_flag_spec='${wl}--export-all-symbols'
9102 allow_undefined_flag=unsupported
9103 always_export_symbols=no
9104 enable_shared_with_static_runtimes=yes
9105 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'
9106 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9108 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9109 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9110 # If the export-symbols file already is a .def file (1st line
9111 # is EXPORTS), use it as is; otherwise, prepend...
9112 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9113 cp $export_symbols $output_objdir/$soname.def;
9115 echo EXPORTS > $output_objdir/$soname.def;
9116 cat $export_symbols >> $output_objdir/$soname.def;
9118 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9125 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126 link_all_deplibs=yes
9131 hardcode_shlibpath_var=no
9132 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9133 export_dynamic_flag_spec='${wl}-E'
9134 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9135 # Instead, shared libraries are loaded at an image base (0x10000000 by
9136 # default) and relocated if they conflict, which is a slow very memory
9137 # consuming and fragmenting process. To avoid this, we pick a random,
9138 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9139 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9140 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9141 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'
9144 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9146 if test "$host_os" = linux-dietlibc; then
9147 case $cc_basename in
9148 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9151 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9152 && test "$tmp_diet" = no
9154 tmp_addflag=' $pic_flag'
9155 tmp_sharedflag='-shared'
9156 case $cc_basename,$host_cpu in
9157 pgcc*) # Portland Group C compiler
9158 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'
9159 tmp_addflag=' $pic_flag'
9161 pgf77* | pgf90* | pgf95* | pgfortran*)
9162 # Portland Group f77 and f90 compilers
9163 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'
9164 tmp_addflag=' $pic_flag -Mnomain' ;;
9165 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9166 tmp_addflag=' -i_dynamic' ;;
9167 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9168 tmp_addflag=' -i_dynamic -nofor_main' ;;
9169 ifc* | ifort*) # Intel Fortran compiler
9170 tmp_addflag=' -nofor_main' ;;
9171 lf95*) # Lahey Fortran 8.1
9172 whole_archive_flag_spec=
9173 tmp_sharedflag='--shared' ;;
9174 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9175 tmp_sharedflag='-qmkshrobj'
9177 nvcc*) # Cuda Compiler Driver 2.2
9178 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'
9179 compiler_needs_object=yes
9182 case `$CC -V 2>&1 | sed 5q` in
9183 *Sun\ C*) # Sun C 5.9
9184 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'
9185 compiler_needs_object=yes
9186 tmp_sharedflag='-G' ;;
9187 *Sun\ F*) # Sun Fortran 8.3
9188 tmp_sharedflag='-G' ;;
9190 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 if test "x$supports_anon_versioning" = xyes; then
9193 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9194 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9195 echo "local: *; };" >> $output_objdir/$libname.ver~
9196 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9199 case $cc_basename in
9200 xlf* | bgf* | bgxlf* | mpixlf*)
9201 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9202 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9203 hardcode_libdir_flag_spec=
9204 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9205 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9206 if test "x$supports_anon_versioning" = xyes; then
9207 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9208 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9209 echo "local: *; };" >> $output_objdir/$libname.ver~
9210 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9219 netbsd* | netbsdelf*-gnu)
9220 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9221 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9224 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9230 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9234 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9235 *** create shared libraries on Solaris systems. Therefore, libtool
9236 *** is disabling shared libraries support. We urge you to upgrade GNU
9237 *** binutils to release 2.9.1 or newer. Another option is to modify
9238 *** your PATH or compiler configuration so that the native linker is
9239 *** used, and then restart.
9242 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9243 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9250 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9251 case `$LD -v 2>&1` in
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9256 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9257 *** reliably create shared libraries on SCO systems. Therefore, libtool
9258 *** is disabling shared libraries support. We urge you to upgrade GNU
9259 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9260 *** your PATH or compiler configuration so that the native linker is
9261 *** used, and then restart.
9266 # For security reasons, it is highly recommended that you always
9267 # use absolute paths for naming shared libraries, and exclude the
9268 # DT_RUNPATH tag from executables and libraries. But doing so
9269 # requires that you compile everything twice, which is a pain.
9270 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9271 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9272 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9282 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_shlibpath_var=no
9289 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9290 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298 if test "$ld_shlibs" = no; then
9300 hardcode_libdir_flag_spec=
9301 export_dynamic_flag_spec=
9302 whole_archive_flag_spec=
9305 # PORTME fill in a description of your system's linker (not GNU ld)
9308 allow_undefined_flag=unsupported
9309 always_export_symbols=yes
9310 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'
9311 # Note: this linker hardcodes the directories in LIBPATH if there
9312 # are no directories specified by -L.
9313 hardcode_minus_L=yes
9314 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9315 # Neither direct hardcoding nor static linking is supported with a
9317 hardcode_direct=unsupported
9322 if test "$host_cpu" = ia64; then
9323 # On IA64, the linker does run time linking by default, so we don't
9324 # have to do anything special.
9325 aix_use_runtimelinking=no
9326 exp_sym_flag='-Bexport'
9329 # If we're using GNU nm, then we don't want the "-C" option.
9330 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9331 # Also, AIX nm treats weak defined symbols like other global
9332 # defined symbols, whereas GNU nm marks them as "W".
9333 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9334 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'
9336 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'
9338 aix_use_runtimelinking=no
9340 # Test if we are trying to use run time linking or normal
9341 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9342 # need to do runtime linking.
9343 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9344 for ld_flag in $LDFLAGS; do
9345 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9346 aix_use_runtimelinking=yes
9353 exp_sym_flag='-bexport'
9354 no_entry_flag='-bnoentry'
9357 # When large executables or shared objects are built, AIX ld can
9358 # have problems creating the table of contents. If linking a library
9359 # or program results in "error TOC overflow" add -mminimal-toc to
9360 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9361 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9365 hardcode_direct_absolute=yes
9366 hardcode_libdir_separator=':'
9367 link_all_deplibs=yes
9368 file_list_spec='${wl}-f,'
9370 if test "$GCC" = yes; then
9371 case $host_os in aix4.[012]|aix4.[012].*)
9372 # We only want to do this on AIX 4.2 and lower, the check
9373 # below for broken collect2 doesn't work under 4.3+
9374 collect2name=`${CC} -print-prog-name=collect2`
9375 if test -f "$collect2name" &&
9376 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9378 # We have reworked collect2
9381 # We have old collect2
9382 hardcode_direct=unsupported
9383 # It fails to find uninstalled libraries when the uninstalled
9384 # path is not listed in the libpath. Setting hardcode_minus_L
9385 # to unsupported forces relinking
9386 hardcode_minus_L=yes
9387 hardcode_libdir_flag_spec='-L$libdir'
9388 hardcode_libdir_separator=
9392 shared_flag='-shared'
9393 if test "$aix_use_runtimelinking" = yes; then
9394 shared_flag="$shared_flag "'${wl}-G'
9399 if test "$host_cpu" = ia64; then
9400 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9401 # chokes on -Wl,-G. The following line is correct:
9404 if test "$aix_use_runtimelinking" = yes; then
9405 shared_flag='${wl}-G'
9407 shared_flag='${wl}-bM:SRE'
9412 export_dynamic_flag_spec='${wl}-bexpall'
9413 # It seems that -bexpall does not export symbols beginning with
9414 # underscore (_), so it is better to generate a list of symbols to export.
9415 always_export_symbols=yes
9416 if test "$aix_use_runtimelinking" = yes; then
9417 # Warning - without using the other runtime loading flags (-brtl),
9418 # -berok will link without error, but may produce a broken library.
9419 allow_undefined_flag='-berok'
9420 # Determine the default libpath from the value encoded in an
9422 if test "${lt_cv_aix_libpath+set}" = set; then
9423 aix_libpath=$lt_cv_aix_libpath
9425 if ${lt_cv_aix_libpath_+:} false; then :
9426 $as_echo_n "(cached) " >&6
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9439 if ac_fn_c_try_link "$LINENO"; then :
9441 lt_aix_libpath_sed='
9442 /Import File Strings/,/^$/ {
9444 s/^0 *\([^ ]*\) *$/\1/
9448 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9449 # Check for a 64-bit object if we didn't find anything.
9450 if test -z "$lt_cv_aix_libpath_"; then
9451 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 if test -z "$lt_cv_aix_libpath_"; then
9457 lt_cv_aix_libpath_="/usr/lib:/lib"
9462 aix_libpath=$lt_cv_aix_libpath_
9465 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9466 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"
9468 if test "$host_cpu" = ia64; then
9469 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9470 allow_undefined_flag="-z nodefs"
9471 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"
9473 # Determine the default libpath from the value encoded in an
9475 if test "${lt_cv_aix_libpath+set}" = set; then
9476 aix_libpath=$lt_cv_aix_libpath
9478 if ${lt_cv_aix_libpath_+:} false; then :
9479 $as_echo_n "(cached) " >&6
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9492 if ac_fn_c_try_link "$LINENO"; then :
9494 lt_aix_libpath_sed='
9495 /Import File Strings/,/^$/ {
9497 s/^0 *\([^ ]*\) *$/\1/
9501 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9502 # Check for a 64-bit object if we didn't find anything.
9503 if test -z "$lt_cv_aix_libpath_"; then
9504 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 if test -z "$lt_cv_aix_libpath_"; then
9510 lt_cv_aix_libpath_="/usr/lib:/lib"
9515 aix_libpath=$lt_cv_aix_libpath_
9518 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9519 # Warning - without using the other run time loading flags,
9520 # -berok will link without error, but may produce a broken library.
9521 no_undefined_flag=' ${wl}-bernotok'
9522 allow_undefined_flag=' ${wl}-berok'
9523 if test "$with_gnu_ld" = yes; then
9524 # We only use this code for GNU lds that support --whole-archive.
9525 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9527 # Exported symbols can be pulled into shared objects from archives
9528 whole_archive_flag_spec='$convenience'
9530 archive_cmds_need_lc=yes
9531 # This is similar to how AIX traditionally builds its shared libraries.
9532 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'
9540 # see comment about AmigaOS4 .so support
9541 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542 archive_expsym_cmds=''
9545 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)'
9546 hardcode_libdir_flag_spec='-L$libdir'
9547 hardcode_minus_L=yes
9553 export_dynamic_flag_spec=-rdynamic
9556 cygwin* | mingw* | pw32* | cegcc*)
9557 # When not using gcc, we currently assume that we are using
9558 # Microsoft Visual C++.
9559 # hardcode_libdir_flag_spec is actually meaningless, as there is
9560 # no search path for DLLs.
9561 case $cc_basename in
9564 hardcode_libdir_flag_spec=' '
9565 allow_undefined_flag=unsupported
9566 always_export_symbols=yes
9568 # Tell ltmain to make .lib files, not .a files.
9570 # Tell ltmain to make .dll files, not .so files.
9572 # FIXME: Setting linknames here is a bad hack.
9573 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9574 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9575 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9577 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9579 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9581 # The linker will not automatically build a static lib if we build a DLL.
9582 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9583 enable_shared_with_static_runtimes=yes
9584 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9586 old_postinstall_cmds='chmod 644 $oldlib'
9587 postlink_cmds='lt_outputfile="@OUTPUT@"~
9588 lt_tool_outputfile="@TOOL_OUTPUT@"~
9589 case $lt_outputfile in
9592 lt_outputfile="$lt_outputfile.exe"
9593 lt_tool_outputfile="$lt_tool_outputfile.exe"
9596 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9597 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9598 $RM "$lt_outputfile.manifest";
9602 # Assume MSVC wrapper
9603 hardcode_libdir_flag_spec=' '
9604 allow_undefined_flag=unsupported
9605 # Tell ltmain to make .lib files, not .a files.
9607 # Tell ltmain to make .dll files, not .so files.
9609 # FIXME: Setting linknames here is a bad hack.
9610 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9611 # The linker will automatically build a .lib file if we build a DLL.
9612 old_archive_from_new_cmds='true'
9613 # FIXME: Should let the user specify the lib program.
9614 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9615 enable_shared_with_static_runtimes=yes
9620 darwin* | rhapsody*)
9623 archive_cmds_need_lc=no
9625 hardcode_automatic=yes
9626 hardcode_shlibpath_var=unsupported
9627 if test "$lt_cv_ld_force_load" = "yes"; then
9628 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\"`'
9630 whole_archive_flag_spec=''
9632 link_all_deplibs=yes
9633 allow_undefined_flag="$_lt_dar_allow_undefined"
9634 case $cc_basename in
9635 ifort*) _lt_dar_can_shared=yes ;;
9636 *) _lt_dar_can_shared=$GCC ;;
9638 if test "$_lt_dar_can_shared" = "yes"; then
9639 output_verbose_link_cmd=func_echo_all
9640 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9641 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9642 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}"
9643 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}"
9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_libdir_flag_spec='-L$libdir'
9654 hardcode_shlibpath_var=no
9661 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9662 # support. Future versions do this automatically, but an explicit c++rt0.o
9663 # does not break anything, and helps significantly (at the cost of a little
9666 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9667 hardcode_libdir_flag_spec='-R$libdir'
9669 hardcode_shlibpath_var=no
9672 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9674 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9676 hardcode_minus_L=yes
9677 hardcode_shlibpath_var=no
9680 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9681 freebsd* | dragonfly*)
9682 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9683 hardcode_libdir_flag_spec='-R$libdir'
9685 hardcode_shlibpath_var=no
9689 if test "$GCC" = yes; then
9690 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'
9692 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'
9694 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9695 hardcode_libdir_separator=:
9698 # hardcode_minus_L: Not really in the search PATH,
9699 # but as the default location of the library.
9700 hardcode_minus_L=yes
9701 export_dynamic_flag_spec='${wl}-E'
9705 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9706 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9708 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9710 if test "$with_gnu_ld" = no; then
9711 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9712 hardcode_libdir_flag_spec_ld='+b $libdir'
9713 hardcode_libdir_separator=:
9715 hardcode_direct_absolute=yes
9716 export_dynamic_flag_spec='${wl}-E'
9717 # hardcode_minus_L: Not really in the search PATH,
9718 # but as the default location of the library.
9719 hardcode_minus_L=yes
9724 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9746 # Older versions of the 11.00 compiler do not understand -b yet
9747 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9749 $as_echo_n "checking if $CC understands -b... " >&6; }
9750 if ${lt_cv_prog_compiler__b+:} false; then :
9751 $as_echo_n "(cached) " >&6
9753 lt_cv_prog_compiler__b=no
9754 save_LDFLAGS="$LDFLAGS"
9755 LDFLAGS="$LDFLAGS -b"
9756 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9757 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9758 # The linker can only warn and ignore the option if not recognized
9759 # So say no if there are warnings
9760 if test -s conftest.err; then
9761 # Append any errors to the config.log.
9762 cat conftest.err 1>&5
9763 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9764 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9765 if diff conftest.exp conftest.er2 >/dev/null; then
9766 lt_cv_prog_compiler__b=yes
9769 lt_cv_prog_compiler__b=yes
9773 LDFLAGS="$save_LDFLAGS"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9779 if test x"$lt_cv_prog_compiler__b" = xyes; then
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9788 if test "$with_gnu_ld" = no; then
9789 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9790 hardcode_libdir_separator=:
9795 hardcode_shlibpath_var=no
9799 hardcode_direct_absolute=yes
9800 export_dynamic_flag_spec='${wl}-E'
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L=yes
9810 irix5* | irix6* | nonstopux*)
9811 if test "$GCC" = yes; then
9812 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'
9813 # Try to use the -exported_symbol ld option, if it does not
9814 # work, assume that -exports_file does not work either and
9815 # implicitly export all symbols.
9816 # This should be the same for all languages, so no per-tag cache variable.
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9818 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9819 if ${lt_cv_irix_exported_symbol+:} false; then :
9820 $as_echo_n "(cached) " >&6
9822 save_LDFLAGS="$LDFLAGS"
9823 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9826 int foo (void) { return 0; }
9828 if ac_fn_c_try_link "$LINENO"; then :
9829 lt_cv_irix_exported_symbol=yes
9831 lt_cv_irix_exported_symbol=no
9833 rm -f core conftest.err conftest.$ac_objext \
9834 conftest$ac_exeext conftest.$ac_ext
9835 LDFLAGS="$save_LDFLAGS"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9838 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9839 if test "$lt_cv_irix_exported_symbol" = yes; then
9840 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'
9843 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'
9844 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'
9846 archive_cmds_need_lc='no'
9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848 hardcode_libdir_separator=:
9850 link_all_deplibs=yes
9853 netbsd* | netbsdelf*-gnu)
9854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9855 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9857 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9859 hardcode_libdir_flag_spec='-R$libdir'
9861 hardcode_shlibpath_var=no
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9869 hardcode_shlibpath_var=no
9876 if test -f /usr/libexec/ld.so; then
9878 hardcode_shlibpath_var=no
9879 hardcode_direct_absolute=yes
9880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9881 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9884 export_dynamic_flag_spec='${wl}-E'
9887 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9888 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='-R$libdir'
9892 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9903 hardcode_libdir_flag_spec='-L$libdir'
9904 hardcode_minus_L=yes
9905 allow_undefined_flag=unsupported
9906 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'
9907 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9911 if test "$GCC" = yes; then
9912 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9913 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'
9915 allow_undefined_flag=' -expect_unresolved \*'
9916 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'
9918 archive_cmds_need_lc='no'
9919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920 hardcode_libdir_separator=:
9923 osf4* | osf5*) # as osf3* with the addition of -msym flag
9924 if test "$GCC" = yes; then
9925 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9926 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'
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9929 allow_undefined_flag=' -expect_unresolved \*'
9930 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'
9931 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~
9932 $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'
9934 # Both c and cxx compiler support -rpath directly
9935 hardcode_libdir_flag_spec='-rpath $libdir'
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_separator=:
9942 no_undefined_flag=' -z defs'
9943 if test "$GCC" = yes; then
9945 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9947 $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'
9949 case `$CC -V 2>&1` in
9952 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9958 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9960 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9964 hardcode_libdir_flag_spec='-R$libdir'
9965 hardcode_shlibpath_var=no
9967 solaris2.[0-5] | solaris2.[0-5].*) ;;
9969 # The compiler driver will combine and reorder linker options,
9970 # but understands `-z linker_flag'. GCC discards it without `$wl',
9971 # but is careful enough not to reorder.
9972 # Supported since Solaris 2.6 (maybe 2.5.1?)
9973 if test "$GCC" = yes; then
9974 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9976 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9980 link_all_deplibs=yes
9984 if test "x$host_vendor" = xsequent; then
9985 # Use $CC to link under sequent, because it throws in some extra .o
9986 # files that make .init and .fini sections work.
9987 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9989 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_libdir_flag_spec='-L$libdir'
9993 hardcode_minus_L=yes
9994 hardcode_shlibpath_var=no
9998 case $host_vendor in
10000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct=yes # is this really true???
10004 ## LD is ld it makes a PLAMLIB
10005 ## CC just makes a GrossModule.
10006 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10007 reload_cmds='$CC -r -o $output$reload_objs'
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10015 runpath_var='LD_RUN_PATH'
10016 hardcode_shlibpath_var=no
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_shlibpath_var=no
10022 export_dynamic_flag_spec='-Bexport'
10026 if test -d /usr/nec; then
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var=no
10029 runpath_var=LD_RUN_PATH
10030 hardcode_runpath_var=yes
10035 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10036 no_undefined_flag='${wl}-z,text'
10037 archive_cmds_need_lc=no
10038 hardcode_shlibpath_var=no
10039 runpath_var='LD_RUN_PATH'
10041 if test "$GCC" = yes; then
10042 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 sysv5* | sco3.2v5* | sco5v6*)
10051 # Note: We can NOT use -z defs as we might desire, because we do not
10052 # link with -lc, and that would cause any symbols used from libc to
10053 # always be unresolved, which means just about no library would
10054 # ever link correctly. If we're not using GNU ld we use -z text
10055 # though, which does catch some bad symbols but isn't as heavy-handed
10057 no_undefined_flag='${wl}-z,text'
10058 allow_undefined_flag='${wl}-z,nodefs'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10062 hardcode_libdir_separator=':'
10063 link_all_deplibs=yes
10064 export_dynamic_flag_spec='${wl}-Bexport'
10065 runpath_var='LD_RUN_PATH'
10067 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-L$libdir'
10079 hardcode_shlibpath_var=no
10087 if test x$host_vendor = xsni; then
10089 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10090 export_dynamic_flag_spec='${wl}-Blargedynsym'
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10097 $as_echo "$ld_shlibs" >&6; }
10098 test "$ld_shlibs" = no && can_build_shared=no
10100 with_gnu_ld=$with_gnu_ld
10117 # Do we need to explicitly link libc?
10119 case "x$archive_cmds_need_lc" in
10121 # Assume -lc should be added
10122 archive_cmds_need_lc=yes
10124 if test "$enable_shared" = yes && test "$GCC" = yes; then
10125 case $archive_cmds in
10127 # FIXME: we may have to deal with multi-command sequences.
10130 # Test whether the compiler implicitly links with -lc since on some
10131 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10132 # to ld, don't add -lc before -lgcc.
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10135 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10136 $as_echo_n "(cached) " >&6
10139 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10142 (eval $ac_compile) 2>&5
10144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10145 test $ac_status = 0; } 2>conftest.err; then
10148 libobjs=conftest.$ac_objext
10150 wl=$lt_prog_compiler_wl
10151 pic_flag=$lt_prog_compiler_pic
10157 lt_save_allow_undefined_flag=$allow_undefined_flag
10158 allow_undefined_flag=
10159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10160 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10163 test $ac_status = 0; }
10165 lt_cv_archive_cmds_need_lc=no
10167 lt_cv_archive_cmds_need_lc=yes
10169 allow_undefined_flag=$lt_save_allow_undefined_flag
10171 cat conftest.err 1>&5
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10177 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10178 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10342 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10344 if test "$GCC" = yes; then
10346 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10347 *) lt_awk_arg="/^libraries:/" ;;
10350 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10351 *) lt_sed_strip_eq="s,=/,/,g" ;;
10353 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10354 case $lt_search_path_spec in
10356 # if the path contains ";" then we assume it to be the separator
10357 # otherwise default to the standard path separator (i.e. ":") - it is
10358 # assumed that no part of a normal pathname contains ";" but that should
10359 # okay in the real world where ";" in dirpaths is itself problematic.
10360 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10363 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10366 # Ok, now we have the path, separated by spaces, we can step through it
10367 # and add multilib dir if necessary.
10368 lt_tmp_lt_search_path_spec=
10369 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10370 for lt_sys_path in $lt_search_path_spec; do
10371 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10372 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10374 test -d "$lt_sys_path" && \
10375 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10378 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10379 BEGIN {RS=" "; FS="/|\n";} {
10382 for (lt_i = NF; lt_i > 0; lt_i--) {
10383 if ($lt_i != "" && $lt_i != ".") {
10384 if ($lt_i == "..") {
10387 if (lt_count == 0) {
10388 lt_foo="/" $lt_i lt_foo;
10395 if (lt_foo != "") { lt_freq[lt_foo]++; }
10396 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10398 # AWK program above erroneously prepends '/' to C:/dos/paths
10401 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10402 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10404 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10406 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10408 library_names_spec=
10409 libname_spec='lib$name'
10413 postuninstall_cmds=
10417 shlibpath_overrides_runpath=unknown
10419 dynamic_linker="$host_os ld.so"
10420 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10421 need_lib_prefix=unknown
10422 hardcode_into_libs=no
10424 # when you set need_version to no, make sure it does not cause -set_version
10425 # flags to be left without arguments
10426 need_version=unknown
10431 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10432 shlibpath_var=LIBPATH
10434 # AIX 3 has no versioning support, so we append a major version to the name.
10435 soname_spec='${libname}${release}${shared_ext}$major'
10442 hardcode_into_libs=yes
10443 if test "$host_cpu" = ia64; then
10444 # AIX 5 supports IA64
10445 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10446 shlibpath_var=LD_LIBRARY_PATH
10448 # With GCC up to 2.95.x, collect2 would create an import file
10449 # for dependence libraries. The import file would start with
10450 # the line `#! .'. This would cause the generated library to
10451 # depend on `.', always an invalid library. This was fixed in
10452 # development snapshots of GCC prior to 3.0.
10454 aix4 | aix4.[01] | aix4.[01].*)
10455 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10457 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10460 can_build_shared=no
10464 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10465 # soname into executable. Probably we can add versioning support to
10466 # collect2, so additional links can be useful in future.
10467 if test "$aix_use_runtimelinking" = yes; then
10468 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10469 # instead of lib<name>.a to let people know that these are not
10470 # typical AIX shared libraries.
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10473 # We preserve .a as extension for shared libraries through AIX4.2
10474 # and later when we are not doing run time linking.
10475 library_names_spec='${libname}${release}.a $libname.a'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10478 shlibpath_var=LIBPATH
10485 # Since July 2007 AmigaOS4 officially supports .so libraries.
10486 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 library_names_spec='$libname.ixlibrary $libname.a'
10491 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10492 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'
10498 library_names_spec='${libname}${shared_ext}'
10499 dynamic_linker="$host_os ld.so"
10500 shlibpath_var=LIBRARY_PATH
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10509 shlibpath_var=LD_LIBRARY_PATH
10510 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10511 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10512 # the default ld.so.conf also contains /usr/contrib/lib and
10513 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10514 # libtool to hard-code these into programs
10517 cygwin* | mingw* | pw32* | cegcc*)
10518 version_type=windows
10523 case $GCC,$cc_basename in
10526 library_names_spec='$libname.dll.a'
10527 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10528 postinstall_cmds='base_file=`basename \${file}`~
10529 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10530 dldir=$destdir/`dirname \$dlpath`~
10531 test -d \$dldir || mkdir -p \$dldir~
10532 $install_prog $dir/$dlname \$dldir/$dlname~
10533 chmod a+x \$dldir/$dlname~
10534 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10535 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10537 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10538 dlpath=$dir/\$dldll~
10540 shlibpath_overrides_runpath=yes
10544 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10545 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10547 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10550 # MinGW DLLs use traditional 'lib' prefix
10551 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10554 # pw32 DLLs use 'pw' prefix rather than 'lib'
10555 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10558 dynamic_linker='Win32 ld.exe'
10563 libname_spec='$name'
10564 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10565 library_names_spec='${libname}.dll.lib'
10569 sys_lib_search_path_spec=
10572 for lt_path in $LIB
10575 # Let DOS variable expansion print the short 8.3 style file name.
10576 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10577 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10580 # Convert to MSYS style.
10581 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10584 # Convert to unix form, then to dos form, then back to unix form
10585 # but this time dos style (no spaces!) so that the unix form looks
10586 # like /cygdrive/c/PROGRA~1:/cygdr...
10587 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10588 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10589 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10592 sys_lib_search_path_spec="$LIB"
10593 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10594 # It is most probably a Windows format PATH.
10595 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10597 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10599 # FIXME: find the short name or the path components, as spaces are
10600 # common. (e.g. "Program Files" -> "PROGRA~1")
10604 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10605 postinstall_cmds='base_file=`basename \${file}`~
10606 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10607 dldir=$destdir/`dirname \$dlpath`~
10608 test -d \$dldir || mkdir -p \$dldir~
10609 $install_prog $dir/$dlname \$dldir/$dlname'
10610 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10611 dlpath=$dir/\$dldll~
10613 shlibpath_overrides_runpath=yes
10614 dynamic_linker='Win32 link.exe'
10618 # Assume MSVC wrapper
10619 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10620 dynamic_linker='Win32 ld.exe'
10623 # FIXME: first we should search . and the directory the executable is in
10627 darwin* | rhapsody*)
10628 dynamic_linker="$host_os dyld"
10629 version_type=darwin
10632 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10633 soname_spec='${libname}${release}${major}$shared_ext'
10634 shlibpath_overrides_runpath=yes
10635 shlibpath_var=DYLD_LIBRARY_PATH
10636 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10638 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10639 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10647 soname_spec='${libname}${release}${shared_ext}$major'
10648 shlibpath_var=LD_LIBRARY_PATH
10655 freebsd* | dragonfly*)
10656 # DragonFly does not have aout. When/if they implement a new
10657 # versioning mechanism, adjust this.
10658 if test -x /usr/bin/objformat; then
10659 objformat=`/usr/bin/objformat`
10662 freebsd[123]*) objformat=aout ;;
10663 *) objformat=elf ;;
10666 version_type=freebsd-$objformat
10667 case $version_type in
10669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10678 shlibpath_var=LD_LIBRARY_PATH
10681 shlibpath_overrides_runpath=yes
10683 freebsd3.[01]* | freebsdelf3.[01]*)
10684 shlibpath_overrides_runpath=yes
10685 hardcode_into_libs=yes
10687 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10688 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10689 shlibpath_overrides_runpath=no
10690 hardcode_into_libs=yes
10692 *) # from 4.6 on, and DragonFly
10693 shlibpath_overrides_runpath=yes
10694 hardcode_into_libs=yes
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 shlibpath_var=LD_LIBRARY_PATH
10706 shlibpath_overrides_runpath=no
10707 hardcode_into_libs=yes
10714 dynamic_linker="$host_os runtime_loader"
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes
10719 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10720 hardcode_into_libs=yes
10723 hpux9* | hpux10* | hpux11*)
10724 # Give a soname corresponding to the major version so that dld.sl refuses to
10725 # link against other versions.
10732 hardcode_into_libs=yes
10733 dynamic_linker="$host_os dld.so"
10734 shlibpath_var=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec='${libname}${release}${shared_ext}$major'
10738 if test "X$HPUX_IA64_MODE" = X32; then
10739 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10741 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10743 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10747 hardcode_into_libs=yes
10748 dynamic_linker="$host_os dld.sl"
10749 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10750 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10754 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10758 dynamic_linker="$host_os dld.sl"
10759 shlibpath_var=SHLIB_PATH
10760 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec='${libname}${release}${shared_ext}$major'
10765 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10766 postinstall_cmds='chmod 555 $lib'
10767 # or fails outright, so override atomically:
10768 install_override_mode=555
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10776 soname_spec='${libname}${release}${shared_ext}$major'
10777 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10778 shlibpath_var=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath=no
10780 hardcode_into_libs=yes
10783 irix5* | irix6* | nonstopux*)
10785 nonstopux*) version_type=nonstopux ;;
10787 if test "$lt_cv_prog_gnu_ld" = yes; then
10795 soname_spec='${libname}${release}${shared_ext}$major'
10796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 irix5* | nonstopux*)
10799 libsuff= shlibsuff=
10802 case $LD in # libtool.m4 will add one of these switches to LD
10803 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10804 libsuff= shlibsuff= libmagic=32-bit;;
10805 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10806 libsuff=32 shlibsuff=N32 libmagic=N32;;
10807 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10808 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10809 *) libsuff= shlibsuff= libmagic=never-match;;
10813 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10814 shlibpath_overrides_runpath=no
10815 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10816 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10817 hardcode_into_libs=yes
10820 # No shared lib support for Linux oldld, aout, or coff.
10821 linux*oldld* | linux*aout* | linux*coff*)
10825 # This must be Linux ELF.
10826 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10833 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=no
10836 # Some binutils ld are patched to set DT_RUNPATH
10837 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10838 $as_echo_n "(cached) " >&6
10840 lt_cv_shlibpath_overrides_runpath=no
10841 save_LDFLAGS=$LDFLAGS
10842 save_libdir=$libdir
10843 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10844 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10858 lt_cv_shlibpath_overrides_runpath=yes
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LDFLAGS=$save_LDFLAGS
10864 libdir=$save_libdir
10868 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10870 # This implies no fast_install, which is unacceptable.
10871 # Some rework will be needed to allow for fast_install
10872 # before this can be enabled.
10873 hardcode_into_libs=yes
10875 # Append ld.so.conf contents to the search path
10876 if test -f /etc/ld.so.conf; then
10877 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' ' '`
10878 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10881 # We used to test for /lib/ld.so.1 and disable shared libraries on
10882 # powerpc, because MkLinux only supported shared libraries with the
10883 # GNU dynamic linker. Since this was broken with cross compilers,
10884 # most powerpc-linux boxes support dynamic linking these days and
10885 # people can always --disable-shared, the test was removed, and we
10886 # assume the GNU/Linux dynamic linker is in use.
10887 dynamic_linker='GNU/Linux ld.so'
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=no
10898 hardcode_into_libs=yes
10899 dynamic_linker='NetBSD ld.elf_so'
10906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909 dynamic_linker='NetBSD (a.out) ld.so'
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 dynamic_linker='NetBSD ld.elf_so'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 hardcode_into_libs=yes
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=yes
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=no
10935 hardcode_into_libs=yes
10936 dynamic_linker='ldqnx.so'
10941 sys_lib_dlsearch_path_spec="/usr/lib"
10943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10945 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10946 *) need_version=no ;;
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10953 openbsd2.[89] | openbsd2.[89].*)
10954 shlibpath_overrides_runpath=no
10957 shlibpath_overrides_runpath=yes
10961 shlibpath_overrides_runpath=yes
10966 libname_spec='$name'
10969 library_names_spec='$libname${shared_ext} $libname.a'
10970 dynamic_linker='OS/2 ld.exe'
10971 shlibpath_var=LIBPATH
10974 osf3* | osf4* | osf5*)
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 # ldd complains unless libraries are executable
10999 postinstall_cmds='chmod +x $lib'
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 if test "$with_gnu_ld" = yes; then
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 case $host_vendor in
11021 shlibpath_overrides_runpath=no
11023 runpath_var=LD_RUN_PATH
11031 shlibpath_overrides_runpath=no
11032 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11038 if test -d /usr/nec ;then
11040 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11041 soname_spec='$libname${shared_ext}.$major'
11042 shlibpath_var=LD_LIBRARY_PATH
11046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11047 version_type=freebsd-elf
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 if test "$with_gnu_ld" = yes; then
11056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11058 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11061 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11065 sys_lib_dlsearch_path_spec='/usr/lib'
11069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=no
11076 hardcode_into_libs=yes
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11091 $as_echo "$dynamic_linker" >&6; }
11092 test "$dynamic_linker" = no && can_build_shared=no
11094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11095 if test "$GCC" = yes; then
11096 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11100 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11103 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11200 if test -n "$hardcode_libdir_flag_spec" ||
11201 test -n "$runpath_var" ||
11202 test "X$hardcode_automatic" = "Xyes" ; then
11204 # We can hardcode non-existent directories.
11205 if test "$hardcode_direct" != no &&
11206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11207 # have to relink, otherwise we might link with an installed library
11208 # when we should be linking with a yet-to-be-installed one
11209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11210 test "$hardcode_minus_L" != no; then
11211 # Linking always hardcodes the temporary library directory.
11212 hardcode_action=relink
11214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11215 hardcode_action=immediate
11218 # We cannot hardcode anything, or else we can only hardcode existing
11220 hardcode_action=unsupported
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11223 $as_echo "$hardcode_action" >&6; }
11225 if test "$hardcode_action" = relink ||
11226 test "$inherit_rpath" = yes; then
11227 # Fast installation is not supported
11228 enable_fast_install=no
11229 elif test "$shlibpath_overrides_runpath" = yes ||
11230 test "$enable_shared" = no; then
11231 # Fast installation is not necessary
11232 enable_fast_install=needless
11240 if test "x$enable_dlopen" != xyes; then
11241 enable_dlopen=unknown
11242 enable_dlopen_self=unknown
11243 enable_dlopen_self_static=unknown
11250 lt_cv_dlopen="load_add_on"
11252 lt_cv_dlopen_self=yes
11255 mingw* | pw32* | cegcc*)
11256 lt_cv_dlopen="LoadLibrary"
11261 lt_cv_dlopen="dlopen"
11266 # if libdl is installed we need to link against it
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11269 if ${ac_cv_lib_dl_dlopen+:} false; then :
11270 $as_echo_n "(cached) " >&6
11272 ac_check_lib_save_LIBS=$LIBS
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 ac_cv_lib_dl_dlopen=yes
11295 ac_cv_lib_dl_dlopen=no
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11302 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11303 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11304 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11307 lt_cv_dlopen="dyld"
11309 lt_cv_dlopen_self=yes
11316 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11317 if test "x$ac_cv_func_shl_load" = xyes; then :
11318 lt_cv_dlopen="shl_load"
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11321 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11322 if ${ac_cv_lib_dld_shl_load+:} false; then :
11323 $as_echo_n "(cached) " >&6
11325 ac_check_lib_save_LIBS=$LIBS
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11340 return shl_load ();
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_dld_shl_load=yes
11348 ac_cv_lib_dld_shl_load=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11355 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11356 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11357 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11359 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11360 if test "x$ac_cv_func_dlopen" = xyes; then :
11361 lt_cv_dlopen="dlopen"
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11365 if ${ac_cv_lib_dl_dlopen+:} false; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_check_lib_save_LIBS=$LIBS
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_dl_dlopen=yes
11391 ac_cv_lib_dl_dlopen=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11399 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11403 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11404 if ${ac_cv_lib_svld_dlopen+:} false; then :
11405 $as_echo_n "(cached) " >&6
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-lsvld $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_svld_dlopen=yes
11430 ac_cv_lib_svld_dlopen=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11437 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11438 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11439 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11442 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11443 if ${ac_cv_lib_dld_dld_link+:} false; then :
11444 $as_echo_n "(cached) " >&6
11446 ac_check_lib_save_LIBS=$LIBS
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11461 return dld_link ();
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_dld_dld_link=yes
11469 ac_cv_lib_dld_dld_link=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11477 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11478 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 if test "x$lt_cv_dlopen" != xno; then
11505 case $lt_cv_dlopen in
11507 save_CPPFLAGS="$CPPFLAGS"
11508 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11510 save_LDFLAGS="$LDFLAGS"
11511 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11514 LIBS="$lt_cv_dlopen_libs $LIBS"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11518 if ${lt_cv_dlopen_self+:} false; then :
11519 $as_echo_n "(cached) " >&6
11521 if test "$cross_compiling" = yes; then :
11522 lt_cv_dlopen_self=cross
11524 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11525 lt_status=$lt_dlunknown
11526 cat > conftest.$ac_ext <<_LT_EOF
11527 #line $LINENO "configure"
11528 #include "confdefs.h"
11537 # define LT_DLGLOBAL RTLD_GLOBAL
11540 # define LT_DLGLOBAL DL_GLOBAL
11542 # define LT_DLGLOBAL 0
11546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11547 find out it does not work in some platform. */
11548 #ifndef LT_DLLAZY_OR_NOW
11550 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # define LT_DLLAZY_OR_NOW DL_NOW
11561 # define LT_DLLAZY_OR_NOW 0
11568 /* When -fvisbility=hidden is used, assume the code has been annotated
11569 correspondingly for the symbols needed. */
11570 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11571 int fnord () __attribute__((visibility("default")));
11574 int fnord () { return 42; }
11577 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11578 int status = $lt_dlunknown;
11582 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11586 else puts (dlerror ());
11588 /* dlclose (self); */
11596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11597 (eval $ac_link) 2>&5
11599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11601 (./conftest; exit; ) >&5 2>/dev/null
11603 case x$lt_status in
11604 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11605 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11606 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 # compilation failed
11610 lt_cv_dlopen_self=no
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11618 $as_echo "$lt_cv_dlopen_self" >&6; }
11620 if test "x$lt_cv_dlopen_self" = xyes; then
11621 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11623 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11624 if ${lt_cv_dlopen_self_static+:} false; then :
11625 $as_echo_n "(cached) " >&6
11627 if test "$cross_compiling" = yes; then :
11628 lt_cv_dlopen_self_static=cross
11630 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11631 lt_status=$lt_dlunknown
11632 cat > conftest.$ac_ext <<_LT_EOF
11633 #line $LINENO "configure"
11634 #include "confdefs.h"
11643 # define LT_DLGLOBAL RTLD_GLOBAL
11646 # define LT_DLGLOBAL DL_GLOBAL
11648 # define LT_DLGLOBAL 0
11652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11653 find out it does not work in some platform. */
11654 #ifndef LT_DLLAZY_OR_NOW
11656 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # define LT_DLLAZY_OR_NOW DL_NOW
11667 # define LT_DLLAZY_OR_NOW 0
11674 /* When -fvisbility=hidden is used, assume the code has been annotated
11675 correspondingly for the symbols needed. */
11676 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11677 int fnord () __attribute__((visibility("default")));
11680 int fnord () { return 42; }
11683 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11684 int status = $lt_dlunknown;
11688 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11692 else puts (dlerror ());
11694 /* dlclose (self); */
11702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11703 (eval $ac_link) 2>&5
11705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11706 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11707 (./conftest; exit; ) >&5 2>/dev/null
11709 case x$lt_status in
11710 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11711 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11712 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 # compilation failed
11716 lt_cv_dlopen_self_static=no
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11724 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11727 CPPFLAGS="$save_CPPFLAGS"
11728 LDFLAGS="$save_LDFLAGS"
11733 case $lt_cv_dlopen_self in
11734 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11735 *) enable_dlopen_self=unknown ;;
11738 case $lt_cv_dlopen_self_static in
11739 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11740 *) enable_dlopen_self_static=unknown ;;
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11763 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11764 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11765 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11766 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11768 $as_echo "yes" >&6; }
11770 # FIXME - insert some real tests, host_os isn't really good enough
11773 if test -n "$STRIP" ; then
11774 striplib="$STRIP -x"
11775 old_striplib="$STRIP -S"
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11801 # Report which library types will actually be built
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11803 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11805 $as_echo "$can_build_shared" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11808 $as_echo_n "checking whether to build shared libraries... " >&6; }
11809 test "$can_build_shared" = "no" && enable_shared=no
11811 # On AIX, shared libraries and static libraries use the same namespace, and
11812 # are all built from PIC.
11815 test "$enable_shared" = yes && enable_static=no
11816 if test -n "$RANLIB"; then
11817 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11818 postinstall_cmds='$RANLIB $lib'
11823 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11824 test "$enable_shared" = yes && enable_static=no
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11829 $as_echo "$enable_shared" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11832 $as_echo_n "checking whether to build static libraries... " >&6; }
11833 # Make sure either enable_shared or enable_static is yes.
11834 test "$enable_shared" = yes || enable_static=yes
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11836 $as_echo "$enable_static" >&6; }
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11850 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11851 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11852 (test "X$CXX" != "Xg++"))) ; then
11854 ac_cpp='$CXXCPP $CPPFLAGS'
11855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11859 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11860 if test -z "$CXXCPP"; then
11861 if ${ac_cv_prog_CXXCPP+:} false; then :
11862 $as_echo_n "(cached) " >&6
11864 # Double quotes because CXXCPP needs to be expanded
11865 for CXXCPP in "$CXX -E" "/lib/cpp"
11867 ac_preproc_ok=false
11868 for ac_cxx_preproc_warn_flag in '' yes
11870 # Use a header file that comes with gcc, so configuring glibc
11871 # with a fresh cross-compiler works.
11872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11873 # <limits.h> exists even on freestanding compilers.
11874 # On the NeXT, cc -E runs the code through the compiler's parser,
11875 # not just through cpp. "Syntax error" is here to catch this case.
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 @%:@ include <limits.h>
11881 @%:@ include <assert.h>
11885 if ac_fn_cxx_try_cpp "$LINENO"; then :
11888 # Broken: fails on valid input.
11891 rm -f conftest.err conftest.i conftest.$ac_ext
11893 # OK, works on sane cases. Now check whether nonexistent headers
11894 # can be detected and how.
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 @%:@include <ac_nonexistent.h>
11899 if ac_fn_cxx_try_cpp "$LINENO"; then :
11900 # Broken: success on invalid input.
11903 # Passes both tests.
11907 rm -f conftest.err conftest.i conftest.$ac_ext
11910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11911 rm -f conftest.i conftest.err conftest.$ac_ext
11912 if $ac_preproc_ok; then :
11917 ac_cv_prog_CXXCPP=$CXXCPP
11920 CXXCPP=$ac_cv_prog_CXXCPP
11922 ac_cv_prog_CXXCPP=$CXXCPP
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11925 $as_echo "$CXXCPP" >&6; }
11926 ac_preproc_ok=false
11927 for ac_cxx_preproc_warn_flag in '' yes
11929 # Use a header file that comes with gcc, so configuring glibc
11930 # with a fresh cross-compiler works.
11931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11932 # <limits.h> exists even on freestanding compilers.
11933 # On the NeXT, cc -E runs the code through the compiler's parser,
11934 # not just through cpp. "Syntax error" is here to catch this case.
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 @%:@ include <limits.h>
11940 @%:@ include <assert.h>
11944 if ac_fn_cxx_try_cpp "$LINENO"; then :
11947 # Broken: fails on valid input.
11950 rm -f conftest.err conftest.i conftest.$ac_ext
11952 # OK, works on sane cases. Now check whether nonexistent headers
11953 # can be detected and how.
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11956 @%:@include <ac_nonexistent.h>
11958 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 # Broken: success on invalid input.
11962 # Passes both tests.
11966 rm -f conftest.err conftest.i conftest.$ac_ext
11969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11970 rm -f conftest.i conftest.err conftest.$ac_ext
11971 if $ac_preproc_ok; then :
11974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11976 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11977 See \`config.log' for more details" "$LINENO" 5; }
11981 ac_cpp='$CXXCPP $CPPFLAGS'
11982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11987 _lt_caught_CXX_error=yes
11991 ac_cpp='$CXXCPP $CPPFLAGS'
11992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11996 archive_cmds_need_lc_CXX=no
11997 allow_undefined_flag_CXX=
11998 always_export_symbols_CXX=no
11999 archive_expsym_cmds_CXX=
12000 compiler_needs_object_CXX=no
12001 export_dynamic_flag_spec_CXX=
12002 hardcode_direct_CXX=no
12003 hardcode_direct_absolute_CXX=no
12004 hardcode_libdir_flag_spec_CXX=
12005 hardcode_libdir_flag_spec_ld_CXX=
12006 hardcode_libdir_separator_CXX=
12007 hardcode_minus_L_CXX=no
12008 hardcode_shlibpath_var_CXX=unsupported
12009 hardcode_automatic_CXX=no
12010 inherit_rpath_CXX=no
12012 module_expsym_cmds_CXX=
12013 link_all_deplibs_CXX=unknown
12014 old_archive_cmds_CXX=$old_archive_cmds
12015 reload_flag_CXX=$reload_flag
12016 reload_cmds_CXX=$reload_cmds
12017 no_undefined_flag_CXX=
12018 whole_archive_flag_spec_CXX=
12019 enable_shared_with_static_runtimes_CXX=no
12021 # Source file extension for C++ test sources.
12024 # Object file extension for compiled C++ test sources.
12028 # No sense in running all these tests if we already determined that
12029 # the CXX compiler isn't working. Some variables (like enable_shared)
12030 # are currently assumed to apply to all compilers on this platform,
12031 # and will be corrupted by setting them based on a non-working compiler.
12032 if test "$_lt_caught_CXX_error" != yes; then
12033 # Code to be used in simple compile tests
12034 lt_simple_compile_test_code="int some_variable = 0;"
12036 # Code to be used in simple link tests
12037 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12039 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12046 # If no C compiler was specified, use CC.
12049 # If no C compiler flags were specified, use CFLAGS.
12050 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12052 # Allow CC to be a program name with arguments.
12056 # save warnings/boilerplate of simple test code
12057 ac_outfile=conftest.$ac_objext
12058 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12059 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12060 _lt_compiler_boilerplate=`cat conftest.err`
12063 ac_outfile=conftest.$ac_objext
12064 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12065 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12066 _lt_linker_boilerplate=`cat conftest.err`
12070 # Allow CC to be a program name with arguments.
12072 lt_save_CFLAGS=$CFLAGS
12076 lt_save_with_gnu_ld=$with_gnu_ld
12077 lt_save_path_LD=$lt_cv_path_LD
12078 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12079 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 $as_unset lt_cv_prog_gnu_ld
12083 if test -n "${lt_cv_path_LDCXX+set}"; then
12084 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 $as_unset lt_cv_path_LD
12088 test -z "${LDCXX+set}" || LD=$LDCXX
12093 for cc_temp in $compiler""; do
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 @%:@ Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12138 # Accept absolute paths.
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if ${lt_cv_path_LD+:} false; then :
12165 $as_echo_n "(cached) " >&6
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if ${lt_cv_prog_gnu_ld+:} false; then :
12205 $as_echo_n "(cached) " >&6
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 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'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12246 whole_archive_flag_spec_CXX=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12277 # FIXME: insert proper C++ library support
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12297 aix_use_runtimelinking=yes
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12330 # We have reworked collect2
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12373 if test "${lt_cv_aix_libpath+set}" = set; then
12374 aix_libpath=$lt_cv_aix_libpath
12376 if ${lt_cv_aix_libpath__CXX+:} false; then :
12377 $as_echo_n "(cached) " >&6
12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h. */
12390 if ac_fn_cxx_try_link "$LINENO"; then :
12392 lt_aix_libpath_sed='
12393 /Import File Strings/,/^$/ {
12395 s/^0 *\([^ ]*\) *$/\1/
12399 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400 # Check for a 64-bit object if we didn't find anything.
12401 if test -z "$lt_cv_aix_libpath__CXX"; then
12402 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 if test -z "$lt_cv_aix_libpath__CXX"; then
12408 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12413 aix_libpath=$lt_cv_aix_libpath__CXX
12416 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12418 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"
12420 if test "$host_cpu" = ia64; then
12421 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12422 allow_undefined_flag_CXX="-z nodefs"
12423 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"
12425 # Determine the default libpath from the value encoded in an
12426 # empty executable.
12427 if test "${lt_cv_aix_libpath+set}" = set; then
12428 aix_libpath=$lt_cv_aix_libpath
12430 if ${lt_cv_aix_libpath__CXX+:} false; then :
12431 $as_echo_n "(cached) " >&6
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12444 if ac_fn_cxx_try_link "$LINENO"; then :
12446 lt_aix_libpath_sed='
12447 /Import File Strings/,/^$/ {
12449 s/^0 *\([^ ]*\) *$/\1/
12453 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12454 # Check for a 64-bit object if we didn't find anything.
12455 if test -z "$lt_cv_aix_libpath__CXX"; then
12456 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 if test -z "$lt_cv_aix_libpath__CXX"; then
12462 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12467 aix_libpath=$lt_cv_aix_libpath__CXX
12470 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12471 # Warning - without using the other run time loading flags,
12472 # -berok will link without error, but may produce a broken library.
12473 no_undefined_flag_CXX=' ${wl}-bernotok'
12474 allow_undefined_flag_CXX=' ${wl}-berok'
12475 if test "$with_gnu_ld" = yes; then
12476 # We only use this code for GNU lds that support --whole-archive.
12477 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12479 # Exported symbols can be pulled into shared objects from archives
12480 whole_archive_flag_spec_CXX='$convenience'
12482 archive_cmds_need_lc_CXX=yes
12483 # This is similar to how AIX traditionally builds its shared
12485 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'
12491 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12492 allow_undefined_flag_CXX=unsupported
12493 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12494 # support --undefined. This deserves some investigation. FIXME
12495 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12502 case $cc_basename in
12504 # FIXME: insert proper C++ library support
12510 cygwin* | mingw* | pw32* | cegcc*)
12511 case $GXX,$cc_basename in
12514 # hardcode_libdir_flag_spec is actually meaningless, as there is
12515 # no search path for DLLs.
12516 hardcode_libdir_flag_spec_CXX=' '
12517 allow_undefined_flag_CXX=unsupported
12518 always_export_symbols_CXX=yes
12519 file_list_spec_CXX='@'
12520 # Tell ltmain to make .lib files, not .a files.
12522 # Tell ltmain to make .dll files, not .so files.
12524 # FIXME: Setting linknames here is a bad hack.
12525 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12526 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12527 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12529 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12531 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12533 # The linker will not automatically build a static lib if we build a DLL.
12534 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12535 enable_shared_with_static_runtimes_CXX=yes
12537 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12538 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12539 lt_tool_outputfile="@TOOL_OUTPUT@"~
12540 case $lt_outputfile in
12543 lt_outputfile="$lt_outputfile.exe"
12544 lt_tool_outputfile="$lt_tool_outputfile.exe"
12547 func_to_tool_file "$lt_outputfile"~
12548 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12549 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12550 $RM "$lt_outputfile.manifest";
12555 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12556 # as there is no search path for DLLs.
12557 hardcode_libdir_flag_spec_CXX='-L$libdir'
12558 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12559 allow_undefined_flag_CXX=unsupported
12560 always_export_symbols_CXX=no
12561 enable_shared_with_static_runtimes_CXX=yes
12563 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12564 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'
12565 # If the export-symbols file already is a .def file (1st line
12566 # is EXPORTS), use it as is; otherwise, prepend...
12567 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12568 cp $export_symbols $output_objdir/$soname.def;
12570 echo EXPORTS > $output_objdir/$soname.def;
12571 cat $export_symbols >> $output_objdir/$soname.def;
12573 $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'
12580 darwin* | rhapsody*)
12583 archive_cmds_need_lc_CXX=no
12584 hardcode_direct_CXX=no
12585 hardcode_automatic_CXX=yes
12586 hardcode_shlibpath_var_CXX=unsupported
12587 if test "$lt_cv_ld_force_load" = "yes"; then
12588 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\"`'
12590 whole_archive_flag_spec_CXX=''
12592 link_all_deplibs_CXX=yes
12593 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12594 case $cc_basename in
12595 ifort*) _lt_dar_can_shared=yes ;;
12596 *) _lt_dar_can_shared=$GCC ;;
12598 if test "$_lt_dar_can_shared" = "yes"; then
12599 output_verbose_link_cmd=func_echo_all
12600 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}"
12601 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12602 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}"
12603 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}"
12604 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12605 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}"
12606 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}"
12616 case $cc_basename in
12618 # FIXME: insert proper C++ library support
12622 # Green Hills C++ Compiler
12623 # FIXME: insert proper C++ library support
12627 # FIXME: insert proper C++ library support
12634 # C++ shared libraries reported to be fairly broken before
12640 archive_cmds_need_lc_CXX=no
12643 freebsd* | dragonfly*)
12644 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12653 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12654 link_all_deplibs_CXX=yes
12658 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12659 hardcode_libdir_separator_CXX=:
12660 export_dynamic_flag_spec_CXX='${wl}-E'
12661 hardcode_direct_CXX=yes
12662 hardcode_minus_L_CXX=yes # Not in the search PATH,
12663 # but as the default
12664 # location of the library.
12666 case $cc_basename in
12668 # FIXME: insert proper C++ library support
12672 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'
12673 # Commands to make compiler produce verbose output that lists
12674 # what "hidden" libraries, object files and flags are used when
12675 # linking a shared library.
12677 # There doesn't appear to be a way to prevent this compiler from
12678 # explicitly linking system object files so we need to strip them
12679 # from the output so that they don't get included in the library
12681 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"'
12684 if test "$GXX" = yes; then
12685 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'
12687 # FIXME: insert proper C++ library support
12695 if test $with_gnu_ld = no; then
12696 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12697 hardcode_libdir_separator_CXX=:
12703 export_dynamic_flag_spec_CXX='${wl}-E'
12709 hardcode_direct_CXX=no
12710 hardcode_shlibpath_var_CXX=no
12713 hardcode_direct_CXX=yes
12714 hardcode_direct_absolute_CXX=yes
12715 hardcode_minus_L_CXX=yes # Not in the search PATH,
12716 # but as the default
12717 # location of the library.
12721 case $cc_basename in
12723 # FIXME: insert proper C++ library support
12729 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 # Commands to make compiler produce verbose output that lists
12739 # what "hidden" libraries, object files and flags are used when
12740 # linking a shared library.
12742 # There doesn't appear to be a way to prevent this compiler from
12743 # explicitly linking system object files so we need to strip them
12744 # from the output so that they don't get included in the library
12746 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"'
12749 if test "$GXX" = yes; then
12750 if test $with_gnu_ld = no; then
12753 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 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'
12764 # FIXME: insert proper C++ library support
12772 hardcode_direct_CXX=no
12773 hardcode_shlibpath_var_CXX=no
12774 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12775 export_dynamic_flag_spec_CXX='${wl}-E'
12776 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12777 # Instead, shared libraries are loaded at an image base (0x10000000 by
12778 # default) and relocated if they conflict, which is a slow very memory
12779 # consuming and fragmenting process. To avoid this, we pick a random,
12780 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12781 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12782 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'
12783 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'
12786 case $cc_basename in
12789 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'
12791 # Archives containing C++ object files must be created using
12792 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12793 # necessary to make sure instantiated templates are included
12795 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12798 if test "$GXX" = yes; then
12799 if test "$with_gnu_ld" = no; then
12800 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'
12802 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'
12805 link_all_deplibs_CXX=yes
12808 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12809 hardcode_libdir_separator_CXX=:
12810 inherit_rpath_CXX=yes
12813 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12814 case $cc_basename in
12816 # Kuck and Associates, Inc. (KAI) C++ Compiler
12818 # KCC will only create a shared library if the output file
12819 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12820 # to its proper name (with version) after linking.
12821 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'
12822 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'
12823 # Commands to make compiler produce verbose output that lists
12824 # what "hidden" libraries, object files and flags are used when
12825 # linking a shared library.
12827 # There doesn't appear to be a way to prevent this compiler from
12828 # explicitly linking system object files so we need to strip them
12829 # from the output so that they don't get included in the library
12831 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"'
12833 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12834 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12836 # Archives containing C++ object files must be created using
12837 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12838 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12843 # version 8.0 and above of icpc choke on multiply defined symbols
12844 # if we add $predep_objects and $postdep_objects, however 7.1 and
12845 # earlier do not add the objects themselves.
12846 case `$CC -V 2>&1` in
12848 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12849 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'
12851 *) # Version 8.0 or newer
12854 ia64*) tmp_idyn=' -i_dynamic';;
12856 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12857 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'
12860 archive_cmds_need_lc_CXX=no
12861 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12862 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12863 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 # Portland Group C++ compiler
12868 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12869 prelink_cmds_CXX='tpldir=Template.dir~
12871 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12872 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12873 old_archive_cmds_CXX='tpldir=Template.dir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12876 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12878 archive_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 -o $lib'
12882 archive_expsym_cmds_CXX='tpldir=Template.dir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $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'
12887 *) # Version 6 and above use weak symbols
12888 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12889 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'
12893 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12894 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12895 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'
12899 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12900 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'
12902 runpath_var=LD_RUN_PATH
12903 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12904 hardcode_libdir_separator_CXX=:
12906 # Commands to make compiler produce verbose output that lists
12907 # what "hidden" libraries, object files and flags are used when
12908 # linking a shared library.
12910 # There doesn't appear to be a way to prevent this compiler from
12911 # explicitly linking system object files so we need to strip them
12912 # from the output so that they don't get included in the library
12914 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'
12916 xl* | mpixl* | bgxl*)
12917 # IBM XL 8.0 on PPC, with GNU ld
12918 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12919 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12920 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12921 if test "x$supports_anon_versioning" = xyes; then
12922 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12923 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12924 echo "local: *; };" >> $output_objdir/$libname.ver~
12925 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12929 case `$CC -V 2>&1 | sed 5q` in
12932 no_undefined_flag_CXX=' -zdefs'
12933 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12934 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'
12935 hardcode_libdir_flag_spec_CXX='-R$libdir'
12936 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'
12937 compiler_needs_object_CXX=yes
12939 # Not sure whether something based on
12940 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12942 output_verbose_link_cmd='func_echo_all'
12944 # Archives containing C++ object files must be created using
12945 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12946 # necessary to make sure instantiated templates are included
12948 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12956 # FIXME: insert proper C++ library support
12961 # FIXME: insert proper C++ library support
12966 case $cc_basename in
12968 # FIXME: insert proper C++ library support
12972 # FIXME: insert proper C++ library support
12979 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12980 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12982 hardcode_libdir_flag_spec_CXX='-R$libdir'
12983 hardcode_direct_CXX=yes
12984 hardcode_shlibpath_var_CXX=no
12986 # Workaround some broken pre-1.5 toolchains
12987 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12995 # C++ shared libraries are fairly broken
13000 if test -f /usr/libexec/ld.so; then
13001 hardcode_direct_CXX=yes
13002 hardcode_shlibpath_var_CXX=no
13003 hardcode_direct_absolute_CXX=yes
13004 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13006 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13007 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13008 export_dynamic_flag_spec_CXX='${wl}-E'
13009 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13011 output_verbose_link_cmd=func_echo_all
13017 osf3* | osf4* | osf5*)
13018 case $cc_basename in
13020 # Kuck and Associates, Inc. (KAI) C++ Compiler
13022 # KCC will only create a shared library if the output file
13023 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13024 # to its proper name (with version) after linking.
13025 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'
13027 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13028 hardcode_libdir_separator_CXX=:
13030 # Archives containing C++ object files must be created using
13031 # the KAI C++ compiler.
13033 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13034 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13038 # Rational C++ 2.4.1
13039 # FIXME: insert proper C++ library support
13045 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13046 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'
13047 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13050 allow_undefined_flag_CXX=' -expect_unresolved \*'
13051 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'
13052 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13053 echo "-hidden">> $lib.exp~
13054 $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~
13056 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13060 hardcode_libdir_separator_CXX=:
13062 # Commands to make compiler produce verbose output that lists
13063 # what "hidden" libraries, object files and flags are used when
13064 # linking a shared library.
13066 # There doesn't appear to be a way to prevent this compiler from
13067 # explicitly linking system object files so we need to strip them
13068 # from the output so that they don't get included in the library
13070 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"'
13073 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13074 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 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'
13080 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'
13084 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13085 hardcode_libdir_separator_CXX=:
13087 # Commands to make compiler produce verbose output that lists
13088 # what "hidden" libraries, object files and flags are used when
13089 # linking a shared library.
13090 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093 # FIXME: insert proper C++ library support
13101 # FIXME: insert proper C++ library support
13106 case $cc_basename in
13109 # FIXME: insert proper C++ library support
13114 # FIXME: insert proper C++ library support
13118 # FIXME: insert proper C++ library support
13125 case $cc_basename in
13127 # Sun C++ 4.2, 5.x and Centerline C++
13128 archive_cmds_need_lc_CXX=yes
13129 no_undefined_flag_CXX=' -zdefs'
13130 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13131 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13132 $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'
13134 hardcode_libdir_flag_spec_CXX='-R$libdir'
13135 hardcode_shlibpath_var_CXX=no
13137 solaris2.[0-5] | solaris2.[0-5].*) ;;
13139 # The compiler driver will combine and reorder linker options,
13140 # but understands `-z linker_flag'.
13141 # Supported since Solaris 2.6 (maybe 2.5.1?)
13142 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 link_all_deplibs_CXX=yes
13147 output_verbose_link_cmd='func_echo_all'
13149 # Archives containing C++ object files must be created using
13150 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13151 # necessary to make sure instantiated templates are included
13153 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 # Green Hills C++ Compiler
13157 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13159 # The C++ compiler must be used to create the archive.
13160 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13163 # GNU C++ compiler with Solaris linker
13164 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13165 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13166 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13167 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13168 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13169 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13171 # Commands to make compiler produce verbose output that lists
13172 # what "hidden" libraries, object files and flags are used when
13173 # linking a shared library.
13174 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13176 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13178 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13179 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13180 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13182 # Commands to make compiler produce verbose output that lists
13183 # what "hidden" libraries, object files and flags are used when
13184 # linking a shared library.
13185 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13190 solaris2.[0-5] | solaris2.[0-5].*) ;;
13192 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13200 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13201 no_undefined_flag_CXX='${wl}-z,text'
13202 archive_cmds_need_lc_CXX=no
13203 hardcode_shlibpath_var_CXX=no
13204 runpath_var='LD_RUN_PATH'
13206 case $cc_basename in
13208 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13209 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 sysv5* | sco3.2v5* | sco5v6*)
13219 # Note: We can NOT use -z defs as we might desire, because we do not
13220 # link with -lc, and that would cause any symbols used from libc to
13221 # always be unresolved, which means just about no library would
13222 # ever link correctly. If we're not using GNU ld we use -z text
13223 # though, which does catch some bad symbols but isn't as heavy-handed
13225 no_undefined_flag_CXX='${wl}-z,text'
13226 allow_undefined_flag_CXX='${wl}-z,nodefs'
13227 archive_cmds_need_lc_CXX=no
13228 hardcode_shlibpath_var_CXX=no
13229 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13230 hardcode_libdir_separator_CXX=':'
13231 link_all_deplibs_CXX=yes
13232 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13233 runpath_var='LD_RUN_PATH'
13235 case $cc_basename in
13237 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13238 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13239 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13240 '"$old_archive_cmds_CXX"
13241 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13242 '"$reload_cmds_CXX"
13245 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13246 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 case $cc_basename in
13254 # NonStop-UX NCC 3.20
13255 # FIXME: insert proper C++ library support
13259 # FIXME: insert proper C++ library support
13266 # FIXME: insert proper C++ library support
13271 # FIXME: insert proper C++ library support
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13277 $as_echo "$ld_shlibs_CXX" >&6; }
13278 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284 ## There is no encapsulation within the following macros, do not change
13285 ## the running order or otherwise move them around unless you know exactly
13286 ## what you are doing...
13287 # Dependencies to place before and after the object being linked:
13288 predep_objects_CXX=
13289 postdep_objects_CXX=
13292 compiler_lib_search_path_CXX=
13294 cat > conftest.$ac_ext <<_LT_EOF
13298 Foo (void) { a = 0; }
13305 _lt_libdeps_save_CFLAGS=$CFLAGS
13306 case "$CC $CFLAGS " in #(
13307 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13308 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13312 (eval $ac_compile) 2>&5
13314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13315 test $ac_status = 0; }; then
13316 # Parse the compiler output and extract the necessary
13317 # objects, libraries and library flags.
13319 # Sentinel used to keep track of whether or not we are before
13320 # the conftest object file.
13321 pre_test_object_deps_done=no
13323 for p in `eval "$output_verbose_link_cmd"`; do
13324 case ${prev}${p} in
13327 # Some compilers place space between "-{L,R}" and the path.
13328 # Remove the space.
13329 if test $p = "-L" ||
13330 test $p = "-R"; then
13335 # Expand the sysroot to ease extracting the directories later.
13336 if test -z "$prev"; then
13338 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13339 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13340 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13344 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13346 if test "$pre_test_object_deps_done" = no; then
13349 # Internal compiler library paths should come after those
13350 # provided the user. The postdeps already come after the
13351 # user supplied libs so there is no need to process them.
13352 if test -z "$compiler_lib_search_path_CXX"; then
13353 compiler_lib_search_path_CXX="${prev}${p}"
13355 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13358 # The "-l" case would never come before the object being
13359 # linked, so don't bother handling this case.
13362 if test -z "$postdeps_CXX"; then
13363 postdeps_CXX="${prev}${p}"
13365 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13371 *.lto.$objext) ;; # Ignore GCC LTO objects
13373 # This assumes that the test object file only shows up
13374 # once in the compiler output.
13375 if test "$p" = "conftest.$objext"; then
13376 pre_test_object_deps_done=yes
13380 if test "$pre_test_object_deps_done" = no; then
13381 if test -z "$predep_objects_CXX"; then
13382 predep_objects_CXX="$p"
13384 predep_objects_CXX="$predep_objects_CXX $p"
13387 if test -z "$postdep_objects_CXX"; then
13388 postdep_objects_CXX="$p"
13390 postdep_objects_CXX="$postdep_objects_CXX $p"
13395 *) ;; # Ignore the rest.
13403 echo "libtool.m4: error: problem compiling CXX test program"
13406 $RM -f confest.$objext
13407 CFLAGS=$_lt_libdeps_save_CFLAGS
13409 # PORTME: override above test on systems where it is broken
13412 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13413 # hack all around it, let's just trust "g++" to DTRT.
13414 predep_objects_CXX=
13415 postdep_objects_CXX=
13420 case `$CC -V 2>&1 | sed 5q` in
13424 # The more standards-conforming stlport4 library is
13425 # incompatible with the Cstd library. Avoid specifying
13426 # it if it's in CXXFLAGS. Ignore libCrun as
13427 # -library=stlport4 depends on it.
13428 case " $CXX $CXXFLAGS " in
13429 *" -library=stlport4 "*)
13430 solaris_use_stlport4=yes
13434 if test "$solaris_use_stlport4" != yes; then
13435 postdeps_CXX='-library=Cstd -library=Crun'
13442 case $cc_basename in
13444 # The more standards-conforming stlport4 library is
13445 # incompatible with the Cstd library. Avoid specifying
13446 # it if it's in CXXFLAGS. Ignore libCrun as
13447 # -library=stlport4 depends on it.
13448 case " $CXX $CXXFLAGS " in
13449 *" -library=stlport4 "*)
13450 solaris_use_stlport4=yes
13454 # Adding this requires a known-good setup of shared libraries for
13455 # Sun compiler versions before 5.6, else PIC objects from an old
13456 # archive will be linked into the output, leading to subtle bugs.
13457 if test "$solaris_use_stlport4" != yes; then
13458 postdeps_CXX='-library=Cstd -library=Crun'
13466 case " $postdeps_CXX " in
13467 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13469 compiler_lib_search_dirs_CXX=
13470 if test -n "${compiler_lib_search_path_CXX}"; then
13471 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13504 lt_prog_compiler_wl_CXX=
13505 lt_prog_compiler_pic_CXX=
13506 lt_prog_compiler_static_CXX=
13509 # C++ specific cases for pic, static, wl, etc.
13510 if test "$GXX" = yes; then
13511 lt_prog_compiler_wl_CXX='-Wl,'
13512 lt_prog_compiler_static_CXX='-static'
13516 # All AIX code is PIC.
13517 if test "$host_cpu" = ia64; then
13518 # AIX 5 now supports IA64 processor
13519 lt_prog_compiler_static_CXX='-Bstatic'
13526 # see comment about AmigaOS4 .so support
13527 lt_prog_compiler_pic_CXX='-fPIC'
13530 # FIXME: we need at least 68020 code to build shared libraries, but
13531 # adding the `-m68020' flag to GCC prevents building anything better,
13533 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13538 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13539 # PIC is the default for these OSes.
13541 mingw* | cygwin* | os2* | pw32* | cegcc*)
13542 # This hack is so that the source file can tell whether it is being
13543 # built for inclusion in a dll (and should export symbols for example).
13544 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13545 # (--disable-auto-import) libraries
13546 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13548 darwin* | rhapsody*)
13549 # PIC is the default on this platform
13550 # Common symbols not allowed in MH_DYLIB files
13551 lt_prog_compiler_pic_CXX='-fno-common'
13554 # DJGPP does not support shared libraries at all
13555 lt_prog_compiler_pic_CXX=
13558 # PIC is the default for Haiku.
13559 # The "-static" flag exists, but is broken.
13560 lt_prog_compiler_static_CXX=
13563 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13564 # Instead, we relocate shared libraries at runtime.
13567 if test -d /usr/nec; then
13568 lt_prog_compiler_pic_CXX=-Kconform_pic
13572 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13573 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13574 # sets the default TLS model and affects inlining.
13579 lt_prog_compiler_pic_CXX='-fPIC'
13584 # QNX uses GNU C++, but need to define -shared option too, otherwise
13585 # it will coredump.
13586 lt_prog_compiler_pic_CXX='-fPIC -shared'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13595 # All AIX code is PIC.
13596 if test "$host_cpu" = ia64; then
13597 # AIX 5 now supports IA64 processor
13598 lt_prog_compiler_static_CXX='-Bstatic'
13600 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13604 case $cc_basename in
13606 # Green Hills C++ Compiler
13607 # _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"
13611 mingw* | cygwin* | os2* | pw32* | cegcc*)
13612 # This hack is so that the source file can tell whether it is being
13613 # built for inclusion in a dll (and should export symbols for example).
13614 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13617 case $cc_basename in
13619 lt_prog_compiler_pic_CXX='-KPIC'
13622 # Green Hills C++ Compiler
13623 lt_prog_compiler_pic_CXX='-pic'
13629 freebsd* | dragonfly*)
13630 # FreeBSD uses GNU C++
13632 hpux9* | hpux10* | hpux11*)
13633 case $cc_basename in
13635 lt_prog_compiler_wl_CXX='-Wl,'
13636 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13637 if test "$host_cpu" != ia64; then
13638 lt_prog_compiler_pic_CXX='+Z'
13642 lt_prog_compiler_wl_CXX='-Wl,'
13643 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13649 lt_prog_compiler_pic_CXX='+Z'
13658 # This is c89, which is MS Visual C++ (no shared libs)
13659 # Anyone wants to do a port?
13661 irix5* | irix6* | nonstopux*)
13662 case $cc_basename in
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_static_CXX='-non_shared'
13666 # CC pic flag -KPIC is the default.
13672 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13673 case $cc_basename in
13676 lt_prog_compiler_wl_CXX='--backend -Wl,'
13677 lt_prog_compiler_pic_CXX='-fPIC'
13680 # old Intel C++ for x86_64 which still supported -KPIC.
13681 lt_prog_compiler_wl_CXX='-Wl,'
13682 lt_prog_compiler_pic_CXX='-KPIC'
13683 lt_prog_compiler_static_CXX='-static'
13686 # Intel C++, used to be incompatible with GCC.
13687 # ICC 10 doesn't accept -KPIC any more.
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-fPIC'
13690 lt_prog_compiler_static_CXX='-static'
13693 # Portland Group C++ compiler
13694 lt_prog_compiler_wl_CXX='-Wl,'
13695 lt_prog_compiler_pic_CXX='-fpic'
13696 lt_prog_compiler_static_CXX='-Bstatic'
13700 # Make sure the PIC flag is empty. It appears that all Alpha
13701 # Linux and Compaq Tru64 Unix objects are PIC.
13702 lt_prog_compiler_pic_CXX=
13703 lt_prog_compiler_static_CXX='-non_shared'
13705 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13706 # IBM XL 8.0, 9.0 on PPC and BlueGene
13707 lt_prog_compiler_wl_CXX='-Wl,'
13708 lt_prog_compiler_pic_CXX='-qpic'
13709 lt_prog_compiler_static_CXX='-qstaticlink'
13712 case `$CC -V 2>&1 | sed 5q` in
13715 lt_prog_compiler_pic_CXX='-KPIC'
13716 lt_prog_compiler_static_CXX='-Bstatic'
13717 lt_prog_compiler_wl_CXX='-Qoption ld '
13728 case $cc_basename in
13730 lt_prog_compiler_pic_CXX='-W c,exportall'
13736 netbsd* | netbsdelf*-gnu)
13739 # QNX uses GNU C++, but need to define -shared option too, otherwise
13740 # it will coredump.
13741 lt_prog_compiler_pic_CXX='-fPIC -shared'
13743 osf3* | osf4* | osf5*)
13744 case $cc_basename in
13746 lt_prog_compiler_wl_CXX='--backend -Wl,'
13749 # Rational C++ 2.4.1
13750 lt_prog_compiler_pic_CXX='-pic'
13753 # Digital/Compaq C++
13754 lt_prog_compiler_wl_CXX='-Wl,'
13755 # Make sure the PIC flag is empty. It appears that all Alpha
13756 # Linux and Compaq Tru64 Unix objects are PIC.
13757 lt_prog_compiler_pic_CXX=
13758 lt_prog_compiler_static_CXX='-non_shared'
13767 case $cc_basename in
13769 # Sun C++ 4.2, 5.x and Centerline C++
13770 lt_prog_compiler_pic_CXX='-KPIC'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13772 lt_prog_compiler_wl_CXX='-Qoption ld '
13775 # Green Hills C++ Compiler
13776 lt_prog_compiler_pic_CXX='-PIC'
13783 case $cc_basename in
13786 lt_prog_compiler_pic_CXX='-pic'
13787 lt_prog_compiler_static_CXX='-Bstatic'
13791 lt_prog_compiler_pic_CXX='-pic'
13797 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13798 case $cc_basename in
13800 lt_prog_compiler_wl_CXX='-Wl,'
13801 lt_prog_compiler_pic_CXX='-KPIC'
13802 lt_prog_compiler_static_CXX='-Bstatic'
13807 case $cc_basename in
13809 # NonStop-UX NCC 3.20
13810 lt_prog_compiler_pic_CXX='-KPIC'
13819 lt_prog_compiler_can_build_shared_CXX=no
13825 # For platforms which do not support PIC, -DPIC is meaningless:
13827 lt_prog_compiler_pic_CXX=
13830 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13835 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13836 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13837 $as_echo_n "(cached) " >&6
13839 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13842 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13843 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13846 # Check to make sure the PIC flag actually works.
13848 if test -n "$lt_prog_compiler_pic_CXX"; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13850 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13851 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13852 $as_echo_n "(cached) " >&6
13854 lt_cv_prog_compiler_pic_works_CXX=no
13855 ac_outfile=conftest.$ac_objext
13856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13857 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13858 # Insert the option either (1) after the last *FLAGS variable, or
13859 # (2) before a word containing "conftest.", or (3) at the end.
13860 # Note that $ac_compile itself does not contain backslashes and begins
13861 # with a dollar sign (not a hyphen), so the echo should work correctly.
13862 # The option is referenced via a variable to avoid confusing sed.
13863 lt_compile=`echo "$ac_compile" | $SED \
13864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13866 -e 's:$: $lt_compiler_flag:'`
13867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13868 (eval "$lt_compile" 2>conftest.err)
13870 cat conftest.err >&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 if (exit $ac_status) && test -s "$ac_outfile"; then
13873 # The compiler can only warn and ignore the option if not recognized
13874 # So say no if there are warnings other than the usual output.
13875 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13877 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13878 lt_cv_prog_compiler_pic_works_CXX=yes
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13885 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13887 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13888 case $lt_prog_compiler_pic_CXX in
13890 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13893 lt_prog_compiler_pic_CXX=
13894 lt_prog_compiler_can_build_shared_CXX=no
13904 # Check to make sure the static flag actually works.
13906 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13908 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13909 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13910 $as_echo_n "(cached) " >&6
13912 lt_cv_prog_compiler_static_works_CXX=no
13913 save_LDFLAGS="$LDFLAGS"
13914 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13915 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13916 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13917 # The linker can only warn and ignore the option if not recognized
13918 # So say no if there are warnings
13919 if test -s conftest.err; then
13920 # Append any errors to the config.log.
13921 cat conftest.err 1>&5
13922 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13923 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13924 if diff conftest.exp conftest.er2 >/dev/null; then
13925 lt_cv_prog_compiler_static_works_CXX=yes
13928 lt_cv_prog_compiler_static_works_CXX=yes
13932 LDFLAGS="$save_LDFLAGS"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13936 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13938 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13941 lt_prog_compiler_static_CXX=
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13948 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13949 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13950 $as_echo_n "(cached) " >&6
13952 lt_cv_prog_compiler_c_o_CXX=no
13953 $RM -r conftest 2>/dev/null
13957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13959 lt_compiler_flag="-o out/conftest2.$ac_objext"
13960 # Insert the option either (1) after the last *FLAGS variable, or
13961 # (2) before a word containing "conftest.", or (3) at the end.
13962 # Note that $ac_compile itself does not contain backslashes and begins
13963 # with a dollar sign (not a hyphen), so the echo should work correctly.
13964 lt_compile=`echo "$ac_compile" | $SED \
13965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13967 -e 's:$: $lt_compiler_flag:'`
13968 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13969 (eval "$lt_compile" 2>out/conftest.err)
13971 cat out/conftest.err >&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13975 # The compiler can only warn and ignore the option if not recognized
13976 # So say no if there are warnings
13977 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13978 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13979 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13980 lt_cv_prog_compiler_c_o_CXX=yes
13985 # SGI C++ compiler will create directory out/ii_files/ for
13986 # template instantiation
13987 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13988 $RM out/* && rmdir out
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13995 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14000 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14001 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14002 $as_echo_n "(cached) " >&6
14004 lt_cv_prog_compiler_c_o_CXX=no
14005 $RM -r conftest 2>/dev/null
14009 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14011 lt_compiler_flag="-o out/conftest2.$ac_objext"
14012 # Insert the option either (1) after the last *FLAGS variable, or
14013 # (2) before a word containing "conftest.", or (3) at the end.
14014 # Note that $ac_compile itself does not contain backslashes and begins
14015 # with a dollar sign (not a hyphen), so the echo should work correctly.
14016 lt_compile=`echo "$ac_compile" | $SED \
14017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14019 -e 's:$: $lt_compiler_flag:'`
14020 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14021 (eval "$lt_compile" 2>out/conftest.err)
14023 cat out/conftest.err >&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14027 # The compiler can only warn and ignore the option if not recognized
14028 # So say no if there are warnings
14029 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14030 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14031 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14032 lt_cv_prog_compiler_c_o_CXX=yes
14037 # SGI C++ compiler will create directory out/ii_files/ for
14038 # template instantiation
14039 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14040 $RM out/* && rmdir out
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14047 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14052 hard_links="nottested"
14053 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14054 # do not overwrite the value of need_locks provided by the user
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14056 $as_echo_n "checking if we can lock with hard links... " >&6; }
14059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14061 ln conftest.a conftest.b 2>&5 || hard_links=no
14062 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14064 $as_echo "$hard_links" >&6; }
14065 if test "$hard_links" = no; then
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14067 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14079 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14080 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14083 # If we're using GNU nm, then we don't want the "-C" option.
14084 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14085 # Also, AIX nm treats weak defined symbols like other global defined
14086 # symbols, whereas GNU nm marks them as "W".
14087 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14088 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'
14090 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'
14094 export_symbols_cmds_CXX="$ltdll_cmds"
14096 cygwin* | mingw* | cegcc*)
14097 case $cc_basename in
14100 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'
14101 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14105 linux* | k*bsd*-gnu | gnu*)
14106 link_all_deplibs_CXX=no
14109 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14114 $as_echo "$ld_shlibs_CXX" >&6; }
14115 test "$ld_shlibs_CXX" = no && can_build_shared=no
14117 with_gnu_ld_CXX=$with_gnu_ld
14125 # Do we need to explicitly link libc?
14127 case "x$archive_cmds_need_lc_CXX" in
14129 # Assume -lc should be added
14130 archive_cmds_need_lc_CXX=yes
14132 if test "$enable_shared" = yes && test "$GCC" = yes; then
14133 case $archive_cmds_CXX in
14135 # FIXME: we may have to deal with multi-command sequences.
14138 # Test whether the compiler implicitly links with -lc since on some
14139 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14140 # to ld, don't add -lc before -lgcc.
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14142 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14143 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14144 $as_echo_n "(cached) " >&6
14147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14150 (eval $ac_compile) 2>&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14153 test $ac_status = 0; } 2>conftest.err; then
14156 libobjs=conftest.$ac_objext
14158 wl=$lt_prog_compiler_wl_CXX
14159 pic_flag=$lt_prog_compiler_pic_CXX
14165 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14166 allow_undefined_flag_CXX=
14167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14168 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14171 test $ac_status = 0; }
14173 lt_cv_archive_cmds_need_lc_CXX=no
14175 lt_cv_archive_cmds_need_lc_CXX=yes
14177 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14179 cat conftest.err 1>&5
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14185 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14186 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14257 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14259 library_names_spec=
14260 libname_spec='lib$name'
14264 postuninstall_cmds=
14268 shlibpath_overrides_runpath=unknown
14270 dynamic_linker="$host_os ld.so"
14271 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14272 need_lib_prefix=unknown
14273 hardcode_into_libs=no
14275 # when you set need_version to no, make sure it does not cause -set_version
14276 # flags to be left without arguments
14277 need_version=unknown
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14283 shlibpath_var=LIBPATH
14285 # AIX 3 has no versioning support, so we append a major version to the name.
14286 soname_spec='${libname}${release}${shared_ext}$major'
14293 hardcode_into_libs=yes
14294 if test "$host_cpu" = ia64; then
14295 # AIX 5 supports IA64
14296 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14297 shlibpath_var=LD_LIBRARY_PATH
14299 # With GCC up to 2.95.x, collect2 would create an import file
14300 # for dependence libraries. The import file would start with
14301 # the line `#! .'. This would cause the generated library to
14302 # depend on `.', always an invalid library. This was fixed in
14303 # development snapshots of GCC prior to 3.0.
14305 aix4 | aix4.[01] | aix4.[01].*)
14306 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14308 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14311 can_build_shared=no
14315 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14316 # soname into executable. Probably we can add versioning support to
14317 # collect2, so additional links can be useful in future.
14318 if test "$aix_use_runtimelinking" = yes; then
14319 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14320 # instead of lib<name>.a to let people know that these are not
14321 # typical AIX shared libraries.
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 # We preserve .a as extension for shared libraries through AIX4.2
14325 # and later when we are not doing run time linking.
14326 library_names_spec='${libname}${release}.a $libname.a'
14327 soname_spec='${libname}${release}${shared_ext}$major'
14329 shlibpath_var=LIBPATH
14336 # Since July 2007 AmigaOS4 officially supports .so libraries.
14337 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341 library_names_spec='$libname.ixlibrary $libname.a'
14342 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14343 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'
14349 library_names_spec='${libname}${shared_ext}'
14350 dynamic_linker="$host_os ld.so"
14351 shlibpath_var=LIBRARY_PATH
14357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14358 soname_spec='${libname}${release}${shared_ext}$major'
14359 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14360 shlibpath_var=LD_LIBRARY_PATH
14361 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14362 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14363 # the default ld.so.conf also contains /usr/contrib/lib and
14364 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14365 # libtool to hard-code these into programs
14368 cygwin* | mingw* | pw32* | cegcc*)
14369 version_type=windows
14374 case $GCC,$cc_basename in
14377 library_names_spec='$libname.dll.a'
14378 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14379 postinstall_cmds='base_file=`basename \${file}`~
14380 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14381 dldir=$destdir/`dirname \$dlpath`~
14382 test -d \$dldir || mkdir -p \$dldir~
14383 $install_prog $dir/$dlname \$dldir/$dlname~
14384 chmod a+x \$dldir/$dlname~
14385 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14386 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14388 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14389 dlpath=$dir/\$dldll~
14391 shlibpath_overrides_runpath=yes
14395 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14396 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14400 # MinGW DLLs use traditional 'lib' prefix
14401 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14404 # pw32 DLLs use 'pw' prefix rather than 'lib'
14405 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14408 dynamic_linker='Win32 ld.exe'
14413 libname_spec='$name'
14414 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14415 library_names_spec='${libname}.dll.lib'
14419 sys_lib_search_path_spec=
14422 for lt_path in $LIB
14425 # Let DOS variable expansion print the short 8.3 style file name.
14426 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14427 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14430 # Convert to MSYS style.
14431 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14434 # Convert to unix form, then to dos form, then back to unix form
14435 # but this time dos style (no spaces!) so that the unix form looks
14436 # like /cygdrive/c/PROGRA~1:/cygdr...
14437 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14438 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14439 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14442 sys_lib_search_path_spec="$LIB"
14443 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14444 # It is most probably a Windows format PATH.
14445 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14447 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14449 # FIXME: find the short name or the path components, as spaces are
14450 # common. (e.g. "Program Files" -> "PROGRA~1")
14454 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14455 postinstall_cmds='base_file=`basename \${file}`~
14456 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14457 dldir=$destdir/`dirname \$dlpath`~
14458 test -d \$dldir || mkdir -p \$dldir~
14459 $install_prog $dir/$dlname \$dldir/$dlname'
14460 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14461 dlpath=$dir/\$dldll~
14463 shlibpath_overrides_runpath=yes
14464 dynamic_linker='Win32 link.exe'
14468 # Assume MSVC wrapper
14469 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14470 dynamic_linker='Win32 ld.exe'
14473 # FIXME: first we should search . and the directory the executable is in
14477 darwin* | rhapsody*)
14478 dynamic_linker="$host_os dyld"
14479 version_type=darwin
14482 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14483 soname_spec='${libname}${release}${major}$shared_ext'
14484 shlibpath_overrides_runpath=yes
14485 shlibpath_var=DYLD_LIBRARY_PATH
14486 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14488 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14496 soname_spec='${libname}${release}${shared_ext}$major'
14497 shlibpath_var=LD_LIBRARY_PATH
14504 freebsd* | dragonfly*)
14505 # DragonFly does not have aout. When/if they implement a new
14506 # versioning mechanism, adjust this.
14507 if test -x /usr/bin/objformat; then
14508 objformat=`/usr/bin/objformat`
14511 freebsd[123]*) objformat=aout ;;
14512 *) objformat=elf ;;
14515 version_type=freebsd-$objformat
14516 case $version_type in
14518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14527 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=yes
14532 freebsd3.[01]* | freebsdelf3.[01]*)
14533 shlibpath_overrides_runpath=yes
14534 hardcode_into_libs=yes
14536 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14537 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14538 shlibpath_overrides_runpath=no
14539 hardcode_into_libs=yes
14541 *) # from 4.6 on, and DragonFly
14542 shlibpath_overrides_runpath=yes
14543 hardcode_into_libs=yes
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14553 soname_spec='${libname}${release}${shared_ext}$major'
14554 shlibpath_var=LD_LIBRARY_PATH
14555 shlibpath_overrides_runpath=no
14556 hardcode_into_libs=yes
14563 dynamic_linker="$host_os runtime_loader"
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14565 soname_spec='${libname}${release}${shared_ext}$major'
14566 shlibpath_var=LIBRARY_PATH
14567 shlibpath_overrides_runpath=yes
14568 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14569 hardcode_into_libs=yes
14572 hpux9* | hpux10* | hpux11*)
14573 # Give a soname corresponding to the major version so that dld.sl refuses to
14574 # link against other versions.
14581 hardcode_into_libs=yes
14582 dynamic_linker="$host_os dld.so"
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 if test "X$HPUX_IA64_MODE" = X32; then
14588 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14590 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14592 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14596 hardcode_into_libs=yes
14597 dynamic_linker="$host_os dld.sl"
14598 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14599 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14601 soname_spec='${libname}${release}${shared_ext}$major'
14602 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14603 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14607 dynamic_linker="$host_os dld.sl"
14608 shlibpath_var=SHLIB_PATH
14609 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14611 soname_spec='${libname}${release}${shared_ext}$major'
14614 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14615 postinstall_cmds='chmod 555 $lib'
14616 # or fails outright, so override atomically:
14617 install_override_mode=555
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=no
14629 hardcode_into_libs=yes
14632 irix5* | irix6* | nonstopux*)
14634 nonstopux*) version_type=nonstopux ;;
14636 if test "$lt_cv_prog_gnu_ld" = yes; then
14644 soname_spec='${libname}${release}${shared_ext}$major'
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14647 irix5* | nonstopux*)
14648 libsuff= shlibsuff=
14651 case $LD in # libtool.m4 will add one of these switches to LD
14652 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14653 libsuff= shlibsuff= libmagic=32-bit;;
14654 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14655 libsuff=32 shlibsuff=N32 libmagic=N32;;
14656 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14657 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14658 *) libsuff= shlibsuff= libmagic=never-match;;
14662 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14665 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14666 hardcode_into_libs=yes
14669 # No shared lib support for Linux oldld, aout, or coff.
14670 linux*oldld* | linux*aout* | linux*coff*)
14674 # This must be Linux ELF.
14675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14680 soname_spec='${libname}${release}${shared_ext}$major'
14681 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=no
14685 # Some binutils ld are patched to set DT_RUNPATH
14686 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14687 $as_echo_n "(cached) " >&6
14689 lt_cv_shlibpath_overrides_runpath=no
14690 save_LDFLAGS=$LDFLAGS
14691 save_libdir=$libdir
14692 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14693 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14705 if ac_fn_cxx_try_link "$LINENO"; then :
14706 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14707 lt_cv_shlibpath_overrides_runpath=yes
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LDFLAGS=$save_LDFLAGS
14713 libdir=$save_libdir
14717 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14719 # This implies no fast_install, which is unacceptable.
14720 # Some rework will be needed to allow for fast_install
14721 # before this can be enabled.
14722 hardcode_into_libs=yes
14724 # Append ld.so.conf contents to the search path
14725 if test -f /etc/ld.so.conf; then
14726 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' ' '`
14727 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14730 # We used to test for /lib/ld.so.1 and disable shared libraries on
14731 # powerpc, because MkLinux only supported shared libraries with the
14732 # GNU dynamic linker. Since this was broken with cross compilers,
14733 # most powerpc-linux boxes support dynamic linking these days and
14734 # people can always --disable-shared, the test was removed, and we
14735 # assume the GNU/Linux dynamic linker is in use.
14736 dynamic_linker='GNU/Linux ld.so'
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14744 soname_spec='${libname}${release}${shared_ext}$major'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14748 dynamic_linker='NetBSD ld.elf_so'
14755 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14758 dynamic_linker='NetBSD (a.out) ld.so'
14760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14761 soname_spec='${libname}${release}${shared_ext}$major'
14762 dynamic_linker='NetBSD ld.elf_so'
14764 shlibpath_var=LD_LIBRARY_PATH
14765 shlibpath_overrides_runpath=yes
14766 hardcode_into_libs=yes
14771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772 shlibpath_var=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath=yes
14780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14781 soname_spec='${libname}${release}${shared_ext}$major'
14782 shlibpath_var=LD_LIBRARY_PATH
14783 shlibpath_overrides_runpath=no
14784 hardcode_into_libs=yes
14785 dynamic_linker='ldqnx.so'
14790 sys_lib_dlsearch_path_spec="/usr/lib"
14792 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14794 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14795 *) need_version=no ;;
14797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14798 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14799 shlibpath_var=LD_LIBRARY_PATH
14800 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14802 openbsd2.[89] | openbsd2.[89].*)
14803 shlibpath_overrides_runpath=no
14806 shlibpath_overrides_runpath=yes
14810 shlibpath_overrides_runpath=yes
14815 libname_spec='$name'
14818 library_names_spec='$libname${shared_ext} $libname.a'
14819 dynamic_linker='OS/2 ld.exe'
14820 shlibpath_var=LIBPATH
14823 osf3* | osf4* | osf5*)
14827 soname_spec='${libname}${release}${shared_ext}$major'
14828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14829 shlibpath_var=LD_LIBRARY_PATH
14830 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14831 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14843 soname_spec='${libname}${release}${shared_ext}$major'
14844 shlibpath_var=LD_LIBRARY_PATH
14845 shlibpath_overrides_runpath=yes
14846 hardcode_into_libs=yes
14847 # ldd complains unless libraries are executable
14848 postinstall_cmds='chmod +x $lib'
14853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14854 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14855 shlibpath_var=LD_LIBRARY_PATH
14856 shlibpath_overrides_runpath=yes
14857 if test "$with_gnu_ld" = yes; then
14865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866 soname_spec='${libname}${release}${shared_ext}$major'
14867 shlibpath_var=LD_LIBRARY_PATH
14868 case $host_vendor in
14870 shlibpath_overrides_runpath=no
14872 runpath_var=LD_RUN_PATH
14880 shlibpath_overrides_runpath=no
14881 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14887 if test -d /usr/nec ;then
14889 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14890 soname_spec='$libname${shared_ext}.$major'
14891 shlibpath_var=LD_LIBRARY_PATH
14895 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14896 version_type=freebsd-elf
14899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14900 soname_spec='${libname}${release}${shared_ext}$major'
14901 shlibpath_var=LD_LIBRARY_PATH
14902 shlibpath_overrides_runpath=yes
14903 hardcode_into_libs=yes
14904 if test "$with_gnu_ld" = yes; then
14905 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14907 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14910 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14914 sys_lib_dlsearch_path_spec='/usr/lib'
14918 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14923 shlibpath_var=LD_LIBRARY_PATH
14924 shlibpath_overrides_runpath=no
14925 hardcode_into_libs=yes
14930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14931 soname_spec='${libname}${release}${shared_ext}$major'
14932 shlibpath_var=LD_LIBRARY_PATH
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14940 $as_echo "$dynamic_linker" >&6; }
14941 test "$dynamic_linker" = no && can_build_shared=no
14943 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14944 if test "$GCC" = yes; then
14945 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14948 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14949 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14951 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14952 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14994 hardcode_action_CXX=
14995 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14996 test -n "$runpath_var_CXX" ||
14997 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14999 # We can hardcode non-existent directories.
15000 if test "$hardcode_direct_CXX" != no &&
15001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15002 # have to relink, otherwise we might link with an installed library
15003 # when we should be linking with a yet-to-be-installed one
15004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15005 test "$hardcode_minus_L_CXX" != no; then
15006 # Linking always hardcodes the temporary library directory.
15007 hardcode_action_CXX=relink
15009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15010 hardcode_action_CXX=immediate
15013 # We cannot hardcode anything, or else we can only hardcode existing
15015 hardcode_action_CXX=unsupported
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15018 $as_echo "$hardcode_action_CXX" >&6; }
15020 if test "$hardcode_action_CXX" = relink ||
15021 test "$inherit_rpath_CXX" = yes; then
15022 # Fast installation is not supported
15023 enable_fast_install=no
15024 elif test "$shlibpath_overrides_runpath" = yes ||
15025 test "$enable_shared" = no; then
15026 # Fast installation is not necessary
15027 enable_fast_install=needless
15036 fi # test -n "$compiler"
15039 CFLAGS=$lt_save_CFLAGS
15043 with_gnu_ld=$lt_save_with_gnu_ld
15044 lt_cv_path_LDCXX=$lt_cv_path_LD
15045 lt_cv_path_LD=$lt_save_path_LD
15046 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15047 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15048 fi # test "$_lt_caught_CXX_error" != yes
15051 ac_cpp='$CXXCPP $CPPFLAGS'
15052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15068 ac_config_commands="$ac_config_commands libtool"
15073 # Only expand once:
15077 # Checks for libraries.
15078 # FIXME: Replace `main' with a function in `-lAXE':
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lAXE" >&5
15080 $as_echo_n "checking for main in -lAXE... " >&6; }
15081 if ${ac_cv_lib_AXE_main+:} false; then :
15082 $as_echo_n "(cached) " >&6
15084 ac_check_lib_save_LIBS=$LIBS
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15098 if ac_fn_cxx_try_link "$LINENO"; then :
15099 ac_cv_lib_AXE_main=yes
15101 ac_cv_lib_AXE_main=no
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_lib_save_LIBS
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_AXE_main" >&5
15108 $as_echo "$ac_cv_lib_AXE_main" >&6; }
15109 if test "x$ac_cv_lib_AXE_main" = xyes; then :
15110 cat >>confdefs.h <<_ACEOF
15111 @%:@define HAVE_LIBAXE 1
15119 # Checks for header files.
15121 for ac_header in arpa/inet.h netdb.h sys/socket.h
15123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15124 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15125 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15126 cat >>confdefs.h <<_ACEOF
15127 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15135 # Checks for typedefs, structures, and compiler characteristics.
15136 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15137 if test "x$ac_cv_type_size_t" = xyes; then :
15141 cat >>confdefs.h <<_ACEOF
15142 @%:@define size_t unsigned int
15147 ac_fn_cxx_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15148 if test "x$ac_cv_type_ssize_t" = xyes; then :
15152 cat >>confdefs.h <<_ACEOF
15153 @%:@define ssize_t int
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15159 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15160 if ${ac_cv_header_stdbool_h+:} false; then :
15161 $as_echo_n "(cached) " >&6
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 #include <stdbool.h>
15168 "error: bool is not defined"
15171 "error: false is not defined"
15174 "error: false is not 0"
15177 "error: true is not defined"
15180 "error: true is not 1"
15182 #ifndef __bool_true_false_are_defined
15183 "error: __bool_true_false_are_defined is not defined"
15186 struct s { _Bool s: 1; _Bool t; } s;
15188 char a[true == 1 ? 1 : -1];
15189 char b[false == 0 ? 1 : -1];
15190 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
15191 char d[(bool) 0.5 == true ? 1 : -1];
15192 /* See body of main program for 'e'. */
15193 char f[(_Bool) 0.0 == false ? 1 : -1];
15195 char h[sizeof (_Bool)];
15196 char i[sizeof s.t];
15197 enum { j = false, k = true, l = false * true, m = true * 256 };
15198 /* The following fails for
15199 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15201 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
15202 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
15203 /* Catch a bug in an HP-UX C compiler. See
15204 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15205 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
15217 /* Refer to every declared value, to avoid compiler optimizations. */
15218 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
15219 + !m + !n + !o + !p + !q + !pq);
15225 if ac_fn_cxx_try_compile "$LINENO"; then :
15226 ac_cv_header_stdbool_h=yes
15228 ac_cv_header_stdbool_h=no
15230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15233 $as_echo "$ac_cv_header_stdbool_h" >&6; }
15234 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15235 if test "x$ac_cv_type__Bool" = xyes; then :
15237 cat >>confdefs.h <<_ACEOF
15238 @%:@define HAVE__BOOL 1
15244 if test $ac_cv_header_stdbool_h = yes; then
15246 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
15251 # Checks for library functions.
15252 for ac_func in socket strchr
15254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15255 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15256 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15257 cat >>confdefs.h <<_ACEOF
15258 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15265 ac_config_files="$ac_config_files Makefile doc/Makefile test/Makefile src/Makefile"
15267 cat >confcache <<\_ACEOF
15268 # This file is a shell script that caches the results of configure
15269 # tests run on this system so they can be shared between configure
15270 # scripts and configure runs, see configure's option --config-cache.
15271 # It is not useful on other systems. If it contains results you don't
15272 # want to keep, you may remove or edit it.
15274 # config.status only pays attention to the cache file if you give it
15275 # the --recheck option to rerun configure.
15277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15279 # following values.
15283 # The following way of writing the cache mishandles newlines in values,
15284 # but we know of no workaround that is simple, portable, and efficient.
15285 # So, we kill variables containing newlines.
15286 # Ultrix sh set writes to stderr and can't be redirected directly,
15287 # and sets the high bit in the cache file unless we assign to the vars.
15289 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15290 eval ac_val=\$$ac_var
15294 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15298 _ | IFS | as_nl) ;; #(
15299 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15300 *) { eval $ac_var=; unset $ac_var;} ;;
15306 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15307 *${as_nl}ac_space=\ *)
15308 # `set' does not quote correctly, so add quotes: double-quote
15309 # substitution turns \\\\ into \\, and sed turns \\ into \.
15312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15315 # `set' quotes correctly as required by POSIX, so do not add quotes.
15316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15325 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15327 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15330 if test -w "$cache_file"; then
15331 if test "x$cache_file" != "x/dev/null"; then
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15333 $as_echo "$as_me: updating cache $cache_file" >&6;}
15334 if test ! -f "$cache_file" || test -h "$cache_file"; then
15335 cat confcache >"$cache_file"
15337 case $cache_file in #(
15339 mv -f confcache "$cache_file"$$ &&
15340 mv -f "$cache_file"$$ "$cache_file" ;; #(
15342 mv -f confcache "$cache_file" ;;
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15348 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15354 # Let make expand exec_prefix.
15355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15357 DEFS=-DHAVE_CONFIG_H
15362 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15363 # 1. Remove the extension, and $U if already installed.
15364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15365 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15367 # will be set to the directory where LIBOBJS objects are built.
15368 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15369 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15371 LIB@&t@OBJS=$ac_libobjs
15373 LTLIBOBJS=$ac_ltlibobjs
15376 if test -n "$EXEEXT"; then
15378 am__EXEEXT_FALSE='#'
15380 am__EXEEXT_TRUE='#'
15384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15385 as_fn_error $? "conditional \"AMDEP\" was never defined.
15386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15389 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15392 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15393 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15397 : "${CONFIG_STATUS=./config.status}"
15399 ac_clean_files_save=$ac_clean_files
15400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15402 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15404 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15406 # Generated by $as_me.
15407 # Run this file to recreate the current configuration.
15408 # Compiler output produced by configure, useful for debugging
15409 # configure, is in config.log if it exists.
15412 ac_cs_recheck=false
15415 SHELL=\${CONFIG_SHELL-$SHELL}
15418 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15419 ## -------------------- ##
15420 ## M4sh Initialization. ##
15421 ## -------------------- ##
15423 # Be more Bourne compatible
15424 DUALCASE=1; export DUALCASE # for MKS sh
15425 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15428 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15429 # is contrary to our usage. Disable this feature.
15430 alias -g '${1+"$@"}'='"$@"'
15431 setopt NO_GLOB_SUBST
15433 case `(set -o) 2>/dev/null` in @%:@(
15435 set -o posix ;; @%:@(
15445 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15446 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15449 # Prefer a ksh shell builtin over an external printf program on Solaris,
15450 # but without wasting forks for bash or zsh.
15451 if test -z "$BASH_VERSION$ZSH_VERSION" \
15452 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15453 as_echo='print -r --'
15454 as_echo_n='print -rn --'
15455 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15456 as_echo='printf %s\n'
15457 as_echo_n='printf %s'
15459 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15460 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15461 as_echo_n='/usr/ucb/echo -n'
15463 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15464 as_echo_n_body='eval
15468 expr "X$arg" : "X\\(.*\\)$as_nl";
15469 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15471 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15473 export as_echo_n_body
15474 as_echo_n='sh -c $as_echo_n_body as_echo'
15476 export as_echo_body
15477 as_echo='sh -c $as_echo_body as_echo'
15480 # The user is always right.
15481 if test "${PATH_SEPARATOR+set}" != set; then
15483 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15484 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15491 # We need space, tab and new line, in precisely that order. Quoting is
15492 # there to prevent editors from complaining about space-tab.
15493 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15494 # splitting by setting IFS to empty value.)
15497 # Find who we are. Look in the path if we contain no directory separator.
15500 *[\\/]* ) as_myself=$0 ;;
15501 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15502 for as_dir in $PATH
15505 test -z "$as_dir" && as_dir=.
15506 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15512 # We did not find ourselves, most probably we were run as `sh COMMAND'
15513 # in which case we are not to be found in the path.
15514 if test "x$as_myself" = x; then
15517 if test ! -f "$as_myself"; then
15518 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15522 # Unset variables that we do not need and which cause bugs (e.g. in
15523 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15524 # suppresses any "Segmentation fault" message there. '((' could
15525 # trigger a bug in pdksh 5.2.14.
15526 for as_var in BASH_ENV ENV MAIL MAILPATH
15527 do eval test x\${$as_var+set} = xset \
15528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15541 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15544 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15545 @%:@ ----------------------------------------
15546 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15547 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15548 @%:@ script with STATUS, using 1 if that was 0.
15551 as_status=$1; test $as_status -eq 0 && as_status=1
15553 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15554 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15556 $as_echo "$as_me: error: $2" >&2
15557 as_fn_exit $as_status
15561 @%:@ as_fn_set_status STATUS
15562 @%:@ -----------------------
15563 @%:@ Set @S|@? to STATUS, without forking.
15564 as_fn_set_status ()
15567 } @%:@ as_fn_set_status
15569 @%:@ as_fn_exit STATUS
15570 @%:@ -----------------
15571 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15575 as_fn_set_status $1
15579 @%:@ as_fn_unset VAR
15580 @%:@ ---------------
15581 @%:@ Portably unset VAR.
15584 { eval $1=; unset $1;}
15586 as_unset=as_fn_unset
15587 @%:@ as_fn_append VAR VALUE
15588 @%:@ ----------------------
15589 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15590 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15591 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15592 @%:@ implementations.
15593 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15594 eval 'as_fn_append ()
15605 @%:@ as_fn_arith ARG...
15606 @%:@ ------------------
15607 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15608 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15609 @%:@ must be portable across @S|@(()) and expr.
15610 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15611 eval 'as_fn_arith ()
15618 as_val=`expr "$@" || test $? -eq 1`
15623 if expr a : '\(a\)' >/dev/null 2>&1 &&
15624 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15630 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15631 as_basename=basename
15636 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15642 as_me=`$as_basename -- "$0" ||
15643 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15644 X"$0" : 'X\(//\)$' \| \
15645 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15647 sed '/^.*\/\([^/][^/]*\)\/*$/{
15661 # Avoid depending upon Character Ranges.
15662 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15663 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15664 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15665 as_cr_digits='0123456789'
15666 as_cr_alnum=$as_cr_Letters$as_cr_digits
15668 ECHO_C= ECHO_N= ECHO_T=
15669 case `echo -n x` in @%:@(((((
15671 case `echo 'xy\c'` in
15672 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15674 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15681 rm -f conf$$ conf$$.exe conf$$.file
15682 if test -d conf$$.dir; then
15683 rm -f conf$$.dir/conf$$.file
15686 mkdir conf$$.dir 2>/dev/null
15688 if (echo >conf$$.file) 2>/dev/null; then
15689 if ln -s conf$$.file conf$$ 2>/dev/null; then
15691 # ... but there are two gotchas:
15692 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15693 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15694 # In both cases, we have to default to `cp -p'.
15695 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15697 elif ln conf$$.file conf$$ 2>/dev/null; then
15705 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15706 rmdir conf$$.dir 2>/dev/null
15711 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15716 -*) as_dir=./$as_dir;;
15718 test -d "$as_dir" || eval $as_mkdir_p || {
15722 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15723 *) as_qdir=$as_dir;;
15725 as_dirs="'$as_qdir' $as_dirs"
15726 as_dir=`$as_dirname -- "$as_dir" ||
15727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15728 X"$as_dir" : 'X\(//\)[^/]' \| \
15729 X"$as_dir" : 'X\(//\)$' \| \
15730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15731 $as_echo X"$as_dir" |
15732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15736 /^X\(\/\/\)[^/].*/{
15749 test -d "$as_dir" && break
15751 test -z "$as_dirs" || eval "mkdir $as_dirs"
15752 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15755 } @%:@ as_fn_mkdir_p
15756 if mkdir -p . 2>/dev/null; then
15757 as_mkdir_p='mkdir -p "$as_dir"'
15759 test -d ./-p && rmdir ./-p
15763 if test -x / >/dev/null 2>&1; then
15764 as_test_x='test -x'
15766 if ls -dL / >/dev/null 2>&1; then
15773 if test -d "$1"; then
15779 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15780 ???[sx]*):;;*)false;;esac;fi
15784 as_executable_p=$as_test_x
15786 # Sed expression to map a string onto a valid CPP name.
15787 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15789 # Sed expression to map a string onto a valid variable name.
15790 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15794 ## ----------------------------------- ##
15795 ## Main body of $CONFIG_STATUS script. ##
15796 ## ----------------------------------- ##
15798 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15801 # Save the log message, to keep $0 and so on meaningful, and to
15802 # report actual input values of CONFIG_FILES etc. instead of their
15803 # values after options handling.
15805 This file was extended by libsockstream $as_me 0.1, which was
15806 generated by GNU Autoconf 2.68. Invocation command line was
15808 CONFIG_FILES = $CONFIG_FILES
15809 CONFIG_HEADERS = $CONFIG_HEADERS
15810 CONFIG_LINKS = $CONFIG_LINKS
15811 CONFIG_COMMANDS = $CONFIG_COMMANDS
15814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15819 case $ac_config_files in *"
15820 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15823 case $ac_config_headers in *"
15824 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15829 # Files that config.status was made for.
15830 config_files="$ac_config_files"
15831 config_headers="$ac_config_headers"
15832 config_commands="$ac_config_commands"
15836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15838 \`$as_me' instantiates files and other configuration actions
15839 from templates according to the current configuration. Unless the files
15840 and actions are specified as TAGs, all are instantiated by default.
15842 Usage: $0 [OPTION]... [TAG]...
15844 -h, --help print this help, then exit
15845 -V, --version print version number and configuration settings, then exit
15846 --config print configuration, then exit
15847 -q, --quiet, --silent
15848 do not print progress messages
15849 -d, --debug don't remove temporary files
15850 --recheck update $as_me by reconfiguring in the same conditions
15851 --file=FILE[:TEMPLATE]
15852 instantiate the configuration file FILE
15853 --header=FILE[:TEMPLATE]
15854 instantiate the configuration header FILE
15856 Configuration files:
15859 Configuration headers:
15862 Configuration commands:
15865 Report bugs to <arjen@andromeda.nl>."
15868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15871 libsockstream config.status 0.1
15872 configured by $0, generated by GNU Autoconf 2.68,
15873 with options \\"\$ac_cs_config\\"
15875 Copyright (C) 2010 Free Software Foundation, Inc.
15876 This config.status script is free software; the Free Software Foundation
15877 gives unlimited permission to copy, distribute and modify it."
15884 test -n "\$AWK" || AWK=awk
15887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15888 # The default lists apply if the user does not specify any file.
15894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15911 # Handling of the options.
15912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15915 $as_echo "$ac_cs_version"; exit ;;
15916 --config | --confi | --conf | --con | --co | --c )
15917 $as_echo "$ac_cs_config"; exit ;;
15918 --debug | --debu | --deb | --de | --d | -d )
15920 --file | --fil | --fi | --f )
15923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15924 '') as_fn_error $? "missing file argument" ;;
15926 as_fn_append CONFIG_FILES " '$ac_optarg'"
15927 ac_need_defaults=false;;
15928 --header | --heade | --head | --hea )
15931 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15933 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15934 ac_need_defaults=false;;
15936 # Conflict between --help and --header
15937 as_fn_error $? "ambiguous option: \`$1'
15938 Try \`$0 --help' for more information.";;
15939 --help | --hel | -h )
15940 $as_echo "$ac_cs_usage"; exit ;;
15941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15942 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15945 # This is an error.
15946 -*) as_fn_error $? "unrecognized option: \`$1'
15947 Try \`$0 --help' for more information." ;;
15949 *) as_fn_append ac_config_targets " $1"
15950 ac_need_defaults=false ;;
15956 ac_configure_extra_args=
15958 if $ac_cs_silent; then
15960 ac_configure_extra_args="$ac_configure_extra_args --silent"
15964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15965 if \$ac_cs_recheck; then
15966 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15968 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15969 CONFIG_SHELL='$SHELL'
15970 export CONFIG_SHELL
15975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15979 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15980 @%:@@%:@ Running $as_me. @%:@@%:@
15986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15993 # The HP-UX ksh and POSIX shell print the target directory to stdout
15994 # if CDPATH is set.
15995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15997 sed_quote_subst='$sed_quote_subst'
15998 double_quote_subst='$double_quote_subst'
15999 delay_variable_subst='$delay_variable_subst'
16000 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16001 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16002 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16003 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16004 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16005 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16006 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16007 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16008 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16009 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16010 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16011 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16012 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16013 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16014 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16015 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16016 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16017 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16018 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16019 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16020 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16021 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16022 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16023 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16024 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16025 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16026 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16027 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16028 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16029 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16030 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16031 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16032 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16033 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16034 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16035 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16036 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16037 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16038 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16039 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16040 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16041 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16042 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16043 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16044 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16045 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16046 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16047 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16048 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16049 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16050 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16051 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16052 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16053 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16054 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16055 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"`'
16056 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16057 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16058 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16059 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16060 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16061 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16062 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16063 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16064 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16065 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16066 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16067 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16068 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16069 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16070 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16071 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16072 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16073 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16074 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16075 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16076 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16077 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16078 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16079 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16080 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16081 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16082 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16083 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16084 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16085 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16086 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16087 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16088 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16089 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16090 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16091 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16092 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16093 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16094 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16095 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16096 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16097 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16098 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16099 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16100 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16101 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16102 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16103 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16104 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16105 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16106 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16107 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16108 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16109 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16110 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16111 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16112 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16113 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16114 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16115 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16116 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16117 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16118 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16119 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16120 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16121 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16122 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16123 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16124 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16125 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16126 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16127 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16128 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16129 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16130 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16131 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16132 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16133 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16134 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16135 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16136 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16137 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16138 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16139 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16140 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16141 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16142 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16143 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16144 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16145 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16146 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16147 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16148 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16149 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16150 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16151 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16152 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16153 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16154 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16155 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16156 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16157 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16158 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16159 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16160 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16161 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16162 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16163 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16164 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16165 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16166 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16167 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16168 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16169 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16170 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16171 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16172 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16173 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16174 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16175 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16176 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16177 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16178 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16179 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16180 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16181 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16182 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16183 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16184 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16187 LTCFLAGS='$LTCFLAGS'
16188 compiler='$compiler_DEFAULT'
16190 # A function that is used when there is no print builtin or printf.
16191 func_fallback_echo ()
16193 eval 'cat <<_LTECHO_EOF
16198 # Quote evaled strings.
16212 deplibs_check_method \
16217 sharedlib_from_linklib_cmd \
16220 archiver_list_spec \
16226 lt_cv_sys_global_symbol_pipe \
16227 lt_cv_sys_global_symbol_to_cdecl \
16228 lt_cv_sys_global_symbol_to_c_name_address \
16229 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16230 nm_file_list_spec \
16231 lt_prog_compiler_no_builtin_flag \
16232 lt_prog_compiler_pic \
16233 lt_prog_compiler_wl \
16234 lt_prog_compiler_static \
16235 lt_cv_prog_compiler_c_o \
16244 export_dynamic_flag_spec \
16245 whole_archive_flag_spec \
16246 compiler_needs_object \
16248 allow_undefined_flag \
16249 no_undefined_flag \
16250 hardcode_libdir_flag_spec \
16251 hardcode_libdir_flag_spec_ld \
16252 hardcode_libdir_separator \
16256 variables_saved_for_relink \
16258 library_names_spec \
16260 install_override_mode \
16264 compiler_lib_search_dirs \
16269 compiler_lib_search_path \
16273 lt_prog_compiler_no_builtin_flag_CXX \
16274 lt_prog_compiler_pic_CXX \
16275 lt_prog_compiler_wl_CXX \
16276 lt_prog_compiler_static_CXX \
16277 lt_cv_prog_compiler_c_o_CXX \
16278 export_dynamic_flag_spec_CXX \
16279 whole_archive_flag_spec_CXX \
16280 compiler_needs_object_CXX \
16282 allow_undefined_flag_CXX \
16283 no_undefined_flag_CXX \
16284 hardcode_libdir_flag_spec_CXX \
16285 hardcode_libdir_flag_spec_ld_CXX \
16286 hardcode_libdir_separator_CXX \
16287 exclude_expsyms_CXX \
16288 include_expsyms_CXX \
16289 file_list_spec_CXX \
16290 compiler_lib_search_dirs_CXX \
16291 predep_objects_CXX \
16292 postdep_objects_CXX \
16295 compiler_lib_search_path_CXX; do
16296 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16297 *[\\\\\\\`\\"\\\$]*)
16298 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16301 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16306 # Double-quote double-evaled strings.
16307 for var in reload_cmds \
16308 old_postinstall_cmds \
16309 old_postuninstall_cmds \
16311 extract_expsyms_cmds \
16312 old_archive_from_new_cmds \
16313 old_archive_from_expsyms_cmds \
16315 archive_expsym_cmds \
16317 module_expsym_cmds \
16318 export_symbols_cmds \
16322 postuninstall_cmds \
16324 sys_lib_search_path_spec \
16325 sys_lib_dlsearch_path_spec \
16327 old_archive_cmds_CXX \
16328 old_archive_from_new_cmds_CXX \
16329 old_archive_from_expsyms_cmds_CXX \
16331 archive_expsym_cmds_CXX \
16333 module_expsym_cmds_CXX \
16334 export_symbols_cmds_CXX \
16336 postlink_cmds_CXX; do
16337 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16338 *[\\\\\\\`\\"\\\$]*)
16339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16347 ac_aux_dir='$ac_aux_dir'
16348 xsi_shell='$xsi_shell'
16349 lt_shell_append='$lt_shell_append'
16351 # See if we are running on zsh, and set the options which allow our
16352 # commands through without removal of \ escapes INIT.
16353 if test -n "\${ZSH_VERSION+set}" ; then
16354 setopt NO_GLOB_SUBST
16360 TIMESTAMP='$TIMESTAMP'
16371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16373 # Handling of arguments.
16374 for ac_config_target in $ac_config_targets
16376 case $ac_config_target in
16377 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16378 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16379 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16381 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16382 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16383 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16385 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16390 # If the user did not use the arguments to specify the items to instantiate,
16391 # then the envvar interface is used. Set only those that are not.
16392 # We use the long form for the default assignment because of an extremely
16393 # bizarre bug on SunOS 4.1.3.
16394 if $ac_need_defaults; then
16395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16400 # Have a temporary directory for convenience. Make it in the build tree
16401 # simply because there is no reason against having it here, and in addition,
16402 # creating and moving files from /tmp can sometimes cause problems.
16403 # Hook for its removal unless debugging.
16404 # Note that there is a small window in which the directory will not be cleaned:
16405 # after its creation but before its name has been assigned to `$tmp'.
16409 trap 'exit_status=$?
16410 : "${ac_tmp:=$tmp}"
16411 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16413 trap 'as_fn_exit 1' 1 2 13 15
16415 # Create a (secure) tmp directory for tmp files.
16418 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16422 tmp=./conf$$-$RANDOM
16423 (umask 077 && mkdir "$tmp")
16424 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16427 # Set up the scripts for CONFIG_FILES section.
16428 # No need to generate them if there are no CONFIG_FILES.
16429 # This happens for instance with `./config.status config.h'.
16430 if test -n "$CONFIG_FILES"; then
16433 ac_cr=`echo X | tr X '\015'`
16434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16435 # But we know of no other shell where ac_cr would be empty at this
16436 # point, so we can use a bashism as a fallback.
16437 if test "x$ac_cr" = x; then
16438 eval ac_cr=\$\'\\r\'
16440 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16444 ac_cs_awk_cr=$ac_cr
16447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16452 echo "cat >conf$$subs.awk <<_ACEOF" &&
16453 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16455 } >conf$$subs.sh ||
16456 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16459 for ac_last_try in false false false false false :; do
16460 . ./conf$$subs.sh ||
16461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16463 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16464 if test $ac_delim_n = $ac_delim_num; then
16466 elif $ac_last_try; then
16467 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16472 rm -f conf$$subs.sh
16474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16475 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16479 s/^/S["/; s/!.*/"]=/
16489 s/\(.\{148\}\)..*/\1/
16491 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16503 s/\(.\{148\}\)..*/\1/
16505 s/["\\]/\\&/g; s/^/"/; s/$/"/
16509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16514 ' <conf$$subs.awk | sed '
16519 ' >>$CONFIG_STATUS || ac_write_fail=1
16520 rm -f conf$$subs.awk
16521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16523 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16524 for (key in S) S_is_set[key] = 1
16530 nfields = split(line, field, "@")
16532 len = length(field[1])
16533 for (i = 2; i < nfields; i++) {
16535 keylen = length(key)
16536 if (S_is_set[key]) {
16538 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16539 len += length(value) + length(field[++i])
16550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16551 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16552 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16555 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16556 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16561 # trailing colons and then remove the whole line if VPATH becomes empty
16562 # (actually we leave an empty line to preserve line numbers).
16563 if test "x$srcdir" = x.; then
16564 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16583 fi # test -n "$CONFIG_FILES"
16585 # Set up the scripts for CONFIG_HEADERS section.
16586 # No need to generate them if there are no CONFIG_HEADERS.
16587 # This happens for instance with `./config.status Makefile'.
16588 if test -n "$CONFIG_HEADERS"; then
16589 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16593 # Transform confdefs.h into an awk script `defines.awk', embedded as
16594 # here-document in config.status, that substitutes the proper values into
16595 # config.h.in to produce config.h.
16597 # Create a delimiter string that does not exist in confdefs.h, to ease
16598 # handling of long lines.
16600 for ac_last_try in false false :; do
16601 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16602 if test -z "$ac_tt"; then
16604 elif $ac_last_try; then
16605 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16611 # For the awk script, D is an array of macro values keyed by name,
16612 # likewise P contains macro parameters if any. Preserve backslash
16613 # newline sequences.
16615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16617 s/.\{148\}/&'"$ac_delim"'/g
16620 s/^[ ]*#[ ]*define[ ][ ]*/ /
16627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16629 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16634 D["\1"]=" \3\\\\\\n"\\/p
16636 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16641 s/.\{148\}/&'"$ac_delim"'/g
16646 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16649 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16651 ' <confdefs.h | sed '
16652 s/'"$ac_delim"'/"\\\
16653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16656 for (key in D) D_is_set[key] = 1
16659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16661 split(line, arg, " ")
16662 if (arg[1] == "#") {
16666 defundef = substr(arg[1], 2)
16669 split(mac1, mac2, "(") #)
16671 prefix = substr(line, 1, index(line, defundef) - 1)
16672 if (D_is_set[macro]) {
16673 # Preserve the white space surrounding the "#".
16674 print prefix "define", macro P[macro] D[macro]
16677 # Replace #undef with comments. This is necessary, for example,
16678 # in the case of _POSIX_SOURCE, which is predefined and required
16679 # on some systems where configure will not decide to define it.
16680 if (defundef == "undef") {
16681 print "/*", prefix defundef, macro, "*/"
16689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16690 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16691 fi # test -n "$CONFIG_HEADERS"
16694 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16699 :[FHLC]) ac_mode=$ac_tag; continue;;
16701 case $ac_mode$ac_tag in
16703 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16704 :[FH]-) ac_tag=-:-;;
16705 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16722 -) ac_f="$ac_tmp/stdin";;
16723 *) # Look for the file first in the build tree, then in the source tree
16724 # (if the path is not absolute). The absolute path cannot be DOS-style,
16725 # because $ac_f cannot contain `:'.
16729 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16731 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16733 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16734 as_fn_append ac_file_inputs " '$ac_f'"
16737 # Let's still pretend it is `configure' which instantiates (i.e., don't
16738 # use $as_me), people would be surprised to read:
16739 # /* config.h. Generated by config.status. */
16740 configure_input='Generated from '`
16741 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16743 if test x"$ac_file" != x-; then
16744 configure_input="$ac_file. $configure_input"
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16746 $as_echo "$as_me: creating $ac_file" >&6;}
16748 # Neutralize special characters interpreted by sed in replacement strings.
16749 case $configure_input in #(
16750 *\&* | *\|* | *\\* )
16751 ac_sed_conf_input=`$as_echo "$configure_input" |
16752 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16753 *) ac_sed_conf_input=$configure_input;;
16757 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16763 ac_dir=`$as_dirname -- "$ac_file" ||
16764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16765 X"$ac_file" : 'X\(//\)[^/]' \| \
16766 X"$ac_file" : 'X\(//\)$' \| \
16767 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16768 $as_echo X"$ac_file" |
16769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16773 /^X\(\/\/\)[^/].*/{
16786 as_dir="$ac_dir"; as_fn_mkdir_p
16790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16792 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16793 # A ".." for each directory in $ac_dir_suffix.
16794 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16795 case $ac_top_builddir_sub in
16796 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16797 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16800 ac_abs_top_builddir=$ac_pwd
16801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16802 # for backward compatibility:
16803 ac_top_builddir=$ac_top_build_prefix
16806 .) # We are building in place.
16808 ac_top_srcdir=$ac_top_builddir_sub
16809 ac_abs_top_srcdir=$ac_pwd ;;
16810 [\\/]* | ?:[\\/]* ) # Absolute name.
16811 ac_srcdir=$srcdir$ac_dir_suffix;
16812 ac_top_srcdir=$srcdir
16813 ac_abs_top_srcdir=$srcdir ;;
16814 *) # Relative name.
16815 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16816 ac_top_srcdir=$ac_top_build_prefix$srcdir
16817 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16829 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16830 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16832 ac_MKDIR_P=$MKDIR_P
16834 [\\/$]* | ?:[\\/]* ) ;;
16835 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16840 # If the template does not know about datarootdir, expand it.
16841 # FIXME: This hack should be removed a few years after 2.60.
16842 ac_datarootdir_hack=; ac_datarootdir_seen=
16853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16854 *datarootdir*) ac_datarootdir_seen=yes;;
16855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16860 ac_datarootdir_hack='
16861 s&@datadir@&$datadir&g
16862 s&@docdir@&$docdir&g
16863 s&@infodir@&$infodir&g
16864 s&@localedir@&$localedir&g
16865 s&@mandir@&$mandir&g
16866 s&\\\${datarootdir}&$datarootdir&g' ;;
16870 # Neutralize VPATH when `$srcdir' = `.'.
16871 # Shell code in configure.ac might set extrasub.
16872 # FIXME: do we really want to maintain this feature?
16873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16874 ac_sed_extra="$ac_vpsub
16877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16880 s|@configure_input@|$ac_sed_conf_input|;t t
16881 s&@top_builddir@&$ac_top_builddir_sub&;t t
16882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16883 s&@srcdir@&$ac_srcdir&;t t
16884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16885 s&@top_srcdir@&$ac_top_srcdir&;t t
16886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16887 s&@builddir@&$ac_builddir&;t t
16888 s&@abs_builddir@&$ac_abs_builddir&;t t
16889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16890 s&@INSTALL@&$ac_INSTALL&;t t
16891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16892 $ac_datarootdir_hack
16894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16895 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16898 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16900 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16902 which seems to be undefined. Please make sure it is defined" >&5
16903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16904 which seems to be undefined. Please make sure it is defined" >&2;}
16906 rm -f "$ac_tmp/stdin"
16908 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16909 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16917 if test x"$ac_file" != x-; then
16919 $as_echo "/* $configure_input */" \
16920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16921 } >"$ac_tmp/config.h" \
16922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16923 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16928 mv "$ac_tmp/config.h" "$ac_file" \
16929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16932 $as_echo "/* $configure_input */" \
16933 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16934 || as_fn_error $? "could not create -" "$LINENO" 5
16936 # Compute "$ac_file"'s index in $config_headers.
16939 for _am_header in $config_headers :; do
16940 case $_am_header in
16941 $_am_arg | $_am_arg:* )
16944 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16949 X"$_am_arg" : 'X\(//\)[^/]' \| \
16950 X"$_am_arg" : 'X\(//\)$' \| \
16951 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16952 $as_echo X"$_am_arg" |
16953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16957 /^X\(\/\/\)[^/].*/{
16969 s/.*/./; q'`/stamp-h$_am_stamp_count
16972 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16973 $as_echo "$as_me: executing $ac_file commands" >&6;}
16978 case $ac_file$ac_mode in
16979 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16980 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16981 # are listed without --file. Let's play safe and only enable the eval
16982 # if we detect the quoting.
16983 case $CONFIG_FILES in
16984 *\'*) eval set x "$CONFIG_FILES" ;;
16985 *) set x $CONFIG_FILES ;;
16990 # Strip MF so we end up with the name of the file.
16991 mf=`echo "$mf" | sed -e 's/:.*$//'`
16992 # Check whether this is an Automake generated Makefile or not.
16993 # We used to match only the files named `Makefile.in', but
16994 # some people rename them; so instead we look at the file content.
16995 # Grep'ing the first line is not enough: some people post-process
16996 # each Makefile.in and add a new line on top of each file to say so.
16997 # Grep'ing the whole file is not good either: AIX grep has a line
16998 # limit of 2048, but all sed's we know have understand at least 4000.
16999 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17000 dirpart=`$as_dirname -- "$mf" ||
17001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17002 X"$mf" : 'X\(//\)[^/]' \| \
17003 X"$mf" : 'X\(//\)$' \| \
17004 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17010 /^X\(\/\/\)[^/].*/{
17026 # Extract the definition of DEPDIR, am__include, and am__quote
17027 # from the Makefile without running `make'.
17028 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17029 test -z "$DEPDIR" && continue
17030 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17031 test -z "am__include" && continue
17032 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17033 # When using ansi2knr, U may be empty or an underscore; expand it
17034 U=`sed -n 's/^U = //p' < "$mf"`
17035 # Find all dependency output files, they are included files with
17036 # $(DEPDIR) in their names. We invoke sed twice because it is the
17037 # simplest approach to changing $(DEPDIR) to its actual value in the
17039 for file in `sed -n "
17040 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17041 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17042 # Make sure the directory exists.
17043 test -f "$dirpart/$file" && continue
17044 fdir=`$as_dirname -- "$file" ||
17045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17046 X"$file" : 'X\(//\)[^/]' \| \
17047 X"$file" : 'X\(//\)$' \| \
17048 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17049 $as_echo X"$file" |
17050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17054 /^X\(\/\/\)[^/].*/{
17067 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17068 # echo "creating $dirpart/$file"
17069 echo '# dummy' > "$dirpart/$file"
17076 # See if we are running on zsh, and set the options which allow our
17077 # commands through without removal of \ escapes.
17078 if test -n "${ZSH_VERSION+set}" ; then
17079 setopt NO_GLOB_SUBST
17082 cfgfile="${ofile}T"
17083 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17086 cat <<_LT_EOF >> "$cfgfile"
17089 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17090 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17092 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17094 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17095 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17097 # Written by Gordon Matzigkeit, 1996
17099 # This file is part of GNU Libtool.
17101 # GNU Libtool is free software; you can redistribute it and/or
17102 # modify it under the terms of the GNU General Public License as
17103 # published by the Free Software Foundation; either version 2 of
17104 # the License, or (at your option) any later version.
17106 # As a special exception to the GNU General Public License,
17107 # if you distribute this file as part of a program or library that
17108 # is built using GNU Libtool, you may include this file under the
17109 # same distribution terms that you use for the rest of that program.
17111 # GNU Libtool is distributed in the hope that it will be useful,
17112 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17114 # GNU General Public License for more details.
17116 # You should have received a copy of the GNU General Public License
17117 # along with GNU Libtool; see the file COPYING. If not, a copy
17118 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17119 # obtained by writing to the Free Software Foundation, Inc.,
17120 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17123 # The names of the tagged configurations supported by this script.
17124 available_tags="CXX "
17126 # ### BEGIN LIBTOOL CONFIG
17128 # Which release of libtool.m4 was used?
17129 macro_version=$macro_version
17130 macro_revision=$macro_revision
17132 # Whether or not to build shared libraries.
17133 build_libtool_libs=$enable_shared
17135 # Whether or not to build static libraries.
17136 build_old_libs=$enable_static
17138 # What type of objects to build.
17141 # Whether or not to optimize for fast installation.
17142 fast_install=$enable_fast_install
17144 # Shell to use when invoking shell scripts.
17147 # An echo program that protects backslashes.
17151 host_alias=$host_alias
17155 # The build system.
17156 build_alias=$build_alias
17160 # A sed program that does not truncate output.
17163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17164 Xsed="\$SED -e 1s/^X//"
17166 # A grep program that handles long lines.
17172 # A literal string matcher.
17175 # A BSD- or MS-compatible name lister.
17178 # Whether we need soft or hard links.
17181 # What is the maximum length of a command?
17182 max_cmd_len=$max_cmd_len
17184 # Object file suffix (normally "o").
17187 # Executable file suffix (normally "").
17190 # whether the shell understands "unset".
17193 # turn spaces into newlines.
17196 # turn newlines into spaces.
17199 # convert \$build file names to \$host format.
17200 to_host_file_cmd=$lt_cv_to_host_file_cmd
17202 # convert \$build files to toolchain format.
17203 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17205 # An object symbol dumper.
17206 OBJDUMP=$lt_OBJDUMP
17208 # Method to check whether dependent libraries are shared objects.
17209 deplibs_check_method=$lt_deplibs_check_method
17211 # Command to use when deplibs_check_method = "file_magic".
17212 file_magic_cmd=$lt_file_magic_cmd
17214 # How to find potential files when deplibs_check_method = "file_magic".
17215 file_magic_glob=$lt_file_magic_glob
17217 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17218 want_nocaseglob=$lt_want_nocaseglob
17220 # DLL creation program.
17221 DLLTOOL=$lt_DLLTOOL
17223 # Command to associate shared and link libraries.
17224 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17229 # Flags to create an archive.
17230 AR_FLAGS=$lt_AR_FLAGS
17232 # How to feed a file listing to the archiver.
17233 archiver_list_spec=$lt_archiver_list_spec
17235 # A symbol stripping program.
17238 # Commands used to install an old-style archive.
17240 old_postinstall_cmds=$lt_old_postinstall_cmds
17241 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17243 # Whether to use a lock for old archive extraction.
17244 lock_old_archive_extraction=$lock_old_archive_extraction
17249 # LTCC compiler flags.
17250 LTCFLAGS=$lt_CFLAGS
17252 # Take the output of nm and produce a listing of raw symbols and C names.
17253 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17255 # Transform the output of nm in a proper C declaration.
17256 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17258 # Transform the output of nm in a C name address pair.
17259 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17261 # Transform the output of nm in a C name address pair when lib prefix is needed.
17262 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17264 # Specify filename containing input files for \$NM.
17265 nm_file_list_spec=$lt_nm_file_list_spec
17267 # The root where to search for dependent libraries,and in which our libraries should be installed.
17268 lt_sysroot=$lt_sysroot
17270 # The name of the directory that contains temporary libtool files.
17273 # Used to examine libraries when file_magic_cmd begins with "file".
17274 MAGIC_CMD=$MAGIC_CMD
17276 # Must we lock files when doing compilation?
17277 need_locks=$lt_need_locks
17280 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17282 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17283 DSYMUTIL=$lt_DSYMUTIL
17285 # Tool to change global to local symbols on Mac OS X.
17288 # Tool to manipulate fat objects and archives on Mac OS X.
17291 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17294 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17295 OTOOL64=$lt_OTOOL64
17297 # Old archive suffix (normally "a").
17300 # Shared library suffix (normally ".so").
17301 shrext_cmds=$lt_shrext_cmds
17303 # The commands to extract the exported symbol list from a shared archive.
17304 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17306 # Variables whose values should be saved in libtool wrapper scripts and
17307 # restored at link time.
17308 variables_saved_for_relink=$lt_variables_saved_for_relink
17310 # Do we need the "lib" prefix for modules?
17311 need_lib_prefix=$need_lib_prefix
17313 # Do we need a version for libraries?
17314 need_version=$need_version
17316 # Library versioning type.
17317 version_type=$version_type
17319 # Shared library runtime path variable.
17320 runpath_var=$runpath_var
17322 # Shared library path variable.
17323 shlibpath_var=$shlibpath_var
17325 # Is shlibpath searched before the hard-coded library search path?
17326 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17328 # Format of library name prefix.
17329 libname_spec=$lt_libname_spec
17331 # List of archive names. First name is the real one, the rest are links.
17332 # The last name is the one that the linker finds with -lNAME
17333 library_names_spec=$lt_library_names_spec
17335 # The coded name of the library, if different from the real name.
17336 soname_spec=$lt_soname_spec
17338 # Permission mode override for installation of shared libraries.
17339 install_override_mode=$lt_install_override_mode
17341 # Command to use after installation of a shared archive.
17342 postinstall_cmds=$lt_postinstall_cmds
17344 # Command to use after uninstallation of a shared archive.
17345 postuninstall_cmds=$lt_postuninstall_cmds
17347 # Commands used to finish a libtool library installation in a directory.
17348 finish_cmds=$lt_finish_cmds
17350 # As "finish_cmds", except a single script fragment to be evaled but
17352 finish_eval=$lt_finish_eval
17354 # Whether we should hardcode library paths into libraries.
17355 hardcode_into_libs=$hardcode_into_libs
17357 # Compile-time system search path for libraries.
17358 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17360 # Run-time system search path for libraries.
17361 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17363 # Whether dlopen is supported.
17364 dlopen_support=$enable_dlopen
17366 # Whether dlopen of programs is supported.
17367 dlopen_self=$enable_dlopen_self
17369 # Whether dlopen of statically linked programs is supported.
17370 dlopen_self_static=$enable_dlopen_self_static
17372 # Commands to strip libraries.
17373 old_striplib=$lt_old_striplib
17374 striplib=$lt_striplib
17377 # The linker used to build libraries.
17380 # How to create reloadable object files.
17381 reload_flag=$lt_reload_flag
17382 reload_cmds=$lt_reload_cmds
17384 # Commands used to build an old-style archive.
17385 old_archive_cmds=$lt_old_archive_cmds
17387 # A language specific compiler.
17390 # Is the compiler the GNU compiler?
17393 # Compiler flag to turn off builtin functions.
17394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17396 # Additional compiler flags for building library objects.
17397 pic_flag=$lt_lt_prog_compiler_pic
17399 # How to pass a linker flag through the compiler.
17400 wl=$lt_lt_prog_compiler_wl
17402 # Compiler flag to prevent dynamic linking.
17403 link_static_flag=$lt_lt_prog_compiler_static
17405 # Does compiler simultaneously support -c and -o options?
17406 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17408 # Whether or not to add -lc for building shared libraries.
17409 build_libtool_need_lc=$archive_cmds_need_lc
17411 # Whether or not to disallow shared libs when runtime libs are static.
17412 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17414 # Compiler flag to allow reflexive dlopens.
17415 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17417 # Compiler flag to generate shared objects directly from archives.
17418 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17420 # Whether the compiler copes with passing no objects directly.
17421 compiler_needs_object=$lt_compiler_needs_object
17423 # Create an old-style archive from a shared archive.
17424 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17426 # Create a temporary old-style archive to link instead of a shared archive.
17427 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17429 # Commands used to build a shared archive.
17430 archive_cmds=$lt_archive_cmds
17431 archive_expsym_cmds=$lt_archive_expsym_cmds
17433 # Commands used to build a loadable module if different from building
17434 # a shared archive.
17435 module_cmds=$lt_module_cmds
17436 module_expsym_cmds=$lt_module_expsym_cmds
17438 # Whether we are building with GNU ld or not.
17439 with_gnu_ld=$lt_with_gnu_ld
17441 # Flag that allows shared libraries with undefined symbols to be built.
17442 allow_undefined_flag=$lt_allow_undefined_flag
17444 # Flag that enforces no undefined symbols.
17445 no_undefined_flag=$lt_no_undefined_flag
17447 # Flag to hardcode \$libdir into a binary during linking.
17448 # This must work even if \$libdir does not exist
17449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17451 # If ld is used when linking, flag to hardcode \$libdir into a binary
17452 # during linking. This must work even if \$libdir does not exist.
17453 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17455 # Whether we need a single "-rpath" flag with a separated argument.
17456 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17458 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17459 # DIR into the resulting binary.
17460 hardcode_direct=$hardcode_direct
17462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17463 # DIR into the resulting binary and the resulting library dependency is
17464 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17465 # library is relocated.
17466 hardcode_direct_absolute=$hardcode_direct_absolute
17468 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17469 # into the resulting binary.
17470 hardcode_minus_L=$hardcode_minus_L
17472 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17473 # into the resulting binary.
17474 hardcode_shlibpath_var=$hardcode_shlibpath_var
17476 # Set to "yes" if building a shared library automatically hardcodes DIR
17477 # into the library and all subsequent libraries and executables linked
17479 hardcode_automatic=$hardcode_automatic
17481 # Set to yes if linker adds runtime paths of dependent libraries
17482 # to runtime path list.
17483 inherit_rpath=$inherit_rpath
17485 # Whether libtool must link a program against all its dependency libraries.
17486 link_all_deplibs=$link_all_deplibs
17488 # Set to "yes" if exported symbols are required.
17489 always_export_symbols=$always_export_symbols
17491 # The commands to list exported symbols.
17492 export_symbols_cmds=$lt_export_symbols_cmds
17494 # Symbols that should not be listed in the preloaded symbols.
17495 exclude_expsyms=$lt_exclude_expsyms
17497 # Symbols that must always be exported.
17498 include_expsyms=$lt_include_expsyms
17500 # Commands necessary for linking programs (against libraries) with templates.
17501 prelink_cmds=$lt_prelink_cmds
17503 # Commands necessary for finishing linking programs.
17504 postlink_cmds=$lt_postlink_cmds
17506 # Specify filename containing input files.
17507 file_list_spec=$lt_file_list_spec
17509 # How to hardcode a shared library path into an executable.
17510 hardcode_action=$hardcode_action
17512 # The directories searched by this compiler when creating a shared library.
17513 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17515 # Dependencies to place before and after the objects being linked to
17516 # create a shared library.
17517 predep_objects=$lt_predep_objects
17518 postdep_objects=$lt_postdep_objects
17519 predeps=$lt_predeps
17520 postdeps=$lt_postdeps
17522 # The library search path used internally by the compiler when linking
17523 # a shared library.
17524 compiler_lib_search_path=$lt_compiler_lib_search_path
17526 # ### END LIBTOOL CONFIG
17532 cat <<\_LT_EOF >> "$cfgfile"
17533 # AIX sometimes has problems with the GCC collect2 program. For some
17534 # reason, if we set the COLLECT_NAMES environment variable, the problems
17535 # vanish in a puff of smoke.
17536 if test "X${COLLECT_NAMES+set}" != Xset; then
17538 export COLLECT_NAMES
17545 ltmain="$ac_aux_dir/ltmain.sh"
17548 # We use sed instead of cat because bash on DJGPP gets confused if
17549 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17550 # text mode, it properly converts lines to CR/LF. This bash problem
17551 # is reportedly fixed, but why not run on old versions too?
17552 sed '$q' "$ltmain" >> "$cfgfile" \
17553 || (rm -f "$cfgfile"; exit 1)
17555 if test x"$xsi_shell" = xyes; then
17556 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17560 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17561 \ * ) func_dirname_result="${3}" ;;\
17563 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17564 && mv -f "$cfgfile.tmp" "$cfgfile" \
17565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17566 test 0 -eq $? || _lt_function_replace_fail=:
17569 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17572 \ func_basename_result="${1##*/}"\
17573 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17574 && mv -f "$cfgfile.tmp" "$cfgfile" \
17575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576 test 0 -eq $? || _lt_function_replace_fail=:
17579 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17580 func_dirname_and_basename ()\
17583 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17584 \ * ) func_dirname_result="${3}" ;;\
17586 \ func_basename_result="${1##*/}"\
17587 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17588 && mv -f "$cfgfile.tmp" "$cfgfile" \
17589 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17590 test 0 -eq $? || _lt_function_replace_fail=:
17593 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17596 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17597 \ # positional parameters, so assign one to ordinary parameter first.\
17598 \ func_stripname_result=${3}\
17599 \ func_stripname_result=${func_stripname_result#"${1}"}\
17600 \ func_stripname_result=${func_stripname_result%"${2}"}\
17601 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17602 && mv -f "$cfgfile.tmp" "$cfgfile" \
17603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17604 test 0 -eq $? || _lt_function_replace_fail=:
17607 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17608 func_split_long_opt ()\
17610 \ func_split_long_opt_name=${1%%=*}\
17611 \ func_split_long_opt_arg=${1#*=}\
17612 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17613 && mv -f "$cfgfile.tmp" "$cfgfile" \
17614 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17615 test 0 -eq $? || _lt_function_replace_fail=:
17618 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17619 func_split_short_opt ()\
17621 \ func_split_short_opt_arg=${1#??}\
17622 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17623 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17624 && mv -f "$cfgfile.tmp" "$cfgfile" \
17625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17626 test 0 -eq $? || _lt_function_replace_fail=:
17629 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17633 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17634 \ *) func_lo2o_result=${1} ;;\
17636 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17637 && mv -f "$cfgfile.tmp" "$cfgfile" \
17638 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17639 test 0 -eq $? || _lt_function_replace_fail=:
17642 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17645 func_xform_result=${1%.*}.lo\
17646 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17647 && mv -f "$cfgfile.tmp" "$cfgfile" \
17648 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17649 test 0 -eq $? || _lt_function_replace_fail=:
17652 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17655 func_arith_result=$(( $* ))\
17656 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17657 && mv -f "$cfgfile.tmp" "$cfgfile" \
17658 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17659 test 0 -eq $? || _lt_function_replace_fail=:
17662 sed -e '/^func_len ()$/,/^} # func_len /c\
17665 func_len_result=${#1}\
17666 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17667 && mv -f "$cfgfile.tmp" "$cfgfile" \
17668 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17669 test 0 -eq $? || _lt_function_replace_fail=:
17673 if test x"$lt_shell_append" = xyes; then
17674 sed -e '/^func_append ()$/,/^} # func_append /c\
17677 eval "${1}+=\\${2}"\
17678 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17679 && mv -f "$cfgfile.tmp" "$cfgfile" \
17680 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17681 test 0 -eq $? || _lt_function_replace_fail=:
17684 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17685 func_append_quoted ()\
17687 \ func_quote_for_eval "${2}"\
17688 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17689 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17690 && mv -f "$cfgfile.tmp" "$cfgfile" \
17691 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17692 test 0 -eq $? || _lt_function_replace_fail=:
17695 # Save a `func_append' function call where possible by direct use of '+='
17696 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17697 && mv -f "$cfgfile.tmp" "$cfgfile" \
17698 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17699 test 0 -eq $? || _lt_function_replace_fail=:
17701 # Save a `func_append' function call even when '+=' is not available
17702 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17703 && mv -f "$cfgfile.tmp" "$cfgfile" \
17704 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17705 test 0 -eq $? || _lt_function_replace_fail=:
17708 if test x"$_lt_function_replace_fail" = x":"; then
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17710 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17714 mv -f "$cfgfile" "$ofile" ||
17715 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17719 cat <<_LT_EOF >> "$ofile"
17721 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17723 # The linker used to build libraries.
17726 # How to create reloadable object files.
17727 reload_flag=$lt_reload_flag_CXX
17728 reload_cmds=$lt_reload_cmds_CXX
17730 # Commands used to build an old-style archive.
17731 old_archive_cmds=$lt_old_archive_cmds_CXX
17733 # A language specific compiler.
17734 CC=$lt_compiler_CXX
17736 # Is the compiler the GNU compiler?
17739 # Compiler flag to turn off builtin functions.
17740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17742 # Additional compiler flags for building library objects.
17743 pic_flag=$lt_lt_prog_compiler_pic_CXX
17745 # How to pass a linker flag through the compiler.
17746 wl=$lt_lt_prog_compiler_wl_CXX
17748 # Compiler flag to prevent dynamic linking.
17749 link_static_flag=$lt_lt_prog_compiler_static_CXX
17751 # Does compiler simultaneously support -c and -o options?
17752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17754 # Whether or not to add -lc for building shared libraries.
17755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17757 # Whether or not to disallow shared libs when runtime libs are static.
17758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17760 # Compiler flag to allow reflexive dlopens.
17761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17763 # Compiler flag to generate shared objects directly from archives.
17764 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17766 # Whether the compiler copes with passing no objects directly.
17767 compiler_needs_object=$lt_compiler_needs_object_CXX
17769 # Create an old-style archive from a shared archive.
17770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17772 # Create a temporary old-style archive to link instead of a shared archive.
17773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17775 # Commands used to build a shared archive.
17776 archive_cmds=$lt_archive_cmds_CXX
17777 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17779 # Commands used to build a loadable module if different from building
17780 # a shared archive.
17781 module_cmds=$lt_module_cmds_CXX
17782 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17784 # Whether we are building with GNU ld or not.
17785 with_gnu_ld=$lt_with_gnu_ld_CXX
17787 # Flag that allows shared libraries with undefined symbols to be built.
17788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17790 # Flag that enforces no undefined symbols.
17791 no_undefined_flag=$lt_no_undefined_flag_CXX
17793 # Flag to hardcode \$libdir into a binary during linking.
17794 # This must work even if \$libdir does not exist
17795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17797 # If ld is used when linking, flag to hardcode \$libdir into a binary
17798 # during linking. This must work even if \$libdir does not exist.
17799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17801 # Whether we need a single "-rpath" flag with a separated argument.
17802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17805 # DIR into the resulting binary.
17806 hardcode_direct=$hardcode_direct_CXX
17808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17809 # DIR into the resulting binary and the resulting library dependency is
17810 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17811 # library is relocated.
17812 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17815 # into the resulting binary.
17816 hardcode_minus_L=$hardcode_minus_L_CXX
17818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17819 # into the resulting binary.
17820 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17822 # Set to "yes" if building a shared library automatically hardcodes DIR
17823 # into the library and all subsequent libraries and executables linked
17825 hardcode_automatic=$hardcode_automatic_CXX
17827 # Set to yes if linker adds runtime paths of dependent libraries
17828 # to runtime path list.
17829 inherit_rpath=$inherit_rpath_CXX
17831 # Whether libtool must link a program against all its dependency libraries.
17832 link_all_deplibs=$link_all_deplibs_CXX
17834 # Set to "yes" if exported symbols are required.
17835 always_export_symbols=$always_export_symbols_CXX
17837 # The commands to list exported symbols.
17838 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17840 # Symbols that should not be listed in the preloaded symbols.
17841 exclude_expsyms=$lt_exclude_expsyms_CXX
17843 # Symbols that must always be exported.
17844 include_expsyms=$lt_include_expsyms_CXX
17846 # Commands necessary for linking programs (against libraries) with templates.
17847 prelink_cmds=$lt_prelink_cmds_CXX
17849 # Commands necessary for finishing linking programs.
17850 postlink_cmds=$lt_postlink_cmds_CXX
17852 # Specify filename containing input files.
17853 file_list_spec=$lt_file_list_spec_CXX
17855 # How to hardcode a shared library path into an executable.
17856 hardcode_action=$hardcode_action_CXX
17858 # The directories searched by this compiler when creating a shared library.
17859 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17861 # Dependencies to place before and after the objects being linked to
17862 # create a shared library.
17863 predep_objects=$lt_predep_objects_CXX
17864 postdep_objects=$lt_postdep_objects_CXX
17865 predeps=$lt_predeps_CXX
17866 postdeps=$lt_postdeps_CXX
17868 # The library search path used internally by the compiler when linking
17869 # a shared library.
17870 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17872 # ### END LIBTOOL TAG CONFIG: CXX
17883 ac_clean_files=$ac_clean_files_save
17885 test $ac_write_fail = 0 ||
17886 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17889 # configure is writing to config.log, and then calls config.status.
17890 # config.status does its own redirection, appending to config.log.
17891 # Unfortunately, on DOS this fails, as config.log is still kept open
17892 # by configure, so config.status won't be able to write to it; its
17893 # output is simply discarded. So we exec the FD to /dev/null,
17894 # effectively closing config.log, so it can be properly (re)opened and
17895 # appended to by config.status. When coming back to configure, we
17896 # need to make the FD available again.
17897 if test "$no_create" != yes; then
17899 ac_config_status_args=
17900 test "$silent" = yes &&
17901 ac_config_status_args="$ac_config_status_args --quiet"
17903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17905 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17906 # would make configure fail if this is the last instruction.
17907 $ac_cs_success || as_fn_exit 1
17909 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17911 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}