2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.69 for ACL - Andromeda Class Library 0.1.
5 @%:@ Report bugs to <BUG-REPORT-ADDRESS>.
8 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in @%:@(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in @%:@(
173 set -o posix ;; @%:@(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
225 case $as_dir in @%:@(
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 @%:@ Portably unset VAR.
301 { eval $1=; unset $1;}
305 @%:@ as_fn_set_status STATUS
306 @%:@ -----------------------
307 @%:@ Set @S|@? to STATUS, without forking.
311 } @%:@ as_fn_set_status
313 @%:@ as_fn_exit STATUS
314 @%:@ -----------------
315 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 @%:@ as_fn_executable_p FILE
372 @%:@ -----------------------
373 @%:@ Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } @%:@ as_fn_executable_p
378 @%:@ as_fn_append VAR VALUE
379 @%:@ ----------------------
380 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
381 @%:@ advantage of any shell optimizations that allow amortized linear growth over
382 @%:@ repeated appends, instead of the typical quadratic growth present in naive
383 @%:@ implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
396 @%:@ as_fn_arith ARG...
397 @%:@ ------------------
398 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
399 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
400 @%:@ must be portable across @S|@(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
415 @%:@ ----------------------------------------
416 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 @%:@ script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in @%:@(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='ACL - Andromeda Class Library'
592 PACKAGE_TARNAME='acl---andromeda-class-library'
593 PACKAGE_VERSION='0.1'
594 PACKAGE_STRING='ACL - Andromeda Class Library 0.1'
595 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
598 # Factoring default headers for most tests.
599 ac_includes_default="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_unique_file="src/date.cpp"
635 ac_subst_vars='am__EXEEXT_FALSE
708 INSTALL_STRIP_PROGRAM
751 program_transform_name
764 enable_option_checking
771 enable_dependency_tracking
776 ac_precious_vars='build_alias
792 # Initialize some variables set by options.
794 ac_init_version=false
795 ac_unrecognized_opts=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name=s,x,x,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 runstatedir='${localstatedir}/run'
829 includedir='${prefix}/include'
830 oldincludedir='/usr/include'
831 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir='${datarootdir}/info'
837 libdir='${exec_prefix}/lib'
838 localedir='${datarootdir}/locale'
839 mandir='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\$ac_option
853 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900 as_fn_error $? "invalid feature name: $ac_useropt"
901 ac_useropt_orig=$ac_useropt
902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908 ac_unrecognized_sep=', ';;
910 eval enable_$ac_useropt=no ;;
912 -docdir | --docdir | --docdi | --doc | --do)
914 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
917 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
922 -enable-* | --enable-*)
923 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926 as_fn_error $? "invalid feature name: $ac_useropt"
927 ac_useropt_orig=$ac_useropt
928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934 ac_unrecognized_sep=', ';;
936 eval enable_$ac_useropt=\$ac_optarg ;;
938 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
939 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
940 | --exec | --exe | --ex)
941 ac_prev=exec_prefix ;;
942 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
943 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
944 | --exec=* | --exe=* | --ex=*)
945 exec_prefix=$ac_optarg ;;
947 -gas | --gas | --ga | --g)
948 # Obsolete; use --with-gas.
951 -help | --help | --hel | --he | -h)
953 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
954 ac_init_help=recursive ;;
955 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
956 ac_init_help=short ;;
958 -host | --host | --hos | --ho)
959 ac_prev=host_alias ;;
960 -host=* | --host=* | --hos=* | --ho=*)
961 host_alias=$ac_optarg ;;
963 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
965 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
967 htmldir=$ac_optarg ;;
969 -includedir | --includedir | --includedi | --included | --include \
970 | --includ | --inclu | --incl | --inc)
971 ac_prev=includedir ;;
972 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
973 | --includ=* | --inclu=* | --incl=* | --inc=*)
974 includedir=$ac_optarg ;;
976 -infodir | --infodir | --infodi | --infod | --info | --inf)
978 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
979 infodir=$ac_optarg ;;
981 -libdir | --libdir | --libdi | --libd)
983 -libdir=* | --libdir=* | --libdi=* | --libd=*)
986 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
987 | --libexe | --libex | --libe)
988 ac_prev=libexecdir ;;
989 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
990 | --libexe=* | --libex=* | --libe=*)
991 libexecdir=$ac_optarg ;;
993 -localedir | --localedir | --localedi | --localed | --locale)
995 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
996 localedir=$ac_optarg ;;
998 -localstatedir | --localstatedir | --localstatedi | --localstated \
999 | --localstate | --localstat | --localsta | --localst | --locals)
1000 ac_prev=localstatedir ;;
1001 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1002 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1003 localstatedir=$ac_optarg ;;
1005 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1007 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1008 mandir=$ac_optarg ;;
1010 -nfp | --nfp | --nf)
1011 # Obsolete; use --without-fp.
1014 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1015 | --no-cr | --no-c | -n)
1018 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1019 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1022 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1023 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1024 | --oldin | --oldi | --old | --ol | --o)
1025 ac_prev=oldincludedir ;;
1026 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1027 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1028 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1029 oldincludedir=$ac_optarg ;;
1031 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1033 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1034 prefix=$ac_optarg ;;
1036 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1037 | --program-pre | --program-pr | --program-p)
1038 ac_prev=program_prefix ;;
1039 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1040 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1041 program_prefix=$ac_optarg ;;
1043 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1044 | --program-suf | --program-su | --program-s)
1045 ac_prev=program_suffix ;;
1046 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1047 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1048 program_suffix=$ac_optarg ;;
1050 -program-transform-name | --program-transform-name \
1051 | --program-transform-nam | --program-transform-na \
1052 | --program-transform-n | --program-transform- \
1053 | --program-transform | --program-transfor \
1054 | --program-transfo | --program-transf \
1055 | --program-trans | --program-tran \
1056 | --progr-tra | --program-tr | --program-t)
1057 ac_prev=program_transform_name ;;
1058 -program-transform-name=* | --program-transform-name=* \
1059 | --program-transform-nam=* | --program-transform-na=* \
1060 | --program-transform-n=* | --program-transform-=* \
1061 | --program-transform=* | --program-transfor=* \
1062 | --program-transfo=* | --program-transf=* \
1063 | --program-trans=* | --program-tran=* \
1064 | --progr-tra=* | --program-tr=* | --program-t=*)
1065 program_transform_name=$ac_optarg ;;
1067 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1069 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1070 pdfdir=$ac_optarg ;;
1072 -psdir | --psdir | --psdi | --psd | --ps)
1074 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078 | -silent | --silent | --silen | --sile | --sil)
1081 -runstatedir | --runstatedir | --runstatedi | --runstated \
1082 | --runstate | --runstat | --runsta | --runst | --runs \
1083 | --run | --ru | --r)
1084 ac_prev=runstatedir ;;
1085 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1086 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1087 | --run=* | --ru=* | --r=*)
1088 runstatedir=$ac_optarg ;;
1090 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1092 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1094 sbindir=$ac_optarg ;;
1096 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1097 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1098 | --sharedst | --shareds | --shared | --share | --shar \
1100 ac_prev=sharedstatedir ;;
1101 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1102 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1103 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1105 sharedstatedir=$ac_optarg ;;
1107 -site | --site | --sit)
1109 -site=* | --site=* | --sit=*)
1112 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1114 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1115 srcdir=$ac_optarg ;;
1117 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1118 | --syscon | --sysco | --sysc | --sys | --sy)
1119 ac_prev=sysconfdir ;;
1120 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1121 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1122 sysconfdir=$ac_optarg ;;
1124 -target | --target | --targe | --targ | --tar | --ta | --t)
1125 ac_prev=target_alias ;;
1126 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1127 target_alias=$ac_optarg ;;
1129 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1132 -version | --version | --versio | --versi | --vers | -V)
1133 ac_init_version=: ;;
1136 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139 as_fn_error $? "invalid package name: $ac_useropt"
1140 ac_useropt_orig=$ac_useropt
1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep=', ';;
1149 eval with_$ac_useropt=\$ac_optarg ;;
1151 -without-* | --without-*)
1152 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 as_fn_error $? "invalid package name: $ac_useropt"
1156 ac_useropt_orig=$ac_useropt
1157 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep=', ';;
1165 eval with_$ac_useropt=no ;;
1168 # Obsolete; use --with-x.
1171 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1172 | --x-incl | --x-inc | --x-in | --x-i)
1173 ac_prev=x_includes ;;
1174 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1175 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1176 x_includes=$ac_optarg ;;
1178 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1179 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1180 ac_prev=x_libraries ;;
1181 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1182 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1183 x_libraries=$ac_optarg ;;
1185 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' | [0-9]* | *[!_$as_cr_alnum]* )
1194 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $? "missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir runstatedir
1229 eval ac_val=\$$ac_var
1230 # Remove trailing slashes.
1233 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$]* | ?:[\\/]* ) continue;;
1239 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1241 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x; then
1253 if test "x$build_alias" = x; then
1254 cross_compiling=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263 test "$silent" = yes && exec 6>/dev/null
1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di=`ls -di .` &&
1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $? "working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $? "pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1310 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var in $ac_precious_vars; do
1327 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_${ac_var}_value=\$${ac_var}
1329 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures ACL - Andromeda Class Library 0.1 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 @<:@@S|@ac_default_prefix@:>@
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root
1390 @<:@DATAROOTDIR/doc/acl---andromeda-class-library@:>@
1391 --htmldir=DIR html documentation [DOCDIR]
1392 --dvidir=DIR dvi documentation [DOCDIR]
1393 --pdfdir=DIR pdf documentation [DOCDIR]
1394 --psdir=DIR ps documentation [DOCDIR]
1400 --program-prefix=PREFIX prepend PREFIX to installed program names
1401 --program-suffix=SUFFIX append SUFFIX to installed program names
1402 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1405 --build=BUILD configure for building on BUILD [guessed]
1406 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1410 if test -n "$ac_init_help"; then
1411 case $ac_init_help in
1412 short | recursive ) echo "Configuration of ACL - Andromeda Class Library 0.1:";;
1417 --disable-option-checking ignore unrecognized --enable/--with options
1418 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1419 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1420 --enable-silent-rules less verbose build output (undo: "make V=1")
1421 --disable-silent-rules verbose build output (undo: "make V=0")
1422 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1423 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1424 --enable-fast-install@<:@=PKGS@:>@
1425 optimize for fast installation @<:@default=yes@:>@
1426 --enable-dependency-tracking
1427 do not reject slow dependency extractors
1428 --disable-dependency-tracking
1429 speeds up one-time build
1430 --disable-libtool-lock avoid locking (might break parallel builds)
1433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1435 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1437 --with-aix-soname=aix|svr4|both
1438 shared library versioning (aka "SONAME") variant to
1439 provide on AIX, @<:@default=aix@:>@.
1440 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1441 --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
1442 compiler's sysroot if not specified).
1444 Some influential environment variables:
1445 CC C compiler command
1446 CFLAGS C compiler flags
1447 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1448 nonstandard directory <lib dir>
1449 LIBS libraries to pass to the linker, e.g. -l<library>
1450 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1451 you have headers in a nonstandard directory <include dir>
1453 User-defined run-time library search path.
1455 CXX C++ compiler command
1456 CXXFLAGS C++ compiler flags
1457 CXXCPP C++ preprocessor
1459 Use these variables to override the choices made by `configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1462 Report bugs to <BUG-REPORT-ADDRESS>.
1467 if test "$ac_init_help" = "recursive"; then
1468 # If there are subdirs, report their specific --help.
1469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470 test -d "$ac_dir" ||
1471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1492 .) # We are building in place.
1494 ac_top_srcdir=$ac_top_builddir_sub
1495 ac_abs_top_srcdir=$ac_pwd ;;
1496 [\\/]* | ?:[\\/]* ) # Absolute name.
1497 ac_srcdir=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir=$srcdir
1499 ac_abs_top_srcdir=$srcdir ;;
1501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" || { ac_status=$?; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" || { ac_status=$?; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1525 ACL - Andromeda Class Library configure 0.1
1526 generated by GNU Autoconf 2.69
1528 Copyright (C) 2012 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1539 @%:@ ac_fn_c_try_compile LINENO
1540 @%:@ --------------------------
1541 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext
1546 if { { ac_try="$ac_compile"
1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573 as_fn_set_status $ac_retval
1575 } @%:@ ac_fn_c_try_compile
1577 @%:@ ac_fn_c_try_link LINENO
1578 @%:@ -----------------------
1579 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext conftest$ac_exeext
1584 if { { ac_try="$ac_link"
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_link") 2>conftest.err
1593 if test -s conftest.err; then
1594 grep -v '^ *+' conftest.err >conftest.er1
1595 cat conftest.er1 >&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest$ac_exeext && {
1603 test "$cross_compiling" = yes ||
1604 test -x conftest$ac_exeext
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.$ac_ext >&5
1613 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1614 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1615 # interfere with the next link command; also delete a directory that is
1616 # left behind by Apple's compiler. We do this before executing the actions.
1617 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_status $ac_retval
1621 } @%:@ ac_fn_c_try_link
1623 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1624 @%:@ -------------------------------------------------------
1625 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1626 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1627 ac_fn_c_check_header_compile ()
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if eval \${$3+:} false; then :
1633 $as_echo_n "(cached) " >&6
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 } @%:@ ac_fn_c_check_header_compile
1654 @%:@ ac_fn_c_try_cpp LINENO
1655 @%:@ ----------------------
1656 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { { ac_try="$ac_cpp conftest.$ac_ext"
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } > conftest.i && {
1676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 as_fn_set_status $ac_retval
1689 } @%:@ ac_fn_c_try_cpp
1691 @%:@ ac_fn_c_try_run LINENO
1692 @%:@ ----------------------
1693 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1694 @%:@ that executables *can* be run.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status $ac_retval
1731 } @%:@ ac_fn_c_try_run
1733 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1734 @%:@ ----------------------------------
1735 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1736 ac_fn_c_check_func ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1746 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1748 #define $2 innocuous_$2
1750 /* System header to define __stub macros and hopefully few prototypes,
1751 which can conflict with char $2 (); below.
1752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1753 <limits.h> exists even on freestanding compilers. */
1756 # include <limits.h>
1758 # include <assert.h>
1763 /* Override any GCC internal prototype to avoid an error.
1764 Use char because int might match the return type of a GCC
1765 builtin and then its argument prototype would still apply. */
1770 /* The GNU C library defines this for functions which it implements
1771 to always fail with ENOSYS. Some functions are actually named
1772 something starting with __ and the normal name is an alias. */
1773 #if defined __stub_$2 || defined __stub___$2
1785 if ac_fn_c_try_link "$LINENO"; then :
1790 rm -f core conftest.err conftest.$ac_objext \
1791 conftest$ac_exeext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 } @%:@ ac_fn_c_check_func
1800 @%:@ ac_fn_cxx_try_compile LINENO
1801 @%:@ ----------------------------
1802 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext
1807 if { { ac_try="$ac_compile"
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_compile") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_cxx_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest.$ac_objext; then :
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status $ac_retval
1836 } @%:@ ac_fn_cxx_try_compile
1838 @%:@ ac_fn_cxx_try_cpp LINENO
1839 @%:@ ------------------------
1840 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1841 ac_fn_cxx_try_cpp ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_cpp conftest.$ac_ext"
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } > conftest.i && {
1860 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1861 test ! -s conftest.err
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1873 } @%:@ ac_fn_cxx_try_cpp
1875 @%:@ ac_fn_cxx_try_link LINENO
1876 @%:@ -------------------------
1877 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1878 ac_fn_cxx_try_link ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 rm -f conftest.$ac_objext conftest$ac_exeext
1882 if { { ac_try="$ac_link"
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>conftest.err
1891 if test -s conftest.err; then
1892 grep -v '^ *+' conftest.err >conftest.er1
1893 cat conftest.er1 >&5
1894 mv -f conftest.er1 conftest.err
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } && {
1898 test -z "$ac_cxx_werror_flag" ||
1899 test ! -s conftest.err
1900 } && test -s conftest$ac_exeext && {
1901 test "$cross_compiling" = yes ||
1902 test -x conftest$ac_exeext
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1911 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1912 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1913 # interfere with the next link command; also delete a directory that is
1914 # left behind by Apple's compiler. We do this before executing the actions.
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status $ac_retval
1919 } @%:@ ac_fn_cxx_try_link
1921 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1922 @%:@ -------------------------------------------
1923 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1924 @%:@ variable VAR accordingly.
1925 ac_fn_c_check_type ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \${$3+:} false; then :
1931 $as_echo_n "(cached) " >&6
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1946 if ac_fn_c_try_compile "$LINENO"; then :
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1959 if ac_fn_c_try_compile "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 } @%:@ ac_fn_c_check_type
1975 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 @%:@ -------------------------------------------------------
1977 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 @%:@ the include files in INCLUDES and setting the cache variable VAR
1980 ac_fn_c_check_header_mongrel ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if eval \${$3+:} false; then :
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1993 # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_header_compiler=yes
2004 ac_header_compiler=no
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2017 if ac_fn_c_try_cpp "$LINENO"; then :
2018 ac_header_preproc=yes
2020 ac_header_preproc=no
2022 rm -f conftest.err conftest.i conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2026 # So? What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 ( $as_echo "## --------------------------------- ##
2046 ## Report this to BUG-REPORT-ADDRESS ##
2047 ## --------------------------------- ##"
2048 ) | sed "s/^/$as_me: WARNING: /" >&2
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054 $as_echo_n "(cached) " >&6
2056 eval "$3=\$ac_header_compiler"
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 } @%:@ ac_fn_c_check_header_mongrel
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by ACL - Andromeda Class Library $as_me 0.1, which was
2070 generated by GNU Autoconf 2.69. Invocation command line was
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 $as_echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146 as_fn_append ac_configure_args1 " '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next=true ;;
2162 as_fn_append ac_configure_args " '$ac_arg'"
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2180 $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2202 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2231 $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2235 for ac_var in $ac_subst_files
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 $as_echo "$ac_var='\''$ac_val'\''"
2246 if test -s confdefs.h; then
2247 $as_echo "## ----------- ##
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2270 $as_echo "/* confdefs.h */" > confdefs.h
2272 # Predefined preprocessor variables.
2274 cat >>confdefs.h <<_ACEOF
2275 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2278 cat >>confdefs.h <<_ACEOF
2279 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282 cat >>confdefs.h <<_ACEOF
2283 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2286 cat >>confdefs.h <<_ACEOF
2287 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2290 cat >>confdefs.h <<_ACEOF
2291 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294 cat >>confdefs.h <<_ACEOF
2295 @%:@define PACKAGE_URL "$PACKAGE_URL"
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in @%:@((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2310 elif test "x$prefix" != xNONE; then
2311 ac_site_file1=$prefix/share/config.site
2312 ac_site_file2=$prefix/etc/config.site
2314 ac_site_file1=$ac_default_prefix/share/config.site
2315 ac_site_file2=$ac_default_prefix/etc/config.site
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319 test "x$ac_site_file" = xNONE && continue
2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site script $ac_site_file
2328 See \`config.log' for more details" "$LINENO" 5; }
2332 if test -r "$cache_file"; then
2333 # Some versions of bash will fail to source /dev/null (special files
2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340 *) . "./$cache_file";;
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2349 # Check that the precious variables saved in the cache have kept the same
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354 eval ac_new_set=\$ac_env_${ac_var}_set
2355 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356 eval ac_new_val=\$ac_env_${ac_var}_value
2357 case $ac_old_set,$ac_new_set in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2368 if test "x$ac_old_val" != "x$ac_new_val"; then
2369 # differences in whitespace do not lead to failure.
2370 ac_old_val_w=`echo x $ac_old_val`
2371 ac_new_val_w=`echo x $ac_new_val`
2372 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375 ac_cache_corrupted=:
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379 eval $ac_var=\$ac_old_val
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2382 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417 am__api_version='1.15'
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421 if test -f "$ac_dir/install-sh"; then
2423 ac_install_sh="$ac_aux_dir/install-sh -c"
2425 elif test -f "$ac_dir/install.sh"; then
2427 ac_install_sh="$ac_aux_dir/install.sh -c"
2429 elif test -f "$ac_dir/shtool"; then
2431 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 if test -z "$ac_aux_dir"; then
2436 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in @%:@((
2475 ./ | .// | /[cC]/* | \
2476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2483 for ac_prog in ginstall scoinst install; do
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2486 if test $ac_prog = install &&
2487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2490 elif test $ac_prog = install &&
2491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one > conftest.one
2497 echo two > conftest.two
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500 test -s conftest.one && test -s conftest.two &&
2501 test -s conftest.dir/conftest.one &&
2502 test -s conftest.dir/conftest.two
2504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2517 rm -rf conftest.one conftest.two conftest.dir
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL=$ac_cv_path_install
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL=$ac_install_sh
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Reject unsafe characters in $srcdir or the absolute working directory
2544 # name. Accept space and tab only in the latter.
2548 *[\\\"\#\$\&\'\`$am_lf]*)
2549 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2552 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2553 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2556 # Do 'set' in a subshell so we don't clobber the current shell's
2557 # arguments. Must try -L first in case configure is actually a
2558 # symlink; some systems play weird games with the mod time of symlinks
2559 # (eg FreeBSD returns the mod time of the symlink's containing
2563 for am_try in 1 2; do
2564 echo "timestamp, slept: $am_has_slept" > conftest.file
2565 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566 if test "$*" = "X"; then
2568 set X `ls -t "$srcdir/configure" conftest.file`
2570 if test "$*" != "X $srcdir/configure conftest.file" \
2571 && test "$*" != "X conftest.file $srcdir/configure"; then
2573 # If neither matched, then we have a broken ls. This can happen
2574 # if, for instance, CONFIG_SHELL is bash and it inherits a
2575 # broken ls alias from the environment. This has actually
2576 # happened. Such a system could not be considered "sane".
2577 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2578 alias in your environment" "$LINENO" 5
2580 if test "$2" = conftest.file || test $am_try -eq 2; then
2587 test "$2" = conftest.file
2593 as_fn_error $? "newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 # If we didn't sleep, we still need to ensure time stamps of config.status and
2599 # generated files are strictly newer.
2601 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2608 test "$program_prefix" != NONE &&
2609 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE &&
2612 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618 # Expand $ac_aux_dir to an absolute path.
2619 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2621 if test x"${MISSING+set}" != xset; then
2624 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --is-lightweight"; then
2631 am_missing_run="$MISSING "
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2638 if test x"${install_sh+set}" != xset; then
2641 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2643 install_sh="\${SHELL} $am_aux_dir/install-sh"
2647 # Installed binaries are usually stripped using 'strip' when the user
2648 # run "make install-strip". However 'strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the 'STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no; then
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$STRIP"; then
2661 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 STRIP=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2691 if test -z "$ac_cv_prog_STRIP"; then
2693 # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$ac_ct_STRIP"; then
2701 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_ac_ct_STRIP="strip"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2729 if test "x$ac_ct_STRIP" = x; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2741 STRIP="$ac_cv_prog_STRIP"
2745 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750 if ${ac_cv_path_mkdir+:} false; then :
2751 $as_echo_n "(cached) " >&6
2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2757 test -z "$as_dir" && as_dir=.
2758 for ac_prog in mkdir gmkdir; do
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2761 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762 'mkdir (GNU coreutils) '* | \
2763 'mkdir (coreutils) '* | \
2764 'mkdir (fileutils) '4.1*)
2765 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2775 test -d ./--version && rmdir ./--version
2776 if test "${ac_cv_path_mkdir+set}" = set; then
2777 MKDIR_P="$ac_cv_path_mkdir -p"
2779 # As a last resort, use the slow shell script. Don't cache a
2780 # value for MKDIR_P within a source directory, because that will
2781 # break other packages using the cache if that directory is
2782 # removed, or if the value is a relative name.
2783 MKDIR_P="$ac_install_sh -d"
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2789 for ac_prog in gawk mawk nawk awk
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_AWK+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$AWK"; then
2799 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_AWK="$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$AWK"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$AWK" && break
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2834 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 cat >conftest.make <<\_ACEOF
2841 @echo '@@@%%%=$(MAKE)=@@@%%%'
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2846 eval ac_cv_prog_make_${ac_make}_set=yes;;
2848 eval ac_cv_prog_make_${ac_make}_set=no;;
2852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859 SET_MAKE="MAKE=${MAKE-make}"
2862 rm -rf .tst 2>/dev/null
2863 mkdir .tst 2>/dev/null
2864 if test -d .tst; then
2869 rmdir .tst 2>/dev/null
2871 @%:@ Check whether --enable-silent-rules was given.
2872 if test "${enable_silent_rules+set}" = set; then :
2873 enableval=$enable_silent_rules;
2876 case $enable_silent_rules in @%:@ (((
2877 yes) AM_DEFAULT_VERBOSITY=0;;
2878 no) AM_DEFAULT_VERBOSITY=1;;
2879 *) AM_DEFAULT_VERBOSITY=1;;
2881 am_make=${MAKE-make}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2883 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2884 if ${am_cv_make_support_nested_variables+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if $as_echo 'TRUE=$(BAR$(V))
2893 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2894 am_cv_make_support_nested_variables=yes
2896 am_cv_make_support_nested_variables=no
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2900 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2901 if test $am_cv_make_support_nested_variables = yes; then
2903 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2905 AM_V=$AM_DEFAULT_VERBOSITY
2906 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912 # is not polluted with repeated "-I."
2913 am__isrc=' -I$(srcdir)'
2914 # test to see if srcdir already configured
2915 if test -f $srcdir/config.status; then
2916 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922 if (cygpath --version) >/dev/null 2>/dev/null; then
2923 CYGPATH_W='cygpath -w'
2930 # Define the identity of the package.
2931 PACKAGE='acl---andromeda-class-library'
2935 cat >>confdefs.h <<_ACEOF
2936 @%:@define PACKAGE "$PACKAGE"
2940 cat >>confdefs.h <<_ACEOF
2941 @%:@define VERSION "$VERSION"
2944 # Some tools Automake needs.
2946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960 # For better backward compatibility. To be removed once Automake 1.9.x
2961 # dies out for good. For more background, see:
2962 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2964 mkdir_p='$(MKDIR_P)'
2966 # We need awk for the "check" target (and possibly the TAP driver). The
2967 # system "awk" is bad on some platforms.
2968 # Always define AMTAR for backward compatibility. Yes, it's still used
2969 # in the wild :-( We should find a proper way to deprecate it ...
2973 # We'll loop over all known methods to create a tar archive until one works.
2974 _am_tools='gnutar pax cpio none'
2976 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2983 # POSIX will say in a future version that running "rm -f" with no argument
2984 # is OK; and we want to be able to make that assumption in our Makefile
2985 # recipes. So use an aggressive probe to check that the usage we want is
2986 # actually supported "in the wild" to an acceptable degree.
2987 # See automake bug#10828.
2988 # To make any issue more visible, cause the running configure to be aborted
2989 # by default if the 'rm' program in use doesn't match our expectations; the
2990 # user can still override this though.
2991 if rm -f && rm -fr && rm -rf; then : OK; else
2995 Your 'rm' program seems unable to run without file operands specified
2996 on the command line, even when the '-f' option is present. This is contrary
2997 to the behaviour of most rm programs out there, and not conforming with
2998 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3000 Please tell bug-automake@gnu.org about your system, including the value
3001 of your $PATH and any error possibly output before this message. This
3002 can help us improve future automake versions.
3005 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3006 echo 'Configuration will proceed anyway, since you have set the' >&2
3007 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3011 Aborting the configuration process, to ensure you take notice of the issue.
3013 You can download and install GNU coreutils to get an 'rm' implementation
3014 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3016 If you want to complete the configuration process using your problematic
3017 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3018 to "yes", and re-run configure.
3021 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3028 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3033 macro_version='2.4.6'
3034 macro_revision='2.4.6'
3048 ltmain=$ac_aux_dir/ltmain.sh
3050 # Make sure we can run config.sub.
3051 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3052 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3055 $as_echo_n "checking build system type... " >&6; }
3056 if ${ac_cv_build+:} false; then :
3057 $as_echo_n "(cached) " >&6
3059 ac_build_alias=$build_alias
3060 test "x$ac_build_alias" = x &&
3061 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3062 test "x$ac_build_alias" = x &&
3063 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3064 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3065 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3069 $as_echo "$ac_cv_build" >&6; }
3070 case $ac_cv_build in
3072 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3075 ac_save_IFS=$IFS; IFS='-'
3081 # Remember, the first character of IFS is used to create $*,
3082 # except with old shells:
3085 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3089 $as_echo_n "checking host system type... " >&6; }
3090 if ${ac_cv_host+:} false; then :
3091 $as_echo_n "(cached) " >&6
3093 if test "x$host_alias" = x; then
3094 ac_cv_host=$ac_cv_build
3096 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3097 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3102 $as_echo "$ac_cv_host" >&6; }
3105 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3108 ac_save_IFS=$IFS; IFS='-'
3114 # Remember, the first character of IFS is used to create $*,
3115 # except with old shells:
3118 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3121 # Backslashify metacharacters that are still active within
3122 # double-quoted strings.
3123 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3125 # Same as above, but do not quote variable references.
3126 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3128 # Sed substitution to delay expansion of an escaped shell variable in a
3129 # double_quote_subst'ed string.
3130 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3132 # Sed substitution to delay expansion of an escaped single quote.
3133 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3135 # Sed substitution to avoid accidental globbing in evaled expressions
3136 no_glob_subst='s/\*/\\\*/g'
3138 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3139 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3140 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3143 $as_echo_n "checking how to print strings... " >&6; }
3144 # Test print first, because it will be a builtin if present.
3145 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3146 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3148 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3151 # Use this function as a fallback that always works.
3152 func_fallback_echo ()
3154 eval 'cat <<_LTECHO_EOF
3158 ECHO='func_fallback_echo'
3161 # func_echo_all arg...
3162 # Invoke $ECHO with all args, space-separated.
3169 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3170 $as_echo "printf" >&6; } ;;
3171 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3172 $as_echo "print -r" >&6; } ;;
3173 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3174 $as_echo "cat" >&6; } ;;
3190 DEPDIR="${am__leading_dot}deps"
3192 ac_config_commands="$ac_config_commands depfiles"
3195 am_make=${MAKE-make}
3196 cat > confinc << 'END'
3198 @echo this is the am__doit target
3201 # If we don't find an include directive, just comment out the code.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3203 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3207 # First try GNU make style include.
3208 echo "include confinc" > confmf
3209 # Ignore all kinds of additional output from 'make'.
3210 case `$am_make -s -f confmf 2> /dev/null` in #(
3211 *the\ am__doit\ target*)
3217 # Now try BSD make style include.
3218 if test "$am__include" = "#"; then
3219 echo '.include "confinc"' > confmf
3220 case `$am_make -s -f confmf 2> /dev/null` in #(
3221 *the\ am__doit\ target*)
3222 am__include=.include
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3231 $as_echo "$_am_result" >&6; }
3232 rm -f confinc confmf
3234 @%:@ Check whether --enable-dependency-tracking was given.
3235 if test "${enable_dependency_tracking+set}" = set; then :
3236 enableval=$enable_dependency_tracking;
3239 if test "x$enable_dependency_tracking" != xno; then
3240 am_depcomp="$ac_aux_dir/depcomp"
3244 if test "x$enable_dependency_tracking" != xno; then
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if ${ac_cv_prog_CC+:} false; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$CC"; then
3267 ac_cv_prog_CC="$CC" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3276 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 if test -n "$CC"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3289 $as_echo "$CC" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_CC"; then
3299 # Extract the first word of "gcc", so it can be a program name with args.
3300 set dummy gcc; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$ac_ct_CC"; then
3307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_ac_ct_CC="gcc"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3327 if test -n "$ac_ct_CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3329 $as_echo "$ac_ct_CC" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_CC" = x; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3350 if test -z "$CC"; then
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}cc; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_CC+:} false; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC="$CC" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_CC="${ac_tool_prefix}cc"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3391 if test -z "$CC"; then
3392 # Extract the first word of "cc", so it can be a program name with args.
3393 set dummy cc; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_CC+:} false; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$CC"; then
3400 ac_cv_prog_CC="$CC" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3411 ac_prog_rejected=yes
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 if test $ac_prog_rejected = yes; then
3423 # We found a bogon in the path, so make sure we never use it.
3424 set dummy $ac_cv_prog_CC
3426 if test $@%:@ != 0; then
3427 # We chose a different compiler from the bogus one.
3428 # However, it has the same basename, so the bogon will be chosen
3429 # first if we set CC to just the basename; use the full file name.
3431 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3437 if test -n "$CC"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 $as_echo "$CC" >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3447 if test -z "$CC"; then
3448 if test -n "$ac_tool_prefix"; then
3449 for ac_prog in cl.exe
3451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454 $as_echo_n "checking for $ac_word... " >&6; }
3455 if ${ac_cv_prog_CC+:} false; then :
3456 $as_echo_n "(cached) " >&6
3458 if test -n "$CC"; then
3459 ac_cv_prog_CC="$CC" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 if test -n "$CC"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3481 $as_echo "$CC" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3488 test -n "$CC" && break
3491 if test -z "$CC"; then
3493 for ac_prog in cl.exe
3495 # Extract the first word of "$ac_prog", so it can be a program name with args.
3496 set dummy $ac_prog; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$ac_ct_CC"; then
3503 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_ac_ct_CC="$ac_prog"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3523 if test -n "$ac_ct_CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3525 $as_echo "$ac_ct_CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3532 test -n "$ac_ct_CC" && break
3535 if test "x$ac_ct_CC" = x; then
3538 case $cross_compiling:$ac_tool_warned in
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3542 ac_tool_warned=yes ;;
3551 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error $? "no acceptable C compiler found in \$PATH
3554 See \`config.log' for more details" "$LINENO" 5; }
3556 # Provide some information about the compiler.
3557 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3560 for ac_option in --version -v -V -qversion; do
3561 { { ac_try="$ac_compiler $ac_option >&5"
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3570 if test -s conftest.err; then
3572 ... rest of stderr output deleted ...
3573 10q' conftest.err >conftest.er1
3574 cat conftest.er1 >&5
3576 rm -f conftest.er1 conftest.err
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 ac_clean_files_save=$ac_clean_files
3593 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3594 # Try to create an executable without -o first, disregard a.out.
3595 # It will help us diagnose broken compilers, and finding out an intuition
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3598 $as_echo_n "checking whether the C compiler works... " >&6; }
3599 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3601 # The possible output files:
3602 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3605 for ac_file in $ac_files
3608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3609 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3614 if { { ac_try="$ac_link_default"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link_default") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; then :
3625 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3626 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3627 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3628 # so that the user can short-circuit this test for compilers unknown to
3630 for ac_file in $ac_files ''
3632 test -f "$ac_file" || continue
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3637 # We found the default executable, but exeext='' is most
3641 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3643 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3645 # We set ac_cv_exeext here because the later test for it is not
3646 # safe: cross compilers may not add the suffix if given an `-o'
3647 # argument, so we may need to know it at that point already.
3648 # Even if this section looks crufty: it has the advantage of
3655 test "$ac_cv_exeext" = no && ac_cv_exeext=
3660 if test -z "$ac_file"; then :
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3663 $as_echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error 77 "C compiler cannot create executables
3669 See \`config.log' for more details" "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3672 $as_echo "yes" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3675 $as_echo_n "checking for C compiler default output file name... " >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3677 $as_echo "$ac_file" >&6; }
3678 ac_exeext=$ac_cv_exeext
3680 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3683 $as_echo_n "checking for suffix of executables... " >&6; }
3684 if { { ac_try="$ac_link"
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_link") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; then :
3695 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3696 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3697 # work properly (i.e., refer to `conftest.exe'), while it won't with
3699 for ac_file in conftest.exe conftest conftest.*; do
3700 test -f "$ac_file" || continue
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3703 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3712 See \`config.log' for more details" "$LINENO" 5; }
3714 rm -f conftest conftest$ac_cv_exeext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3716 $as_echo "$ac_cv_exeext" >&6; }
3718 rm -f conftest.$ac_ext
3719 EXEEXT=$ac_cv_exeext
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3723 @%:@include <stdio.h>
3727 FILE *f = fopen ("conftest.out", "w");
3728 return ferror (f) || fclose (f) != 0;
3734 ac_clean_files="$ac_clean_files conftest.out"
3735 # Check that the compiler produces executables we can run. If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 if test "$cross_compiling" != yes; then
3740 { { ac_try="$ac_link"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746 $as_echo "$ac_try_echo"; } >&5
3747 (eval "$ac_link") 2>&5
3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750 test $ac_status = 0; }
3751 if { ac_try='./conftest$ac_cv_exeext'
3752 { { case "(($ac_try" in
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758 (eval "$ac_try") 2>&5
3760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3761 test $ac_status = 0; }; }; then
3764 if test "$cross_compiling" = maybe; then
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error $? "cannot run C compiled programs.
3770 If you meant to cross compile, use \`--host'.
3771 See \`config.log' for more details" "$LINENO" 5; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3776 $as_echo "$cross_compiling" >&6; }
3778 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3779 ac_clean_files=$ac_clean_files_save
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3781 $as_echo_n "checking for suffix of object files... " >&6; }
3782 if ${ac_cv_objext+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3796 rm -f conftest.o conftest.obj
3797 if { { ac_try="$ac_compile"
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804 (eval "$ac_compile") 2>&5
3806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807 test $ac_status = 0; }; then :
3808 for ac_file in conftest.o conftest.obj conftest.*; do
3809 test -f "$ac_file" || continue;
3811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3812 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3817 $as_echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 as_fn_error $? "cannot compute suffix of object files: cannot compile
3823 See \`config.log' for more details" "$LINENO" 5; }
3825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3828 $as_echo "$ac_cv_objext" >&6; }
3829 OBJEXT=$ac_cv_objext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3832 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3833 if ${ac_cv_c_compiler_gnu+:} false; then :
3834 $as_echo_n "(cached) " >&6
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3850 if ac_fn_c_try_compile "$LINENO"; then :
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3860 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3861 if test $ac_compiler_gnu = yes; then
3866 ac_test_CFLAGS=${CFLAGS+set}
3867 ac_save_CFLAGS=$CFLAGS
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3869 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3870 if ${ac_cv_prog_cc_g+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 ac_save_c_werror_flag=$ac_c_werror_flag
3874 ac_c_werror_flag=yes
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3888 if ac_fn_c_try_compile "$LINENO"; then :
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_c_werror_flag=$ac_save_c_werror_flag
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 if ac_fn_c_try_compile "$LINENO"; then :
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 ac_c_werror_flag=$ac_save_c_werror_flag
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3930 $as_echo "$ac_cv_prog_cc_g" >&6; }
3931 if test "$ac_test_CFLAGS" = set; then
3932 CFLAGS=$ac_save_CFLAGS
3933 elif test $ac_cv_prog_cc_g = yes; then
3934 if test "$GCC" = yes; then
3940 if test "$GCC" = yes; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3947 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3948 if ${ac_cv_prog_cc_c89+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_cv_prog_cc_c89=no
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3958 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3959 struct buf { int x; };
3960 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3961 static char *e (p, i)
3967 static char *f (char * (*g) (char **, int), char **p, ...)
3972 s = g (p, va_arg (v,int));
3977 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3978 function prototypes and stuff, but not '\xHH' hex character constants.
3979 These don't provoke an error unfortunately, instead are silently treated
3980 as 'x'. The following induces an error, until -std is added to get
3981 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3982 array size at least. It's necessary to write '\x00'==0 to get something
3983 that's true only with -std. */
3984 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3986 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3987 inside strings and character constants. */
3989 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3991 int test (int i, double x);
3992 struct s1 {int (*f) (int a);};
3993 struct s2 {int (*f) (double a);};
3994 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4000 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4005 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4006 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4008 CC="$ac_save_CC $ac_arg"
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 ac_cv_prog_cc_c89=$ac_arg
4012 rm -f core conftest.err conftest.$ac_objext
4013 test "x$ac_cv_prog_cc_c89" != "xno" && break
4015 rm -f conftest.$ac_ext
4020 case "x$ac_cv_prog_cc_c89" in
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4023 $as_echo "none needed" >&6; } ;;
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4026 $as_echo "unsupported" >&6; } ;;
4028 CC="$CC $ac_cv_prog_cc_c89"
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4030 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4032 if test "x$ac_cv_prog_cc_c89" != xno; then :
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 ac_cpp='$CPP $CPPFLAGS'
4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4048 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4049 if ${am_cv_prog_cc_c_o+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4063 # Make sure it works both with $CC and with simple cc.
4064 # Following AC_PROG_CC_C_O, we do the test twice because some
4065 # compilers refuse to overwrite an existing .o file with -o,
4066 # though they will create one.
4067 am_cv_prog_cc_c_o=yes
4069 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4070 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); } \
4074 && test -f conftest2.$ac_objext; then
4077 am_cv_prog_cc_c_o=no
4081 rm -f core conftest*
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4085 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4086 if test "$am_cv_prog_cc_c_o" != yes; then
4087 # Losing compiler, so override with the script.
4088 # FIXME: It is wrong to rewrite CC.
4089 # But if we don't then we get into trouble of one sort or another.
4090 # A longer-term fix would be to have automake use am__CC in this case,
4091 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4092 CC="$am_aux_dir/compile $CC"
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101 depcc="$CC" am_compiler_list=
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4104 $as_echo_n "checking dependency style of $depcc... " >&6; }
4105 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4109 # We make a subdir and do the tests there. Otherwise we can end up
4110 # making bogus files that we don't know about and never remove. For
4111 # instance it was reported that on HP-UX the gcc test will end up
4112 # making a dummy file named 'D' -- because '-MD' means "put the output
4116 # Copy depcomp to subdir because otherwise we won't find it if we're
4117 # using a relative directory.
4118 cp "$am_depcomp" conftest.dir
4120 # We will build objects and dependencies in a subdirectory because
4121 # it helps to detect inapplicable dependency modes. For instance
4122 # both Tru64's cc and ICC support -MD to output dependencies as a
4123 # side effect of compilation, but ICC will put the dependencies in
4124 # the current directory while Tru64 will put them in the object
4128 am_cv_CC_dependencies_compiler_type=none
4129 if test "$am_compiler_list" = ""; then
4130 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4133 case " $depcc " in #(
4134 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4137 for depmode in $am_compiler_list; do
4138 # Setup a source with many dependencies, because some compilers
4139 # like to wrap large dependency lists on column 80 (with \), and
4140 # we should not choose a depcomp mode which is confused by this.
4142 # We need to recreate these files for each test, as the compiler may
4143 # overwrite some of them when testing with obscure command lines.
4144 # This happens at least with the AIX C compiler.
4146 for i in 1 2 3 4 5 6; do
4147 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4148 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4149 # Solaris 10 /bin/sh.
4150 echo '/* dummy */' > sub/conftst$i.h
4152 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4154 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4155 # mode. It turns out that the SunPro C++ compiler does not properly
4156 # handle '-M -o', and we need to detect this. Also, some Intel
4157 # versions had trouble with output in subdirs.
4158 am__obj=sub/conftest.${OBJEXT-o}
4159 am__minus_obj="-o $am__obj"
4162 # This depmode causes a compiler race in universal mode.
4163 test "$am__universal" = false || continue
4166 # After this tag, mechanisms are not by side-effect, so they'll
4167 # only be used when explicitly requested.
4168 if test "x$enable_dependency_tracking" = xyes; then
4174 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4175 # This compiler won't grok '-c -o', but also, the minuso test has
4176 # not run yet. These depmodes are late enough in the game, and
4177 # so weak that their functioning should not be impacted.
4178 am__obj=conftest.${OBJEXT-o}
4183 if depmode=$depmode \
4184 source=sub/conftest.c object=$am__obj \
4185 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4186 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4187 >/dev/null 2>conftest.err &&
4188 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4189 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4190 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4191 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4192 # icc doesn't choke on unknown options, it will just issue warnings
4193 # or remarks (even with -Werror). So we grep stderr for any message
4194 # that says an option was ignored or not supported.
4195 # When given -MP, icc 7.0 and 7.1 complain thusly:
4196 # icc: Command line warning: ignoring option '-M'; no argument required
4197 # The diagnosis changed in icc 8.0:
4198 # icc: Command line remark: option '-MP' not supported
4199 if (grep 'ignoring option' conftest.err ||
4200 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4201 am_cv_CC_dependencies_compiler_type=$depmode
4210 am_cv_CC_dependencies_compiler_type=none
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4215 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4216 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4219 test "x$enable_dependency_tracking" != xno \
4220 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4222 am__fastdepCC_FALSE='#'
4224 am__fastdepCC_TRUE='#'
4225 am__fastdepCC_FALSE=
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4230 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4231 if ${ac_cv_path_SED+:} false; then :
4232 $as_echo_n "(cached) " >&6
4234 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4235 for ac_i in 1 2 3 4 5 6 7; do
4236 ac_script="$ac_script$as_nl$ac_script"
4238 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4239 { ac_script=; unset ac_script;}
4240 if test -z "$SED"; then
4241 ac_path_SED_found=false
4242 # Loop through the user's path and test for each of PROGNAME-LIST
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir=.
4248 for ac_prog in sed gsed; do
4249 for ac_exec_ext in '' $ac_executable_extensions; do
4250 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4251 as_fn_executable_p "$ac_path_SED" || continue
4252 # Check for GNU ac_path_SED and select it if it is found.
4253 # Check for GNU $ac_path_SED
4254 case `"$ac_path_SED" --version 2>&1` in
4256 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4259 $as_echo_n 0123456789 >"conftest.in"
4262 cat "conftest.in" "conftest.in" >"conftest.tmp"
4263 mv "conftest.tmp" "conftest.in"
4264 cp "conftest.in" "conftest.nl"
4265 $as_echo '' >> "conftest.nl"
4266 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4268 as_fn_arith $ac_count + 1 && ac_count=$as_val
4269 if test $ac_count -gt ${ac_path_SED_max-0}; then
4270 # Best one so far, save it but keep looking for a better one
4271 ac_cv_path_SED="$ac_path_SED"
4272 ac_path_SED_max=$ac_count
4274 # 10*(2^10) chars as input seems more than enough
4275 test $ac_count -gt 10 && break
4277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4280 $ac_path_SED_found && break 3
4285 if test -z "$ac_cv_path_SED"; then
4286 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4294 $as_echo "$ac_cv_path_SED" >&6; }
4295 SED="$ac_cv_path_SED"
4298 test -z "$SED" && SED=sed
4299 Xsed="$SED -e 1s/^X//"
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4312 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4313 if ${ac_cv_path_GREP+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 if test -z "$GREP"; then
4317 ac_path_GREP_found=false
4318 # Loop through the user's path and test for each of PROGNAME-LIST
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4323 test -z "$as_dir" && as_dir=.
4324 for ac_prog in grep ggrep; do
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4327 as_fn_executable_p "$ac_path_GREP" || continue
4328 # Check for GNU ac_path_GREP and select it if it is found.
4329 # Check for GNU $ac_path_GREP
4330 case `"$ac_path_GREP" --version 2>&1` in
4332 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4335 $as_echo_n 0123456789 >"conftest.in"
4338 cat "conftest.in" "conftest.in" >"conftest.tmp"
4339 mv "conftest.tmp" "conftest.in"
4340 cp "conftest.in" "conftest.nl"
4341 $as_echo 'GREP' >> "conftest.nl"
4342 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4343 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4344 as_fn_arith $ac_count + 1 && ac_count=$as_val
4345 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4346 # Best one so far, save it but keep looking for a better one
4347 ac_cv_path_GREP="$ac_path_GREP"
4348 ac_path_GREP_max=$ac_count
4350 # 10*(2^10) chars as input seems more than enough
4351 test $ac_count -gt 10 && break
4353 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4356 $ac_path_GREP_found && break 3
4361 if test -z "$ac_cv_path_GREP"; then
4362 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4365 ac_cv_path_GREP=$GREP
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4370 $as_echo "$ac_cv_path_GREP" >&6; }
4371 GREP="$ac_cv_path_GREP"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4375 $as_echo_n "checking for egrep... " >&6; }
4376 if ${ac_cv_path_EGREP+:} false; then :
4377 $as_echo_n "(cached) " >&6
4379 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4380 then ac_cv_path_EGREP="$GREP -E"
4382 if test -z "$EGREP"; then
4383 ac_path_EGREP_found=false
4384 # Loop through the user's path and test for each of PROGNAME-LIST
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4389 test -z "$as_dir" && as_dir=.
4390 for ac_prog in egrep; do
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4393 as_fn_executable_p "$ac_path_EGREP" || continue
4394 # Check for GNU ac_path_EGREP and select it if it is found.
4395 # Check for GNU $ac_path_EGREP
4396 case `"$ac_path_EGREP" --version 2>&1` in
4398 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4401 $as_echo_n 0123456789 >"conftest.in"
4404 cat "conftest.in" "conftest.in" >"conftest.tmp"
4405 mv "conftest.tmp" "conftest.in"
4406 cp "conftest.in" "conftest.nl"
4407 $as_echo 'EGREP' >> "conftest.nl"
4408 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4410 as_fn_arith $ac_count + 1 && ac_count=$as_val
4411 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4412 # Best one so far, save it but keep looking for a better one
4413 ac_cv_path_EGREP="$ac_path_EGREP"
4414 ac_path_EGREP_max=$ac_count
4416 # 10*(2^10) chars as input seems more than enough
4417 test $ac_count -gt 10 && break
4419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4422 $ac_path_EGREP_found && break 3
4427 if test -z "$ac_cv_path_EGREP"; then
4428 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4431 ac_cv_path_EGREP=$EGREP
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4437 $as_echo "$ac_cv_path_EGREP" >&6; }
4438 EGREP="$ac_cv_path_EGREP"
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4442 $as_echo_n "checking for fgrep... " >&6; }
4443 if ${ac_cv_path_FGREP+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4447 then ac_cv_path_FGREP="$GREP -F"
4449 if test -z "$FGREP"; then
4450 ac_path_FGREP_found=false
4451 # Loop through the user's path and test for each of PROGNAME-LIST
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4456 test -z "$as_dir" && as_dir=.
4457 for ac_prog in fgrep; do
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4460 as_fn_executable_p "$ac_path_FGREP" || continue
4461 # Check for GNU ac_path_FGREP and select it if it is found.
4462 # Check for GNU $ac_path_FGREP
4463 case `"$ac_path_FGREP" --version 2>&1` in
4465 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4468 $as_echo_n 0123456789 >"conftest.in"
4471 cat "conftest.in" "conftest.in" >"conftest.tmp"
4472 mv "conftest.tmp" "conftest.in"
4473 cp "conftest.in" "conftest.nl"
4474 $as_echo 'FGREP' >> "conftest.nl"
4475 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4476 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4477 as_fn_arith $ac_count + 1 && ac_count=$as_val
4478 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4479 # Best one so far, save it but keep looking for a better one
4480 ac_cv_path_FGREP="$ac_path_FGREP"
4481 ac_path_FGREP_max=$ac_count
4483 # 10*(2^10) chars as input seems more than enough
4484 test $ac_count -gt 10 && break
4486 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4489 $ac_path_FGREP_found && break 3
4494 if test -z "$ac_cv_path_FGREP"; then
4495 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4498 ac_cv_path_FGREP=$FGREP
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4504 $as_echo "$ac_cv_path_FGREP" >&6; }
4505 FGREP="$ac_cv_path_FGREP"
4508 test -z "$GREP" && GREP=grep
4528 @%:@ Check whether --with-gnu-ld was given.
4529 if test "${with_gnu_ld+set}" = set; then :
4530 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4536 if test yes = "$GCC"; then
4537 # Check if gcc -print-prog-name=ld gives a path.
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4539 $as_echo_n "checking for ld used by $CC... " >&6; }
4542 # gcc leaves a trailing carriage return, which upsets mingw
4543 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4545 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4548 # Accept absolute paths.
4550 re_direlt='/[^/][^/]*/\.\./'
4551 # Canonicalize the pathname of ld
4552 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4553 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4554 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4556 test -z "$LD" && LD=$ac_prog
4559 # If it fails, then pretend we aren't using GCC.
4563 # If it is relative, then search for the first ld in PATH.
4567 elif test yes = "$with_gnu_ld"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4569 $as_echo_n "checking for GNU ld... " >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4572 $as_echo_n "checking for non-GNU ld... " >&6; }
4574 if ${lt_cv_path_LD+:} false; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -z "$LD"; then
4578 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4579 for ac_dir in $PATH; do
4581 test -z "$ac_dir" && ac_dir=.
4582 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4583 lt_cv_path_LD=$ac_dir/$ac_prog
4584 # Check to see if the program is GNU ld. I'd rather use --version,
4585 # but apparently some variants of GNU ld only accept -v.
4586 # Break only if it was the GNU/non-GNU ld that we prefer.
4587 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4588 *GNU* | *'with BFD'*)
4589 test no != "$with_gnu_ld" && break
4592 test yes != "$with_gnu_ld" && break
4599 lt_cv_path_LD=$LD # Let the user override the test with a path.
4604 if test -n "$LD"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4606 $as_echo "$LD" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4611 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4613 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4614 if ${lt_cv_prog_gnu_ld+:} false; then :
4615 $as_echo_n "(cached) " >&6
4617 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4618 case `$LD -v 2>&1 </dev/null` in
4619 *GNU* | *'with BFD'*)
4620 lt_cv_prog_gnu_ld=yes
4623 lt_cv_prog_gnu_ld=no
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4628 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4629 with_gnu_ld=$lt_cv_prog_gnu_ld
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4640 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4641 if ${lt_cv_path_NM+:} false; then :
4642 $as_echo_n "(cached) " >&6
4644 if test -n "$NM"; then
4645 # Let the user override the test.
4648 lt_nm_to_check=${ac_tool_prefix}nm
4649 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4650 lt_nm_to_check="$lt_nm_to_check nm"
4652 for lt_tmp_nm in $lt_nm_to_check; do
4653 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4654 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4656 test -z "$ac_dir" && ac_dir=.
4657 tmp_nm=$ac_dir/$lt_tmp_nm
4658 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4659 # Check to see if the nm accepts a BSD-compat flag.
4660 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4661 # nm: unknown option "B" ignored
4662 # Tru64's nm complains that /dev/null is an invalid object file
4663 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4665 mingw*) lt_bad_file=conftest.nm/nofile ;;
4666 *) lt_bad_file=/dev/null ;;
4668 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4669 *$lt_bad_file* | *'Invalid file or object type'*)
4670 lt_cv_path_NM="$tmp_nm -B"
4674 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4676 lt_cv_path_NM="$tmp_nm -p"
4680 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4681 continue # so that we can try to find one that supports BSD flags
4690 : ${lt_cv_path_NM=no}
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4694 $as_echo "$lt_cv_path_NM" >&6; }
4695 if test no != "$lt_cv_path_NM"; then
4698 # Didn't find any BSD compatible name lister, look for dumpbin.
4699 if test -n "$DUMPBIN"; then :
4700 # Let the user override the test.
4702 if test -n "$ac_tool_prefix"; then
4703 for ac_prog in dumpbin "link -dump"
4705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if ${ac_cv_prog_DUMPBIN+:} false; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -n "$DUMPBIN"; then
4713 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir=.
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 DUMPBIN=$ac_cv_prog_DUMPBIN
4733 if test -n "$DUMPBIN"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4735 $as_echo "$DUMPBIN" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 test -n "$DUMPBIN" && break
4745 if test -z "$DUMPBIN"; then
4746 ac_ct_DUMPBIN=$DUMPBIN
4747 for ac_prog in dumpbin "link -dump"
4749 # Extract the first word of "$ac_prog", so it can be a program name with args.
4750 set dummy $ac_prog; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$ac_ct_DUMPBIN"; then
4757 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4777 if test -n "$ac_ct_DUMPBIN"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4779 $as_echo "$ac_ct_DUMPBIN" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4786 test -n "$ac_ct_DUMPBIN" && break
4789 if test "x$ac_ct_DUMPBIN" = x; then
4792 case $cross_compiling:$ac_tool_warned in
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4796 ac_tool_warned=yes ;;
4798 DUMPBIN=$ac_ct_DUMPBIN
4802 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4804 DUMPBIN="$DUMPBIN -symbols -headers"
4812 if test : != "$DUMPBIN"; then
4816 test -z "$NM" && NM=nm
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4824 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4825 if ${lt_cv_nm_interface+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 lt_cv_nm_interface="BSD nm"
4829 echo "int some_variable = 0;" > conftest.$ac_ext
4830 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4831 (eval "$ac_compile" 2>conftest.err)
4832 cat conftest.err >&5
4833 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4834 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4835 cat conftest.err >&5
4836 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4837 cat conftest.out >&5
4838 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4839 lt_cv_nm_interface="MS dumpbin"
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4844 $as_echo "$lt_cv_nm_interface" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4847 $as_echo_n "checking whether ln -s works... " >&6; }
4849 if test "$LN_S" = "ln -s"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4851 $as_echo "yes" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4854 $as_echo "no, using $LN_S" >&6; }
4857 # find the maximum length of command line arguments
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4859 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4860 if ${lt_cv_sys_max_cmd_len+:} false; then :
4861 $as_echo_n "(cached) " >&6
4868 # On DJGPP, this test can blow up pretty badly due to problems in libc
4869 # (any single argument exceeding 2000 bytes causes a buffer overrun
4870 # during glob expansion). Even if it were fixed, the result of this
4871 # check would be larger than it should be.
4872 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4876 # Under GNU Hurd, this test is not required because there is
4877 # no limit to the length of command line arguments.
4878 # Libtool will interpret -1 as no limit whatsoever
4879 lt_cv_sys_max_cmd_len=-1;
4882 cygwin* | mingw* | cegcc*)
4883 # On Win9x/ME, this test blows up -- it succeeds, but takes
4884 # about 5 minutes as the teststring grows exponentially.
4885 # Worse, since 9x/ME are not pre-emptively multitasking,
4886 # you end up with a "frozen" computer, even though with patience
4887 # the test eventually succeeds (with a max line length of 256k).
4888 # Instead, let's just punt: use the minimum linelength reported by
4889 # all of the supported platforms: 8192 (on NT/2K/XP).
4890 lt_cv_sys_max_cmd_len=8192;
4894 # On MiNT this can take a long time and run out of memory.
4895 lt_cv_sys_max_cmd_len=8192;
4899 # On AmigaOS with pdksh, this test takes hours, literally.
4900 # So we just punt and use a minimum line length of 8192.
4901 lt_cv_sys_max_cmd_len=8192;
4904 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4905 # This has been around since 386BSD, at least. Likely further.
4906 if test -x /sbin/sysctl; then
4907 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4908 elif test -x /usr/sbin/sysctl; then
4909 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4911 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4913 # And add a safety zone
4914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4919 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4920 lt_cv_sys_max_cmd_len=196608
4924 # The test takes a long time on OS/2.
4925 lt_cv_sys_max_cmd_len=8192
4929 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4930 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4931 # nice to cause kernel panics so lets avoid the loop below.
4932 # First set a reasonable default.
4933 lt_cv_sys_max_cmd_len=16384
4935 if test -x /sbin/sysconfig; then
4936 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4937 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4942 lt_cv_sys_max_cmd_len=102400
4944 sysv5* | sco5v6* | sysv4.2uw2*)
4945 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4946 if test -n "$kargmax"; then
4947 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4949 lt_cv_sys_max_cmd_len=32768
4953 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4954 if test -n "$lt_cv_sys_max_cmd_len" && \
4955 test undefined != "$lt_cv_sys_max_cmd_len"; then
4956 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4957 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4959 # Make teststring a little bigger before we do anything with it.
4960 # a 1K string should be a reasonable start.
4961 for i in 1 2 3 4 5 6 7 8; do
4962 teststring=$teststring$teststring
4964 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4965 # If test is not a shell built-in, we'll probably end up computing a
4966 # maximum length that is only half of the actual maximum length, but
4968 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4969 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4970 test 17 != "$i" # 1/2 MB should be enough
4973 teststring=$teststring$teststring
4975 # Only check the string length outside the loop.
4976 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4978 # Add a significant safety factor because C++ compilers can tack on
4979 # massive amounts of additional arguments before passing them to the
4980 # linker. It appears as though 1/2 is a usable value.
4981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4988 if test -n "$lt_cv_sys_max_cmd_len"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4990 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4993 $as_echo "none" >&6; }
4995 max_cmd_len=$lt_cv_sys_max_cmd_len
5006 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5016 # test EBCDIC or ASCII
5017 case `echo X|tr X '\101'` in
5018 A) # ASCII based system
5019 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5020 lt_SP2NL='tr \040 \012'
5021 lt_NL2SP='tr \015\012 \040\040'
5023 *) # EBCDIC based system
5024 lt_SP2NL='tr \100 \n'
5025 lt_NL2SP='tr \r\n \100\100'
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5038 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5039 if ${lt_cv_to_host_file_cmd+:} false; then :
5040 $as_echo_n "(cached) " >&6
5045 *-*-mingw* ) # actually msys
5046 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5049 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5051 * ) # otherwise, assume *nix
5052 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5058 *-*-mingw* ) # actually msys
5059 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5062 lt_cv_to_host_file_cmd=func_convert_file_noop
5064 * ) # otherwise, assume *nix
5065 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5069 * ) # unhandled hosts (and "normal" native builds)
5070 lt_cv_to_host_file_cmd=func_convert_file_noop
5076 to_host_file_cmd=$lt_cv_to_host_file_cmd
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5078 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5085 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5086 if ${lt_cv_to_tool_file_cmd+:} false; then :
5087 $as_echo_n "(cached) " >&6
5089 #assume ordinary cross tools, or native build.
5090 lt_cv_to_tool_file_cmd=func_convert_file_noop
5094 *-*-mingw* ) # actually msys
5095 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5103 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5105 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5112 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5113 if ${lt_cv_ld_reload_flag+:} false; then :
5114 $as_echo_n "(cached) " >&6
5116 lt_cv_ld_reload_flag='-r'
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5119 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5120 reload_flag=$lt_cv_ld_reload_flag
5121 case $reload_flag in
5123 *) reload_flag=" $reload_flag" ;;
5125 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5127 cygwin* | mingw* | pw32* | cegcc*)
5128 if test yes != "$GCC"; then
5133 if test yes = "$GCC"; then
5134 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5136 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5149 if test -n "$ac_tool_prefix"; then
5150 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5151 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_OBJDUMP+:} false; then :
5155 $as_echo_n "(cached) " >&6
5157 if test -n "$OBJDUMP"; then
5158 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 OBJDUMP=$ac_cv_prog_OBJDUMP
5178 if test -n "$OBJDUMP"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5180 $as_echo "$OBJDUMP" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5188 if test -z "$ac_cv_prog_OBJDUMP"; then
5189 ac_ct_OBJDUMP=$OBJDUMP
5190 # Extract the first word of "objdump", so it can be a program name with args.
5191 set dummy objdump; ac_word=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5195 $as_echo_n "(cached) " >&6
5197 if test -n "$ac_ct_OBJDUMP"; then
5198 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir=.
5205 for ac_exec_ext in '' $ac_executable_extensions; do
5206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5207 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5218 if test -n "$ac_ct_OBJDUMP"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5220 $as_echo "$ac_ct_OBJDUMP" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5226 if test "x$ac_ct_OBJDUMP" = x; then
5229 case $cross_compiling:$ac_tool_warned in
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5233 ac_tool_warned=yes ;;
5235 OBJDUMP=$ac_ct_OBJDUMP
5238 OBJDUMP="$ac_cv_prog_OBJDUMP"
5241 test -z "$OBJDUMP" && OBJDUMP=objdump
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5252 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5253 if ${lt_cv_deplibs_check_method+:} false; then :
5254 $as_echo_n "(cached) " >&6
5256 lt_cv_file_magic_cmd='$MAGIC_CMD'
5257 lt_cv_file_magic_test_file=
5258 lt_cv_deplibs_check_method='unknown'
5259 # Need to set the preceding variable on all platforms that support
5260 # interlibrary dependencies.
5261 # 'none' -- dependencies not supported.
5262 # 'unknown' -- same as none, but documents that we really don't know.
5263 # 'pass_all' -- all dependencies passed with no checks.
5264 # 'test_compile' -- check by making test program.
5265 # 'file_magic [[regex]]' -- check by looking for files in library path
5266 # that responds to the $file_magic_cmd with a given extended regex.
5267 # If you have 'file' or equivalent on your system and you're not sure
5268 # whether 'pass_all' will *always* work, you probably want this one.
5272 lt_cv_deplibs_check_method=pass_all
5276 lt_cv_deplibs_check_method=pass_all
5280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5281 lt_cv_file_magic_cmd='/usr/bin/file -L'
5282 lt_cv_file_magic_test_file=/shlib/libc.so
5286 # func_win32_libid is a shell function defined in ltmain.sh
5287 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5288 lt_cv_file_magic_cmd='func_win32_libid'
5292 # Base MSYS/MinGW do not provide the 'file' command needed by
5293 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5294 # unless we find 'file', for example because we are cross-compiling.
5295 if ( file / ) >/dev/null 2>&1; then
5296 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297 lt_cv_file_magic_cmd='func_win32_libid'
5299 # Keep this pattern in sync with the one in func_win32_libid.
5300 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5301 lt_cv_file_magic_cmd='$OBJDUMP -f'
5306 # use the weaker test based on 'objdump'. See mingw*.
5307 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5308 lt_cv_file_magic_cmd='$OBJDUMP -f'
5311 darwin* | rhapsody*)
5312 lt_cv_deplibs_check_method=pass_all
5315 freebsd* | dragonfly*)
5316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5319 # Not sure whether the presence of OpenBSD here was a mistake.
5320 # Let's accept both of them until this is cleared up.
5321 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5322 lt_cv_file_magic_cmd=/usr/bin/file
5323 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5327 lt_cv_deplibs_check_method=pass_all
5332 lt_cv_deplibs_check_method=pass_all
5335 hpux10.20* | hpux11*)
5336 lt_cv_file_magic_cmd=/usr/bin/file
5339 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5340 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5343 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]'
5344 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5347 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5348 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5354 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5355 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5358 irix5* | irix6* | nonstopux*)
5360 *-32|*"-32 ") libmagic=32-bit;;
5361 *-n32|*"-n32 ") libmagic=N32;;
5362 *-64|*"-64 ") libmagic=64-bit;;
5363 *) libmagic=never-match;;
5365 lt_cv_deplibs_check_method=pass_all
5368 # This must be glibc/ELF.
5369 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5370 lt_cv_deplibs_check_method=pass_all
5373 netbsd* | netbsdelf*-gnu)
5374 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5375 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5377 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5382 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5383 lt_cv_file_magic_cmd=/usr/bin/file
5384 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5388 lt_cv_deplibs_check_method=pass_all
5392 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5395 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5399 osf3* | osf4* | osf5*)
5400 lt_cv_deplibs_check_method=pass_all
5404 lt_cv_deplibs_check_method=pass_all
5408 lt_cv_deplibs_check_method=pass_all
5411 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5412 lt_cv_deplibs_check_method=pass_all
5416 case $host_vendor in
5418 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]'
5419 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5422 lt_cv_deplibs_check_method=pass_all
5425 lt_cv_file_magic_cmd='/bin/file'
5426 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5429 lt_cv_file_magic_cmd='/bin/file'
5430 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5431 lt_cv_file_magic_test_file=/lib/libc.so
5434 lt_cv_deplibs_check_method=pass_all
5437 lt_cv_deplibs_check_method=pass_all
5443 lt_cv_deplibs_check_method=pass_all
5446 lt_cv_deplibs_check_method=pass_all
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5452 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5456 if test "$build" = "$host"; then
5459 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5462 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5468 file_magic_cmd=$lt_cv_file_magic_cmd
5469 deplibs_check_method=$lt_cv_deplibs_check_method
5470 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5493 if test -n "$ac_tool_prefix"; then
5494 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_DLLTOOL+:} false; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$DLLTOOL"; then
5502 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 DLLTOOL=$ac_cv_prog_DLLTOOL
5522 if test -n "$DLLTOOL"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5524 $as_echo "$DLLTOOL" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5532 if test -z "$ac_cv_prog_DLLTOOL"; then
5533 ac_ct_DLLTOOL=$DLLTOOL
5534 # Extract the first word of "dlltool", so it can be a program name with args.
5535 set dummy dlltool; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$ac_ct_DLLTOOL"; then
5542 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5562 if test -n "$ac_ct_DLLTOOL"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5564 $as_echo "$ac_ct_DLLTOOL" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5570 if test "x$ac_ct_DLLTOOL" = x; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned=yes ;;
5579 DLLTOOL=$ac_ct_DLLTOOL
5582 DLLTOOL="$ac_cv_prog_DLLTOOL"
5585 test -z "$DLLTOOL" && DLLTOOL=dlltool
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5597 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5598 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 lt_cv_sharedlib_from_linklib_cmd='unknown'
5604 cygwin* | mingw* | pw32* | cegcc*)
5605 # two different shell functions defined in ltmain.sh;
5606 # decide which one to use based on capabilities of $DLLTOOL
5607 case `$DLLTOOL --help 2>&1` in
5608 *--identify-strict*)
5609 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5612 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5617 # fallback: assume linklib IS sharedlib
5618 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5624 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5625 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5626 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5635 if test -n "$ac_tool_prefix"; then
5638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_AR+:} false; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$AR"; then
5646 ac_cv_prog_AR="$AR" # Let the user override the test.
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 if test -n "$AR"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5668 $as_echo "$AR" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 test -n "$AR" && break
5678 if test -z "$AR"; then
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$ac_ct_AR"; then
5690 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_ac_ct_AR="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5710 if test -n "$ac_ct_AR"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5712 $as_echo "$ac_ct_AR" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$ac_ct_AR" && break
5722 if test "x$ac_ct_AR" = x; then
5725 case $cross_compiling:$ac_tool_warned in
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5729 ac_tool_warned=yes ;;
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5749 $as_echo_n "checking for archiver @FILE support... " >&6; }
5750 if ${lt_cv_ar_at_file+:} false; then :
5751 $as_echo_n "(cached) " >&6
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5765 if ac_fn_c_try_compile "$LINENO"; then :
5766 echo conftest.$ac_objext > conftest.lst
5767 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5769 (eval $lt_ar_try) 2>&5
5771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5772 test $ac_status = 0; }
5773 if test 0 -eq "$ac_status"; then
5774 # Ensure the archiver fails upon bogus file names.
5775 rm -f conftest.$ac_objext libconftest.a
5776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5777 (eval $lt_ar_try) 2>&5
5779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780 test $ac_status = 0; }
5781 if test 0 -ne "$ac_status"; then
5785 rm -f conftest.* libconftest.a
5788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5792 $as_echo "$lt_cv_ar_at_file" >&6; }
5794 if test no = "$lt_cv_ar_at_file"; then
5797 archiver_list_spec=$lt_cv_ar_at_file
5806 if test -n "$ac_tool_prefix"; then
5807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5808 set dummy ${ac_tool_prefix}strip; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_STRIP+:} false; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$STRIP"; then
5815 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 STRIP=$ac_cv_prog_STRIP
5835 if test -n "$STRIP"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5837 $as_echo "$STRIP" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5845 if test -z "$ac_cv_prog_STRIP"; then
5847 # Extract the first word of "strip", so it can be a program name with args.
5848 set dummy strip; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5852 $as_echo_n "(cached) " >&6
5854 if test -n "$ac_ct_STRIP"; then
5855 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_prog_ac_ct_STRIP="strip"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5875 if test -n "$ac_ct_STRIP"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5877 $as_echo "$ac_ct_STRIP" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5883 if test "x$ac_ct_STRIP" = x; then
5886 case $cross_compiling:$ac_tool_warned in
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5890 ac_tool_warned=yes ;;
5895 STRIP="$ac_cv_prog_STRIP"
5898 test -z "$STRIP" && STRIP=:
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_RANLIB+:} false; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$RANLIB"; then
5914 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 RANLIB=$ac_cv_prog_RANLIB
5934 if test -n "$RANLIB"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5936 $as_echo "$RANLIB" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if test -z "$ac_cv_prog_RANLIB"; then
5945 ac_ct_RANLIB=$RANLIB
5946 # Extract the first word of "ranlib", so it can be a program name with args.
5947 set dummy ranlib; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5951 $as_echo_n "(cached) " >&6
5953 if test -n "$ac_ct_RANLIB"; then
5954 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_ac_ct_RANLIB="ranlib"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5974 if test -n "$ac_ct_RANLIB"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5976 $as_echo "$ac_ct_RANLIB" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5982 if test "x$ac_ct_RANLIB" = x; then
5985 case $cross_compiling:$ac_tool_warned in
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned=yes ;;
5991 RANLIB=$ac_ct_RANLIB
5994 RANLIB="$ac_cv_prog_RANLIB"
5997 test -z "$RANLIB" && RANLIB=:
6004 # Determine commands to create old-style static archives.
6005 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6006 old_postinstall_cmds='chmod 644 $oldlib'
6007 old_postuninstall_cmds=
6009 if test -n "$RANLIB"; then
6012 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6015 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6018 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6023 lock_old_archive_extraction=yes ;;
6025 lock_old_archive_extraction=no ;;
6066 # If no C compiler was specified, use CC.
6069 # If no C compiler flags were specified, use CFLAGS.
6070 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6072 # Allow CC to be a program name with arguments.
6076 # Check for command to grab the raw symbol name followed by C symbol from nm.
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6078 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6079 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6080 $as_echo_n "(cached) " >&6
6083 # These are sane defaults that work on at least a few old systems.
6084 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6086 # Character class describing NM global symbol codes.
6087 symcode='[BCDEGRST]'
6089 # Regexp to match symbols that can be accessed directly from C.
6090 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6092 # Define system-specific variables.
6097 cygwin* | mingw* | pw32* | cegcc*)
6098 symcode='[ABCDGISTW]'
6101 if test ia64 = "$host_cpu"; then
6102 symcode='[ABCDEGRST]'
6106 symcode='[BCDEGRST]'
6109 symcode='[BCDEGQRST]'
6120 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6128 # If we're using GNU nm, then use its standard symbol codes.
6129 case `$NM -V 2>&1` in
6130 *GNU* | *'with BFD'*)
6131 symcode='[ABCDGIRSTW]' ;;
6134 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6135 # Gets list of data symbols to import.
6136 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6137 # Adjust the below global symbol transforms to fixup imported variables.
6138 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6139 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6140 lt_c_name_lib_hook="\
6141 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6142 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6144 # Disable hooks by default.
6145 lt_cv_sys_global_symbol_to_import=
6151 # Transform an extracted symbol line into a proper C declaration.
6152 # Some systems (esp. on ia64) link data and code symbols differently,
6153 # so use this general approach.
6154 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6156 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6157 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6159 # Transform an extracted symbol line into symbol name and symbol address
6160 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6162 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6163 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6165 # Transform an extracted symbol line into symbol name with lib prefix and
6167 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6168 $lt_c_name_lib_hook\
6169 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6170 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6171 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6173 # Handle CRLF in mingw tool chain
6177 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6181 # Try without a prefix underscore, then with it.
6182 for ac_symprfx in "" "_"; do
6184 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6185 symxfrm="\\1 $ac_symprfx\\2 \\2"
6187 # Write the raw and C identifiers.
6188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6189 # Fake it for dumpbin and say T for any non-static function,
6190 # D for any global variable and I for any imported variable.
6191 # Also find C++ and __fastcall symbols from MSVC++,
6192 # which start with @ or ?.
6193 lt_cv_sys_global_symbol_pipe="$AWK '"\
6194 " {last_section=section; section=\$ 3};"\
6195 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6196 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6197 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6198 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6199 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6200 " \$ 0!~/External *\|/{next};"\
6201 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6202 " {if(hide[section]) next};"\
6203 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6204 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6205 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6206 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6207 " ' prfx=^$ac_symprfx"
6209 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6211 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6213 # Check to see that the pipe works correctly.
6217 cat > conftest.$ac_ext <<_LT_EOF
6222 void nm_test_func(void);
6223 void nm_test_func(void){}
6227 int main(){nm_test_var='a';nm_test_func();return(0);}
6230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6231 (eval $ac_compile) 2>&5
6233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6234 test $ac_status = 0; }; then
6235 # Now try to grab the symbols.
6237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6238 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6241 test $ac_status = 0; } && test -s "$nlist"; then
6242 # Try sorting and uniquifying the output.
6243 if sort "$nlist" | uniq > "$nlist"T; then
6244 mv -f "$nlist"T "$nlist"
6249 # Make sure that we snagged all the symbols we need.
6250 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6251 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6252 cat <<_LT_EOF > conftest.$ac_ext
6253 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6254 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6255 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6256 relocations are performed -- see ld's documentation on pseudo-relocs. */
6257 # define LT@&t@_DLSYM_CONST
6258 #elif defined __osf__
6259 /* This system does not cope well with relocations in const data. */
6260 # define LT@&t@_DLSYM_CONST
6262 # define LT@&t@_DLSYM_CONST const
6270 # Now generate the symbol file.
6271 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6273 cat <<_LT_EOF >> conftest.$ac_ext
6275 /* The mapping between symbol names and symbols. */
6276 LT@&t@_DLSYM_CONST struct {
6280 lt__PROGRAM__LTX_preloaded_symbols[] =
6282 { "@PROGRAM@", (void *) 0 },
6284 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6285 cat <<\_LT_EOF >> conftest.$ac_ext
6289 /* This works around a problem in FreeBSD linker */
6290 #ifdef FREEBSD_WORKAROUND
6291 static const void *lt_preloaded_setup() {
6292 return lt__PROGRAM__LTX_preloaded_symbols;
6300 # Now try linking the two files.
6301 mv conftest.$ac_objext conftstm.$ac_objext
6302 lt_globsym_save_LIBS=$LIBS
6303 lt_globsym_save_CFLAGS=$CFLAGS
6304 LIBS=conftstm.$ac_objext
6305 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6307 (eval $ac_link) 2>&5
6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6313 LIBS=$lt_globsym_save_LIBS
6314 CFLAGS=$lt_globsym_save_CFLAGS
6316 echo "cannot find nm_test_func in $nlist" >&5
6319 echo "cannot find nm_test_var in $nlist" >&5
6322 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6325 echo "$progname: failed program was:" >&5
6326 cat conftest.$ac_ext >&5
6328 rm -rf conftest* conftst*
6330 # Do not use the global_symbol_pipe unless it works.
6331 if test yes = "$pipe_works"; then
6334 lt_cv_sys_global_symbol_pipe=
6340 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6341 lt_cv_sys_global_symbol_to_cdecl=
6343 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6345 $as_echo "failed" >&6; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6348 $as_echo "ok" >&6; }
6351 # Response file support.
6352 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6353 nm_file_list_spec='@'
6354 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6355 nm_file_list_spec='@'
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6395 $as_echo_n "checking for sysroot... " >&6; }
6397 @%:@ Check whether --with-sysroot was given.
6398 if test "${with_sysroot+set}" = set; then :
6399 withval=$with_sysroot;
6406 case $with_sysroot in #(
6408 if test yes = "$GCC"; then
6409 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6413 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6419 $as_echo "$with_sysroot" >&6; }
6420 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6425 $as_echo "${lt_sysroot:-no}" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6432 $as_echo_n "checking for a working dd... " >&6; }
6433 if ${ac_cv_path_lt_DD+:} false; then :
6434 $as_echo_n "(cached) " >&6
6436 printf 0123456789abcdef0123456789abcdef >conftest.i
6437 cat conftest.i conftest.i >conftest2.i
6439 if test -z "$lt_DD"; then
6440 ac_path_lt_DD_found=false
6441 # Loop through the user's path and test for each of PROGNAME-LIST
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_prog in dd; do
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6450 as_fn_executable_p "$ac_path_lt_DD" || continue
6451 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6452 cmp -s conftest.i conftest.out \
6453 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6455 $ac_path_lt_DD_found && break 3
6460 if test -z "$ac_cv_path_lt_DD"; then
6464 ac_cv_path_lt_DD=$lt_DD
6467 rm -f conftest.i conftest2.i conftest.out
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6470 $as_echo "$ac_cv_path_lt_DD" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6474 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6475 if ${lt_cv_truncate_bin+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 printf 0123456789abcdef0123456789abcdef >conftest.i
6479 cat conftest.i conftest.i >conftest2.i
6481 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6482 cmp -s conftest.i conftest.out \
6483 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6485 rm -f conftest.i conftest2.i conftest.out
6486 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6489 $as_echo "$lt_cv_truncate_bin" >&6; }
6497 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6500 for cc_temp in @S|@*""; do
6502 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6503 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6508 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6511 @%:@ Check whether --enable-libtool-lock was given.
6512 if test "${enable_libtool_lock+set}" = set; then :
6513 enableval=$enable_libtool_lock;
6516 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6518 # Some flags need to be propagated to the compiler or linker for good
6522 # Find out what ABI is being produced by ac_compile, and set mode
6523 # options accordingly.
6524 echo 'int i;' > conftest.$ac_ext
6525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6526 (eval $ac_compile) 2>&5
6528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529 test $ac_status = 0; }; then
6530 case `/usr/bin/file conftest.$ac_objext` in
6542 # Find out what ABI is being produced by ac_compile, and set linker
6543 # options accordingly.
6544 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6546 (eval $ac_compile) 2>&5
6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549 test $ac_status = 0; }; then
6550 if test yes = "$lt_cv_prog_gnu_ld"; then
6551 case `/usr/bin/file conftest.$ac_objext` in
6553 LD="${LD-ld} -melf32bsmip"
6556 LD="${LD-ld} -melf32bmipn32"
6559 LD="${LD-ld} -melf64bmip"
6563 case `/usr/bin/file conftest.$ac_objext` in
6580 # Find out what ABI is being produced by ac_compile, and set linker
6581 # options accordingly.
6582 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6584 (eval $ac_compile) 2>&5
6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587 test $ac_status = 0; }; then
6589 case `/usr/bin/file conftest.$ac_objext` in
6597 case `/usr/bin/file conftest.$ac_objext` in
6599 emul="${emul}btsmip"
6602 emul="${emul}ltsmip"
6605 case `/usr/bin/file conftest.$ac_objext` in
6610 LD="${LD-ld} -m $emul"
6615 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6616 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6617 # Find out what ABI is being produced by ac_compile, and set linker
6618 # options accordingly. Note that the listed cases only cover the
6619 # situations where additional linker options are needed (such as when
6620 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6621 # vice versa); the common cases where no linker options are needed do
6622 # not appear in the list.
6623 echo 'int i;' > conftest.$ac_ext
6624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625 (eval $ac_compile) 2>&5
6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628 test $ac_status = 0; }; then
6629 case `/usr/bin/file conftest.o` in
6632 x86_64-*kfreebsd*-gnu)
6633 LD="${LD-ld} -m elf_i386_fbsd"
6636 case `/usr/bin/file conftest.o` in
6638 LD="${LD-ld} -m elf32_x86_64"
6641 LD="${LD-ld} -m elf_i386"
6645 powerpc64le-*linux*)
6646 LD="${LD-ld} -m elf32lppclinux"
6649 LD="${LD-ld} -m elf32ppclinux"
6652 LD="${LD-ld} -m elf_s390"
6655 LD="${LD-ld} -m elf32_sparc"
6661 x86_64-*kfreebsd*-gnu)
6662 LD="${LD-ld} -m elf_x86_64_fbsd"
6665 LD="${LD-ld} -m elf_x86_64"
6668 LD="${LD-ld} -m elf64lppc"
6671 LD="${LD-ld} -m elf64ppc"
6673 s390*-*linux*|s390*-*tpf*)
6674 LD="${LD-ld} -m elf64_s390"
6677 LD="${LD-ld} -m elf64_sparc"
6687 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6689 CFLAGS="$CFLAGS -belf"
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6691 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6692 if ${lt_cv_cc_needs_belf+:} false; then :
6693 $as_echo_n "(cached) " >&6
6696 ac_cpp='$CPP $CPPFLAGS'
6697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6712 if ac_fn_c_try_link "$LINENO"; then :
6713 lt_cv_cc_needs_belf=yes
6715 lt_cv_cc_needs_belf=no
6717 rm -f core conftest.err conftest.$ac_objext \
6718 conftest$ac_exeext conftest.$ac_ext
6720 ac_cpp='$CPP $CPPFLAGS'
6721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6727 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6728 if test yes != "$lt_cv_cc_needs_belf"; then
6729 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6734 # Find out what ABI is being produced by ac_compile, and set linker
6735 # options accordingly.
6736 echo 'int i;' > conftest.$ac_ext
6737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738 (eval $ac_compile) 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741 test $ac_status = 0; }; then
6742 case `/usr/bin/file conftest.o` in
6744 case $lt_cv_prog_gnu_ld in
6747 i?86-*-solaris*|x86_64-*-solaris*)
6748 LD="${LD-ld} -m elf_x86_64"
6751 LD="${LD-ld} -m elf64_sparc"
6754 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6755 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6760 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6772 need_locks=$enable_libtool_lock
6774 if test -n "$ac_tool_prefix"; then
6775 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}mt; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$MANIFEST_TOOL"; then
6783 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6803 if test -n "$MANIFEST_TOOL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6805 $as_echo "$MANIFEST_TOOL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6813 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6814 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6815 # Extract the first word of "mt", so it can be a program name with args.
6816 set dummy mt; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$ac_ct_MANIFEST_TOOL"; then
6823 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6843 if test -n "$ac_ct_MANIFEST_TOOL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6845 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6851 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6854 case $cross_compiling:$ac_tool_warned in
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6860 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6863 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6866 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6868 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6869 if ${lt_cv_path_mainfest_tool+:} false; then :
6870 $as_echo_n "(cached) " >&6
6872 lt_cv_path_mainfest_tool=no
6873 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6874 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6875 cat conftest.err >&5
6876 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6877 lt_cv_path_mainfest_tool=yes
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6882 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6883 if test yes != "$lt_cv_path_mainfest_tool"; then
6893 rhapsody* | darwin*)
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6900 $as_echo_n "(cached) " >&6
6902 if test -n "$DSYMUTIL"; then
6903 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6923 if test -n "$DSYMUTIL"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6925 $as_echo "$DSYMUTIL" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6933 if test -z "$ac_cv_prog_DSYMUTIL"; then
6934 ac_ct_DSYMUTIL=$DSYMUTIL
6935 # Extract the first word of "dsymutil", so it can be a program name with args.
6936 set dummy dsymutil; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6940 $as_echo_n "(cached) " >&6
6942 if test -n "$ac_ct_DSYMUTIL"; then
6943 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6963 if test -n "$ac_ct_DSYMUTIL"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6965 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6971 if test "x$ac_ct_DSYMUTIL" = x; then
6974 case $cross_compiling:$ac_tool_warned in
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned=yes ;;
6980 DSYMUTIL=$ac_ct_DSYMUTIL
6983 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6986 if test -n "$ac_tool_prefix"; then
6987 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6988 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_NMEDIT+:} false; then :
6992 $as_echo_n "(cached) " >&6
6994 if test -n "$NMEDIT"; then
6995 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001 test -z "$as_dir" && as_dir=.
7002 for ac_exec_ext in '' $ac_executable_extensions; do
7003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 NMEDIT=$ac_cv_prog_NMEDIT
7015 if test -n "$NMEDIT"; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7017 $as_echo "$NMEDIT" >&6; }
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7025 if test -z "$ac_cv_prog_NMEDIT"; then
7026 ac_ct_NMEDIT=$NMEDIT
7027 # Extract the first word of "nmedit", so it can be a program name with args.
7028 set dummy nmedit; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7032 $as_echo_n "(cached) " >&6
7034 if test -n "$ac_ct_NMEDIT"; then
7035 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir=.
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7055 if test -n "$ac_ct_NMEDIT"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7057 $as_echo "$ac_ct_NMEDIT" >&6; }
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7063 if test "x$ac_ct_NMEDIT" = x; then
7066 case $cross_compiling:$ac_tool_warned in
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070 ac_tool_warned=yes ;;
7072 NMEDIT=$ac_ct_NMEDIT
7075 NMEDIT="$ac_cv_prog_NMEDIT"
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_LIPO+:} false; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$LIPO"; then
7087 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 LIPO=$ac_cv_prog_LIPO
7107 if test -n "$LIPO"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7109 $as_echo "$LIPO" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7117 if test -z "$ac_cv_prog_LIPO"; then
7119 # Extract the first word of "lipo", so it can be a program name with args.
7120 set dummy lipo; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7124 $as_echo_n "(cached) " >&6
7126 if test -n "$ac_ct_LIPO"; then
7127 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir=.
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_ac_ct_LIPO="lipo"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7147 if test -n "$ac_ct_LIPO"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7149 $as_echo "$ac_ct_LIPO" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7155 if test "x$ac_ct_LIPO" = x; then
7158 case $cross_compiling:$ac_tool_warned in
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned=yes ;;
7167 LIPO="$ac_cv_prog_LIPO"
7170 if test -n "$ac_tool_prefix"; then
7171 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}otool; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_OTOOL+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$OTOOL"; then
7179 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 OTOOL=$ac_cv_prog_OTOOL
7199 if test -n "$OTOOL"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7201 $as_echo "$OTOOL" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7209 if test -z "$ac_cv_prog_OTOOL"; then
7211 # Extract the first word of "otool", so it can be a program name with args.
7212 set dummy otool; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 $as_echo_n "checking for $ac_word... " >&6; }
7215 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7216 $as_echo_n "(cached) " >&6
7218 if test -n "$ac_ct_OTOOL"; then
7219 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 test -z "$as_dir" && as_dir=.
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7228 ac_cv_prog_ac_ct_OTOOL="otool"
7229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7239 if test -n "$ac_ct_OTOOL"; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7241 $as_echo "$ac_ct_OTOOL" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7247 if test "x$ac_ct_OTOOL" = x; then
7250 case $cross_compiling:$ac_tool_warned in
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7259 OTOOL="$ac_cv_prog_OTOOL"
7262 if test -n "$ac_tool_prefix"; then
7263 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7264 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_OTOOL64+:} false; then :
7268 $as_echo_n "(cached) " >&6
7270 if test -n "$OTOOL64"; then
7271 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 OTOOL64=$ac_cv_prog_OTOOL64
7291 if test -n "$OTOOL64"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7293 $as_echo "$OTOOL64" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7301 if test -z "$ac_cv_prog_OTOOL64"; then
7302 ac_ct_OTOOL64=$OTOOL64
7303 # Extract the first word of "otool64", so it can be a program name with args.
7304 set dummy otool64; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7308 $as_echo_n "(cached) " >&6
7310 if test -n "$ac_ct_OTOOL64"; then
7311 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320 ac_cv_prog_ac_ct_OTOOL64="otool64"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7331 if test -n "$ac_ct_OTOOL64"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7333 $as_echo "$ac_ct_OTOOL64" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7339 if test "x$ac_ct_OTOOL64" = x; then
7342 case $cross_compiling:$ac_tool_warned in
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7346 ac_tool_warned=yes ;;
7348 OTOOL64=$ac_ct_OTOOL64
7351 OTOOL64="$ac_cv_prog_OTOOL64"
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7381 $as_echo_n "checking for -single_module linker flag... " >&6; }
7382 if ${lt_cv_apple_cc_single_mod+:} false; then :
7383 $as_echo_n "(cached) " >&6
7385 lt_cv_apple_cc_single_mod=no
7386 if test -z "$LT_MULTI_MODULE"; then
7387 # By default we will add the -single_module flag. You can override
7388 # by either setting the environment variable LT_MULTI_MODULE
7389 # non-empty at configure time, or by adding -multi_module to the
7391 rm -rf libconftest.dylib*
7392 echo "int foo(void){return 1;}" > conftest.c
7393 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7394 -dynamiclib -Wl,-single_module conftest.c" >&5
7395 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7396 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7398 # If there is a non-empty error log, and "single_module"
7399 # appears in it, assume the flag caused a linker warning
7400 if test -s conftest.err && $GREP single_module conftest.err; then
7401 cat conftest.err >&5
7402 # Otherwise, if the output was created with a 0 exit code from
7403 # the compiler, it worked.
7404 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7405 lt_cv_apple_cc_single_mod=yes
7407 cat conftest.err >&5
7409 rm -rf libconftest.dylib*
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7414 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7417 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7418 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 lt_cv_ld_exported_symbols_list=no
7422 save_LDFLAGS=$LDFLAGS
7423 echo "_main" > conftest.sym
7424 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7436 if ac_fn_c_try_link "$LINENO"; then :
7437 lt_cv_ld_exported_symbols_list=yes
7439 lt_cv_ld_exported_symbols_list=no
7441 rm -f core conftest.err conftest.$ac_objext \
7442 conftest$ac_exeext conftest.$ac_ext
7443 LDFLAGS=$save_LDFLAGS
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7447 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7450 $as_echo_n "checking for -force_load linker flag... " >&6; }
7451 if ${lt_cv_ld_force_load+:} false; then :
7452 $as_echo_n "(cached) " >&6
7454 lt_cv_ld_force_load=no
7455 cat > conftest.c << _LT_EOF
7456 int forced_loaded() { return 2;}
7458 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7459 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7460 echo "$AR cru libconftest.a conftest.o" >&5
7461 $AR cru libconftest.a conftest.o 2>&5
7462 echo "$RANLIB libconftest.a" >&5
7463 $RANLIB libconftest.a 2>&5
7464 cat > conftest.c << _LT_EOF
7465 int main() { return 0;}
7467 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7468 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7470 if test -s conftest.err && $GREP force_load conftest.err; then
7471 cat conftest.err >&5
7472 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7473 lt_cv_ld_force_load=yes
7475 cat conftest.err >&5
7477 rm -f conftest.err libconftest.a conftest conftest.c
7478 rm -rf conftest.dSYM
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7482 $as_echo "$lt_cv_ld_force_load" >&6; }
7484 rhapsody* | darwin1.[012])
7485 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7487 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7488 darwin*) # darwin 5.x on
7489 # if running on 10.5 or later, the deployment target defaults
7490 # to the OS version, if on x86, and 10.4, the deployment
7491 # target defaults to 10.4. Don't you love it?
7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7496 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7498 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7502 if test yes = "$lt_cv_apple_cc_single_mod"; then
7503 _lt_dar_single_mod='$single_module'
7505 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7506 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7510 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7511 _lt_dsymutil='~$DSYMUTIL $lib || :'
7518 # func_munge_path_list VARIABLE PATH
7519 # -----------------------------------
7520 # VARIABLE is name of variable containing _space_ separated list of
7521 # directories to be munged by the contents of PATH, which is string
7524 # string "DIR[ DIR]" will be prepended to VARIABLE
7526 # string "DIR[ DIR]" will be appended to VARIABLE
7527 # "DIRP[:DIRP]::[DIRA:]DIRA"
7528 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7529 # "DIRA[ DIRA]" will be appended to VARIABLE
7531 # VARIABLE will be replaced by "DIR[ DIR]"
7532 func_munge_path_list ()
7538 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
7541 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
7544 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7545 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
7548 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
7554 ac_cpp='$CPP $CPPFLAGS'
7555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7559 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7560 # On Suns, sometimes $CPP names a directory.
7561 if test -n "$CPP" && test -d "$CPP"; then
7564 if test -z "$CPP"; then
7565 if ${ac_cv_prog_CPP+:} false; then :
7566 $as_echo_n "(cached) " >&6
7568 # Double quotes because CPP needs to be expanded
7569 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7572 for ac_c_preproc_warn_flag in '' yes
7574 # Use a header file that comes with gcc, so configuring glibc
7575 # with a fresh cross-compiler works.
7576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7577 # <limits.h> exists even on freestanding compilers.
7578 # On the NeXT, cc -E runs the code through the compiler's parser,
7579 # not just through cpp. "Syntax error" is here to catch this case.
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7583 @%:@ include <limits.h>
7585 @%:@ include <assert.h>
7589 if ac_fn_c_try_cpp "$LINENO"; then :
7592 # Broken: fails on valid input.
7595 rm -f conftest.err conftest.i conftest.$ac_ext
7597 # OK, works on sane cases. Now check whether nonexistent headers
7598 # can be detected and how.
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 @%:@include <ac_nonexistent.h>
7603 if ac_fn_c_try_cpp "$LINENO"; then :
7604 # Broken: success on invalid input.
7607 # Passes both tests.
7611 rm -f conftest.err conftest.i conftest.$ac_ext
7614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7615 rm -f conftest.i conftest.err conftest.$ac_ext
7616 if $ac_preproc_ok; then :
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7629 $as_echo "$CPP" >&6; }
7631 for ac_c_preproc_warn_flag in '' yes
7633 # Use a header file that comes with gcc, so configuring glibc
7634 # with a fresh cross-compiler works.
7635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7636 # <limits.h> exists even on freestanding compilers.
7637 # On the NeXT, cc -E runs the code through the compiler's parser,
7638 # not just through cpp. "Syntax error" is here to catch this case.
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7642 @%:@ include <limits.h>
7644 @%:@ include <assert.h>
7648 if ac_fn_c_try_cpp "$LINENO"; then :
7651 # Broken: fails on valid input.
7654 rm -f conftest.err conftest.i conftest.$ac_ext
7656 # OK, works on sane cases. Now check whether nonexistent headers
7657 # can be detected and how.
7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659 /* end confdefs.h. */
7660 @%:@include <ac_nonexistent.h>
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7663 # Broken: success on invalid input.
7666 # Passes both tests.
7670 rm -f conftest.err conftest.i conftest.$ac_ext
7673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7674 rm -f conftest.i conftest.err conftest.$ac_ext
7675 if $ac_preproc_ok; then :
7678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7680 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7681 See \`config.log' for more details" "$LINENO" 5; }
7685 ac_cpp='$CPP $CPPFLAGS'
7686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7692 $as_echo_n "checking for ANSI C header files... " >&6; }
7693 if ${ac_cv_header_stdc+:} false; then :
7694 $as_echo_n "(cached) " >&6
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7711 if ac_fn_c_try_compile "$LINENO"; then :
7712 ac_cv_header_stdc=yes
7714 ac_cv_header_stdc=no
7716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7718 if test $ac_cv_header_stdc = yes; then
7719 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7726 $EGREP "memchr" >/dev/null 2>&1; then :
7729 ac_cv_header_stdc=no
7735 if test $ac_cv_header_stdc = yes; then
7736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7743 $EGREP "free" >/dev/null 2>&1; then :
7746 ac_cv_header_stdc=no
7752 if test $ac_cv_header_stdc = yes; then
7753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7754 if test "$cross_compiling" = yes; then :
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7761 #if ((' ' & 0x0FF) == 0x020)
7762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7763 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7765 # define ISLOWER(c) \
7766 (('a' <= (c) && (c) <= 'i') \
7767 || ('j' <= (c) && (c) <= 'r') \
7768 || ('s' <= (c) && (c) <= 'z'))
7769 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7777 for (i = 0; i < 256; i++)
7778 if (XOR (islower (i), ISLOWER (i))
7779 || toupper (i) != TOUPPER (i))
7784 if ac_fn_c_try_run "$LINENO"; then :
7787 ac_cv_header_stdc=no
7789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7790 conftest.$ac_objext conftest.beam conftest.$ac_ext
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7796 $as_echo "$ac_cv_header_stdc" >&6; }
7797 if test $ac_cv_header_stdc = yes; then
7799 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7804 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7805 inttypes.h stdint.h unistd.h
7807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7808 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7811 cat >>confdefs.h <<_ACEOF
7812 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 for ac_header in dlfcn.h
7822 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7824 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 @%:@define HAVE_DLFCN_H 1
7847 @%:@ Check whether --enable-shared was given.
7848 if test "${enable_shared+set}" = set; then :
7849 enableval=$enable_shared; p=${PACKAGE-default}
7851 yes) enable_shared=yes ;;
7852 no) enable_shared=no ;;
7855 # Look at the argument we got. We use all the common list separators.
7856 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7857 for pkg in $enableval; do
7859 if test "X$pkg" = "X$p"; then
7878 @%:@ Check whether --enable-static was given.
7879 if test "${enable_static+set}" = set; then :
7880 enableval=$enable_static; p=${PACKAGE-default}
7882 yes) enable_static=yes ;;
7883 no) enable_static=no ;;
7886 # Look at the argument we got. We use all the common list separators.
7887 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7888 for pkg in $enableval; do
7890 if test "X$pkg" = "X$p"; then
7910 @%:@ Check whether --with-pic was given.
7911 if test "${with_pic+set}" = set; then :
7912 withval=$with_pic; lt_p=${PACKAGE-default}
7914 yes|no) pic_mode=$withval ;;
7917 # Look at the argument we got. We use all the common list separators.
7918 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7919 for lt_pkg in $withval; do
7921 if test "X$lt_pkg" = "X$lt_p"; then
7939 @%:@ Check whether --enable-fast-install was given.
7940 if test "${enable_fast_install+set}" = set; then :
7941 enableval=$enable_fast_install; p=${PACKAGE-default}
7943 yes) enable_fast_install=yes ;;
7944 no) enable_fast_install=no ;;
7946 enable_fast_install=no
7947 # Look at the argument we got. We use all the common list separators.
7948 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7949 for pkg in $enableval; do
7951 if test "X$pkg" = "X$p"; then
7952 enable_fast_install=yes
7959 enable_fast_install=yes
7969 shared_archive_member_spec=
7970 case $host,$enable_shared in
7971 power*-*-aix[5-9]*,yes)
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7973 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7975 @%:@ Check whether --with-aix-soname was given.
7976 if test "${with_aix_soname+set}" = set; then :
7977 withval=$with_aix_soname; case $withval in
7981 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7984 lt_cv_with_aix_soname=$with_aix_soname
7986 if ${lt_cv_with_aix_soname+:} false; then :
7987 $as_echo_n "(cached) " >&6
7989 lt_cv_with_aix_soname=aix
7992 with_aix_soname=$lt_cv_with_aix_soname
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7996 $as_echo "$with_aix_soname" >&6; }
7997 if test aix != "$with_aix_soname"; then
7998 # For the AIX way of multilib, we name the shared archive member
7999 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8000 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8001 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8002 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8003 if test 64 = "${OBJECT_MODE-32}"; then
8004 shared_archive_member_spec=shr_64
8006 shared_archive_member_spec=shr
8024 # This can be used to rebuild libtool when needed
8025 LIBTOOL_DEPS=$ltmain
8027 # Always use our own libtool.
8028 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8059 test -z "$LN_S" && LN_S="ln -s"
8074 if test -n "${ZSH_VERSION+set}"; then
8075 setopt NO_GLOB_SUBST
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8079 $as_echo_n "checking for objdir... " >&6; }
8080 if ${lt_cv_objdir+:} false; then :
8081 $as_echo_n "(cached) " >&6
8083 rm -f .libs 2>/dev/null
8084 mkdir .libs 2>/dev/null
8085 if test -d .libs; then
8088 # MS-DOS does not allow filenames that begin with a dot.
8091 rmdir .libs 2>/dev/null
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8094 $as_echo "$lt_cv_objdir" >&6; }
8095 objdir=$lt_cv_objdir
8101 cat >>confdefs.h <<_ACEOF
8102 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8110 # AIX sometimes has problems with the GCC collect2 program. For some
8111 # reason, if we set the COLLECT_NAMES environment variable, the problems
8112 # vanish in a puff of smoke.
8113 if test set != "${COLLECT_NAMES+set}"; then
8115 export COLLECT_NAMES
8122 can_build_shared=yes
8124 # All known linkers require a '.a' archive for static linking (except MSVC,
8125 # which needs '.lib').
8128 with_gnu_ld=$lt_cv_prog_gnu_ld
8133 # Set sane defaults for various variables
8134 test -z "$CC" && CC=cc
8135 test -z "$LTCC" && LTCC=$CC
8136 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8137 test -z "$LD" && LD=ld
8138 test -z "$ac_objext" && ac_objext=o
8140 func_cc_basename $compiler
8141 cc_basename=$func_cc_basename_result
8144 # Only perform the check for file, if the check method requires it
8145 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8146 case $deplibs_check_method in
8148 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8150 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8151 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8152 $as_echo_n "(cached) " >&6
8156 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8159 lt_save_MAGIC_CMD=$MAGIC_CMD
8160 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8161 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8162 for ac_dir in $ac_dummy; do
8164 test -z "$ac_dir" && ac_dir=.
8165 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8166 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8167 if test -n "$file_magic_test_file"; then
8168 case $deplibs_check_method in
8170 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8171 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8172 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8173 $EGREP "$file_magic_regex" > /dev/null; then
8178 *** Warning: the command libtool uses to detect shared libraries,
8179 *** $file_magic_cmd, produces output that libtool cannot recognize.
8180 *** The result is that libtool may fail to recognize shared libraries
8181 *** as such. This will affect the creation of libtool libraries that
8182 *** depend on shared libraries, but programs linked with such libtool
8183 *** libraries will work regardless of this problem. Nevertheless, you
8184 *** may want to report the problem to your system manager and/or to
8185 *** bug-libtool@gnu.org
8195 MAGIC_CMD=$lt_save_MAGIC_CMD
8200 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8201 if test -n "$MAGIC_CMD"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8203 $as_echo "$MAGIC_CMD" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8213 if test -z "$lt_cv_path_MAGIC_CMD"; then
8214 if test -n "$ac_tool_prefix"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8216 $as_echo_n "checking for file... " >&6; }
8217 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8218 $as_echo_n "(cached) " >&6
8222 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8225 lt_save_MAGIC_CMD=$MAGIC_CMD
8226 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8227 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8228 for ac_dir in $ac_dummy; do
8230 test -z "$ac_dir" && ac_dir=.
8231 if test -f "$ac_dir/file"; then
8232 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8233 if test -n "$file_magic_test_file"; then
8234 case $deplibs_check_method in
8236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8237 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8239 $EGREP "$file_magic_regex" > /dev/null; then
8244 *** Warning: the command libtool uses to detect shared libraries,
8245 *** $file_magic_cmd, produces output that libtool cannot recognize.
8246 *** The result is that libtool may fail to recognize shared libraries
8247 *** as such. This will affect the creation of libtool libraries that
8248 *** depend on shared libraries, but programs linked with such libtool
8249 *** libraries will work regardless of this problem. Nevertheless, you
8250 *** may want to report the problem to your system manager and/or to
8251 *** bug-libtool@gnu.org
8261 MAGIC_CMD=$lt_save_MAGIC_CMD
8266 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8267 if test -n "$MAGIC_CMD"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8269 $as_echo "$MAGIC_CMD" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8285 # Use C for the default configuration in the libtool script
8289 ac_cpp='$CPP $CPPFLAGS'
8290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8295 # Source file extension for C test sources.
8298 # Object file extension for compiled C test sources.
8302 # Code to be used in simple compile tests
8303 lt_simple_compile_test_code="int some_variable = 0;"
8305 # Code to be used in simple link tests
8306 lt_simple_link_test_code='int main(){return(0);}'
8314 # If no C compiler was specified, use CC.
8317 # If no C compiler flags were specified, use CFLAGS.
8318 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8320 # Allow CC to be a program name with arguments.
8323 # Save the default compiler, since it gets overwritten when the other
8324 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8325 compiler_DEFAULT=$CC
8327 # save warnings/boilerplate of simple test code
8328 ac_outfile=conftest.$ac_objext
8329 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8330 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8331 _lt_compiler_boilerplate=`cat conftest.err`
8334 ac_outfile=conftest.$ac_objext
8335 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8336 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8337 _lt_linker_boilerplate=`cat conftest.err`
8342 ## There is no encapsulation within the following macros, do not change
8343 ## the running order or otherwise move them around unless you know exactly
8344 ## what you are doing...
8345 if test -n "$compiler"; then
8347 lt_prog_compiler_no_builtin_flag=
8349 if test yes = "$GCC"; then
8350 case $cc_basename in
8352 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8354 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8358 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8359 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8360 $as_echo_n "(cached) " >&6
8362 lt_cv_prog_compiler_rtti_exceptions=no
8363 ac_outfile=conftest.$ac_objext
8364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8365 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8366 # Insert the option either (1) after the last *FLAGS variable, or
8367 # (2) before a word containing "conftest.", or (3) at the end.
8368 # Note that $ac_compile itself does not contain backslashes and begins
8369 # with a dollar sign (not a hyphen), so the echo should work correctly.
8370 # The option is referenced via a variable to avoid confusing sed.
8371 lt_compile=`echo "$ac_compile" | $SED \
8372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8374 -e 's:$: $lt_compiler_flag:'`
8375 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8376 (eval "$lt_compile" 2>conftest.err)
8378 cat conftest.err >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 if (exit $ac_status) && test -s "$ac_outfile"; then
8381 # The compiler can only warn and ignore the option if not recognized
8382 # So say no if there are warnings other than the usual output.
8383 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8385 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8386 lt_cv_prog_compiler_rtti_exceptions=yes
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8393 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8395 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8396 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8408 lt_prog_compiler_wl=
8409 lt_prog_compiler_pic=
8410 lt_prog_compiler_static=
8413 if test yes = "$GCC"; then
8414 lt_prog_compiler_wl='-Wl,'
8415 lt_prog_compiler_static='-static'
8419 # All AIX code is PIC.
8420 if test ia64 = "$host_cpu"; then
8421 # AIX 5 now supports IA64 processor
8422 lt_prog_compiler_static='-Bstatic'
8424 lt_prog_compiler_pic='-fPIC'
8430 # see comment about AmigaOS4 .so support
8431 lt_prog_compiler_pic='-fPIC'
8434 # FIXME: we need at least 68020 code to build shared libraries, but
8435 # adding the '-m68020' flag to GCC prevents building anything better,
8437 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8442 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8443 # PIC is the default for these OSes.
8446 mingw* | cygwin* | pw32* | os2* | cegcc*)
8447 # This hack is so that the source file can tell whether it is being
8448 # built for inclusion in a dll (and should export symbols for example).
8449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8450 # (--disable-auto-import) libraries
8451 lt_prog_compiler_pic='-DDLL_EXPORT'
8454 lt_prog_compiler_static='$wl-static'
8459 darwin* | rhapsody*)
8460 # PIC is the default on this platform
8461 # Common symbols not allowed in MH_DYLIB files
8462 lt_prog_compiler_pic='-fno-common'
8466 # PIC is the default for Haiku.
8467 # The "-static" flag exists, but is broken.
8468 lt_prog_compiler_static=
8472 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8473 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8474 # sets the default TLS model and affects inlining.
8480 lt_prog_compiler_pic='-fPIC'
8486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8487 # Instead, we relocate shared libraries at runtime.
8491 # Just because we use GCC doesn't mean we suddenly get shared libraries
8492 # on systems that don't support them.
8493 lt_prog_compiler_can_build_shared=no
8498 # QNX uses GNU C++, but need to define -shared option too, otherwise
8500 lt_prog_compiler_pic='-fPIC -shared'
8504 if test -d /usr/nec; then
8505 lt_prog_compiler_pic=-Kconform_pic
8510 lt_prog_compiler_pic='-fPIC'
8514 case $cc_basename in
8515 nvcc*) # Cuda Compiler Driver 2.2
8516 lt_prog_compiler_wl='-Xlinker '
8517 if test -n "$lt_prog_compiler_pic"; then
8518 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8523 # PORTME Check for flag to pass linker flags through the system compiler.
8526 lt_prog_compiler_wl='-Wl,'
8527 if test ia64 = "$host_cpu"; then
8528 # AIX 5 now supports IA64 processor
8529 lt_prog_compiler_static='-Bstatic'
8531 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8535 darwin* | rhapsody*)
8536 # PIC is the default on this platform
8537 # Common symbols not allowed in MH_DYLIB files
8538 lt_prog_compiler_pic='-fno-common'
8539 case $cc_basename in
8541 # NAG Fortran compiler
8542 lt_prog_compiler_wl='-Wl,-Wl,,'
8543 lt_prog_compiler_pic='-PIC'
8544 lt_prog_compiler_static='-Bstatic'
8549 mingw* | cygwin* | pw32* | os2* | cegcc*)
8550 # This hack is so that the source file can tell whether it is being
8551 # built for inclusion in a dll (and should export symbols for example).
8552 lt_prog_compiler_pic='-DDLL_EXPORT'
8555 lt_prog_compiler_static='$wl-static'
8560 hpux9* | hpux10* | hpux11*)
8561 lt_prog_compiler_wl='-Wl,'
8562 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8569 lt_prog_compiler_pic='+Z'
8572 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8573 lt_prog_compiler_static='$wl-a ${wl}archive'
8576 irix5* | irix6* | nonstopux*)
8577 lt_prog_compiler_wl='-Wl,'
8578 # PIC (with -KPIC) is the default.
8579 lt_prog_compiler_static='-non_shared'
8582 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8583 case $cc_basename in
8584 # old Intel for x86_64, which still supported -KPIC.
8586 lt_prog_compiler_wl='-Wl,'
8587 lt_prog_compiler_pic='-KPIC'
8588 lt_prog_compiler_static='-static'
8590 # icc used to be incompatible with GCC.
8591 # ICC 10 doesn't accept -KPIC any more.
8593 lt_prog_compiler_wl='-Wl,'
8594 lt_prog_compiler_pic='-fPIC'
8595 lt_prog_compiler_static='-static'
8597 # Lahey Fortran 8.1.
8599 lt_prog_compiler_wl='-Wl,'
8600 lt_prog_compiler_pic='--shared'
8601 lt_prog_compiler_static='--static'
8604 # NAG Fortran compiler
8605 lt_prog_compiler_wl='-Wl,-Wl,,'
8606 lt_prog_compiler_pic='-PIC'
8607 lt_prog_compiler_static='-Bstatic'
8610 # Fabrice Bellard et al's Tiny C Compiler
8611 lt_prog_compiler_wl='-Wl,'
8612 lt_prog_compiler_pic='-fPIC'
8613 lt_prog_compiler_static='-static'
8615 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616 # Portland Group compilers (*not* the Pentium gcc compiler,
8617 # which looks to be a dead project)
8618 lt_prog_compiler_wl='-Wl,'
8619 lt_prog_compiler_pic='-fpic'
8620 lt_prog_compiler_static='-Bstatic'
8623 lt_prog_compiler_wl='-Wl,'
8624 # All Alpha code is PIC.
8625 lt_prog_compiler_static='-non_shared'
8627 xl* | bgxl* | bgf* | mpixl*)
8628 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629 lt_prog_compiler_wl='-Wl,'
8630 lt_prog_compiler_pic='-qpic'
8631 lt_prog_compiler_static='-qstaticlink'
8634 case `$CC -V 2>&1 | sed 5q` in
8635 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8636 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8637 lt_prog_compiler_pic='-KPIC'
8638 lt_prog_compiler_static='-Bstatic'
8639 lt_prog_compiler_wl=''
8641 *Sun\ F* | *Sun*Fortran*)
8642 lt_prog_compiler_pic='-KPIC'
8643 lt_prog_compiler_static='-Bstatic'
8644 lt_prog_compiler_wl='-Qoption ld '
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-Bstatic'
8650 lt_prog_compiler_wl='-Wl,'
8652 *Intel*\ [CF]*Compiler*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-fPIC'
8655 lt_prog_compiler_static='-static'
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-fpic'
8660 lt_prog_compiler_static='-Bstatic'
8668 lt_prog_compiler_pic='-KPIC'
8669 lt_prog_compiler_static='-Bstatic'
8673 # QNX uses GNU C++, but need to define -shared option too, otherwise
8675 lt_prog_compiler_pic='-fPIC -shared'
8678 osf3* | osf4* | osf5*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # All OSF/1 code is PIC.
8681 lt_prog_compiler_static='-non_shared'
8685 lt_prog_compiler_static='-non_shared'
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 case $cc_basename in
8692 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8693 lt_prog_compiler_wl='-Qoption ld ';;
8695 lt_prog_compiler_wl='-Wl,';;
8700 lt_prog_compiler_wl='-Qoption ld '
8701 lt_prog_compiler_pic='-PIC'
8702 lt_prog_compiler_static='-Bstatic'
8705 sysv4 | sysv4.2uw2* | sysv4.3*)
8706 lt_prog_compiler_wl='-Wl,'
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8712 if test -d /usr/nec; then
8713 lt_prog_compiler_pic='-Kconform_pic'
8714 lt_prog_compiler_static='-Bstatic'
8718 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8719 lt_prog_compiler_wl='-Wl,'
8720 lt_prog_compiler_pic='-KPIC'
8721 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8726 lt_prog_compiler_can_build_shared=no
8730 lt_prog_compiler_pic='-pic'
8731 lt_prog_compiler_static='-Bstatic'
8735 lt_prog_compiler_can_build_shared=no
8741 # For platforms that do not support PIC, -DPIC is meaningless:
8743 lt_prog_compiler_pic=
8746 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8751 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8752 if ${lt_cv_prog_compiler_pic+:} false; then :
8753 $as_echo_n "(cached) " >&6
8755 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8758 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8759 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8762 # Check to make sure the PIC flag actually works.
8764 if test -n "$lt_prog_compiler_pic"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8767 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8768 $as_echo_n "(cached) " >&6
8770 lt_cv_prog_compiler_pic_works=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_pic_works=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8803 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8804 case $lt_prog_compiler_pic in
8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8809 lt_prog_compiler_pic=
8810 lt_prog_compiler_can_build_shared=no
8826 # Check to make sure the static flag actually works.
8828 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8830 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8831 if ${lt_cv_prog_compiler_static_works+:} false; then :
8832 $as_echo_n "(cached) " >&6
8834 lt_cv_prog_compiler_static_works=no
8835 save_LDFLAGS=$LDFLAGS
8836 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8837 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8838 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8839 # The linker can only warn and ignore the option if not recognized
8840 # So say no if there are warnings
8841 if test -s conftest.err; then
8842 # Append any errors to the config.log.
8843 cat conftest.err 1>&5
8844 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8846 if diff conftest.exp conftest.er2 >/dev/null; then
8847 lt_cv_prog_compiler_static_works=yes
8850 lt_cv_prog_compiler_static_works=yes
8854 LDFLAGS=$save_LDFLAGS
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8858 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8860 if test yes = "$lt_cv_prog_compiler_static_works"; then
8863 lt_prog_compiler_static=
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8873 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8874 if ${lt_cv_prog_compiler_c_o+:} false; then :
8875 $as_echo_n "(cached) " >&6
8877 lt_cv_prog_compiler_c_o=no
8878 $RM -r conftest 2>/dev/null
8882 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8884 lt_compiler_flag="-o out/conftest2.$ac_objext"
8885 # Insert the option either (1) after the last *FLAGS variable, or
8886 # (2) before a word containing "conftest.", or (3) at the end.
8887 # Note that $ac_compile itself does not contain backslashes and begins
8888 # with a dollar sign (not a hyphen), so the echo should work correctly.
8889 lt_compile=`echo "$ac_compile" | $SED \
8890 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8892 -e 's:$: $lt_compiler_flag:'`
8893 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8894 (eval "$lt_compile" 2>out/conftest.err)
8896 cat out/conftest.err >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8900 # The compiler can only warn and ignore the option if not recognized
8901 # So say no if there are warnings
8902 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8903 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8904 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8905 lt_cv_prog_compiler_c_o=yes
8910 # SGI C++ compiler will create directory out/ii_files/ for
8911 # template instantiation
8912 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8913 $RM out/* && rmdir out
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8920 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929 if ${lt_cv_prog_compiler_c_o+:} false; then :
8930 $as_echo_n "(cached) " >&6
8932 lt_cv_prog_compiler_c_o=no
8933 $RM -r conftest 2>/dev/null
8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939 lt_compiler_flag="-o out/conftest2.$ac_objext"
8940 # Insert the option either (1) after the last *FLAGS variable, or
8941 # (2) before a word containing "conftest.", or (3) at the end.
8942 # Note that $ac_compile itself does not contain backslashes and begins
8943 # with a dollar sign (not a hyphen), so the echo should work correctly.
8944 lt_compile=`echo "$ac_compile" | $SED \
8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947 -e 's:$: $lt_compiler_flag:'`
8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949 (eval "$lt_compile" 2>out/conftest.err)
8951 cat out/conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 # The compiler can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960 lt_cv_prog_compiler_c_o=yes
8965 # SGI C++ compiler will create directory out/ii_files/ for
8966 # template instantiation
8967 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968 $RM out/* && rmdir out
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8980 hard_links=nottested
8981 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8982 # do not overwrite the value of need_locks provided by the user
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8984 $as_echo_n "checking if we can lock with hard links... " >&6; }
8987 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8989 ln conftest.a conftest.b 2>&5 || hard_links=no
8990 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8992 $as_echo "$hard_links" >&6; }
8993 if test no = "$hard_links"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8995 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9008 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9011 allow_undefined_flag=
9012 always_export_symbols=no
9014 archive_expsym_cmds=
9015 compiler_needs_object=no
9016 enable_shared_with_static_runtimes=no
9017 export_dynamic_flag_spec=
9018 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9019 hardcode_automatic=no
9021 hardcode_direct_absolute=no
9022 hardcode_libdir_flag_spec=
9023 hardcode_libdir_separator=
9025 hardcode_shlibpath_var=unsupported
9027 link_all_deplibs=unknown
9030 old_archive_from_new_cmds=
9031 old_archive_from_expsyms_cmds=
9032 thread_safe_flag_spec=
9033 whole_archive_flag_spec=
9034 # include_expsyms should be a list of space-separated symbols to be *always*
9035 # included in the symbol list
9037 # exclude_expsyms can be an extended regexp of symbols to exclude
9038 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9039 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9040 # as well as any symbol that contains 'd'.
9041 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9042 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9043 # platforms (ab)use it in PIC code, but their linkers get confused if
9044 # the symbol is explicitly referenced. Since portable code cannot
9045 # rely on this symbol name, it's probably fine to never include it in
9046 # preloaded symbol tables.
9047 # Exclude shared library initialization/finalization symbols.
9048 extract_expsyms_cmds=
9051 cygwin* | mingw* | pw32* | cegcc*)
9052 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9053 # When not using gcc, we currently assume that we are using
9054 # Microsoft Visual C++.
9055 if test yes != "$GCC"; then
9060 # we just hope/assume this is gcc and not c89 (= MSVC++)
9066 linux* | k*bsd*-gnu | gnu*)
9073 # On some targets, GNU ld is compatible enough with the native linker
9074 # that we're better off using the native interface for both.
9075 lt_use_gnu_ld_interface=no
9076 if test yes = "$with_gnu_ld"; then
9079 # The AIX port of GNU ld has always aspired to compatibility
9080 # with the native linker. However, as the warning in the GNU ld
9081 # block says, versions before 2.19.5* couldn't really create working
9082 # shared libraries, regardless of the interface used.
9083 case `$LD -v 2>&1` in
9084 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9085 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9086 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9088 lt_use_gnu_ld_interface=yes
9093 lt_use_gnu_ld_interface=yes
9098 if test yes = "$lt_use_gnu_ld_interface"; then
9099 # If archive_cmds runs LD, not CC, wlarc should be empty
9102 # Set some defaults for GNU ld with shared library support. These
9103 # are reset later if shared libraries are not supported. Putting them
9104 # here allows them to be overridden if necessary.
9105 runpath_var=LD_RUN_PATH
9106 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9107 export_dynamic_flag_spec='$wl--export-dynamic'
9108 # ancient GNU ld didn't support --whole-archive et. al.
9109 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9110 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9112 whole_archive_flag_spec=
9114 supports_anon_versioning=no
9115 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9116 *GNU\ gold*) supports_anon_versioning=yes ;;
9117 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9118 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9119 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9120 *\ 2.11.*) ;; # other 2.11 versions
9121 *) supports_anon_versioning=yes ;;
9124 # See if GNU ld supports shared libraries.
9127 # On AIX/PPC, the GNU linker is very broken
9128 if test ia64 != "$host_cpu"; then
9132 *** Warning: the GNU linker, at least up to release 2.19, is reported
9133 *** to be unable to reliably create shared libraries on AIX.
9134 *** Therefore, libtool is disabling shared libraries support. If you
9135 *** really care for shared libraries, you may want to install binutils
9136 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9137 *** You will then need to restart the configuration process.
9146 # see comment about AmigaOS4 .so support
9147 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9148 archive_expsym_cmds=''
9151 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)'
9152 hardcode_libdir_flag_spec='-L$libdir'
9153 hardcode_minus_L=yes
9159 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9160 allow_undefined_flag=unsupported
9161 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9162 # support --undefined. This deserves some investigation. FIXME
9163 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9169 cygwin* | mingw* | pw32* | cegcc*)
9170 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9171 # as there is no search path for DLLs.
9172 hardcode_libdir_flag_spec='-L$libdir'
9173 export_dynamic_flag_spec='$wl--export-all-symbols'
9174 allow_undefined_flag=unsupported
9175 always_export_symbols=no
9176 enable_shared_with_static_runtimes=yes
9177 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'
9178 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9180 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9181 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9182 # If the export-symbols file already is a .def file, use it as
9183 # is; otherwise, prepend EXPORTS...
9184 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9185 cp $export_symbols $output_objdir/$soname.def;
9187 echo EXPORTS > $output_objdir/$soname.def;
9188 cat $export_symbols >> $output_objdir/$soname.def;
9190 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9198 link_all_deplibs=yes
9202 hardcode_libdir_flag_spec='-L$libdir'
9203 hardcode_minus_L=yes
9204 allow_undefined_flag=unsupported
9206 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9207 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9208 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9209 $ECHO EXPORTS >> $output_objdir/$libname.def~
9210 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9211 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9212 emximp -o $lib $output_objdir/$libname.def'
9213 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9214 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9215 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9216 $ECHO EXPORTS >> $output_objdir/$libname.def~
9218 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9219 prefix_cmds="$prefix_cmds -e 1d";
9221 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9222 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9223 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9224 emximp -o $lib $output_objdir/$libname.def'
9225 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9226 enable_shared_with_static_runtimes=yes
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9233 export_dynamic_flag_spec='$wl-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 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'
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9246 if test linux-dietlibc = "$host_os"; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test no = "$tmp_diet"
9254 tmp_addflag=' $pic_flag'
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 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'
9259 tmp_addflag=' $pic_flag'
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 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'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 nagfor*) # NAGFOR 5.3
9275 tmp_sharedflag='-Wl,-shared' ;;
9276 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9277 tmp_sharedflag='-qmkshrobj'
9279 nvcc*) # Cuda Compiler Driver 2.2
9280 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'
9281 compiler_needs_object=yes
9284 case `$CC -V 2>&1 | sed 5q` in
9285 *Sun\ C*) # Sun C 5.9
9286 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'
9287 compiler_needs_object=yes
9288 tmp_sharedflag='-G' ;;
9289 *Sun\ F*) # Sun Fortran 8.3
9290 tmp_sharedflag='-G' ;;
9292 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9294 if test yes = "$supports_anon_versioning"; then
9295 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9296 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9297 echo "local: *; };" >> $output_objdir/$libname.ver~
9298 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9301 case $cc_basename in
9303 export_dynamic_flag_spec='-rdynamic'
9305 xlf* | bgf* | bgxlf* | mpixlf*)
9306 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9307 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9308 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9309 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9310 if test yes = "$supports_anon_versioning"; then
9311 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9312 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9313 echo "local: *; };" >> $output_objdir/$libname.ver~
9314 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9323 netbsd* | netbsdelf*-gnu)
9324 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9325 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9328 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9329 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9334 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9338 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9339 *** create shared libraries on Solaris systems. Therefore, libtool
9340 *** is disabling shared libraries support. We urge you to upgrade GNU
9341 *** binutils to release 2.9.1 or newer. Another option is to modify
9342 *** your PATH or compiler configuration so that the native linker is
9343 *** used, and then restart.
9346 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9347 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9348 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9354 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9355 case `$LD -v 2>&1` in
9356 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9360 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9361 *** reliably create shared libraries on SCO systems. Therefore, libtool
9362 *** is disabling shared libraries support. We urge you to upgrade GNU
9363 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9370 # For security reasons, it is highly recommended that you always
9371 # use absolute paths for naming shared libraries, and exclude the
9372 # DT_RUNPATH tag from executables and libraries. But doing so
9373 # requires that you compile everything twice, which is a pain.
9374 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9377 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9386 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9389 hardcode_shlibpath_var=no
9393 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9395 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9402 if test no = "$ld_shlibs"; then
9404 hardcode_libdir_flag_spec=
9405 export_dynamic_flag_spec=
9406 whole_archive_flag_spec=
9409 # PORTME fill in a description of your system's linker (not GNU ld)
9412 allow_undefined_flag=unsupported
9413 always_export_symbols=yes
9414 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'
9415 # Note: this linker hardcodes the directories in LIBPATH if there
9416 # are no directories specified by -L.
9417 hardcode_minus_L=yes
9418 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9419 # Neither direct hardcoding nor static linking is supported with a
9421 hardcode_direct=unsupported
9426 if test ia64 = "$host_cpu"; then
9427 # On IA64, the linker does run time linking by default, so we don't
9428 # have to do anything special.
9429 aix_use_runtimelinking=no
9430 exp_sym_flag='-Bexport'
9433 # If we're using GNU nm, then we don't want the "-C" option.
9434 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9435 # Without the "-l" option, or with the "-B" option, AIX nm treats
9436 # weak defined symbols like other global defined symbols, whereas
9437 # GNU nm marks them as "W".
9438 # While the 'weak' keyword is ignored in the Export File, we need
9439 # it in the Import File for the 'aix-soname' feature, so we have
9440 # to replace the "-B" option with "-P" for AIX nm.
9441 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9442 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9444 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9446 aix_use_runtimelinking=no
9448 # Test if we are trying to use run time linking or normal
9449 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9450 # have runtime linking enabled, and use it for executables.
9451 # For shared libraries, we enable/disable runtime linking
9452 # depending on the kind of the shared library created -
9453 # when "with_aix_soname,aix_use_runtimelinking" is:
9454 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9455 # "aix,yes" lib.so shared, rtl:yes, for executables
9456 # lib.a static archive
9457 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9458 # lib.a(lib.so.V) shared, rtl:no, for executables
9459 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9460 # lib.a(lib.so.V) shared, rtl:no
9461 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9462 # lib.a static archive
9463 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9464 for ld_flag in $LDFLAGS; do
9465 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9466 aix_use_runtimelinking=yes
9470 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9471 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9472 # so we don't have lib.a shared libs to link our executables.
9473 # We have to force runtime linking in this case.
9474 aix_use_runtimelinking=yes
9475 LDFLAGS="$LDFLAGS -Wl,-brtl"
9480 exp_sym_flag='-bexport'
9481 no_entry_flag='-bnoentry'
9484 # When large executables or shared objects are built, AIX ld can
9485 # have problems creating the table of contents. If linking a library
9486 # or program results in "error TOC overflow" add -mminimal-toc to
9487 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9488 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9492 hardcode_direct_absolute=yes
9493 hardcode_libdir_separator=':'
9494 link_all_deplibs=yes
9495 file_list_spec='$wl-f,'
9496 case $with_aix_soname,$aix_use_runtimelinking in
9497 aix,*) ;; # traditional, no import file
9498 svr4,* | *,yes) # use import file
9499 # The Import File defines what to hardcode.
9501 hardcode_direct_absolute=no
9505 if test yes = "$GCC"; then
9506 case $host_os in aix4.[012]|aix4.[012].*)
9507 # We only want to do this on AIX 4.2 and lower, the check
9508 # below for broken collect2 doesn't work under 4.3+
9509 collect2name=`$CC -print-prog-name=collect2`
9510 if test -f "$collect2name" &&
9511 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9513 # We have reworked collect2
9516 # We have old collect2
9517 hardcode_direct=unsupported
9518 # It fails to find uninstalled libraries when the uninstalled
9519 # path is not listed in the libpath. Setting hardcode_minus_L
9520 # to unsupported forces relinking
9521 hardcode_minus_L=yes
9522 hardcode_libdir_flag_spec='-L$libdir'
9523 hardcode_libdir_separator=
9527 shared_flag='-shared'
9528 if test yes = "$aix_use_runtimelinking"; then
9529 shared_flag="$shared_flag "'$wl-G'
9531 # Need to ensure runtime linking is disabled for the traditional
9532 # shared library, or the linker may eventually find shared libraries
9533 # /with/ Import File - we do not want to mix them.
9534 shared_flag_aix='-shared'
9535 shared_flag_svr4='-shared $wl-G'
9538 if test ia64 = "$host_cpu"; then
9539 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9540 # chokes on -Wl,-G. The following line is correct:
9543 if test yes = "$aix_use_runtimelinking"; then
9546 shared_flag='$wl-bM:SRE'
9548 shared_flag_aix='$wl-bM:SRE'
9549 shared_flag_svr4='$wl-G'
9553 export_dynamic_flag_spec='$wl-bexpall'
9554 # It seems that -bexpall does not export symbols beginning with
9555 # underscore (_), so it is better to generate a list of symbols to export.
9556 always_export_symbols=yes
9557 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9558 # Warning - without using the other runtime loading flags (-brtl),
9559 # -berok will link without error, but may produce a broken library.
9560 allow_undefined_flag='-berok'
9561 # Determine the default libpath from the value encoded in an
9563 if test set = "${lt_cv_aix_libpath+set}"; then
9564 aix_libpath=$lt_cv_aix_libpath
9566 if ${lt_cv_aix_libpath_+:} false; then :
9567 $as_echo_n "(cached) " >&6
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9580 if ac_fn_c_try_link "$LINENO"; then :
9582 lt_aix_libpath_sed='
9583 /Import File Strings/,/^$/ {
9585 s/^0 *\([^ ]*\) *$/\1/
9589 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590 # Check for a 64-bit object if we didn't find anything.
9591 if test -z "$lt_cv_aix_libpath_"; then
9592 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 if test -z "$lt_cv_aix_libpath_"; then
9598 lt_cv_aix_libpath_=/usr/lib:/lib
9603 aix_libpath=$lt_cv_aix_libpath_
9606 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9607 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9609 if test ia64 = "$host_cpu"; then
9610 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9611 allow_undefined_flag="-z nodefs"
9612 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"
9614 # Determine the default libpath from the value encoded in an
9616 if test set = "${lt_cv_aix_libpath+set}"; then
9617 aix_libpath=$lt_cv_aix_libpath
9619 if ${lt_cv_aix_libpath_+:} false; then :
9620 $as_echo_n "(cached) " >&6
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9633 if ac_fn_c_try_link "$LINENO"; then :
9635 lt_aix_libpath_sed='
9636 /Import File Strings/,/^$/ {
9638 s/^0 *\([^ ]*\) *$/\1/
9642 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9643 # Check for a 64-bit object if we didn't find anything.
9644 if test -z "$lt_cv_aix_libpath_"; then
9645 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 if test -z "$lt_cv_aix_libpath_"; then
9651 lt_cv_aix_libpath_=/usr/lib:/lib
9656 aix_libpath=$lt_cv_aix_libpath_
9659 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9660 # Warning - without using the other run time loading flags,
9661 # -berok will link without error, but may produce a broken library.
9662 no_undefined_flag=' $wl-bernotok'
9663 allow_undefined_flag=' $wl-berok'
9664 if test yes = "$with_gnu_ld"; then
9665 # We only use this code for GNU lds that support --whole-archive.
9666 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9668 # Exported symbols can be pulled into shared objects from archives
9669 whole_archive_flag_spec='$convenience'
9671 archive_cmds_need_lc=yes
9672 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9673 # -brtl affects multiple linker settings, -berok does not and is overridden later
9674 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9675 if test svr4 != "$with_aix_soname"; then
9676 # This is similar to how AIX traditionally builds its shared libraries.
9677 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9679 if test aix != "$with_aix_soname"; then
9680 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9682 # used by -dlpreopen to get the symbols
9683 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9685 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9693 # see comment about AmigaOS4 .so support
9694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9695 archive_expsym_cmds=''
9698 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)'
9699 hardcode_libdir_flag_spec='-L$libdir'
9700 hardcode_minus_L=yes
9706 export_dynamic_flag_spec=-rdynamic
9709 cygwin* | mingw* | pw32* | cegcc*)
9710 # When not using gcc, we currently assume that we are using
9711 # Microsoft Visual C++.
9712 # hardcode_libdir_flag_spec is actually meaningless, as there is
9713 # no search path for DLLs.
9714 case $cc_basename in
9717 hardcode_libdir_flag_spec=' '
9718 allow_undefined_flag=unsupported
9719 always_export_symbols=yes
9721 # Tell ltmain to make .lib files, not .a files.
9723 # Tell ltmain to make .dll files, not .so files.
9725 # FIXME: Setting linknames here is a bad hack.
9726 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9727 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9728 cp "$export_symbols" "$output_objdir/$soname.def";
9729 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9731 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9733 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9735 # The linker will not automatically build a static lib if we build a DLL.
9736 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9737 enable_shared_with_static_runtimes=yes
9738 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9739 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9741 old_postinstall_cmds='chmod 644 $oldlib'
9742 postlink_cmds='lt_outputfile="@OUTPUT@"~
9743 lt_tool_outputfile="@TOOL_OUTPUT@"~
9744 case $lt_outputfile in
9747 lt_outputfile=$lt_outputfile.exe
9748 lt_tool_outputfile=$lt_tool_outputfile.exe
9751 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9752 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9753 $RM "$lt_outputfile.manifest";
9757 # Assume MSVC wrapper
9758 hardcode_libdir_flag_spec=' '
9759 allow_undefined_flag=unsupported
9760 # Tell ltmain to make .lib files, not .a files.
9762 # Tell ltmain to make .dll files, not .so files.
9764 # FIXME: Setting linknames here is a bad hack.
9765 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9766 # The linker will automatically build a .lib file if we build a DLL.
9767 old_archive_from_new_cmds='true'
9768 # FIXME: Should let the user specify the lib program.
9769 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9770 enable_shared_with_static_runtimes=yes
9775 darwin* | rhapsody*)
9778 archive_cmds_need_lc=no
9780 hardcode_automatic=yes
9781 hardcode_shlibpath_var=unsupported
9782 if test yes = "$lt_cv_ld_force_load"; then
9783 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\"`'
9786 whole_archive_flag_spec=''
9788 link_all_deplibs=yes
9789 allow_undefined_flag=$_lt_dar_allow_undefined
9790 case $cc_basename in
9791 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9792 *) _lt_dar_can_shared=$GCC ;;
9794 if test yes = "$_lt_dar_can_shared"; then
9795 output_verbose_link_cmd=func_echo_all
9796 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9797 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9798 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"
9799 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"
9808 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_libdir_flag_spec='-L$libdir'
9810 hardcode_shlibpath_var=no
9813 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9814 # support. Future versions do this automatically, but an explicit c++rt0.o
9815 # does not break anything, and helps significantly (at the cost of a little
9818 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9819 hardcode_libdir_flag_spec='-R$libdir'
9821 hardcode_shlibpath_var=no
9824 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9826 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9828 hardcode_minus_L=yes
9829 hardcode_shlibpath_var=no
9832 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9833 freebsd* | dragonfly*)
9834 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9835 hardcode_libdir_flag_spec='-R$libdir'
9837 hardcode_shlibpath_var=no
9841 if test yes = "$GCC"; then
9842 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9844 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9846 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9847 hardcode_libdir_separator=:
9850 # hardcode_minus_L: Not really in the search PATH,
9851 # but as the default location of the library.
9852 hardcode_minus_L=yes
9853 export_dynamic_flag_spec='$wl-E'
9857 if test yes,no = "$GCC,$with_gnu_ld"; then
9858 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9862 if test no = "$with_gnu_ld"; then
9863 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9864 hardcode_libdir_separator=:
9866 hardcode_direct_absolute=yes
9867 export_dynamic_flag_spec='$wl-E'
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L=yes
9875 if test yes,no = "$GCC,$with_gnu_ld"; then
9878 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9897 # Older versions of the 11.00 compiler do not understand -b yet
9898 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if ${lt_cv_prog_compiler__b+:} false; then :
9902 $as_echo_n "(cached) " >&6
9904 lt_cv_prog_compiler__b=no
9905 save_LDFLAGS=$LDFLAGS
9906 LDFLAGS="$LDFLAGS -b"
9907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 # The linker can only warn and ignore the option if not recognized
9910 # So say no if there are warnings
9911 if test -s conftest.err; then
9912 # Append any errors to the config.log.
9913 cat conftest.err 1>&5
9914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 if diff conftest.exp conftest.er2 >/dev/null; then
9917 lt_cv_prog_compiler__b=yes
9920 lt_cv_prog_compiler__b=yes
9924 LDFLAGS=$save_LDFLAGS
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9930 if test yes = "$lt_cv_prog_compiler__b"; then
9931 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9939 if test no = "$with_gnu_ld"; then
9940 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9941 hardcode_libdir_separator=:
9946 hardcode_shlibpath_var=no
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='$wl-E'
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9961 irix5* | irix6* | nonstopux*)
9962 if test yes = "$GCC"; then
9963 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'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 # This should be the same for all languages, so no per-tag cache variable.
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9969 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9970 if ${lt_cv_irix_exported_symbol+:} false; then :
9971 $as_echo_n "(cached) " >&6
9973 save_LDFLAGS=$LDFLAGS
9974 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9977 int foo (void) { return 0; }
9979 if ac_fn_c_try_link "$LINENO"; then :
9980 lt_cv_irix_exported_symbol=yes
9982 lt_cv_irix_exported_symbol=no
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 LDFLAGS=$save_LDFLAGS
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9989 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9990 if test yes = "$lt_cv_irix_exported_symbol"; then
9991 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'
9995 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'
9996 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'
9998 archive_cmds_need_lc='no'
9999 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10000 hardcode_libdir_separator=:
10002 link_all_deplibs=yes
10006 case $cc_basename in
10008 # Fabrice Bellard et al's Tiny C Compiler
10010 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10015 netbsd* | netbsdelf*-gnu)
10016 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10017 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10019 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10021 hardcode_libdir_flag_spec='-R$libdir'
10022 hardcode_direct=yes
10023 hardcode_shlibpath_var=no
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_direct=yes
10029 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10030 hardcode_libdir_separator=:
10031 hardcode_shlibpath_var=no
10037 openbsd* | bitrig*)
10038 if test -f /usr/libexec/ld.so; then
10039 hardcode_direct=yes
10040 hardcode_shlibpath_var=no
10041 hardcode_direct_absolute=yes
10042 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10043 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10045 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10046 export_dynamic_flag_spec='$wl-E'
10048 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10049 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10057 hardcode_libdir_flag_spec='-L$libdir'
10058 hardcode_minus_L=yes
10059 allow_undefined_flag=unsupported
10061 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10062 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10063 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10064 $ECHO EXPORTS >> $output_objdir/$libname.def~
10065 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10066 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10067 emximp -o $lib $output_objdir/$libname.def'
10068 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10069 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10070 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10071 $ECHO EXPORTS >> $output_objdir/$libname.def~
10072 prefix_cmds="$SED"~
10073 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10074 prefix_cmds="$prefix_cmds -e 1d";
10076 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10077 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10078 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10079 emximp -o $lib $output_objdir/$libname.def'
10080 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10081 enable_shared_with_static_runtimes=yes
10085 if test yes = "$GCC"; then
10086 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10087 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'
10089 allow_undefined_flag=' -expect_unresolved \*'
10090 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'
10092 archive_cmds_need_lc='no'
10093 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10094 hardcode_libdir_separator=:
10097 osf4* | osf5*) # as osf3* with the addition of -msym flag
10098 if test yes = "$GCC"; then
10099 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10100 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'
10101 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10103 allow_undefined_flag=' -expect_unresolved \*'
10104 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'
10105 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~
10106 $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'
10108 # Both c and cxx compiler support -rpath directly
10109 hardcode_libdir_flag_spec='-rpath $libdir'
10111 archive_cmds_need_lc='no'
10112 hardcode_libdir_separator=:
10116 no_undefined_flag=' -z defs'
10117 if test yes = "$GCC"; then
10119 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10121 $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'
10123 case `$CC -V 2>&1` in
10126 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10128 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10132 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10133 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10138 hardcode_libdir_flag_spec='-R$libdir'
10139 hardcode_shlibpath_var=no
10141 solaris2.[0-5] | solaris2.[0-5].*) ;;
10143 # The compiler driver will combine and reorder linker options,
10144 # but understands '-z linker_flag'. GCC discards it without '$wl',
10145 # but is careful enough not to reorder.
10146 # Supported since Solaris 2.6 (maybe 2.5.1?)
10147 if test yes = "$GCC"; then
10148 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10150 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10154 link_all_deplibs=yes
10158 if test sequent = "$host_vendor"; then
10159 # Use $CC to link under sequent, because it throws in some extra .o
10160 # files that make .init and .fini sections work.
10161 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10163 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10165 hardcode_libdir_flag_spec='-L$libdir'
10166 hardcode_direct=yes
10167 hardcode_minus_L=yes
10168 hardcode_shlibpath_var=no
10172 case $host_vendor in
10174 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10175 hardcode_direct=yes # is this really true???
10178 ## LD is ld it makes a PLAMLIB
10179 ## CC just makes a GrossModule.
10180 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10181 reload_cmds='$CC -r -o $output$reload_objs'
10185 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10186 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10189 runpath_var='LD_RUN_PATH'
10190 hardcode_shlibpath_var=no
10194 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10195 hardcode_shlibpath_var=no
10196 export_dynamic_flag_spec='-Bexport'
10200 if test -d /usr/nec; then
10201 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202 hardcode_shlibpath_var=no
10203 runpath_var=LD_RUN_PATH
10204 hardcode_runpath_var=yes
10209 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10210 no_undefined_flag='$wl-z,text'
10211 archive_cmds_need_lc=no
10212 hardcode_shlibpath_var=no
10213 runpath_var='LD_RUN_PATH'
10215 if test yes = "$GCC"; then
10216 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224 sysv5* | sco3.2v5* | sco5v6*)
10225 # Note: We CANNOT use -z defs as we might desire, because we do not
10226 # link with -lc, and that would cause any symbols used from libc to
10227 # always be unresolved, which means just about no library would
10228 # ever link correctly. If we're not using GNU ld we use -z text
10229 # though, which does catch some bad symbols but isn't as heavy-handed
10231 no_undefined_flag='$wl-z,text'
10232 allow_undefined_flag='$wl-z,nodefs'
10233 archive_cmds_need_lc=no
10234 hardcode_shlibpath_var=no
10235 hardcode_libdir_flag_spec='$wl-R,$libdir'
10236 hardcode_libdir_separator=':'
10237 link_all_deplibs=yes
10238 export_dynamic_flag_spec='$wl-Bexport'
10239 runpath_var='LD_RUN_PATH'
10241 if test yes = "$GCC"; then
10242 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10251 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10252 hardcode_libdir_flag_spec='-L$libdir'
10253 hardcode_shlibpath_var=no
10261 if test sni = "$host_vendor"; then
10263 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10264 export_dynamic_flag_spec='$wl-Blargedynsym'
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10271 $as_echo "$ld_shlibs" >&6; }
10272 test no = "$ld_shlibs" && can_build_shared=no
10274 with_gnu_ld=$with_gnu_ld
10291 # Do we need to explicitly link libc?
10293 case "x$archive_cmds_need_lc" in
10295 # Assume -lc should be added
10296 archive_cmds_need_lc=yes
10298 if test yes,yes = "$GCC,$enable_shared"; then
10299 case $archive_cmds in
10301 # FIXME: we may have to deal with multi-command sequences.
10304 # Test whether the compiler implicitly links with -lc since on some
10305 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10306 # to ld, don't add -lc before -lgcc.
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10308 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10309 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10310 $as_echo_n "(cached) " >&6
10313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10316 (eval $ac_compile) 2>&5
10318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10319 test $ac_status = 0; } 2>conftest.err; then
10322 libobjs=conftest.$ac_objext
10324 wl=$lt_prog_compiler_wl
10325 pic_flag=$lt_prog_compiler_pic
10331 lt_save_allow_undefined_flag=$allow_undefined_flag
10332 allow_undefined_flag=
10333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10334 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10337 test $ac_status = 0; }
10339 lt_cv_archive_cmds_need_lc=no
10341 lt_cv_archive_cmds_need_lc=yes
10343 allow_undefined_flag=$lt_save_allow_undefined_flag
10345 cat conftest.err 1>&5
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10351 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10352 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10511 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10513 if test yes = "$GCC"; then
10515 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10516 *) lt_awk_arg='/^libraries:/' ;;
10519 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10520 *) lt_sed_strip_eq='s|=/|/|g' ;;
10522 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10523 case $lt_search_path_spec in
10525 # if the path contains ";" then we assume it to be the separator
10526 # otherwise default to the standard path separator (i.e. ":") - it is
10527 # assumed that no part of a normal pathname contains ";" but that should
10528 # okay in the real world where ";" in dirpaths is itself problematic.
10529 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10532 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10535 # Ok, now we have the path, separated by spaces, we can step through it
10536 # and add multilib dir if necessary...
10537 lt_tmp_lt_search_path_spec=
10538 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10539 # ...but if some path component already ends with the multilib dir we assume
10540 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10541 case "$lt_multi_os_dir; $lt_search_path_spec " in
10542 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10546 for lt_sys_path in $lt_search_path_spec; do
10547 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10548 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10549 elif test -n "$lt_multi_os_dir"; then
10550 test -d "$lt_sys_path" && \
10551 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10554 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10555 BEGIN {RS = " "; FS = "/|\n";} {
10558 for (lt_i = NF; lt_i > 0; lt_i--) {
10559 if ($lt_i != "" && $lt_i != ".") {
10560 if ($lt_i == "..") {
10563 if (lt_count == 0) {
10564 lt_foo = "/" $lt_i lt_foo;
10571 if (lt_foo != "") { lt_freq[lt_foo]++; }
10572 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10574 # AWK program above erroneously prepends '/' to C:/dos/paths
10577 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10578 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10580 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10582 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10584 library_names_spec=
10585 libname_spec='lib$name'
10589 postuninstall_cmds=
10593 shlibpath_overrides_runpath=unknown
10595 dynamic_linker="$host_os ld.so"
10596 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10597 need_lib_prefix=unknown
10598 hardcode_into_libs=no
10600 # when you set need_version to no, make sure it does not cause -set_version
10601 # flags to be left without arguments
10602 need_version=unknown
10608 version_type=linux # correct to gnu/linux during the next big refactor
10609 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10610 shlibpath_var=LIBPATH
10612 # AIX 3 has no versioning support, so we append a major version to the name.
10613 soname_spec='$libname$release$shared_ext$major'
10617 version_type=linux # correct to gnu/linux during the next big refactor
10620 hardcode_into_libs=yes
10621 if test ia64 = "$host_cpu"; then
10622 # AIX 5 supports IA64
10623 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10624 shlibpath_var=LD_LIBRARY_PATH
10626 # With GCC up to 2.95.x, collect2 would create an import file
10627 # for dependence libraries. The import file would start with
10628 # the line '#! .'. This would cause the generated library to
10629 # depend on '.', always an invalid library. This was fixed in
10630 # development snapshots of GCC prior to 3.0.
10632 aix4 | aix4.[01] | aix4.[01].*)
10633 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10635 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10638 can_build_shared=no
10642 # Using Import Files as archive members, it is possible to support
10643 # filename-based versioning of shared library archives on AIX. While
10644 # this would work for both with and without runtime linking, it will
10645 # prevent static linking of such archives. So we do filename-based
10646 # shared library versioning with .so extension only, which is used
10647 # when both runtime linking and shared linking is enabled.
10648 # Unfortunately, runtime linking may impact performance, so we do
10649 # not want this to be the default eventually. Also, we use the
10650 # versioned .so libs for executables only if there is the -brtl
10651 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10652 # To allow for filename-based versioning support, we need to create
10653 # libNAME.so.V as an archive file, containing:
10654 # *) an Import File, referring to the versioned filename of the
10655 # archive as well as the shared archive member, telling the
10656 # bitwidth (32 or 64) of that shared object, and providing the
10657 # list of exported symbols of that shared object, eventually
10658 # decorated with the 'weak' keyword
10659 # *) the shared object with the F_LOADONLY flag set, to really avoid
10660 # it being seen by the linker.
10661 # At run time we better use the real file rather than another symlink,
10662 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10664 case $with_aix_soname,$aix_use_runtimelinking in
10665 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10666 # soname into executable. Probably we can add versioning support to
10667 # collect2, so additional links can be useful in future.
10668 aix,yes) # traditional libtool
10669 dynamic_linker='AIX unversionable lib.so'
10670 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10671 # instead of lib<name>.a to let people know that these are not
10672 # typical AIX shared libraries.
10673 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10675 aix,no) # traditional AIX only
10676 dynamic_linker='AIX lib.a(lib.so.V)'
10677 # We preserve .a as extension for shared libraries through AIX4.2
10678 # and later when we are not doing run time linking.
10679 library_names_spec='$libname$release.a $libname.a'
10680 soname_spec='$libname$release$shared_ext$major'
10682 svr4,*) # full svr4 only
10683 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10684 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10685 # We do not specify a path in Import Files, so LIBPATH fires.
10686 shlibpath_overrides_runpath=yes
10688 *,yes) # both, prefer svr4
10689 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10690 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10691 # unpreferred sharedlib libNAME.a needs extra handling
10692 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10693 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10694 # We do not specify a path in Import Files, so LIBPATH fires.
10695 shlibpath_overrides_runpath=yes
10697 *,no) # both, prefer aix
10698 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10699 library_names_spec='$libname$release.a $libname.a'
10700 soname_spec='$libname$release$shared_ext$major'
10701 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10702 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10703 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10706 shlibpath_var=LIBPATH
10713 # Since July 2007 AmigaOS4 officially supports .so libraries.
10714 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10718 library_names_spec='$libname.ixlibrary $libname.a'
10719 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10720 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10726 library_names_spec='$libname$shared_ext'
10727 dynamic_linker="$host_os ld.so"
10728 shlibpath_var=LIBRARY_PATH
10732 version_type=linux # correct to gnu/linux during the next big refactor
10734 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10735 soname_spec='$libname$release$shared_ext$major'
10736 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10737 shlibpath_var=LD_LIBRARY_PATH
10738 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10739 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10740 # the default ld.so.conf also contains /usr/contrib/lib and
10741 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10742 # libtool to hard-code these into programs
10745 cygwin* | mingw* | pw32* | cegcc*)
10746 version_type=windows
10751 case $GCC,$cc_basename in
10754 library_names_spec='$libname.dll.a'
10755 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10756 postinstall_cmds='base_file=`basename \$file`~
10757 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10758 dldir=$destdir/`dirname \$dlpath`~
10759 test -d \$dldir || mkdir -p \$dldir~
10760 $install_prog $dir/$dlname \$dldir/$dlname~
10761 chmod a+x \$dldir/$dlname~
10762 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10763 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10765 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10766 dlpath=$dir/\$dldll~
10768 shlibpath_overrides_runpath=yes
10772 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10773 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10775 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10778 # MinGW DLLs use traditional 'lib' prefix
10779 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10782 # pw32 DLLs use 'pw' prefix rather than 'lib'
10783 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10786 dynamic_linker='Win32 ld.exe'
10791 libname_spec='$name'
10792 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10793 library_names_spec='$libname.dll.lib'
10797 sys_lib_search_path_spec=
10800 for lt_path in $LIB
10803 # Let DOS variable expansion print the short 8.3 style file name.
10804 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10805 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10808 # Convert to MSYS style.
10809 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10812 # Convert to unix form, then to dos form, then back to unix form
10813 # but this time dos style (no spaces!) so that the unix form looks
10814 # like /cygdrive/c/PROGRA~1:/cygdr...
10815 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10816 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10817 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10820 sys_lib_search_path_spec=$LIB
10821 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10822 # It is most probably a Windows format PATH.
10823 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10825 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10827 # FIXME: find the short name or the path components, as spaces are
10828 # common. (e.g. "Program Files" -> "PROGRA~1")
10832 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10833 postinstall_cmds='base_file=`basename \$file`~
10834 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10835 dldir=$destdir/`dirname \$dlpath`~
10836 test -d \$dldir || mkdir -p \$dldir~
10837 $install_prog $dir/$dlname \$dldir/$dlname'
10838 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10839 dlpath=$dir/\$dldll~
10841 shlibpath_overrides_runpath=yes
10842 dynamic_linker='Win32 link.exe'
10846 # Assume MSVC wrapper
10847 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10848 dynamic_linker='Win32 ld.exe'
10851 # FIXME: first we should search . and the directory the executable is in
10855 darwin* | rhapsody*)
10856 dynamic_linker="$host_os dyld"
10857 version_type=darwin
10860 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10861 soname_spec='$libname$release$major$shared_ext'
10862 shlibpath_overrides_runpath=yes
10863 shlibpath_var=DYLD_LIBRARY_PATH
10864 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10866 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10867 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10871 version_type=linux # correct to gnu/linux during the next big refactor
10874 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10875 soname_spec='$libname$release$shared_ext$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10879 freebsd* | dragonfly*)
10880 # DragonFly does not have aout. When/if they implement a new
10881 # versioning mechanism, adjust this.
10882 if test -x /usr/bin/objformat; then
10883 objformat=`/usr/bin/objformat`
10886 freebsd[23].*) objformat=aout ;;
10887 *) objformat=elf ;;
10890 version_type=freebsd-$objformat
10891 case $version_type in
10893 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10894 soname_spec='$libname$release$shared_ext$major'
10899 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10903 shlibpath_var=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath=yes
10908 freebsd3.[01]* | freebsdelf3.[01]*)
10909 shlibpath_overrides_runpath=yes
10910 hardcode_into_libs=yes
10912 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10913 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10914 shlibpath_overrides_runpath=no
10915 hardcode_into_libs=yes
10917 *) # from 4.6 on, and DragonFly
10918 shlibpath_overrides_runpath=yes
10919 hardcode_into_libs=yes
10925 version_type=linux # correct to gnu/linux during the next big refactor
10928 dynamic_linker="$host_os runtime_loader"
10929 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10930 soname_spec='$libname$release$shared_ext$major'
10931 shlibpath_var=LIBRARY_PATH
10932 shlibpath_overrides_runpath=no
10933 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10934 hardcode_into_libs=yes
10937 hpux9* | hpux10* | hpux11*)
10938 # Give a soname corresponding to the major version so that dld.sl refuses to
10939 # link against other versions.
10946 hardcode_into_libs=yes
10947 dynamic_linker="$host_os dld.so"
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10950 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10951 soname_spec='$libname$release$shared_ext$major'
10952 if test 32 = "$HPUX_IA64_MODE"; then
10953 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10954 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10956 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10957 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10962 hardcode_into_libs=yes
10963 dynamic_linker="$host_os dld.sl"
10964 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10965 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10966 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10967 soname_spec='$libname$release$shared_ext$major'
10968 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10969 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10973 dynamic_linker="$host_os dld.sl"
10974 shlibpath_var=SHLIB_PATH
10975 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10976 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10977 soname_spec='$libname$release$shared_ext$major'
10980 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10981 postinstall_cmds='chmod 555 $lib'
10982 # or fails outright, so override atomically:
10983 install_override_mode=555
10987 version_type=linux # correct to gnu/linux during the next big refactor
10990 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10991 soname_spec='$libname$release$shared_ext$major'
10992 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=no
10995 hardcode_into_libs=yes
10998 irix5* | irix6* | nonstopux*)
11000 nonstopux*) version_type=nonstopux ;;
11002 if test yes = "$lt_cv_prog_gnu_ld"; then
11003 version_type=linux # correct to gnu/linux during the next big refactor
11010 soname_spec='$libname$release$shared_ext$major'
11011 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11013 irix5* | nonstopux*)
11014 libsuff= shlibsuff=
11017 case $LD in # libtool.m4 will add one of these switches to LD
11018 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11019 libsuff= shlibsuff= libmagic=32-bit;;
11020 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11021 libsuff=32 shlibsuff=N32 libmagic=N32;;
11022 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11023 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11024 *) libsuff= shlibsuff= libmagic=never-match;;
11028 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11029 shlibpath_overrides_runpath=no
11030 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11031 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11032 hardcode_into_libs=yes
11035 # No shared lib support for Linux oldld, aout, or coff.
11036 linux*oldld* | linux*aout* | linux*coff*)
11041 version_type=none # Android doesn't support versioned libraries.
11044 library_names_spec='$libname$release$shared_ext'
11045 soname_spec='$libname$release$shared_ext'
11047 shlibpath_var=LD_LIBRARY_PATH
11048 shlibpath_overrides_runpath=yes
11050 # This implies no fast_install, which is unacceptable.
11051 # Some rework will be needed to allow for fast_install
11052 # before this can be enabled.
11053 hardcode_into_libs=yes
11055 dynamic_linker='Android linker'
11056 # Don't embed -rpath directories since the linker doesn't support them.
11057 hardcode_libdir_flag_spec='-L$libdir'
11060 # This must be glibc/ELF.
11061 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11062 version_type=linux # correct to gnu/linux during the next big refactor
11065 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11066 soname_spec='$libname$release$shared_ext$major'
11067 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11068 shlibpath_var=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath=no
11071 # Some binutils ld are patched to set DT_RUNPATH
11072 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11073 $as_echo_n "(cached) " >&6
11075 lt_cv_shlibpath_overrides_runpath=no
11076 save_LDFLAGS=$LDFLAGS
11077 save_libdir=$libdir
11078 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11079 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11093 lt_cv_shlibpath_overrides_runpath=yes
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LDFLAGS=$save_LDFLAGS
11099 libdir=$save_libdir
11103 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11105 # This implies no fast_install, which is unacceptable.
11106 # Some rework will be needed to allow for fast_install
11107 # before this can be enabled.
11108 hardcode_into_libs=yes
11110 # Ideally, we could use ldconfig to report *all* directores which are
11111 # searched for libraries, however this is still not possible. Aside from not
11112 # being certain /sbin/ldconfig is available, command
11113 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11114 # even though it is searched at run-time. Try to do the best guess by
11115 # appending ld.so.conf contents (and includes) to the search path.
11116 if test -f /etc/ld.so.conf; then
11117 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' ' '`
11118 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11121 # We used to test for /lib/ld.so.1 and disable shared libraries on
11122 # powerpc, because MkLinux only supported shared libraries with the
11123 # GNU dynamic linker. Since this was broken with cross compilers,
11124 # most powerpc-linux boxes support dynamic linking these days and
11125 # people can always --disable-shared, the test was removed, and we
11126 # assume the GNU/Linux dynamic linker is in use.
11127 dynamic_linker='GNU/Linux ld.so'
11134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11135 soname_spec='${libname}${release}${shared_ext}$major'
11136 shlibpath_var=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath=no
11138 hardcode_into_libs=yes
11139 dynamic_linker='NetBSD ld.elf_so'
11146 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11147 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11148 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11149 dynamic_linker='NetBSD (a.out) ld.so'
11151 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11152 soname_spec='$libname$release$shared_ext$major'
11153 dynamic_linker='NetBSD ld.elf_so'
11155 shlibpath_var=LD_LIBRARY_PATH
11156 shlibpath_overrides_runpath=yes
11157 hardcode_into_libs=yes
11161 version_type=linux # correct to gnu/linux during the next big refactor
11162 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11163 shlibpath_var=LD_LIBRARY_PATH
11164 shlibpath_overrides_runpath=yes
11171 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11172 soname_spec='$libname$release$shared_ext$major'
11173 shlibpath_var=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath=no
11175 hardcode_into_libs=yes
11176 dynamic_linker='ldqnx.so'
11179 openbsd* | bitrig*)
11181 sys_lib_dlsearch_path_spec=/usr/lib
11183 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11188 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11189 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11190 shlibpath_var=LD_LIBRARY_PATH
11191 shlibpath_overrides_runpath=yes
11195 libname_spec='$name'
11196 version_type=windows
11200 # OS/2 can only load a DLL with a base name of 8 characters or less.
11201 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11202 v=$($ECHO $release$versuffix | tr -d .-);
11203 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11204 $ECHO $n$v`$shared_ext'
11205 library_names_spec='${libname}_dll.$libext'
11206 dynamic_linker='OS/2 ld.exe'
11207 shlibpath_var=BEGINLIBPATH
11208 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11209 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11210 postinstall_cmds='base_file=`basename \$file`~
11211 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11212 dldir=$destdir/`dirname \$dlpath`~
11213 test -d \$dldir || mkdir -p \$dldir~
11214 $install_prog $dir/$dlname \$dldir/$dlname~
11215 chmod a+x \$dldir/$dlname~
11216 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11217 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11219 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11220 dlpath=$dir/\$dldll~
11224 osf3* | osf4* | osf5*)
11228 soname_spec='$libname$release$shared_ext$major'
11229 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11230 shlibpath_var=LD_LIBRARY_PATH
11231 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11232 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11240 version_type=linux # correct to gnu/linux during the next big refactor
11243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11244 soname_spec='$libname$release$shared_ext$major'
11245 shlibpath_var=LD_LIBRARY_PATH
11246 shlibpath_overrides_runpath=yes
11247 hardcode_into_libs=yes
11248 # ldd complains unless libraries are executable
11249 postinstall_cmds='chmod +x $lib'
11254 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11255 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11256 shlibpath_var=LD_LIBRARY_PATH
11257 shlibpath_overrides_runpath=yes
11258 if test yes = "$with_gnu_ld"; then
11265 version_type=linux # correct to gnu/linux during the next big refactor
11266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11267 soname_spec='$libname$release$shared_ext$major'
11268 shlibpath_var=LD_LIBRARY_PATH
11269 case $host_vendor in
11271 shlibpath_overrides_runpath=no
11273 runpath_var=LD_RUN_PATH
11281 shlibpath_overrides_runpath=no
11282 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11288 if test -d /usr/nec; then
11289 version_type=linux # correct to gnu/linux during the next big refactor
11290 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11291 soname_spec='$libname$shared_ext.$major'
11292 shlibpath_var=LD_LIBRARY_PATH
11296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11301 soname_spec='$libname$release$shared_ext$major'
11302 shlibpath_var=LD_LIBRARY_PATH
11303 shlibpath_overrides_runpath=yes
11304 hardcode_into_libs=yes
11305 if test yes = "$with_gnu_ld"; then
11306 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11308 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11311 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11315 sys_lib_dlsearch_path_spec='/usr/lib'
11319 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11320 version_type=linux # correct to gnu/linux during the next big refactor
11323 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 shlibpath_overrides_runpath=no
11326 hardcode_into_libs=yes
11330 version_type=linux # correct to gnu/linux during the next big refactor
11331 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11332 soname_spec='$libname$release$shared_ext$major'
11333 shlibpath_var=LD_LIBRARY_PATH
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11341 $as_echo "$dynamic_linker" >&6; }
11342 test no = "$dynamic_linker" && can_build_shared=no
11344 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11345 if test yes = "$GCC"; then
11346 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11349 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11350 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11353 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11354 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11357 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11358 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11360 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11361 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11363 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11364 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11463 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11465 if test -n "$hardcode_libdir_flag_spec" ||
11466 test -n "$runpath_var" ||
11467 test yes = "$hardcode_automatic"; then
11469 # We can hardcode non-existent directories.
11470 if test no != "$hardcode_direct" &&
11471 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11472 # have to relink, otherwise we might link with an installed library
11473 # when we should be linking with a yet-to-be-installed one
11474 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11475 test no != "$hardcode_minus_L"; then
11476 # Linking always hardcodes the temporary library directory.
11477 hardcode_action=relink
11479 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11480 hardcode_action=immediate
11483 # We cannot hardcode anything, or else we can only hardcode existing
11485 hardcode_action=unsupported
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11488 $as_echo "$hardcode_action" >&6; }
11490 if test relink = "$hardcode_action" ||
11491 test yes = "$inherit_rpath"; then
11492 # Fast installation is not supported
11493 enable_fast_install=no
11494 elif test yes = "$shlibpath_overrides_runpath" ||
11495 test no = "$enable_shared"; then
11496 # Fast installation is not necessary
11497 enable_fast_install=needless
11505 if test yes != "$enable_dlopen"; then
11506 enable_dlopen=unknown
11507 enable_dlopen_self=unknown
11508 enable_dlopen_self_static=unknown
11515 lt_cv_dlopen=load_add_on
11517 lt_cv_dlopen_self=yes
11520 mingw* | pw32* | cegcc*)
11521 lt_cv_dlopen=LoadLibrary
11526 lt_cv_dlopen=dlopen
11531 # if libdl is installed we need to link against it
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11533 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11534 if ${ac_cv_lib_dl_dlopen+:} false; then :
11535 $as_echo_n "(cached) " >&6
11537 ac_check_lib_save_LIBS=$LIBS
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11557 if ac_fn_c_try_link "$LINENO"; then :
11558 ac_cv_lib_dl_dlopen=yes
11560 ac_cv_lib_dl_dlopen=no
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11567 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11568 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11569 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11574 lt_cv_dlopen_self=yes
11581 # Don't try to run any link tests for TPF. We know it's impossible
11582 # because TPF is a cross-compiler, and we know how we open DSOs.
11583 lt_cv_dlopen=dlopen
11585 lt_cv_dlopen_self=no
11589 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11590 if test "x$ac_cv_func_shl_load" = xyes; then :
11591 lt_cv_dlopen=shl_load
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11594 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11595 if ${ac_cv_lib_dld_shl_load+:} false; then :
11596 $as_echo_n "(cached) " >&6
11598 ac_check_lib_save_LIBS=$LIBS
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11613 return shl_load ();
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 ac_cv_lib_dld_shl_load=yes
11621 ac_cv_lib_dld_shl_load=no
11623 rm -f core conftest.err conftest.$ac_objext \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11628 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11629 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11630 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11632 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11633 if test "x$ac_cv_func_dlopen" = xyes; then :
11634 lt_cv_dlopen=dlopen
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11637 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11638 if ${ac_cv_lib_dl_dlopen+:} false; then :
11639 $as_echo_n "(cached) " >&6
11641 ac_check_lib_save_LIBS=$LIBS
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 ac_cv_lib_dl_dlopen=yes
11664 ac_cv_lib_dl_dlopen=no
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11671 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11672 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11673 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11676 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11677 if ${ac_cv_lib_svld_dlopen+:} false; then :
11678 $as_echo_n "(cached) " >&6
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lsvld $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 ac_cv_lib_svld_dlopen=yes
11703 ac_cv_lib_svld_dlopen=no
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_lib_save_LIBS
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11710 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11711 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11712 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11715 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11716 if ${ac_cv_lib_dld_dld_link+:} false; then :
11717 $as_echo_n "(cached) " >&6
11719 ac_check_lib_save_LIBS=$LIBS
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11724 /* Override any GCC internal prototype to avoid an error.
11725 Use char because int might match the return type of a GCC
11726 builtin and then its argument prototype would still apply. */
11734 return dld_link ();
11739 if ac_fn_c_try_link "$LINENO"; then :
11740 ac_cv_lib_dld_dld_link=yes
11742 ac_cv_lib_dld_dld_link=no
11744 rm -f core conftest.err conftest.$ac_objext \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_lib_save_LIBS
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11749 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11750 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11751 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11772 if test no = "$lt_cv_dlopen"; then
11778 case $lt_cv_dlopen in
11780 save_CPPFLAGS=$CPPFLAGS
11781 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11783 save_LDFLAGS=$LDFLAGS
11784 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11787 LIBS="$lt_cv_dlopen_libs $LIBS"
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11790 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11791 if ${lt_cv_dlopen_self+:} false; then :
11792 $as_echo_n "(cached) " >&6
11794 if test yes = "$cross_compiling"; then :
11795 lt_cv_dlopen_self=cross
11797 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11798 lt_status=$lt_dlunknown
11799 cat > conftest.$ac_ext <<_LT_EOF
11800 #line $LINENO "configure"
11801 #include "confdefs.h"
11810 # define LT_DLGLOBAL RTLD_GLOBAL
11813 # define LT_DLGLOBAL DL_GLOBAL
11815 # define LT_DLGLOBAL 0
11819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11820 find out it does not work in some platform. */
11821 #ifndef LT_DLLAZY_OR_NOW
11823 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11826 # define LT_DLLAZY_OR_NOW DL_LAZY
11829 # define LT_DLLAZY_OR_NOW RTLD_NOW
11832 # define LT_DLLAZY_OR_NOW DL_NOW
11834 # define LT_DLLAZY_OR_NOW 0
11841 /* When -fvisibility=hidden is used, assume the code has been annotated
11842 correspondingly for the symbols needed. */
11843 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11844 int fnord () __attribute__((visibility("default")));
11847 int fnord () { return 42; }
11850 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11851 int status = $lt_dlunknown;
11855 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11858 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11859 else puts (dlerror ());
11861 /* dlclose (self); */
11869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11870 (eval $ac_link) 2>&5
11872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11873 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11874 (./conftest; exit; ) >&5 2>/dev/null
11876 case x$lt_status in
11877 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11878 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11879 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11882 # compilation failed
11883 lt_cv_dlopen_self=no
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11891 $as_echo "$lt_cv_dlopen_self" >&6; }
11893 if test yes = "$lt_cv_dlopen_self"; then
11894 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11896 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11897 if ${lt_cv_dlopen_self_static+:} false; then :
11898 $as_echo_n "(cached) " >&6
11900 if test yes = "$cross_compiling"; then :
11901 lt_cv_dlopen_self_static=cross
11903 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11904 lt_status=$lt_dlunknown
11905 cat > conftest.$ac_ext <<_LT_EOF
11906 #line $LINENO "configure"
11907 #include "confdefs.h"
11916 # define LT_DLGLOBAL RTLD_GLOBAL
11919 # define LT_DLGLOBAL DL_GLOBAL
11921 # define LT_DLGLOBAL 0
11925 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11926 find out it does not work in some platform. */
11927 #ifndef LT_DLLAZY_OR_NOW
11929 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11932 # define LT_DLLAZY_OR_NOW DL_LAZY
11935 # define LT_DLLAZY_OR_NOW RTLD_NOW
11938 # define LT_DLLAZY_OR_NOW DL_NOW
11940 # define LT_DLLAZY_OR_NOW 0
11947 /* When -fvisibility=hidden is used, assume the code has been annotated
11948 correspondingly for the symbols needed. */
11949 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11950 int fnord () __attribute__((visibility("default")));
11953 int fnord () { return 42; }
11956 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11957 int status = $lt_dlunknown;
11961 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11964 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11965 else puts (dlerror ());
11967 /* dlclose (self); */
11975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11976 (eval $ac_link) 2>&5
11978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11979 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11980 (./conftest; exit; ) >&5 2>/dev/null
11982 case x$lt_status in
11983 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11984 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11985 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11988 # compilation failed
11989 lt_cv_dlopen_self_static=no
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11997 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12000 CPPFLAGS=$save_CPPFLAGS
12001 LDFLAGS=$save_LDFLAGS
12006 case $lt_cv_dlopen_self in
12007 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12008 *) enable_dlopen_self=unknown ;;
12011 case $lt_cv_dlopen_self_static in
12012 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12013 *) enable_dlopen_self_static=unknown ;;
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12036 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12037 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12038 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12039 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12041 $as_echo "yes" >&6; }
12043 # FIXME - insert some real tests, host_os isn't really good enough
12046 if test -n "$STRIP"; then
12047 striplib="$STRIP -x"
12048 old_striplib="$STRIP -S"
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12050 $as_echo "yes" >&6; }
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12053 $as_echo "no" >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12074 # Report what library types will actually be built
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12076 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12078 $as_echo "$can_build_shared" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12081 $as_echo_n "checking whether to build shared libraries... " >&6; }
12082 test no = "$can_build_shared" && enable_shared=no
12084 # On AIX, shared libraries and static libraries use the same namespace, and
12085 # are all built from PIC.
12088 test yes = "$enable_shared" && enable_static=no
12089 if test -n "$RANLIB"; then
12090 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12091 postinstall_cmds='$RANLIB $lib'
12096 if test ia64 != "$host_cpu"; then
12097 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12098 yes,aix,yes) ;; # shared object as lib.so file only
12099 yes,svr4,*) ;; # shared object as lib.so archive member only
12100 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12106 $as_echo "$enable_shared" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12109 $as_echo_n "checking whether to build static libraries... " >&6; }
12110 # Make sure either enable_shared or enable_static is yes.
12111 test yes = "$enable_shared" || enable_static=yes
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12113 $as_echo "$enable_static" >&6; }
12120 ac_cpp='$CPP $CPPFLAGS'
12121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12141 ac_config_commands="$ac_config_commands libtool"
12146 # Only expand once:
12150 ac_config_files="$ac_config_files Makefile src/Makefile"
12153 #AC_CONFIG_HEADERS([config.h])
12155 # Checks for programs.
12157 ac_cpp='$CXXCPP $CPPFLAGS'
12158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12161 if test -z "$CXX"; then
12162 if test -n "$CCC"; then
12165 if test -n "$ac_tool_prefix"; then
12166 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12171 $as_echo_n "checking for $ac_word... " >&6; }
12172 if ${ac_cv_prog_CXX+:} false; then :
12173 $as_echo_n "(cached) " >&6
12175 if test -n "$CXX"; then
12176 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12179 for as_dir in $PATH
12182 test -z "$as_dir" && as_dir=.
12183 for ac_exec_ext in '' $ac_executable_extensions; do
12184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12185 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 CXX=$ac_cv_prog_CXX
12196 if test -n "$CXX"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12198 $as_echo "$CXX" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12205 test -n "$CXX" && break
12208 if test -z "$CXX"; then
12210 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12212 # Extract the first word of "$ac_prog", so it can be a program name with args.
12213 set dummy $ac_prog; ac_word=$2
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12215 $as_echo_n "checking for $ac_word... " >&6; }
12216 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12217 $as_echo_n "(cached) " >&6
12219 if test -n "$ac_ct_CXX"; then
12220 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12223 for as_dir in $PATH
12226 test -z "$as_dir" && as_dir=.
12227 for ac_exec_ext in '' $ac_executable_extensions; do
12228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12229 ac_cv_prog_ac_ct_CXX="$ac_prog"
12230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12239 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12240 if test -n "$ac_ct_CXX"; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12242 $as_echo "$ac_ct_CXX" >&6; }
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245 $as_echo "no" >&6; }
12249 test -n "$ac_ct_CXX" && break
12252 if test "x$ac_ct_CXX" = x; then
12255 case $cross_compiling:$ac_tool_warned in
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12259 ac_tool_warned=yes ;;
12267 # Provide some information about the compiler.
12268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12271 for ac_option in --version -v -V -qversion; do
12272 { { ac_try="$ac_compiler $ac_option >&5"
12273 case "(($ac_try" in
12274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12278 $as_echo "$ac_try_echo"; } >&5
12279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12281 if test -s conftest.err; then
12283 ... rest of stderr output deleted ...
12284 10q' conftest.err >conftest.er1
12285 cat conftest.er1 >&5
12287 rm -f conftest.er1 conftest.err
12288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12289 test $ac_status = 0; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12293 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12294 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12295 $as_echo_n "(cached) " >&6
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12311 if ac_fn_cxx_try_compile "$LINENO"; then :
12312 ac_compiler_gnu=yes
12316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12317 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12321 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12322 if test $ac_compiler_gnu = yes; then
12327 ac_test_CXXFLAGS=${CXXFLAGS+set}
12328 ac_save_CXXFLAGS=$CXXFLAGS
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12330 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12331 if ${ac_cv_prog_cxx_g+:} false; then :
12332 $as_echo_n "(cached) " >&6
12334 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12335 ac_cxx_werror_flag=yes
12336 ac_cv_prog_cxx_g=no
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12349 if ac_fn_cxx_try_compile "$LINENO"; then :
12350 ac_cv_prog_cxx_g=yes
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12364 if ac_fn_cxx_try_compile "$LINENO"; then :
12367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12380 if ac_fn_cxx_try_compile "$LINENO"; then :
12381 ac_cv_prog_cxx_g=yes
12383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12391 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12392 if test "$ac_test_CXXFLAGS" = set; then
12393 CXXFLAGS=$ac_save_CXXFLAGS
12394 elif test $ac_cv_prog_cxx_g = yes; then
12395 if test "$GXX" = yes; then
12401 if test "$GXX" = yes; then
12408 ac_cpp='$CPP $CPPFLAGS'
12409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12413 depcc="$CXX" am_compiler_list=
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12416 $as_echo_n "checking dependency style of $depcc... " >&6; }
12417 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12418 $as_echo_n "(cached) " >&6
12420 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12421 # We make a subdir and do the tests there. Otherwise we can end up
12422 # making bogus files that we don't know about and never remove. For
12423 # instance it was reported that on HP-UX the gcc test will end up
12424 # making a dummy file named 'D' -- because '-MD' means "put the output
12426 rm -rf conftest.dir
12428 # Copy depcomp to subdir because otherwise we won't find it if we're
12429 # using a relative directory.
12430 cp "$am_depcomp" conftest.dir
12432 # We will build objects and dependencies in a subdirectory because
12433 # it helps to detect inapplicable dependency modes. For instance
12434 # both Tru64's cc and ICC support -MD to output dependencies as a
12435 # side effect of compilation, but ICC will put the dependencies in
12436 # the current directory while Tru64 will put them in the object
12440 am_cv_CXX_dependencies_compiler_type=none
12441 if test "$am_compiler_list" = ""; then
12442 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12444 am__universal=false
12445 case " $depcc " in #(
12446 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12449 for depmode in $am_compiler_list; do
12450 # Setup a source with many dependencies, because some compilers
12451 # like to wrap large dependency lists on column 80 (with \), and
12452 # we should not choose a depcomp mode which is confused by this.
12454 # We need to recreate these files for each test, as the compiler may
12455 # overwrite some of them when testing with obscure command lines.
12456 # This happens at least with the AIX C compiler.
12458 for i in 1 2 3 4 5 6; do
12459 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12460 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12461 # Solaris 10 /bin/sh.
12462 echo '/* dummy */' > sub/conftst$i.h
12464 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12466 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12467 # mode. It turns out that the SunPro C++ compiler does not properly
12468 # handle '-M -o', and we need to detect this. Also, some Intel
12469 # versions had trouble with output in subdirs.
12470 am__obj=sub/conftest.${OBJEXT-o}
12471 am__minus_obj="-o $am__obj"
12474 # This depmode causes a compiler race in universal mode.
12475 test "$am__universal" = false || continue
12478 # After this tag, mechanisms are not by side-effect, so they'll
12479 # only be used when explicitly requested.
12480 if test "x$enable_dependency_tracking" = xyes; then
12486 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12487 # This compiler won't grok '-c -o', but also, the minuso test has
12488 # not run yet. These depmodes are late enough in the game, and
12489 # so weak that their functioning should not be impacted.
12490 am__obj=conftest.${OBJEXT-o}
12495 if depmode=$depmode \
12496 source=sub/conftest.c object=$am__obj \
12497 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12498 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12499 >/dev/null 2>conftest.err &&
12500 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12501 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12502 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12503 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12504 # icc doesn't choke on unknown options, it will just issue warnings
12505 # or remarks (even with -Werror). So we grep stderr for any message
12506 # that says an option was ignored or not supported.
12507 # When given -MP, icc 7.0 and 7.1 complain thusly:
12508 # icc: Command line warning: ignoring option '-M'; no argument required
12509 # The diagnosis changed in icc 8.0:
12510 # icc: Command line remark: option '-MP' not supported
12511 if (grep 'ignoring option' conftest.err ||
12512 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12513 am_cv_CXX_dependencies_compiler_type=$depmode
12520 rm -rf conftest.dir
12522 am_cv_CXX_dependencies_compiler_type=none
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12527 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12528 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12531 test "x$enable_dependency_tracking" != xno \
12532 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12533 am__fastdepCXX_TRUE=
12534 am__fastdepCXX_FALSE='#'
12536 am__fastdepCXX_TRUE='#'
12537 am__fastdepCXX_FALSE=
12543 func_stripname_cnf ()
12546 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
12547 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
12549 } # func_stripname_cnf
12551 if test -n "$CXX" && ( test no != "$CXX" &&
12552 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12553 (test g++ != "$CXX"))); then
12555 ac_cpp='$CXXCPP $CPPFLAGS'
12556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12560 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12561 if test -z "$CXXCPP"; then
12562 if ${ac_cv_prog_CXXCPP+:} false; then :
12563 $as_echo_n "(cached) " >&6
12565 # Double quotes because CXXCPP needs to be expanded
12566 for CXXCPP in "$CXX -E" "/lib/cpp"
12568 ac_preproc_ok=false
12569 for ac_cxx_preproc_warn_flag in '' yes
12571 # Use a header file that comes with gcc, so configuring glibc
12572 # with a fresh cross-compiler works.
12573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12574 # <limits.h> exists even on freestanding compilers.
12575 # On the NeXT, cc -E runs the code through the compiler's parser,
12576 # not just through cpp. "Syntax error" is here to catch this case.
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 @%:@ include <limits.h>
12582 @%:@ include <assert.h>
12586 if ac_fn_cxx_try_cpp "$LINENO"; then :
12589 # Broken: fails on valid input.
12592 rm -f conftest.err conftest.i conftest.$ac_ext
12594 # OK, works on sane cases. Now check whether nonexistent headers
12595 # can be detected and how.
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12598 @%:@include <ac_nonexistent.h>
12600 if ac_fn_cxx_try_cpp "$LINENO"; then :
12601 # Broken: success on invalid input.
12604 # Passes both tests.
12608 rm -f conftest.err conftest.i conftest.$ac_ext
12611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12612 rm -f conftest.i conftest.err conftest.$ac_ext
12613 if $ac_preproc_ok; then :
12618 ac_cv_prog_CXXCPP=$CXXCPP
12621 CXXCPP=$ac_cv_prog_CXXCPP
12623 ac_cv_prog_CXXCPP=$CXXCPP
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12626 $as_echo "$CXXCPP" >&6; }
12627 ac_preproc_ok=false
12628 for ac_cxx_preproc_warn_flag in '' yes
12630 # Use a header file that comes with gcc, so configuring glibc
12631 # with a fresh cross-compiler works.
12632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12633 # <limits.h> exists even on freestanding compilers.
12634 # On the NeXT, cc -E runs the code through the compiler's parser,
12635 # not just through cpp. "Syntax error" is here to catch this case.
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 @%:@ include <limits.h>
12641 @%:@ include <assert.h>
12645 if ac_fn_cxx_try_cpp "$LINENO"; then :
12648 # Broken: fails on valid input.
12651 rm -f conftest.err conftest.i conftest.$ac_ext
12653 # OK, works on sane cases. Now check whether nonexistent headers
12654 # can be detected and how.
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12657 @%:@include <ac_nonexistent.h>
12659 if ac_fn_cxx_try_cpp "$LINENO"; then :
12660 # Broken: success on invalid input.
12663 # Passes both tests.
12667 rm -f conftest.err conftest.i conftest.$ac_ext
12670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12671 rm -f conftest.i conftest.err conftest.$ac_ext
12672 if $ac_preproc_ok; then :
12675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12677 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12678 See \`config.log' for more details" "$LINENO" 5; }
12682 ac_cpp='$CPP $CPPFLAGS'
12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12688 _lt_caught_CXX_error=yes
12692 ac_cpp='$CXXCPP $CPPFLAGS'
12693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12697 archive_cmds_need_lc_CXX=no
12698 allow_undefined_flag_CXX=
12699 always_export_symbols_CXX=no
12700 archive_expsym_cmds_CXX=
12701 compiler_needs_object_CXX=no
12702 export_dynamic_flag_spec_CXX=
12703 hardcode_direct_CXX=no
12704 hardcode_direct_absolute_CXX=no
12705 hardcode_libdir_flag_spec_CXX=
12706 hardcode_libdir_separator_CXX=
12707 hardcode_minus_L_CXX=no
12708 hardcode_shlibpath_var_CXX=unsupported
12709 hardcode_automatic_CXX=no
12710 inherit_rpath_CXX=no
12712 module_expsym_cmds_CXX=
12713 link_all_deplibs_CXX=unknown
12714 old_archive_cmds_CXX=$old_archive_cmds
12715 reload_flag_CXX=$reload_flag
12716 reload_cmds_CXX=$reload_cmds
12717 no_undefined_flag_CXX=
12718 whole_archive_flag_spec_CXX=
12719 enable_shared_with_static_runtimes_CXX=no
12721 # Source file extension for C++ test sources.
12724 # Object file extension for compiled C++ test sources.
12728 # No sense in running all these tests if we already determined that
12729 # the CXX compiler isn't working. Some variables (like enable_shared)
12730 # are currently assumed to apply to all compilers on this platform,
12731 # and will be corrupted by setting them based on a non-working compiler.
12732 if test yes != "$_lt_caught_CXX_error"; then
12733 # Code to be used in simple compile tests
12734 lt_simple_compile_test_code="int some_variable = 0;"
12736 # Code to be used in simple link tests
12737 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12739 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12746 # If no C compiler was specified, use CC.
12749 # If no C compiler flags were specified, use CFLAGS.
12750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12752 # Allow CC to be a program name with arguments.
12756 # save warnings/boilerplate of simple test code
12757 ac_outfile=conftest.$ac_objext
12758 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12759 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12760 _lt_compiler_boilerplate=`cat conftest.err`
12763 ac_outfile=conftest.$ac_objext
12764 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12765 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12766 _lt_linker_boilerplate=`cat conftest.err`
12770 # Allow CC to be a program name with arguments.
12772 lt_save_CFLAGS=$CFLAGS
12776 lt_save_with_gnu_ld=$with_gnu_ld
12777 lt_save_path_LD=$lt_cv_path_LD
12778 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12779 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12781 $as_unset lt_cv_prog_gnu_ld
12783 if test -n "${lt_cv_path_LDCXX+set}"; then
12784 lt_cv_path_LD=$lt_cv_path_LDCXX
12786 $as_unset lt_cv_path_LD
12788 test -z "${LDCXX+set}" || LD=$LDCXX
12793 func_cc_basename $compiler
12794 cc_basename=$func_cc_basename_result
12797 if test -n "$compiler"; then
12798 # We don't want -fno-exception when compiling C++ code, so set the
12799 # no_builtin_flag separately
12800 if test yes = "$GXX"; then
12801 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12803 lt_prog_compiler_no_builtin_flag_CXX=
12806 if test yes = "$GXX"; then
12807 # Set up default GNU C++ configuration
12811 @%:@ Check whether --with-gnu-ld was given.
12812 if test "${with_gnu_ld+set}" = set; then :
12813 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
12819 if test yes = "$GCC"; then
12820 # Check if gcc -print-prog-name=ld gives a path.
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12822 $as_echo_n "checking for ld used by $CC... " >&6; }
12825 # gcc leaves a trailing carriage return, which upsets mingw
12826 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12828 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12831 # Accept absolute paths.
12833 re_direlt='/[^/][^/]*/\.\./'
12834 # Canonicalize the pathname of ld
12835 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12836 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12837 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12839 test -z "$LD" && LD=$ac_prog
12842 # If it fails, then pretend we aren't using GCC.
12846 # If it is relative, then search for the first ld in PATH.
12847 with_gnu_ld=unknown
12850 elif test yes = "$with_gnu_ld"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12852 $as_echo_n "checking for GNU ld... " >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12855 $as_echo_n "checking for non-GNU ld... " >&6; }
12857 if ${lt_cv_path_LD+:} false; then :
12858 $as_echo_n "(cached) " >&6
12860 if test -z "$LD"; then
12861 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12862 for ac_dir in $PATH; do
12864 test -z "$ac_dir" && ac_dir=.
12865 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12866 lt_cv_path_LD=$ac_dir/$ac_prog
12867 # Check to see if the program is GNU ld. I'd rather use --version,
12868 # but apparently some variants of GNU ld only accept -v.
12869 # Break only if it was the GNU/non-GNU ld that we prefer.
12870 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12871 *GNU* | *'with BFD'*)
12872 test no != "$with_gnu_ld" && break
12875 test yes != "$with_gnu_ld" && break
12882 lt_cv_path_LD=$LD # Let the user override the test with a path.
12887 if test -n "$LD"; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12889 $as_echo "$LD" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12892 $as_echo "no" >&6; }
12894 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12896 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12897 if ${lt_cv_prog_gnu_ld+:} false; then :
12898 $as_echo_n "(cached) " >&6
12900 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12901 case `$LD -v 2>&1 </dev/null` in
12902 *GNU* | *'with BFD'*)
12903 lt_cv_prog_gnu_ld=yes
12906 lt_cv_prog_gnu_ld=no
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12911 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12912 with_gnu_ld=$lt_cv_prog_gnu_ld
12920 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12921 # archiving commands below assume that GNU ld is being used.
12922 if test yes = "$with_gnu_ld"; then
12923 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
12924 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'
12926 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
12927 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
12929 # If archive_cmds runs LD, not CC, wlarc should be empty
12930 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12931 # investigate it a little bit more. (MM)
12934 # ancient GNU ld didn't support --whole-archive et. al.
12935 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12936 $GREP 'no-whole-archive' > /dev/null; then
12937 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12939 whole_archive_flag_spec_CXX=
12945 # A generic and very simple default shared library creation
12946 # command for GNU C++ for the case where it uses the native
12947 # linker, instead of GNU ld. If possible, this setting should
12948 # overridden to take advantage of the native linker features on
12949 # the platform it is being used on.
12950 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12953 # Commands to make compiler produce verbose output that lists
12954 # what "hidden" libraries, object files and flags are used when
12955 # linking a shared library.
12956 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12964 # PORTME: fill in a description of your system's C++ link characteristics
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12966 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12970 # FIXME: insert proper C++ library support
12974 if test ia64 = "$host_cpu"; then
12975 # On IA64, the linker does run time linking by default, so we don't
12976 # have to do anything special.
12977 aix_use_runtimelinking=no
12978 exp_sym_flag='-Bexport'
12981 aix_use_runtimelinking=no
12983 # Test if we are trying to use run time linking or normal
12984 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12985 # have runtime linking enabled, and use it for executables.
12986 # For shared libraries, we enable/disable runtime linking
12987 # depending on the kind of the shared library created -
12988 # when "with_aix_soname,aix_use_runtimelinking" is:
12989 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12990 # "aix,yes" lib.so shared, rtl:yes, for executables
12991 # lib.a static archive
12992 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12993 # lib.a(lib.so.V) shared, rtl:no, for executables
12994 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12995 # lib.a(lib.so.V) shared, rtl:no
12996 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12997 # lib.a static archive
12998 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12999 for ld_flag in $LDFLAGS; do
13002 aix_use_runtimelinking=yes
13007 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13008 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13009 # so we don't have lib.a shared libs to link our executables.
13010 # We have to force runtime linking in this case.
13011 aix_use_runtimelinking=yes
13012 LDFLAGS="$LDFLAGS -Wl,-brtl"
13017 exp_sym_flag='-bexport'
13018 no_entry_flag='-bnoentry'
13021 # When large executables or shared objects are built, AIX ld can
13022 # have problems creating the table of contents. If linking a library
13023 # or program results in "error TOC overflow" add -mminimal-toc to
13024 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13025 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13027 archive_cmds_CXX=''
13028 hardcode_direct_CXX=yes
13029 hardcode_direct_absolute_CXX=yes
13030 hardcode_libdir_separator_CXX=':'
13031 link_all_deplibs_CXX=yes
13032 file_list_spec_CXX='$wl-f,'
13033 case $with_aix_soname,$aix_use_runtimelinking in
13034 aix,*) ;; # no import file
13035 svr4,* | *,yes) # use import file
13036 # The Import File defines what to hardcode.
13037 hardcode_direct_CXX=no
13038 hardcode_direct_absolute_CXX=no
13042 if test yes = "$GXX"; then
13043 case $host_os in aix4.[012]|aix4.[012].*)
13044 # We only want to do this on AIX 4.2 and lower, the check
13045 # below for broken collect2 doesn't work under 4.3+
13046 collect2name=`$CC -print-prog-name=collect2`
13047 if test -f "$collect2name" &&
13048 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13050 # We have reworked collect2
13053 # We have old collect2
13054 hardcode_direct_CXX=unsupported
13055 # It fails to find uninstalled libraries when the uninstalled
13056 # path is not listed in the libpath. Setting hardcode_minus_L
13057 # to unsupported forces relinking
13058 hardcode_minus_L_CXX=yes
13059 hardcode_libdir_flag_spec_CXX='-L$libdir'
13060 hardcode_libdir_separator_CXX=
13063 shared_flag='-shared'
13064 if test yes = "$aix_use_runtimelinking"; then
13065 shared_flag=$shared_flag' $wl-G'
13067 # Need to ensure runtime linking is disabled for the traditional
13068 # shared library, or the linker may eventually find shared libraries
13069 # /with/ Import File - we do not want to mix them.
13070 shared_flag_aix='-shared'
13071 shared_flag_svr4='-shared $wl-G'
13074 if test ia64 = "$host_cpu"; then
13075 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13076 # chokes on -Wl,-G. The following line is correct:
13079 if test yes = "$aix_use_runtimelinking"; then
13080 shared_flag='$wl-G'
13082 shared_flag='$wl-bM:SRE'
13084 shared_flag_aix='$wl-bM:SRE'
13085 shared_flag_svr4='$wl-G'
13089 export_dynamic_flag_spec_CXX='$wl-bexpall'
13090 # It seems that -bexpall does not export symbols beginning with
13091 # underscore (_), so it is better to generate a list of symbols to
13093 always_export_symbols_CXX=yes
13094 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13095 # Warning - without using the other runtime loading flags (-brtl),
13096 # -berok will link without error, but may produce a broken library.
13097 # The "-G" linker flag allows undefined symbols.
13098 no_undefined_flag_CXX='-bernotok'
13099 # Determine the default libpath from the value encoded in an empty
13101 if test set = "${lt_cv_aix_libpath+set}"; then
13102 aix_libpath=$lt_cv_aix_libpath
13104 if ${lt_cv_aix_libpath__CXX+:} false; then :
13105 $as_echo_n "(cached) " >&6
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13118 if ac_fn_cxx_try_link "$LINENO"; then :
13120 lt_aix_libpath_sed='
13121 /Import File Strings/,/^$/ {
13123 s/^0 *\([^ ]*\) *$/\1/
13127 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13128 # Check for a 64-bit object if we didn't find anything.
13129 if test -z "$lt_cv_aix_libpath__CXX"; then
13130 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 if test -z "$lt_cv_aix_libpath__CXX"; then
13136 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13141 aix_libpath=$lt_cv_aix_libpath__CXX
13144 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13146 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13148 if test ia64 = "$host_cpu"; then
13149 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13150 allow_undefined_flag_CXX="-z nodefs"
13151 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"
13153 # Determine the default libpath from the value encoded in an
13154 # empty executable.
13155 if test set = "${lt_cv_aix_libpath+set}"; then
13156 aix_libpath=$lt_cv_aix_libpath
13158 if ${lt_cv_aix_libpath__CXX+:} false; then :
13159 $as_echo_n "(cached) " >&6
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13172 if ac_fn_cxx_try_link "$LINENO"; then :
13174 lt_aix_libpath_sed='
13175 /Import File Strings/,/^$/ {
13177 s/^0 *\([^ ]*\) *$/\1/
13181 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13182 # Check for a 64-bit object if we didn't find anything.
13183 if test -z "$lt_cv_aix_libpath__CXX"; then
13184 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13187 rm -f core conftest.err conftest.$ac_objext \
13188 conftest$ac_exeext conftest.$ac_ext
13189 if test -z "$lt_cv_aix_libpath__CXX"; then
13190 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13195 aix_libpath=$lt_cv_aix_libpath__CXX
13198 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13199 # Warning - without using the other run time loading flags,
13200 # -berok will link without error, but may produce a broken library.
13201 no_undefined_flag_CXX=' $wl-bernotok'
13202 allow_undefined_flag_CXX=' $wl-berok'
13203 if test yes = "$with_gnu_ld"; then
13204 # We only use this code for GNU lds that support --whole-archive.
13205 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13207 # Exported symbols can be pulled into shared objects from archives
13208 whole_archive_flag_spec_CXX='$convenience'
13210 archive_cmds_need_lc_CXX=yes
13211 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13212 # -brtl affects multiple linker settings, -berok does not and is overridden later
13213 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13214 if test svr4 != "$with_aix_soname"; then
13215 # This is similar to how AIX traditionally builds its shared
13216 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13217 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13219 if test aix != "$with_aix_soname"; then
13220 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13222 # used by -dlpreopen to get the symbols
13223 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13225 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13232 allow_undefined_flag_CXX=unsupported
13233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13234 # support --undefined. This deserves some investigation. FIXME
13235 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13242 case $cc_basename in
13244 # FIXME: insert proper C++ library support
13250 cygwin* | mingw* | pw32* | cegcc*)
13251 case $GXX,$cc_basename in
13254 # hardcode_libdir_flag_spec is actually meaningless, as there is
13255 # no search path for DLLs.
13256 hardcode_libdir_flag_spec_CXX=' '
13257 allow_undefined_flag_CXX=unsupported
13258 always_export_symbols_CXX=yes
13259 file_list_spec_CXX='@'
13260 # Tell ltmain to make .lib files, not .a files.
13262 # Tell ltmain to make .dll files, not .so files.
13264 # FIXME: Setting linknames here is a bad hack.
13265 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13266 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13267 cp "$export_symbols" "$output_objdir/$soname.def";
13268 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13270 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13272 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13274 # The linker will not automatically build a static lib if we build a DLL.
13275 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13276 enable_shared_with_static_runtimes_CXX=yes
13278 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13279 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13280 lt_tool_outputfile="@TOOL_OUTPUT@"~
13281 case $lt_outputfile in
13284 lt_outputfile=$lt_outputfile.exe
13285 lt_tool_outputfile=$lt_tool_outputfile.exe
13288 func_to_tool_file "$lt_outputfile"~
13289 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13290 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13291 $RM "$lt_outputfile.manifest";
13296 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13297 # as there is no search path for DLLs.
13298 hardcode_libdir_flag_spec_CXX='-L$libdir'
13299 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13300 allow_undefined_flag_CXX=unsupported
13301 always_export_symbols_CXX=no
13302 enable_shared_with_static_runtimes_CXX=yes
13304 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13305 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'
13306 # If the export-symbols file already is a .def file, use it as
13307 # is; otherwise, prepend EXPORTS...
13308 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13309 cp $export_symbols $output_objdir/$soname.def;
13311 echo EXPORTS > $output_objdir/$soname.def;
13312 cat $export_symbols >> $output_objdir/$soname.def;
13314 $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'
13321 darwin* | rhapsody*)
13324 archive_cmds_need_lc_CXX=no
13325 hardcode_direct_CXX=no
13326 hardcode_automatic_CXX=yes
13327 hardcode_shlibpath_var_CXX=unsupported
13328 if test yes = "$lt_cv_ld_force_load"; then
13329 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\"`'
13332 whole_archive_flag_spec_CXX=''
13334 link_all_deplibs_CXX=yes
13335 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13336 case $cc_basename in
13337 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13338 *) _lt_dar_can_shared=$GCC ;;
13340 if test yes = "$_lt_dar_can_shared"; then
13341 output_verbose_link_cmd=func_echo_all
13342 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"
13343 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13344 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"
13345 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"
13346 if test yes != "$lt_cv_apple_cc_single_mod"; then
13347 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"
13348 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"
13358 hardcode_libdir_flag_spec_CXX='-L$libdir'
13359 hardcode_minus_L_CXX=yes
13360 allow_undefined_flag_CXX=unsupported
13362 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13363 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13364 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13365 $ECHO EXPORTS >> $output_objdir/$libname.def~
13366 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13367 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13368 emximp -o $lib $output_objdir/$libname.def'
13369 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13370 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13371 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13372 $ECHO EXPORTS >> $output_objdir/$libname.def~
13373 prefix_cmds="$SED"~
13374 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13375 prefix_cmds="$prefix_cmds -e 1d";
13377 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13378 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13379 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13380 emximp -o $lib $output_objdir/$libname.def'
13381 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13382 enable_shared_with_static_runtimes_CXX=yes
13386 case $cc_basename in
13388 # FIXME: insert proper C++ library support
13392 # Green Hills C++ Compiler
13393 # FIXME: insert proper C++ library support
13397 # FIXME: insert proper C++ library support
13404 # C++ shared libraries reported to be fairly broken before
13410 archive_cmds_need_lc_CXX=no
13413 freebsd* | dragonfly*)
13414 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13420 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13421 link_all_deplibs_CXX=yes
13425 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13426 hardcode_libdir_separator_CXX=:
13427 export_dynamic_flag_spec_CXX='$wl-E'
13428 hardcode_direct_CXX=yes
13429 hardcode_minus_L_CXX=yes # Not in the search PATH,
13430 # but as the default
13431 # location of the library.
13433 case $cc_basename in
13435 # FIXME: insert proper C++ library support
13439 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13440 # Commands to make compiler produce verbose output that lists
13441 # what "hidden" libraries, object files and flags are used when
13442 # linking a shared library.
13444 # There doesn't appear to be a way to prevent this compiler from
13445 # explicitly linking system object files so we need to strip them
13446 # from the output so that they don't get included in the library
13448 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"'
13451 if test yes = "$GXX"; then
13452 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13454 # FIXME: insert proper C++ library support
13462 if test no = "$with_gnu_ld"; then
13463 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13464 hardcode_libdir_separator_CXX=:
13470 export_dynamic_flag_spec_CXX='$wl-E'
13476 hardcode_direct_CXX=no
13477 hardcode_shlibpath_var_CXX=no
13480 hardcode_direct_CXX=yes
13481 hardcode_direct_absolute_CXX=yes
13482 hardcode_minus_L_CXX=yes # Not in the search PATH,
13483 # but as the default
13484 # location of the library.
13488 case $cc_basename in
13490 # FIXME: insert proper C++ library support
13496 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13499 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13502 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13505 # Commands to make compiler produce verbose output that lists
13506 # what "hidden" libraries, object files and flags are used when
13507 # linking a shared library.
13509 # There doesn't appear to be a way to prevent this compiler from
13510 # explicitly linking system object files so we need to strip them
13511 # from the output so that they don't get included in the library
13513 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"'
13516 if test yes = "$GXX"; then
13517 if test no = "$with_gnu_ld"; then
13520 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13523 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13526 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'
13531 # FIXME: insert proper C++ library support
13539 hardcode_direct_CXX=no
13540 hardcode_shlibpath_var_CXX=no
13541 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13542 export_dynamic_flag_spec_CXX='$wl-E'
13543 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13544 # Instead, shared libraries are loaded at an image base (0x10000000 by
13545 # default) and relocated if they conflict, which is a slow very memory
13546 # consuming and fragmenting process. To avoid this, we pick a random,
13547 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13548 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13549 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'
13550 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'
13553 case $cc_basename in
13556 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'
13558 # Archives containing C++ object files must be created using
13559 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13560 # necessary to make sure instantiated templates are included
13562 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13565 if test yes = "$GXX"; then
13566 if test no = "$with_gnu_ld"; then
13567 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'
13569 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'
13572 link_all_deplibs_CXX=yes
13575 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13576 hardcode_libdir_separator_CXX=:
13577 inherit_rpath_CXX=yes
13580 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13581 case $cc_basename in
13583 # Kuck and Associates, Inc. (KAI) C++ Compiler
13585 # KCC will only create a shared library if the output file
13586 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13587 # to its proper name (with version) after linking.
13588 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'
13589 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'
13590 # Commands to make compiler produce verbose output that lists
13591 # what "hidden" libraries, object files and flags are used when
13592 # linking a shared library.
13594 # There doesn't appear to be a way to prevent this compiler from
13595 # explicitly linking system object files so we need to strip them
13596 # from the output so that they don't get included in the library
13598 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"'
13600 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13601 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13603 # Archives containing C++ object files must be created using
13604 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13605 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13610 # version 8.0 and above of icpc choke on multiply defined symbols
13611 # if we add $predep_objects and $postdep_objects, however 7.1 and
13612 # earlier do not add the objects themselves.
13613 case `$CC -V 2>&1` in
13615 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13616 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'
13618 *) # Version 8.0 or newer
13621 ia64*) tmp_idyn=' -i_dynamic';;
13623 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13624 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'
13627 archive_cmds_need_lc_CXX=no
13628 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13629 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13630 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13633 # Portland Group C++ compiler
13635 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13636 prelink_cmds_CXX='tpldir=Template.dir~
13638 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13639 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13640 old_archive_cmds_CXX='tpldir=Template.dir~
13642 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13643 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13645 archive_cmds_CXX='tpldir=Template.dir~
13647 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13648 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13649 archive_expsym_cmds_CXX='tpldir=Template.dir~
13651 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13652 $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'
13654 *) # Version 6 and above use weak symbols
13655 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13656 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'
13660 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
13661 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13662 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'
13666 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13667 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'
13669 runpath_var=LD_RUN_PATH
13670 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13671 hardcode_libdir_separator_CXX=:
13673 # Commands to make compiler produce verbose output that lists
13674 # what "hidden" libraries, object files and flags are used when
13675 # linking a shared library.
13677 # There doesn't appear to be a way to prevent this compiler from
13678 # explicitly linking system object files so we need to strip them
13679 # from the output so that they don't get included in the library
13681 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'
13683 xl* | mpixl* | bgxl*)
13684 # IBM XL 8.0 on PPC, with GNU ld
13685 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13686 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13687 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13688 if test yes = "$supports_anon_versioning"; then
13689 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13691 echo "local: *; };" >> $output_objdir/$libname.ver~
13692 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
13696 case `$CC -V 2>&1 | sed 5q` in
13699 no_undefined_flag_CXX=' -zdefs'
13700 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13701 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'
13702 hardcode_libdir_flag_spec_CXX='-R$libdir'
13703 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'
13704 compiler_needs_object_CXX=yes
13706 # Not sure whether something based on
13707 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13709 output_verbose_link_cmd='func_echo_all'
13711 # Archives containing C++ object files must be created using
13712 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13713 # necessary to make sure instantiated templates are included
13715 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13723 # FIXME: insert proper C++ library support
13728 # FIXME: insert proper C++ library support
13733 case $cc_basename in
13735 # FIXME: insert proper C++ library support
13739 # FIXME: insert proper C++ library support
13746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13747 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13749 hardcode_libdir_flag_spec_CXX='-R$libdir'
13750 hardcode_direct_CXX=yes
13751 hardcode_shlibpath_var_CXX=no
13753 # Workaround some broken pre-1.5 toolchains
13754 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13761 openbsd* | bitrig*)
13762 if test -f /usr/libexec/ld.so; then
13763 hardcode_direct_CXX=yes
13764 hardcode_shlibpath_var_CXX=no
13765 hardcode_direct_absolute_CXX=yes
13766 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13767 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13768 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
13769 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
13770 export_dynamic_flag_spec_CXX='$wl-E'
13771 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13773 output_verbose_link_cmd=func_echo_all
13779 osf3* | osf4* | osf5*)
13780 case $cc_basename in
13782 # Kuck and Associates, Inc. (KAI) C++ Compiler
13784 # KCC will only create a shared library if the output file
13785 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13786 # to its proper name (with version) after linking.
13787 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'
13789 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13790 hardcode_libdir_separator_CXX=:
13792 # Archives containing C++ object files must be created using
13793 # the KAI C++ compiler.
13795 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13796 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13800 # Rational C++ 2.4.1
13801 # FIXME: insert proper C++ library support
13807 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
13808 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'
13809 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13812 allow_undefined_flag_CXX=' -expect_unresolved \*'
13813 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'
13814 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13815 echo "-hidden">> $lib.exp~
13816 $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~
13818 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13822 hardcode_libdir_separator_CXX=:
13824 # Commands to make compiler produce verbose output that lists
13825 # what "hidden" libraries, object files and flags are used when
13826 # linking a shared library.
13828 # There doesn't appear to be a way to prevent this compiler from
13829 # explicitly linking system object files so we need to strip them
13830 # from the output so that they don't get included in the library
13832 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"'
13835 if test yes,no = "$GXX,$with_gnu_ld"; then
13836 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
13839 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'
13842 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'
13846 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13847 hardcode_libdir_separator_CXX=:
13849 # Commands to make compiler produce verbose output that lists
13850 # what "hidden" libraries, object files and flags are used when
13851 # linking a shared library.
13852 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13855 # FIXME: insert proper C++ library support
13863 # FIXME: insert proper C++ library support
13868 case $cc_basename in
13871 # FIXME: insert proper C++ library support
13876 # FIXME: insert proper C++ library support
13880 # FIXME: insert proper C++ library support
13887 case $cc_basename in
13889 # Sun C++ 4.2, 5.x and Centerline C++
13890 archive_cmds_need_lc_CXX=yes
13891 no_undefined_flag_CXX=' -zdefs'
13892 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13893 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13894 $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'
13896 hardcode_libdir_flag_spec_CXX='-R$libdir'
13897 hardcode_shlibpath_var_CXX=no
13899 solaris2.[0-5] | solaris2.[0-5].*) ;;
13901 # The compiler driver will combine and reorder linker options,
13902 # but understands '-z linker_flag'.
13903 # Supported since Solaris 2.6 (maybe 2.5.1?)
13904 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13907 link_all_deplibs_CXX=yes
13909 output_verbose_link_cmd='func_echo_all'
13911 # Archives containing C++ object files must be created using
13912 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13913 # necessary to make sure instantiated templates are included
13915 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13918 # Green Hills C++ Compiler
13919 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
13921 # The C++ compiler must be used to create the archive.
13922 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13925 # GNU C++ compiler with Solaris linker
13926 if test yes,no = "$GXX,$with_gnu_ld"; then
13927 no_undefined_flag_CXX=' $wl-z ${wl}defs'
13928 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13929 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
13930 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13931 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13933 # Commands to make compiler produce verbose output that lists
13934 # what "hidden" libraries, object files and flags are used when
13935 # linking a shared library.
13936 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13938 # g++ 2.7 appears to require '-G' NOT '-shared' on this
13940 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
13941 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13942 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13944 # Commands to make compiler produce verbose output that lists
13945 # what "hidden" libraries, object files and flags are used when
13946 # linking a shared library.
13947 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13950 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
13952 solaris2.[0-5] | solaris2.[0-5].*) ;;
13954 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13962 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13963 no_undefined_flag_CXX='$wl-z,text'
13964 archive_cmds_need_lc_CXX=no
13965 hardcode_shlibpath_var_CXX=no
13966 runpath_var='LD_RUN_PATH'
13968 case $cc_basename in
13970 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13971 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13974 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13975 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13980 sysv5* | sco3.2v5* | sco5v6*)
13981 # Note: We CANNOT use -z defs as we might desire, because we do not
13982 # link with -lc, and that would cause any symbols used from libc to
13983 # always be unresolved, which means just about no library would
13984 # ever link correctly. If we're not using GNU ld we use -z text
13985 # though, which does catch some bad symbols but isn't as heavy-handed
13987 no_undefined_flag_CXX='$wl-z,text'
13988 allow_undefined_flag_CXX='$wl-z,nodefs'
13989 archive_cmds_need_lc_CXX=no
13990 hardcode_shlibpath_var_CXX=no
13991 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
13992 hardcode_libdir_separator_CXX=':'
13993 link_all_deplibs_CXX=yes
13994 export_dynamic_flag_spec_CXX='$wl-Bexport'
13995 runpath_var='LD_RUN_PATH'
13997 case $cc_basename in
13999 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14000 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14001 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14002 '"$old_archive_cmds_CXX"
14003 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14004 '"$reload_cmds_CXX"
14007 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14008 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14014 case $cc_basename in
14016 # NonStop-UX NCC 3.20
14017 # FIXME: insert proper C++ library support
14021 # FIXME: insert proper C++ library support
14028 # FIXME: insert proper C++ library support
14033 # FIXME: insert proper C++ library support
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14039 $as_echo "$ld_shlibs_CXX" >&6; }
14040 test no = "$ld_shlibs_CXX" && can_build_shared=no
14046 ## There is no encapsulation within the following macros, do not change
14047 ## the running order or otherwise move them around unless you know exactly
14048 ## what you are doing...
14049 # Dependencies to place before and after the object being linked:
14050 predep_objects_CXX=
14051 postdep_objects_CXX=
14054 compiler_lib_search_path_CXX=
14056 cat > conftest.$ac_ext <<_LT_EOF
14060 Foo (void) { a = 0; }
14067 _lt_libdeps_save_CFLAGS=$CFLAGS
14068 case "$CC $CFLAGS " in #(
14069 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14070 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14071 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14075 (eval $ac_compile) 2>&5
14077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14078 test $ac_status = 0; }; then
14079 # Parse the compiler output and extract the necessary
14080 # objects, libraries and library flags.
14082 # Sentinel used to keep track of whether or not we are before
14083 # the conftest object file.
14084 pre_test_object_deps_done=no
14086 for p in `eval "$output_verbose_link_cmd"`; do
14090 # Some compilers place space between "-{L,R}" and the path.
14091 # Remove the space.
14092 if test x-L = "$p" ||
14093 test x-R = "$p"; then
14098 # Expand the sysroot to ease extracting the directories later.
14099 if test -z "$prev"; then
14101 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14102 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14103 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14107 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14109 if test no = "$pre_test_object_deps_done"; then
14112 # Internal compiler library paths should come after those
14113 # provided the user. The postdeps already come after the
14114 # user supplied libs so there is no need to process them.
14115 if test -z "$compiler_lib_search_path_CXX"; then
14116 compiler_lib_search_path_CXX=$prev$p
14118 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14121 # The "-l" case would never come before the object being
14122 # linked, so don't bother handling this case.
14125 if test -z "$postdeps_CXX"; then
14126 postdeps_CXX=$prev$p
14128 postdeps_CXX="${postdeps_CXX} $prev$p"
14134 *.lto.$objext) ;; # Ignore GCC LTO objects
14136 # This assumes that the test object file only shows up
14137 # once in the compiler output.
14138 if test "$p" = "conftest.$objext"; then
14139 pre_test_object_deps_done=yes
14143 if test no = "$pre_test_object_deps_done"; then
14144 if test -z "$predep_objects_CXX"; then
14145 predep_objects_CXX=$p
14147 predep_objects_CXX="$predep_objects_CXX $p"
14150 if test -z "$postdep_objects_CXX"; then
14151 postdep_objects_CXX=$p
14153 postdep_objects_CXX="$postdep_objects_CXX $p"
14158 *) ;; # Ignore the rest.
14166 echo "libtool.m4: error: problem compiling CXX test program"
14169 $RM -f confest.$objext
14170 CFLAGS=$_lt_libdeps_save_CFLAGS
14172 # PORTME: override above test on systems where it is broken
14175 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14176 # hack all around it, let's just trust "g++" to DTRT.
14177 predep_objects_CXX=
14178 postdep_objects_CXX=
14184 case " $postdeps_CXX " in
14185 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14187 compiler_lib_search_dirs_CXX=
14188 if test -n "${compiler_lib_search_path_CXX}"; then
14189 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14222 lt_prog_compiler_wl_CXX=
14223 lt_prog_compiler_pic_CXX=
14224 lt_prog_compiler_static_CXX=
14227 # C++ specific cases for pic, static, wl, etc.
14228 if test yes = "$GXX"; then
14229 lt_prog_compiler_wl_CXX='-Wl,'
14230 lt_prog_compiler_static_CXX='-static'
14234 # All AIX code is PIC.
14235 if test ia64 = "$host_cpu"; then
14236 # AIX 5 now supports IA64 processor
14237 lt_prog_compiler_static_CXX='-Bstatic'
14239 lt_prog_compiler_pic_CXX='-fPIC'
14245 # see comment about AmigaOS4 .so support
14246 lt_prog_compiler_pic_CXX='-fPIC'
14249 # FIXME: we need at least 68020 code to build shared libraries, but
14250 # adding the '-m68020' flag to GCC prevents building anything better,
14252 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14257 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14258 # PIC is the default for these OSes.
14260 mingw* | cygwin* | os2* | pw32* | cegcc*)
14261 # This hack is so that the source file can tell whether it is being
14262 # built for inclusion in a dll (and should export symbols for example).
14263 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14264 # (--disable-auto-import) libraries
14265 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14268 lt_prog_compiler_static_CXX='$wl-static'
14272 darwin* | rhapsody*)
14273 # PIC is the default on this platform
14274 # Common symbols not allowed in MH_DYLIB files
14275 lt_prog_compiler_pic_CXX='-fno-common'
14278 # DJGPP does not support shared libraries at all
14279 lt_prog_compiler_pic_CXX=
14282 # PIC is the default for Haiku.
14283 # The "-static" flag exists, but is broken.
14284 lt_prog_compiler_static_CXX=
14287 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14288 # Instead, we relocate shared libraries at runtime.
14291 if test -d /usr/nec; then
14292 lt_prog_compiler_pic_CXX=-Kconform_pic
14296 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14297 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14298 # sets the default TLS model and affects inlining.
14303 lt_prog_compiler_pic_CXX='-fPIC'
14308 # QNX uses GNU C++, but need to define -shared option too, otherwise
14309 # it will coredump.
14310 lt_prog_compiler_pic_CXX='-fPIC -shared'
14313 lt_prog_compiler_pic_CXX='-fPIC'
14319 # All AIX code is PIC.
14320 if test ia64 = "$host_cpu"; then
14321 # AIX 5 now supports IA64 processor
14322 lt_prog_compiler_static_CXX='-Bstatic'
14324 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14328 case $cc_basename in
14330 # Green Hills C++ Compiler
14331 # _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"
14335 mingw* | cygwin* | os2* | pw32* | cegcc*)
14336 # This hack is so that the source file can tell whether it is being
14337 # built for inclusion in a dll (and should export symbols for example).
14338 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14341 case $cc_basename in
14343 lt_prog_compiler_pic_CXX='-KPIC'
14346 # Green Hills C++ Compiler
14347 lt_prog_compiler_pic_CXX='-pic'
14353 freebsd* | dragonfly*)
14354 # FreeBSD uses GNU C++
14356 hpux9* | hpux10* | hpux11*)
14357 case $cc_basename in
14359 lt_prog_compiler_wl_CXX='-Wl,'
14360 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14361 if test ia64 != "$host_cpu"; then
14362 lt_prog_compiler_pic_CXX='+Z'
14366 lt_prog_compiler_wl_CXX='-Wl,'
14367 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14373 lt_prog_compiler_pic_CXX='+Z'
14382 # This is c89, which is MS Visual C++ (no shared libs)
14383 # Anyone wants to do a port?
14385 irix5* | irix6* | nonstopux*)
14386 case $cc_basename in
14388 lt_prog_compiler_wl_CXX='-Wl,'
14389 lt_prog_compiler_static_CXX='-non_shared'
14390 # CC pic flag -KPIC is the default.
14396 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14397 case $cc_basename in
14400 lt_prog_compiler_wl_CXX='--backend -Wl,'
14401 lt_prog_compiler_pic_CXX='-fPIC'
14404 # old Intel C++ for x86_64, which still supported -KPIC.
14405 lt_prog_compiler_wl_CXX='-Wl,'
14406 lt_prog_compiler_pic_CXX='-KPIC'
14407 lt_prog_compiler_static_CXX='-static'
14410 # Intel C++, used to be incompatible with GCC.
14411 # ICC 10 doesn't accept -KPIC any more.
14412 lt_prog_compiler_wl_CXX='-Wl,'
14413 lt_prog_compiler_pic_CXX='-fPIC'
14414 lt_prog_compiler_static_CXX='-static'
14417 # Portland Group C++ compiler
14418 lt_prog_compiler_wl_CXX='-Wl,'
14419 lt_prog_compiler_pic_CXX='-fpic'
14420 lt_prog_compiler_static_CXX='-Bstatic'
14424 # Make sure the PIC flag is empty. It appears that all Alpha
14425 # Linux and Compaq Tru64 Unix objects are PIC.
14426 lt_prog_compiler_pic_CXX=
14427 lt_prog_compiler_static_CXX='-non_shared'
14429 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14430 # IBM XL 8.0, 9.0 on PPC and BlueGene
14431 lt_prog_compiler_wl_CXX='-Wl,'
14432 lt_prog_compiler_pic_CXX='-qpic'
14433 lt_prog_compiler_static_CXX='-qstaticlink'
14436 case `$CC -V 2>&1 | sed 5q` in
14439 lt_prog_compiler_pic_CXX='-KPIC'
14440 lt_prog_compiler_static_CXX='-Bstatic'
14441 lt_prog_compiler_wl_CXX='-Qoption ld '
14452 case $cc_basename in
14454 lt_prog_compiler_pic_CXX='-W c,exportall'
14460 netbsd* | netbsdelf*-gnu)
14463 # QNX uses GNU C++, but need to define -shared option too, otherwise
14464 # it will coredump.
14465 lt_prog_compiler_pic_CXX='-fPIC -shared'
14467 osf3* | osf4* | osf5*)
14468 case $cc_basename in
14470 lt_prog_compiler_wl_CXX='--backend -Wl,'
14473 # Rational C++ 2.4.1
14474 lt_prog_compiler_pic_CXX='-pic'
14477 # Digital/Compaq C++
14478 lt_prog_compiler_wl_CXX='-Wl,'
14479 # Make sure the PIC flag is empty. It appears that all Alpha
14480 # Linux and Compaq Tru64 Unix objects are PIC.
14481 lt_prog_compiler_pic_CXX=
14482 lt_prog_compiler_static_CXX='-non_shared'
14491 case $cc_basename in
14493 # Sun C++ 4.2, 5.x and Centerline C++
14494 lt_prog_compiler_pic_CXX='-KPIC'
14495 lt_prog_compiler_static_CXX='-Bstatic'
14496 lt_prog_compiler_wl_CXX='-Qoption ld '
14499 # Green Hills C++ Compiler
14500 lt_prog_compiler_pic_CXX='-PIC'
14507 case $cc_basename in
14510 lt_prog_compiler_pic_CXX='-pic'
14511 lt_prog_compiler_static_CXX='-Bstatic'
14515 lt_prog_compiler_pic_CXX='-pic'
14521 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14522 case $cc_basename in
14524 lt_prog_compiler_wl_CXX='-Wl,'
14525 lt_prog_compiler_pic_CXX='-KPIC'
14526 lt_prog_compiler_static_CXX='-Bstatic'
14531 case $cc_basename in
14533 # NonStop-UX NCC 3.20
14534 lt_prog_compiler_pic_CXX='-KPIC'
14543 lt_prog_compiler_can_build_shared_CXX=no
14549 # For platforms that do not support PIC, -DPIC is meaningless:
14551 lt_prog_compiler_pic_CXX=
14554 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14559 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14560 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14561 $as_echo_n "(cached) " >&6
14563 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14566 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14567 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14570 # Check to make sure the PIC flag actually works.
14572 if test -n "$lt_prog_compiler_pic_CXX"; then
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14574 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14575 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14576 $as_echo_n "(cached) " >&6
14578 lt_cv_prog_compiler_pic_works_CXX=no
14579 ac_outfile=conftest.$ac_objext
14580 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14581 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
14582 # Insert the option either (1) after the last *FLAGS variable, or
14583 # (2) before a word containing "conftest.", or (3) at the end.
14584 # Note that $ac_compile itself does not contain backslashes and begins
14585 # with a dollar sign (not a hyphen), so the echo should work correctly.
14586 # The option is referenced via a variable to avoid confusing sed.
14587 lt_compile=`echo "$ac_compile" | $SED \
14588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14590 -e 's:$: $lt_compiler_flag:'`
14591 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14592 (eval "$lt_compile" 2>conftest.err)
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 if (exit $ac_status) && test -s "$ac_outfile"; then
14597 # The compiler can only warn and ignore the option if not recognized
14598 # So say no if there are warnings other than the usual output.
14599 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14600 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14601 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14602 lt_cv_prog_compiler_pic_works_CXX=yes
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14609 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14611 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
14612 case $lt_prog_compiler_pic_CXX in
14614 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14617 lt_prog_compiler_pic_CXX=
14618 lt_prog_compiler_can_build_shared_CXX=no
14628 # Check to make sure the static flag actually works.
14630 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14632 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14633 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14634 $as_echo_n "(cached) " >&6
14636 lt_cv_prog_compiler_static_works_CXX=no
14637 save_LDFLAGS=$LDFLAGS
14638 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14639 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14640 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14641 # The linker can only warn and ignore the option if not recognized
14642 # So say no if there are warnings
14643 if test -s conftest.err; then
14644 # Append any errors to the config.log.
14645 cat conftest.err 1>&5
14646 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14647 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14648 if diff conftest.exp conftest.er2 >/dev/null; then
14649 lt_cv_prog_compiler_static_works_CXX=yes
14652 lt_cv_prog_compiler_static_works_CXX=yes
14656 LDFLAGS=$save_LDFLAGS
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14660 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14662 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
14665 lt_prog_compiler_static_CXX=
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14672 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14673 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14674 $as_echo_n "(cached) " >&6
14676 lt_cv_prog_compiler_c_o_CXX=no
14677 $RM -r conftest 2>/dev/null
14681 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14683 lt_compiler_flag="-o out/conftest2.$ac_objext"
14684 # Insert the option either (1) after the last *FLAGS variable, or
14685 # (2) before a word containing "conftest.", or (3) at the end.
14686 # Note that $ac_compile itself does not contain backslashes and begins
14687 # with a dollar sign (not a hyphen), so the echo should work correctly.
14688 lt_compile=`echo "$ac_compile" | $SED \
14689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14691 -e 's:$: $lt_compiler_flag:'`
14692 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14693 (eval "$lt_compile" 2>out/conftest.err)
14695 cat out/conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14699 # The compiler can only warn and ignore the option if not recognized
14700 # So say no if there are warnings
14701 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14702 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14703 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14704 lt_cv_prog_compiler_c_o_CXX=yes
14709 # SGI C++ compiler will create directory out/ii_files/ for
14710 # template instantiation
14711 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14712 $RM out/* && rmdir out
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14719 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14724 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14725 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14726 $as_echo_n "(cached) " >&6
14728 lt_cv_prog_compiler_c_o_CXX=no
14729 $RM -r conftest 2>/dev/null
14733 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14735 lt_compiler_flag="-o out/conftest2.$ac_objext"
14736 # Insert the option either (1) after the last *FLAGS variable, or
14737 # (2) before a word containing "conftest.", or (3) at the end.
14738 # Note that $ac_compile itself does not contain backslashes and begins
14739 # with a dollar sign (not a hyphen), so the echo should work correctly.
14740 lt_compile=`echo "$ac_compile" | $SED \
14741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14743 -e 's:$: $lt_compiler_flag:'`
14744 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14745 (eval "$lt_compile" 2>out/conftest.err)
14747 cat out/conftest.err >&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14751 # The compiler can only warn and ignore the option if not recognized
14752 # So say no if there are warnings
14753 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14754 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14755 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14756 lt_cv_prog_compiler_c_o_CXX=yes
14761 # SGI C++ compiler will create directory out/ii_files/ for
14762 # template instantiation
14763 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14764 $RM out/* && rmdir out
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14771 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14776 hard_links=nottested
14777 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
14778 # do not overwrite the value of need_locks provided by the user
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14780 $as_echo_n "checking if we can lock with hard links... " >&6; }
14783 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14785 ln conftest.a conftest.b 2>&5 || hard_links=no
14786 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14788 $as_echo "$hard_links" >&6; }
14789 if test no = "$hard_links"; then
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
14791 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14801 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14803 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14804 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14807 # If we're using GNU nm, then we don't want the "-C" option.
14808 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14809 # Without the "-l" option, or with the "-B" option, AIX nm treats
14810 # weak defined symbols like other global defined symbols, whereas
14811 # GNU nm marks them as "W".
14812 # While the 'weak' keyword is ignored in the Export File, we need
14813 # it in the Import File for the 'aix-soname' feature, so we have
14814 # to replace the "-B" option with "-P" for AIX nm.
14815 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14816 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
14818 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
14822 export_symbols_cmds_CXX=$ltdll_cmds
14824 cygwin* | mingw* | cegcc*)
14825 case $cc_basename in
14827 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14830 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'
14831 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14835 linux* | k*bsd*-gnu | gnu*)
14836 link_all_deplibs_CXX=no
14839 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14844 $as_echo "$ld_shlibs_CXX" >&6; }
14845 test no = "$ld_shlibs_CXX" && can_build_shared=no
14847 with_gnu_ld_CXX=$with_gnu_ld
14855 # Do we need to explicitly link libc?
14857 case "x$archive_cmds_need_lc_CXX" in
14859 # Assume -lc should be added
14860 archive_cmds_need_lc_CXX=yes
14862 if test yes,yes = "$GCC,$enable_shared"; then
14863 case $archive_cmds_CXX in
14865 # FIXME: we may have to deal with multi-command sequences.
14868 # Test whether the compiler implicitly links with -lc since on some
14869 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14870 # to ld, don't add -lc before -lgcc.
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14872 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14873 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14874 $as_echo_n "(cached) " >&6
14877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14880 (eval $ac_compile) 2>&5
14882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883 test $ac_status = 0; } 2>conftest.err; then
14886 libobjs=conftest.$ac_objext
14888 wl=$lt_prog_compiler_wl_CXX
14889 pic_flag=$lt_prog_compiler_pic_CXX
14895 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14896 allow_undefined_flag_CXX=
14897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14898 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14901 test $ac_status = 0; }
14903 lt_cv_archive_cmds_need_lc_CXX=no
14905 lt_cv_archive_cmds_need_lc_CXX=yes
14907 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14909 cat conftest.err 1>&5
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14915 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14916 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14985 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14987 library_names_spec=
14988 libname_spec='lib$name'
14992 postuninstall_cmds=
14996 shlibpath_overrides_runpath=unknown
14998 dynamic_linker="$host_os ld.so"
14999 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15000 need_lib_prefix=unknown
15001 hardcode_into_libs=no
15003 # when you set need_version to no, make sure it does not cause -set_version
15004 # flags to be left without arguments
15005 need_version=unknown
15011 version_type=linux # correct to gnu/linux during the next big refactor
15012 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15013 shlibpath_var=LIBPATH
15015 # AIX 3 has no versioning support, so we append a major version to the name.
15016 soname_spec='$libname$release$shared_ext$major'
15020 version_type=linux # correct to gnu/linux during the next big refactor
15023 hardcode_into_libs=yes
15024 if test ia64 = "$host_cpu"; then
15025 # AIX 5 supports IA64
15026 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15027 shlibpath_var=LD_LIBRARY_PATH
15029 # With GCC up to 2.95.x, collect2 would create an import file
15030 # for dependence libraries. The import file would start with
15031 # the line '#! .'. This would cause the generated library to
15032 # depend on '.', always an invalid library. This was fixed in
15033 # development snapshots of GCC prior to 3.0.
15035 aix4 | aix4.[01] | aix4.[01].*)
15036 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15038 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15041 can_build_shared=no
15045 # Using Import Files as archive members, it is possible to support
15046 # filename-based versioning of shared library archives on AIX. While
15047 # this would work for both with and without runtime linking, it will
15048 # prevent static linking of such archives. So we do filename-based
15049 # shared library versioning with .so extension only, which is used
15050 # when both runtime linking and shared linking is enabled.
15051 # Unfortunately, runtime linking may impact performance, so we do
15052 # not want this to be the default eventually. Also, we use the
15053 # versioned .so libs for executables only if there is the -brtl
15054 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15055 # To allow for filename-based versioning support, we need to create
15056 # libNAME.so.V as an archive file, containing:
15057 # *) an Import File, referring to the versioned filename of the
15058 # archive as well as the shared archive member, telling the
15059 # bitwidth (32 or 64) of that shared object, and providing the
15060 # list of exported symbols of that shared object, eventually
15061 # decorated with the 'weak' keyword
15062 # *) the shared object with the F_LOADONLY flag set, to really avoid
15063 # it being seen by the linker.
15064 # At run time we better use the real file rather than another symlink,
15065 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15067 case $with_aix_soname,$aix_use_runtimelinking in
15068 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15069 # soname into executable. Probably we can add versioning support to
15070 # collect2, so additional links can be useful in future.
15071 aix,yes) # traditional libtool
15072 dynamic_linker='AIX unversionable lib.so'
15073 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15074 # instead of lib<name>.a to let people know that these are not
15075 # typical AIX shared libraries.
15076 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15078 aix,no) # traditional AIX only
15079 dynamic_linker='AIX lib.a(lib.so.V)'
15080 # We preserve .a as extension for shared libraries through AIX4.2
15081 # and later when we are not doing run time linking.
15082 library_names_spec='$libname$release.a $libname.a'
15083 soname_spec='$libname$release$shared_ext$major'
15085 svr4,*) # full svr4 only
15086 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15087 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15088 # We do not specify a path in Import Files, so LIBPATH fires.
15089 shlibpath_overrides_runpath=yes
15091 *,yes) # both, prefer svr4
15092 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15093 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15094 # unpreferred sharedlib libNAME.a needs extra handling
15095 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15096 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15097 # We do not specify a path in Import Files, so LIBPATH fires.
15098 shlibpath_overrides_runpath=yes
15100 *,no) # both, prefer aix
15101 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15102 library_names_spec='$libname$release.a $libname.a'
15103 soname_spec='$libname$release$shared_ext$major'
15104 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15105 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15106 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15109 shlibpath_var=LIBPATH
15116 # Since July 2007 AmigaOS4 officially supports .so libraries.
15117 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15118 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15121 library_names_spec='$libname.ixlibrary $libname.a'
15122 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15123 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15129 library_names_spec='$libname$shared_ext'
15130 dynamic_linker="$host_os ld.so"
15131 shlibpath_var=LIBRARY_PATH
15135 version_type=linux # correct to gnu/linux during the next big refactor
15137 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15138 soname_spec='$libname$release$shared_ext$major'
15139 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15140 shlibpath_var=LD_LIBRARY_PATH
15141 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15142 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15143 # the default ld.so.conf also contains /usr/contrib/lib and
15144 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15145 # libtool to hard-code these into programs
15148 cygwin* | mingw* | pw32* | cegcc*)
15149 version_type=windows
15154 case $GCC,$cc_basename in
15157 library_names_spec='$libname.dll.a'
15158 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15159 postinstall_cmds='base_file=`basename \$file`~
15160 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15161 dldir=$destdir/`dirname \$dlpath`~
15162 test -d \$dldir || mkdir -p \$dldir~
15163 $install_prog $dir/$dlname \$dldir/$dlname~
15164 chmod a+x \$dldir/$dlname~
15165 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15166 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15168 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15169 dlpath=$dir/\$dldll~
15171 shlibpath_overrides_runpath=yes
15175 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15176 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15180 # MinGW DLLs use traditional 'lib' prefix
15181 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15184 # pw32 DLLs use 'pw' prefix rather than 'lib'
15185 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15188 dynamic_linker='Win32 ld.exe'
15193 libname_spec='$name'
15194 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15195 library_names_spec='$libname.dll.lib'
15199 sys_lib_search_path_spec=
15202 for lt_path in $LIB
15205 # Let DOS variable expansion print the short 8.3 style file name.
15206 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15207 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15210 # Convert to MSYS style.
15211 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15214 # Convert to unix form, then to dos form, then back to unix form
15215 # but this time dos style (no spaces!) so that the unix form looks
15216 # like /cygdrive/c/PROGRA~1:/cygdr...
15217 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15218 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15219 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15222 sys_lib_search_path_spec=$LIB
15223 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15224 # It is most probably a Windows format PATH.
15225 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15227 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15229 # FIXME: find the short name or the path components, as spaces are
15230 # common. (e.g. "Program Files" -> "PROGRA~1")
15234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15235 postinstall_cmds='base_file=`basename \$file`~
15236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15237 dldir=$destdir/`dirname \$dlpath`~
15238 test -d \$dldir || mkdir -p \$dldir~
15239 $install_prog $dir/$dlname \$dldir/$dlname'
15240 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15241 dlpath=$dir/\$dldll~
15243 shlibpath_overrides_runpath=yes
15244 dynamic_linker='Win32 link.exe'
15248 # Assume MSVC wrapper
15249 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15250 dynamic_linker='Win32 ld.exe'
15253 # FIXME: first we should search . and the directory the executable is in
15257 darwin* | rhapsody*)
15258 dynamic_linker="$host_os dyld"
15259 version_type=darwin
15262 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15263 soname_spec='$libname$release$major$shared_ext'
15264 shlibpath_overrides_runpath=yes
15265 shlibpath_var=DYLD_LIBRARY_PATH
15266 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15268 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15272 version_type=linux # correct to gnu/linux during the next big refactor
15275 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15276 soname_spec='$libname$release$shared_ext$major'
15277 shlibpath_var=LD_LIBRARY_PATH
15280 freebsd* | dragonfly*)
15281 # DragonFly does not have aout. When/if they implement a new
15282 # versioning mechanism, adjust this.
15283 if test -x /usr/bin/objformat; then
15284 objformat=`/usr/bin/objformat`
15287 freebsd[23].*) objformat=aout ;;
15288 *) objformat=elf ;;
15291 version_type=freebsd-$objformat
15292 case $version_type in
15294 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15295 soname_spec='$libname$release$shared_ext$major'
15300 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15304 shlibpath_var=LD_LIBRARY_PATH
15307 shlibpath_overrides_runpath=yes
15309 freebsd3.[01]* | freebsdelf3.[01]*)
15310 shlibpath_overrides_runpath=yes
15311 hardcode_into_libs=yes
15313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15315 shlibpath_overrides_runpath=no
15316 hardcode_into_libs=yes
15318 *) # from 4.6 on, and DragonFly
15319 shlibpath_overrides_runpath=yes
15320 hardcode_into_libs=yes
15326 version_type=linux # correct to gnu/linux during the next big refactor
15329 dynamic_linker="$host_os runtime_loader"
15330 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15331 soname_spec='$libname$release$shared_ext$major'
15332 shlibpath_var=LIBRARY_PATH
15333 shlibpath_overrides_runpath=no
15334 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15335 hardcode_into_libs=yes
15338 hpux9* | hpux10* | hpux11*)
15339 # Give a soname corresponding to the major version so that dld.sl refuses to
15340 # link against other versions.
15347 hardcode_into_libs=yes
15348 dynamic_linker="$host_os dld.so"
15349 shlibpath_var=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15351 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15352 soname_spec='$libname$release$shared_ext$major'
15353 if test 32 = "$HPUX_IA64_MODE"; then
15354 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15355 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15357 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15358 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15363 hardcode_into_libs=yes
15364 dynamic_linker="$host_os dld.sl"
15365 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15366 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15367 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15368 soname_spec='$libname$release$shared_ext$major'
15369 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15374 dynamic_linker="$host_os dld.sl"
15375 shlibpath_var=SHLIB_PATH
15376 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15378 soname_spec='$libname$release$shared_ext$major'
15381 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15382 postinstall_cmds='chmod 555 $lib'
15383 # or fails outright, so override atomically:
15384 install_override_mode=555
15388 version_type=linux # correct to gnu/linux during the next big refactor
15391 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15392 soname_spec='$libname$release$shared_ext$major'
15393 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15394 shlibpath_var=LD_LIBRARY_PATH
15395 shlibpath_overrides_runpath=no
15396 hardcode_into_libs=yes
15399 irix5* | irix6* | nonstopux*)
15401 nonstopux*) version_type=nonstopux ;;
15403 if test yes = "$lt_cv_prog_gnu_ld"; then
15404 version_type=linux # correct to gnu/linux during the next big refactor
15411 soname_spec='$libname$release$shared_ext$major'
15412 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15414 irix5* | nonstopux*)
15415 libsuff= shlibsuff=
15418 case $LD in # libtool.m4 will add one of these switches to LD
15419 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15420 libsuff= shlibsuff= libmagic=32-bit;;
15421 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15422 libsuff=32 shlibsuff=N32 libmagic=N32;;
15423 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15424 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15425 *) libsuff= shlibsuff= libmagic=never-match;;
15429 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15430 shlibpath_overrides_runpath=no
15431 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15432 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15433 hardcode_into_libs=yes
15436 # No shared lib support for Linux oldld, aout, or coff.
15437 linux*oldld* | linux*aout* | linux*coff*)
15442 version_type=none # Android doesn't support versioned libraries.
15445 library_names_spec='$libname$release$shared_ext'
15446 soname_spec='$libname$release$shared_ext'
15448 shlibpath_var=LD_LIBRARY_PATH
15449 shlibpath_overrides_runpath=yes
15451 # This implies no fast_install, which is unacceptable.
15452 # Some rework will be needed to allow for fast_install
15453 # before this can be enabled.
15454 hardcode_into_libs=yes
15456 dynamic_linker='Android linker'
15457 # Don't embed -rpath directories since the linker doesn't support them.
15458 hardcode_libdir_flag_spec_CXX='-L$libdir'
15461 # This must be glibc/ELF.
15462 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15463 version_type=linux # correct to gnu/linux during the next big refactor
15466 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15467 soname_spec='$libname$release$shared_ext$major'
15468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15469 shlibpath_var=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath=no
15472 # Some binutils ld are patched to set DT_RUNPATH
15473 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15474 $as_echo_n "(cached) " >&6
15476 lt_cv_shlibpath_overrides_runpath=no
15477 save_LDFLAGS=$LDFLAGS
15478 save_libdir=$libdir
15479 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15480 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15492 if ac_fn_cxx_try_link "$LINENO"; then :
15493 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15494 lt_cv_shlibpath_overrides_runpath=yes
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15499 LDFLAGS=$save_LDFLAGS
15500 libdir=$save_libdir
15504 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15506 # This implies no fast_install, which is unacceptable.
15507 # Some rework will be needed to allow for fast_install
15508 # before this can be enabled.
15509 hardcode_into_libs=yes
15511 # Ideally, we could use ldconfig to report *all* directores which are
15512 # searched for libraries, however this is still not possible. Aside from not
15513 # being certain /sbin/ldconfig is available, command
15514 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15515 # even though it is searched at run-time. Try to do the best guess by
15516 # appending ld.so.conf contents (and includes) to the search path.
15517 if test -f /etc/ld.so.conf; then
15518 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' ' '`
15519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15522 # We used to test for /lib/ld.so.1 and disable shared libraries on
15523 # powerpc, because MkLinux only supported shared libraries with the
15524 # GNU dynamic linker. Since this was broken with cross compilers,
15525 # most powerpc-linux boxes support dynamic linking these days and
15526 # people can always --disable-shared, the test was removed, and we
15527 # assume the GNU/Linux dynamic linker is in use.
15528 dynamic_linker='GNU/Linux ld.so'
15535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15536 soname_spec='${libname}${release}${shared_ext}$major'
15537 shlibpath_var=LD_LIBRARY_PATH
15538 shlibpath_overrides_runpath=no
15539 hardcode_into_libs=yes
15540 dynamic_linker='NetBSD ld.elf_so'
15547 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15548 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15549 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15550 dynamic_linker='NetBSD (a.out) ld.so'
15552 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15553 soname_spec='$libname$release$shared_ext$major'
15554 dynamic_linker='NetBSD ld.elf_so'
15556 shlibpath_var=LD_LIBRARY_PATH
15557 shlibpath_overrides_runpath=yes
15558 hardcode_into_libs=yes
15562 version_type=linux # correct to gnu/linux during the next big refactor
15563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15564 shlibpath_var=LD_LIBRARY_PATH
15565 shlibpath_overrides_runpath=yes
15572 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15573 soname_spec='$libname$release$shared_ext$major'
15574 shlibpath_var=LD_LIBRARY_PATH
15575 shlibpath_overrides_runpath=no
15576 hardcode_into_libs=yes
15577 dynamic_linker='ldqnx.so'
15580 openbsd* | bitrig*)
15582 sys_lib_dlsearch_path_spec=/usr/lib
15584 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15589 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15591 shlibpath_var=LD_LIBRARY_PATH
15592 shlibpath_overrides_runpath=yes
15596 libname_spec='$name'
15597 version_type=windows
15601 # OS/2 can only load a DLL with a base name of 8 characters or less.
15602 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15603 v=$($ECHO $release$versuffix | tr -d .-);
15604 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15605 $ECHO $n$v`$shared_ext'
15606 library_names_spec='${libname}_dll.$libext'
15607 dynamic_linker='OS/2 ld.exe'
15608 shlibpath_var=BEGINLIBPATH
15609 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15610 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15611 postinstall_cmds='base_file=`basename \$file`~
15612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15613 dldir=$destdir/`dirname \$dlpath`~
15614 test -d \$dldir || mkdir -p \$dldir~
15615 $install_prog $dir/$dlname \$dldir/$dlname~
15616 chmod a+x \$dldir/$dlname~
15617 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15618 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15620 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15621 dlpath=$dir/\$dldll~
15625 osf3* | osf4* | osf5*)
15629 soname_spec='$libname$release$shared_ext$major'
15630 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15631 shlibpath_var=LD_LIBRARY_PATH
15632 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15633 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15641 version_type=linux # correct to gnu/linux during the next big refactor
15644 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15645 soname_spec='$libname$release$shared_ext$major'
15646 shlibpath_var=LD_LIBRARY_PATH
15647 shlibpath_overrides_runpath=yes
15648 hardcode_into_libs=yes
15649 # ldd complains unless libraries are executable
15650 postinstall_cmds='chmod +x $lib'
15655 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15656 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15657 shlibpath_var=LD_LIBRARY_PATH
15658 shlibpath_overrides_runpath=yes
15659 if test yes = "$with_gnu_ld"; then
15666 version_type=linux # correct to gnu/linux during the next big refactor
15667 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15668 soname_spec='$libname$release$shared_ext$major'
15669 shlibpath_var=LD_LIBRARY_PATH
15670 case $host_vendor in
15672 shlibpath_overrides_runpath=no
15674 runpath_var=LD_RUN_PATH
15682 shlibpath_overrides_runpath=no
15683 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15689 if test -d /usr/nec; then
15690 version_type=linux # correct to gnu/linux during the next big refactor
15691 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
15692 soname_spec='$libname$shared_ext.$major'
15693 shlibpath_var=LD_LIBRARY_PATH
15697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15701 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
15702 soname_spec='$libname$release$shared_ext$major'
15703 shlibpath_var=LD_LIBRARY_PATH
15704 shlibpath_overrides_runpath=yes
15705 hardcode_into_libs=yes
15706 if test yes = "$with_gnu_ld"; then
15707 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15709 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15712 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15716 sys_lib_dlsearch_path_spec='/usr/lib'
15720 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15721 version_type=linux # correct to gnu/linux during the next big refactor
15724 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15725 shlibpath_var=LD_LIBRARY_PATH
15726 shlibpath_overrides_runpath=no
15727 hardcode_into_libs=yes
15731 version_type=linux # correct to gnu/linux during the next big refactor
15732 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15733 soname_spec='$libname$release$shared_ext$major'
15734 shlibpath_var=LD_LIBRARY_PATH
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15742 $as_echo "$dynamic_linker" >&6; }
15743 test no = "$dynamic_linker" && can_build_shared=no
15745 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15746 if test yes = "$GCC"; then
15747 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15750 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15751 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15754 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15755 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15758 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15759 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15761 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15762 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15764 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15765 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15807 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15808 hardcode_action_CXX=
15809 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15810 test -n "$runpath_var_CXX" ||
15811 test yes = "$hardcode_automatic_CXX"; then
15813 # We can hardcode non-existent directories.
15814 if test no != "$hardcode_direct_CXX" &&
15815 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15816 # have to relink, otherwise we might link with an installed library
15817 # when we should be linking with a yet-to-be-installed one
15818 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
15819 test no != "$hardcode_minus_L_CXX"; then
15820 # Linking always hardcodes the temporary library directory.
15821 hardcode_action_CXX=relink
15823 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15824 hardcode_action_CXX=immediate
15827 # We cannot hardcode anything, or else we can only hardcode existing
15829 hardcode_action_CXX=unsupported
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15832 $as_echo "$hardcode_action_CXX" >&6; }
15834 if test relink = "$hardcode_action_CXX" ||
15835 test yes = "$inherit_rpath_CXX"; then
15836 # Fast installation is not supported
15837 enable_fast_install=no
15838 elif test yes = "$shlibpath_overrides_runpath" ||
15839 test no = "$enable_shared"; then
15840 # Fast installation is not necessary
15841 enable_fast_install=needless
15850 fi # test -n "$compiler"
15853 CFLAGS=$lt_save_CFLAGS
15857 with_gnu_ld=$lt_save_with_gnu_ld
15858 lt_cv_path_LDCXX=$lt_cv_path_LD
15859 lt_cv_path_LD=$lt_save_path_LD
15860 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15861 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15862 fi # test yes != "$_lt_caught_CXX_error"
15865 ac_cpp='$CPP $CPPFLAGS'
15866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15872 ac_cpp='$CPP $CPPFLAGS'
15873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15876 if test -n "$ac_tool_prefix"; then
15877 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15878 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15880 $as_echo_n "checking for $ac_word... " >&6; }
15881 if ${ac_cv_prog_CC+:} false; then :
15882 $as_echo_n "(cached) " >&6
15884 if test -n "$CC"; then
15885 ac_cv_prog_CC="$CC" # Let the user override the test.
15887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15888 for as_dir in $PATH
15891 test -z "$as_dir" && as_dir=.
15892 for ac_exec_ext in '' $ac_executable_extensions; do
15893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15894 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15905 if test -n "$CC"; then
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15907 $as_echo "$CC" >&6; }
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15910 $as_echo "no" >&6; }
15915 if test -z "$ac_cv_prog_CC"; then
15917 # Extract the first word of "gcc", so it can be a program name with args.
15918 set dummy gcc; ac_word=$2
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15920 $as_echo_n "checking for $ac_word... " >&6; }
15921 if ${ac_cv_prog_ac_ct_CC+:} false; then :
15922 $as_echo_n "(cached) " >&6
15924 if test -n "$ac_ct_CC"; then
15925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15928 for as_dir in $PATH
15931 test -z "$as_dir" && as_dir=.
15932 for ac_exec_ext in '' $ac_executable_extensions; do
15933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15934 ac_cv_prog_ac_ct_CC="gcc"
15935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15945 if test -n "$ac_ct_CC"; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15947 $as_echo "$ac_ct_CC" >&6; }
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15950 $as_echo "no" >&6; }
15953 if test "x$ac_ct_CC" = x; then
15956 case $cross_compiling:$ac_tool_warned in
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15960 ac_tool_warned=yes ;;
15965 CC="$ac_cv_prog_CC"
15968 if test -z "$CC"; then
15969 if test -n "$ac_tool_prefix"; then
15970 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15971 set dummy ${ac_tool_prefix}cc; ac_word=$2
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15973 $as_echo_n "checking for $ac_word... " >&6; }
15974 if ${ac_cv_prog_CC+:} false; then :
15975 $as_echo_n "(cached) " >&6
15977 if test -n "$CC"; then
15978 ac_cv_prog_CC="$CC" # Let the user override the test.
15980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15981 for as_dir in $PATH
15984 test -z "$as_dir" && as_dir=.
15985 for ac_exec_ext in '' $ac_executable_extensions; do
15986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15987 ac_cv_prog_CC="${ac_tool_prefix}cc"
15988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15998 if test -n "$CC"; then
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16000 $as_echo "$CC" >&6; }
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16003 $as_echo "no" >&6; }
16009 if test -z "$CC"; then
16010 # Extract the first word of "cc", so it can be a program name with args.
16011 set dummy cc; ac_word=$2
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16013 $as_echo_n "checking for $ac_word... " >&6; }
16014 if ${ac_cv_prog_CC+:} false; then :
16015 $as_echo_n "(cached) " >&6
16017 if test -n "$CC"; then
16018 ac_cv_prog_CC="$CC" # Let the user override the test.
16020 ac_prog_rejected=no
16021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16022 for as_dir in $PATH
16025 test -z "$as_dir" && as_dir=.
16026 for ac_exec_ext in '' $ac_executable_extensions; do
16027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16028 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16029 ac_prog_rejected=yes
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16040 if test $ac_prog_rejected = yes; then
16041 # We found a bogon in the path, so make sure we never use it.
16042 set dummy $ac_cv_prog_CC
16044 if test $@%:@ != 0; then
16045 # We chose a different compiler from the bogus one.
16046 # However, it has the same basename, so the bogon will be chosen
16047 # first if we set CC to just the basename; use the full file name.
16049 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16055 if test -n "$CC"; then
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16057 $as_echo "$CC" >&6; }
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16060 $as_echo "no" >&6; }
16065 if test -z "$CC"; then
16066 if test -n "$ac_tool_prefix"; then
16067 for ac_prog in cl.exe
16069 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16072 $as_echo_n "checking for $ac_word... " >&6; }
16073 if ${ac_cv_prog_CC+:} false; then :
16074 $as_echo_n "(cached) " >&6
16076 if test -n "$CC"; then
16077 ac_cv_prog_CC="$CC" # Let the user override the test.
16079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16080 for as_dir in $PATH
16083 test -z "$as_dir" && as_dir=.
16084 for ac_exec_ext in '' $ac_executable_extensions; do
16085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16086 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16097 if test -n "$CC"; then
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16099 $as_echo "$CC" >&6; }
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16102 $as_echo "no" >&6; }
16106 test -n "$CC" && break
16109 if test -z "$CC"; then
16111 for ac_prog in cl.exe
16113 # Extract the first word of "$ac_prog", so it can be a program name with args.
16114 set dummy $ac_prog; ac_word=$2
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16116 $as_echo_n "checking for $ac_word... " >&6; }
16117 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16118 $as_echo_n "(cached) " >&6
16120 if test -n "$ac_ct_CC"; then
16121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16124 for as_dir in $PATH
16127 test -z "$as_dir" && as_dir=.
16128 for ac_exec_ext in '' $ac_executable_extensions; do
16129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16130 ac_cv_prog_ac_ct_CC="$ac_prog"
16131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16141 if test -n "$ac_ct_CC"; then
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16143 $as_echo "$ac_ct_CC" >&6; }
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16146 $as_echo "no" >&6; }
16150 test -n "$ac_ct_CC" && break
16153 if test "x$ac_ct_CC" = x; then
16156 case $cross_compiling:$ac_tool_warned in
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16160 ac_tool_warned=yes ;;
16169 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16171 as_fn_error $? "no acceptable C compiler found in \$PATH
16172 See \`config.log' for more details" "$LINENO" 5; }
16174 # Provide some information about the compiler.
16175 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16178 for ac_option in --version -v -V -qversion; do
16179 { { ac_try="$ac_compiler $ac_option >&5"
16180 case "(($ac_try" in
16181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16182 *) ac_try_echo=$ac_try;;
16184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16185 $as_echo "$ac_try_echo"; } >&5
16186 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16188 if test -s conftest.err; then
16190 ... rest of stderr output deleted ...
16191 10q' conftest.err >conftest.er1
16192 cat conftest.er1 >&5
16194 rm -f conftest.er1 conftest.err
16195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16196 test $ac_status = 0; }
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16200 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16201 if ${ac_cv_c_compiler_gnu+:} false; then :
16202 $as_echo_n "(cached) " >&6
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16218 if ac_fn_c_try_compile "$LINENO"; then :
16219 ac_compiler_gnu=yes
16223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16224 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16228 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16229 if test $ac_compiler_gnu = yes; then
16234 ac_test_CFLAGS=${CFLAGS+set}
16235 ac_save_CFLAGS=$CFLAGS
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16237 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16238 if ${ac_cv_prog_cc_g+:} false; then :
16239 $as_echo_n "(cached) " >&6
16241 ac_save_c_werror_flag=$ac_c_werror_flag
16242 ac_c_werror_flag=yes
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16256 if ac_fn_c_try_compile "$LINENO"; then :
16257 ac_cv_prog_cc_g=yes
16260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h. */
16271 if ac_fn_c_try_compile "$LINENO"; then :
16274 ac_c_werror_flag=$ac_save_c_werror_flag
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16287 if ac_fn_c_try_compile "$LINENO"; then :
16288 ac_cv_prog_cc_g=yes
16290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295 ac_c_werror_flag=$ac_save_c_werror_flag
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16298 $as_echo "$ac_cv_prog_cc_g" >&6; }
16299 if test "$ac_test_CFLAGS" = set; then
16300 CFLAGS=$ac_save_CFLAGS
16301 elif test $ac_cv_prog_cc_g = yes; then
16302 if test "$GCC" = yes; then
16308 if test "$GCC" = yes; then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16315 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16316 if ${ac_cv_prog_cc_c89+:} false; then :
16317 $as_echo_n "(cached) " >&6
16319 ac_cv_prog_cc_c89=no
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16323 #include <stdarg.h>
16326 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16327 struct buf { int x; };
16328 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16329 static char *e (p, i)
16335 static char *f (char * (*g) (char **, int), char **p, ...)
16340 s = g (p, va_arg (v,int));
16345 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16346 function prototypes and stuff, but not '\xHH' hex character constants.
16347 These don't provoke an error unfortunately, instead are silently treated
16348 as 'x'. The following induces an error, until -std is added to get
16349 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16350 array size at least. It's necessary to write '\x00'==0 to get something
16351 that's true only with -std. */
16352 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16354 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16355 inside strings and character constants. */
16357 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16359 int test (int i, double x);
16360 struct s1 {int (*f) (int a);};
16361 struct s2 {int (*f) (double a);};
16362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16368 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16373 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16374 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16376 CC="$ac_save_CC $ac_arg"
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378 ac_cv_prog_cc_c89=$ac_arg
16380 rm -f core conftest.err conftest.$ac_objext
16381 test "x$ac_cv_prog_cc_c89" != "xno" && break
16383 rm -f conftest.$ac_ext
16388 case "x$ac_cv_prog_cc_c89" in
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16391 $as_echo "none needed" >&6; } ;;
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16394 $as_echo "unsupported" >&6; } ;;
16396 CC="$CC $ac_cv_prog_cc_c89"
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16398 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16400 if test "x$ac_cv_prog_cc_c89" != xno; then :
16405 ac_cpp='$CPP $CPPFLAGS'
16406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16411 ac_cpp='$CPP $CPPFLAGS'
16412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16416 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16417 if ${am_cv_prog_cc_c_o+:} false; then :
16418 $as_echo_n "(cached) " >&6
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16431 # Make sure it works both with $CC and with simple cc.
16432 # Following AC_PROG_CC_C_O, we do the test twice because some
16433 # compilers refuse to overwrite an existing .o file with -o,
16434 # though they will create one.
16435 am_cv_prog_cc_c_o=yes
16436 for am_i in 1 2; do
16437 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16438 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } \
16442 && test -f conftest2.$ac_objext; then
16445 am_cv_prog_cc_c_o=no
16449 rm -f core conftest*
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16453 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16454 if test "$am_cv_prog_cc_c_o" != yes; then
16455 # Losing compiler, so override with the script.
16456 # FIXME: It is wrong to rewrite CC.
16457 # But if we don't then we get into trouble of one sort or another.
16458 # A longer-term fix would be to have automake use am__CC in this case,
16459 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16460 CC="$am_aux_dir/compile $CC"
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16469 depcc="$CC" am_compiler_list=
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16472 $as_echo_n "checking dependency style of $depcc... " >&6; }
16473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16474 $as_echo_n "(cached) " >&6
16476 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16477 # We make a subdir and do the tests there. Otherwise we can end up
16478 # making bogus files that we don't know about and never remove. For
16479 # instance it was reported that on HP-UX the gcc test will end up
16480 # making a dummy file named 'D' -- because '-MD' means "put the output
16482 rm -rf conftest.dir
16484 # Copy depcomp to subdir because otherwise we won't find it if we're
16485 # using a relative directory.
16486 cp "$am_depcomp" conftest.dir
16488 # We will build objects and dependencies in a subdirectory because
16489 # it helps to detect inapplicable dependency modes. For instance
16490 # both Tru64's cc and ICC support -MD to output dependencies as a
16491 # side effect of compilation, but ICC will put the dependencies in
16492 # the current directory while Tru64 will put them in the object
16496 am_cv_CC_dependencies_compiler_type=none
16497 if test "$am_compiler_list" = ""; then
16498 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16500 am__universal=false
16501 case " $depcc " in #(
16502 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16505 for depmode in $am_compiler_list; do
16506 # Setup a source with many dependencies, because some compilers
16507 # like to wrap large dependency lists on column 80 (with \), and
16508 # we should not choose a depcomp mode which is confused by this.
16510 # We need to recreate these files for each test, as the compiler may
16511 # overwrite some of them when testing with obscure command lines.
16512 # This happens at least with the AIX C compiler.
16514 for i in 1 2 3 4 5 6; do
16515 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16516 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
16517 # Solaris 10 /bin/sh.
16518 echo '/* dummy */' > sub/conftst$i.h
16520 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16522 # We check with '-c' and '-o' for the sake of the "dashmstdout"
16523 # mode. It turns out that the SunPro C++ compiler does not properly
16524 # handle '-M -o', and we need to detect this. Also, some Intel
16525 # versions had trouble with output in subdirs.
16526 am__obj=sub/conftest.${OBJEXT-o}
16527 am__minus_obj="-o $am__obj"
16530 # This depmode causes a compiler race in universal mode.
16531 test "$am__universal" = false || continue
16534 # After this tag, mechanisms are not by side-effect, so they'll
16535 # only be used when explicitly requested.
16536 if test "x$enable_dependency_tracking" = xyes; then
16542 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16543 # This compiler won't grok '-c -o', but also, the minuso test has
16544 # not run yet. These depmodes are late enough in the game, and
16545 # so weak that their functioning should not be impacted.
16546 am__obj=conftest.${OBJEXT-o}
16551 if depmode=$depmode \
16552 source=sub/conftest.c object=$am__obj \
16553 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16554 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16555 >/dev/null 2>conftest.err &&
16556 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16557 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16558 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16559 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16560 # icc doesn't choke on unknown options, it will just issue warnings
16561 # or remarks (even with -Werror). So we grep stderr for any message
16562 # that says an option was ignored or not supported.
16563 # When given -MP, icc 7.0 and 7.1 complain thusly:
16564 # icc: Command line warning: ignoring option '-M'; no argument required
16565 # The diagnosis changed in icc 8.0:
16566 # icc: Command line remark: option '-MP' not supported
16567 if (grep 'ignoring option' conftest.err ||
16568 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16569 am_cv_CC_dependencies_compiler_type=$depmode
16576 rm -rf conftest.dir
16578 am_cv_CC_dependencies_compiler_type=none
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16584 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16587 test "x$enable_dependency_tracking" != xno \
16588 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16589 am__fastdepCC_TRUE=
16590 am__fastdepCC_FALSE='#'
16592 am__fastdepCC_TRUE='#'
16593 am__fastdepCC_FALSE=
16598 # Checks for libraries.
16600 # Checks for header files.
16601 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16602 if test "x$ac_cv_type_size_t" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 @%:@define size_t unsigned int
16612 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16613 # for constant arguments. Useless!
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16615 $as_echo_n "checking for working alloca.h... " >&6; }
16616 if ${ac_cv_working_alloca_h+:} false; then :
16617 $as_echo_n "(cached) " >&6
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 @%:@include <alloca.h>
16625 char *p = (char *) alloca (2 * sizeof (int));
16631 if ac_fn_c_try_link "$LINENO"; then :
16632 ac_cv_working_alloca_h=yes
16634 ac_cv_working_alloca_h=no
16636 rm -f core conftest.err conftest.$ac_objext \
16637 conftest$ac_exeext conftest.$ac_ext
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16640 $as_echo "$ac_cv_working_alloca_h" >&6; }
16641 if test $ac_cv_working_alloca_h = yes; then
16643 $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16648 $as_echo_n "checking for alloca... " >&6; }
16649 if ${ac_cv_func_alloca_works+:} false; then :
16650 $as_echo_n "(cached) " >&6
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 # define alloca __builtin_alloca
16658 # include <malloc.h>
16659 # define alloca _alloca
16661 # ifdef HAVE_ALLOCA_H
16662 # include <alloca.h>
16667 # ifndef alloca /* predefined by HP cc +Olibcalls */
16668 void *alloca (size_t);
16678 char *p = (char *) alloca (1);
16684 if ac_fn_c_try_link "$LINENO"; then :
16685 ac_cv_func_alloca_works=yes
16687 ac_cv_func_alloca_works=no
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16693 $as_echo "$ac_cv_func_alloca_works" >&6; }
16695 if test $ac_cv_func_alloca_works = yes; then
16697 $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
16700 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16701 # that cause trouble. Some versions do not even contain alloca or
16702 # contain a buggy version. If you still want to use their alloca,
16703 # use ar to extract alloca.o from them instead of compiling alloca.c.
16705 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16707 $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16711 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16712 if ${ac_cv_os_cray+:} false; then :
16713 $as_echo_n "(cached) " >&6
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 #if defined CRAY && ! defined CRAY2
16724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16725 $EGREP "webecray" >/dev/null 2>&1; then :
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16734 $as_echo "$ac_cv_os_cray" >&6; }
16735 if test $ac_cv_os_cray = yes; then
16736 for ac_func in _getb67 GETB67 getb67; do
16737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16741 cat >>confdefs.h <<_ACEOF
16742 @%:@define CRAY_STACKSEG_END $ac_func
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16752 $as_echo_n "checking stack direction for C alloca... " >&6; }
16753 if ${ac_cv_c_stack_direction+:} false; then :
16754 $as_echo_n "(cached) " >&6
16756 if test "$cross_compiling" = yes; then :
16757 ac_cv_c_stack_direction=0
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 $ac_includes_default
16763 find_stack_direction (int *addr, int depth)
16765 int dir, dummy = 0;
16768 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
16769 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
16770 return dir + dummy;
16774 main (int argc, char **argv)
16776 return find_stack_direction (0, argc + !argv + 20) < 0;
16779 if ac_fn_c_try_run "$LINENO"; then :
16780 ac_cv_c_stack_direction=1
16782 ac_cv_c_stack_direction=-1
16784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16785 conftest.$ac_objext conftest.beam conftest.$ac_ext
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16790 $as_echo "$ac_cv_c_stack_direction" >&6; }
16791 cat >>confdefs.h <<_ACEOF
16792 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
16798 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
16800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16801 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16803 cat >>confdefs.h <<_ACEOF
16804 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16812 # Checks for typedefs, structures, and compiler characteristics.
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16814 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16815 if ${ac_cv_header_stdbool_h+:} false; then :
16816 $as_echo_n "(cached) " >&6
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16821 #include <stdbool.h>
16823 "error: bool is not defined"
16826 "error: false is not defined"
16829 "error: false is not 0"
16832 "error: true is not defined"
16835 "error: true is not 1"
16837 #ifndef __bool_true_false_are_defined
16838 "error: __bool_true_false_are_defined is not defined"
16841 struct s { _Bool s: 1; _Bool t; } s;
16843 char a[true == 1 ? 1 : -1];
16844 char b[false == 0 ? 1 : -1];
16845 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16846 char d[(bool) 0.5 == true ? 1 : -1];
16847 /* See body of main program for 'e'. */
16848 char f[(_Bool) 0.0 == false ? 1 : -1];
16850 char h[sizeof (_Bool)];
16851 char i[sizeof s.t];
16852 enum { j = false, k = true, l = false * true, m = true * 256 };
16853 /* The following fails for
16854 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16856 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16857 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16858 /* Catch a bug in an HP-UX C compiler. See
16859 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16860 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16872 /* Refer to every declared value, to avoid compiler optimizations. */
16873 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16874 + !m + !n + !o + !p + !q + !pq);
16880 if ac_fn_c_try_compile "$LINENO"; then :
16881 ac_cv_header_stdbool_h=yes
16883 ac_cv_header_stdbool_h=no
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16888 $as_echo "$ac_cv_header_stdbool_h" >&6; }
16889 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16890 if test "x$ac_cv_type__Bool" = xyes; then :
16892 cat >>confdefs.h <<_ACEOF
16893 @%:@define HAVE__BOOL 1
16900 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16901 if test "x$ac_cv_type_size_t" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 @%:@define size_t unsigned int
16912 # Checks for library functions.
16913 for ac_header in stdlib.h
16915 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16916 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16917 cat >>confdefs.h <<_ACEOF
16918 @%:@define HAVE_STDLIB_H 1
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16926 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16927 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16928 $as_echo_n "(cached) " >&6
16930 if test "$cross_compiling" = yes; then :
16931 ac_cv_func_malloc_0_nonnull=no
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16936 # include <stdlib.h>
16944 return ! malloc (0);
16949 if ac_fn_c_try_run "$LINENO"; then :
16950 ac_cv_func_malloc_0_nonnull=yes
16952 ac_cv_func_malloc_0_nonnull=no
16954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16955 conftest.$ac_objext conftest.beam conftest.$ac_ext
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16960 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16961 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16963 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
16966 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
16968 case " $LIB@&t@OBJS " in
16969 *" malloc.$ac_objext "* ) ;;
16970 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
16975 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
16981 $as_echo_n "checking for working strtod... " >&6; }
16982 if ${ac_cv_func_strtod+:} false; then :
16983 $as_echo_n "(cached) " >&6
16985 if test "$cross_compiling" = yes; then :
16986 ac_cv_func_strtod=no
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16991 $ac_includes_default
16999 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
17000 char *string = " +69";
17003 value = strtod (string, &term);
17004 if (value != 69 || term != (string + 4))
17009 /* Under Solaris 2.4, strtod returns the wrong value for the
17010 terminating character under some conditions. */
17011 char *string = "NaN";
17013 strtod (string, &term);
17014 if (term != string && *(term - 1) == 0)
17021 if ac_fn_c_try_run "$LINENO"; then :
17022 ac_cv_func_strtod=yes
17024 ac_cv_func_strtod=no
17026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17027 conftest.$ac_objext conftest.beam conftest.$ac_ext
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
17032 $as_echo "$ac_cv_func_strtod" >&6; }
17033 if test $ac_cv_func_strtod = no; then
17034 case " $LIB@&t@OBJS " in
17035 *" strtod.$ac_objext "* ) ;;
17036 *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext"
17040 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
17041 if test "x$ac_cv_func_pow" = xyes; then :
17045 if test $ac_cv_func_pow = no; then
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
17047 $as_echo_n "checking for pow in -lm... " >&6; }
17048 if ${ac_cv_lib_m_pow+:} false; then :
17049 $as_echo_n "(cached) " >&6
17051 ac_check_lib_save_LIBS=$LIBS
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17056 /* Override any GCC internal prototype to avoid an error.
17057 Use char because int might match the return type of a GCC
17058 builtin and then its argument prototype would still apply. */
17071 if ac_fn_c_try_link "$LINENO"; then :
17072 ac_cv_lib_m_pow=yes
17076 rm -f core conftest.err conftest.$ac_objext \
17077 conftest$ac_exeext conftest.$ac_ext
17078 LIBS=$ac_check_lib_save_LIBS
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
17081 $as_echo "$ac_cv_lib_m_pow" >&6; }
17082 if test "x$ac_cv_lib_m_pow" = xyes; then :
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
17086 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
17093 for ac_func in regcomp strchr strrchr strstr strtol strtoul
17095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17098 cat >>confdefs.h <<_ACEOF
17099 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17106 cat >confcache <<\_ACEOF
17107 # This file is a shell script that caches the results of configure
17108 # tests run on this system so they can be shared between configure
17109 # scripts and configure runs, see configure's option --config-cache.
17110 # It is not useful on other systems. If it contains results you don't
17111 # want to keep, you may remove or edit it.
17113 # config.status only pays attention to the cache file if you give it
17114 # the --recheck option to rerun configure.
17116 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17118 # following values.
17122 # The following way of writing the cache mishandles newlines in values,
17123 # but we know of no workaround that is simple, portable, and efficient.
17124 # So, we kill variables containing newlines.
17125 # Ultrix sh set writes to stderr and can't be redirected directly,
17126 # and sets the high bit in the cache file unless we assign to the vars.
17128 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17129 eval ac_val=\$$ac_var
17133 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17137 _ | IFS | as_nl) ;; #(
17138 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17139 *) { eval $ac_var=; unset $ac_var;} ;;
17145 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17146 *${as_nl}ac_space=\ *)
17147 # `set' does not quote correctly, so add quotes: double-quote
17148 # substitution turns \\\\ into \\, and sed turns \\ into \.
17151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17154 # `set' quotes correctly as required by POSIX, so do not add quotes.
17155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17164 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17166 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17168 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17169 if test -w "$cache_file"; then
17170 if test "x$cache_file" != "x/dev/null"; then
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17172 $as_echo "$as_me: updating cache $cache_file" >&6;}
17173 if test ! -f "$cache_file" || test -h "$cache_file"; then
17174 cat confcache >"$cache_file"
17176 case $cache_file in #(
17178 mv -f confcache "$cache_file"$$ &&
17179 mv -f "$cache_file"$$ "$cache_file" ;; #(
17181 mv -f confcache "$cache_file" ;;
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17187 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17193 # Let make expand exec_prefix.
17194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17196 # Transform confdefs.h into DEFS.
17197 # Protect against shell expansion while executing Makefile rules.
17198 # Protect against Makefile macro expansion.
17200 # If the first sed substitution is executed (which looks for macros that
17201 # take arguments), then branch to the quote section. Otherwise,
17202 # look for a macro that doesn't take arguments.
17212 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17214 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17218 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17231 DEFS=`sed -n "$ac_script" confdefs.h`
17237 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
17238 # 1. Remove the extension, and $U if already installed.
17239 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17240 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17241 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17242 # will be set to the directory where LIBOBJS objects are built.
17243 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17244 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17246 LIB@&t@OBJS=$ac_libobjs
17248 LTLIBOBJS=$ac_ltlibobjs
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17252 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17253 if test -n "$am_sleep_pid"; then
17254 # Hide warnings about reused PIDs.
17255 wait $am_sleep_pid 2>/dev/null
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17258 $as_echo "done" >&6; }
17259 if test -n "$EXEEXT"; then
17261 am__EXEEXT_FALSE='#'
17263 am__EXEEXT_TRUE='#'
17267 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17268 as_fn_error $? "conditional \"AMDEP\" was never defined.
17269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17271 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17272 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17275 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17276 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17279 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17280 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17284 : "${CONFIG_STATUS=./config.status}"
17286 ac_clean_files_save=$ac_clean_files
17287 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17289 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17291 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17293 # Generated by $as_me.
17294 # Run this file to recreate the current configuration.
17295 # Compiler output produced by configure, useful for debugging
17296 # configure, is in config.log if it exists.
17299 ac_cs_recheck=false
17302 SHELL=\${CONFIG_SHELL-$SHELL}
17305 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17306 ## -------------------- ##
17307 ## M4sh Initialization. ##
17308 ## -------------------- ##
17310 # Be more Bourne compatible
17311 DUALCASE=1; export DUALCASE # for MKS sh
17312 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17315 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17316 # is contrary to our usage. Disable this feature.
17317 alias -g '${1+"$@"}'='"$@"'
17318 setopt NO_GLOB_SUBST
17320 case `(set -o) 2>/dev/null` in @%:@(
17322 set -o posix ;; @%:@(
17332 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17333 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17335 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17336 # Prefer a ksh shell builtin over an external printf program on Solaris,
17337 # but without wasting forks for bash or zsh.
17338 if test -z "$BASH_VERSION$ZSH_VERSION" \
17339 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17340 as_echo='print -r --'
17341 as_echo_n='print -rn --'
17342 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17343 as_echo='printf %s\n'
17344 as_echo_n='printf %s'
17346 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17347 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17348 as_echo_n='/usr/ucb/echo -n'
17350 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17351 as_echo_n_body='eval
17355 expr "X$arg" : "X\\(.*\\)$as_nl";
17356 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17358 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17360 export as_echo_n_body
17361 as_echo_n='sh -c $as_echo_n_body as_echo'
17363 export as_echo_body
17364 as_echo='sh -c $as_echo_body as_echo'
17367 # The user is always right.
17368 if test "${PATH_SEPARATOR+set}" != set; then
17370 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17371 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17378 # We need space, tab and new line, in precisely that order. Quoting is
17379 # there to prevent editors from complaining about space-tab.
17380 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17381 # splitting by setting IFS to empty value.)
17384 # Find who we are. Look in the path if we contain no directory separator.
17387 *[\\/]* ) as_myself=$0 ;;
17388 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17389 for as_dir in $PATH
17392 test -z "$as_dir" && as_dir=.
17393 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17399 # We did not find ourselves, most probably we were run as `sh COMMAND'
17400 # in which case we are not to be found in the path.
17401 if test "x$as_myself" = x; then
17404 if test ! -f "$as_myself"; then
17405 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17409 # Unset variables that we do not need and which cause bugs (e.g. in
17410 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17411 # suppresses any "Segmentation fault" message there. '((' could
17412 # trigger a bug in pdksh 5.2.14.
17413 for as_var in BASH_ENV ENV MAIL MAILPATH
17414 do eval test x\${$as_var+set} = xset \
17415 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17428 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17431 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
17432 @%:@ ----------------------------------------
17433 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17434 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17435 @%:@ script with STATUS, using 1 if that was 0.
17438 as_status=$1; test $as_status -eq 0 && as_status=1
17440 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17441 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17443 $as_echo "$as_me: error: $2" >&2
17444 as_fn_exit $as_status
17448 @%:@ as_fn_set_status STATUS
17449 @%:@ -----------------------
17450 @%:@ Set @S|@? to STATUS, without forking.
17451 as_fn_set_status ()
17454 } @%:@ as_fn_set_status
17456 @%:@ as_fn_exit STATUS
17457 @%:@ -----------------
17458 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17462 as_fn_set_status $1
17466 @%:@ as_fn_unset VAR
17467 @%:@ ---------------
17468 @%:@ Portably unset VAR.
17471 { eval $1=; unset $1;}
17473 as_unset=as_fn_unset
17474 @%:@ as_fn_append VAR VALUE
17475 @%:@ ----------------------
17476 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
17477 @%:@ advantage of any shell optimizations that allow amortized linear growth over
17478 @%:@ repeated appends, instead of the typical quadratic growth present in naive
17479 @%:@ implementations.
17480 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17481 eval 'as_fn_append ()
17492 @%:@ as_fn_arith ARG...
17493 @%:@ ------------------
17494 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
17495 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
17496 @%:@ must be portable across @S|@(()) and expr.
17497 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17498 eval 'as_fn_arith ()
17505 as_val=`expr "$@" || test $? -eq 1`
17510 if expr a : '\(a\)' >/dev/null 2>&1 &&
17511 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17517 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17518 as_basename=basename
17523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17529 as_me=`$as_basename -- "$0" ||
17530 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17531 X"$0" : 'X\(//\)$' \| \
17532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17534 sed '/^.*\/\([^/][^/]*\)\/*$/{
17548 # Avoid depending upon Character Ranges.
17549 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17550 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17551 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17552 as_cr_digits='0123456789'
17553 as_cr_alnum=$as_cr_Letters$as_cr_digits
17555 ECHO_C= ECHO_N= ECHO_T=
17556 case `echo -n x` in @%:@(((((
17558 case `echo 'xy\c'` in
17559 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17561 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17568 rm -f conf$$ conf$$.exe conf$$.file
17569 if test -d conf$$.dir; then
17570 rm -f conf$$.dir/conf$$.file
17573 mkdir conf$$.dir 2>/dev/null
17575 if (echo >conf$$.file) 2>/dev/null; then
17576 if ln -s conf$$.file conf$$ 2>/dev/null; then
17578 # ... but there are two gotchas:
17579 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17580 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17581 # In both cases, we have to default to `cp -pR'.
17582 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17584 elif ln conf$$.file conf$$ 2>/dev/null; then
17592 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17593 rmdir conf$$.dir 2>/dev/null
17598 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
17603 -*) as_dir=./$as_dir;;
17605 test -d "$as_dir" || eval $as_mkdir_p || {
17609 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17610 *) as_qdir=$as_dir;;
17612 as_dirs="'$as_qdir' $as_dirs"
17613 as_dir=`$as_dirname -- "$as_dir" ||
17614 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17615 X"$as_dir" : 'X\(//\)[^/]' \| \
17616 X"$as_dir" : 'X\(//\)$' \| \
17617 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17618 $as_echo X"$as_dir" |
17619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17623 /^X\(\/\/\)[^/].*/{
17636 test -d "$as_dir" && break
17638 test -z "$as_dirs" || eval "mkdir $as_dirs"
17639 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17642 } @%:@ as_fn_mkdir_p
17643 if mkdir -p . 2>/dev/null; then
17644 as_mkdir_p='mkdir -p "$as_dir"'
17646 test -d ./-p && rmdir ./-p
17651 @%:@ as_fn_executable_p FILE
17652 @%:@ -----------------------
17653 @%:@ Test if FILE is an executable regular file.
17654 as_fn_executable_p ()
17656 test -f "$1" && test -x "$1"
17657 } @%:@ as_fn_executable_p
17658 as_test_x='test -x'
17659 as_executable_p=as_fn_executable_p
17661 # Sed expression to map a string onto a valid CPP name.
17662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17664 # Sed expression to map a string onto a valid variable name.
17665 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17669 ## ----------------------------------- ##
17670 ## Main body of $CONFIG_STATUS script. ##
17671 ## ----------------------------------- ##
17673 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17676 # Save the log message, to keep $0 and so on meaningful, and to
17677 # report actual input values of CONFIG_FILES etc. instead of their
17678 # values after options handling.
17680 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
17681 generated by GNU Autoconf 2.69. Invocation command line was
17683 CONFIG_FILES = $CONFIG_FILES
17684 CONFIG_HEADERS = $CONFIG_HEADERS
17685 CONFIG_LINKS = $CONFIG_LINKS
17686 CONFIG_COMMANDS = $CONFIG_COMMANDS
17689 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17694 case $ac_config_files in *"
17695 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17701 # Files that config.status was made for.
17702 config_files="$ac_config_files"
17703 config_commands="$ac_config_commands"
17707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17709 \`$as_me' instantiates files and other configuration actions
17710 from templates according to the current configuration. Unless the files
17711 and actions are specified as TAGs, all are instantiated by default.
17713 Usage: $0 [OPTION]... [TAG]...
17715 -h, --help print this help, then exit
17716 -V, --version print version number and configuration settings, then exit
17717 --config print configuration, then exit
17718 -q, --quiet, --silent
17719 do not print progress messages
17720 -d, --debug don't remove temporary files
17721 --recheck update $as_me by reconfiguring in the same conditions
17722 --file=FILE[:TEMPLATE]
17723 instantiate the configuration file FILE
17725 Configuration files:
17728 Configuration commands:
17731 Report bugs to <BUG-REPORT-ADDRESS>."
17734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17735 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17737 ACL - Andromeda Class Library config.status 0.1
17738 configured by $0, generated by GNU Autoconf 2.69,
17739 with options \\"\$ac_cs_config\\"
17741 Copyright (C) 2012 Free Software Foundation, Inc.
17742 This config.status script is free software; the Free Software Foundation
17743 gives unlimited permission to copy, distribute and modify it."
17750 test -n "\$AWK" || AWK=awk
17753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17754 # The default lists apply if the user does not specify any file.
17760 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17761 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17765 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17777 # Handling of the options.
17778 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17780 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17781 $as_echo "$ac_cs_version"; exit ;;
17782 --config | --confi | --conf | --con | --co | --c )
17783 $as_echo "$ac_cs_config"; exit ;;
17784 --debug | --debu | --deb | --de | --d | -d )
17786 --file | --fil | --fi | --f )
17789 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17790 '') as_fn_error $? "missing file argument" ;;
17792 as_fn_append CONFIG_FILES " '$ac_optarg'"
17793 ac_need_defaults=false;;
17794 --he | --h | --help | --hel | -h )
17795 $as_echo "$ac_cs_usage"; exit ;;
17796 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17797 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17800 # This is an error.
17801 -*) as_fn_error $? "unrecognized option: \`$1'
17802 Try \`$0 --help' for more information." ;;
17804 *) as_fn_append ac_config_targets " $1"
17805 ac_need_defaults=false ;;
17811 ac_configure_extra_args=
17813 if $ac_cs_silent; then
17815 ac_configure_extra_args="$ac_configure_extra_args --silent"
17819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17820 if \$ac_cs_recheck; then
17821 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17823 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17824 CONFIG_SHELL='$SHELL'
17825 export CONFIG_SHELL
17830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17834 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
17835 @%:@@%:@ Running $as_me. @%:@@%:@
17841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17845 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17848 # The HP-UX ksh and POSIX shell print the target directory to stdout
17849 # if CDPATH is set.
17850 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17852 sed_quote_subst='$sed_quote_subst'
17853 double_quote_subst='$double_quote_subst'
17854 delay_variable_subst='$delay_variable_subst'
17855 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17856 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17857 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17858 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17859 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17860 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17861 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17862 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17863 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17864 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17865 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17866 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17867 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17868 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17869 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17870 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17871 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17872 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17873 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17874 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17875 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17876 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17877 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17878 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17879 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17880 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17881 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17882 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17883 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17884 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17885 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17886 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17887 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17888 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17889 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17890 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17891 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17892 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17893 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17894 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17895 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17896 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17897 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17898 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17899 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17900 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17901 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17902 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17903 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17904 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17905 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17906 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17907 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17908 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17909 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17910 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17911 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17912 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17913 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"`'
17914 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17915 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17916 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17917 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17918 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17919 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17920 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17921 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17922 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17923 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17924 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17925 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17926 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17927 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17928 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17929 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17930 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17931 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17932 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17933 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17934 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17935 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17936 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17937 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17938 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17939 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17940 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17941 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17942 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17943 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17944 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17945 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17946 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17947 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17948 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17949 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17950 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17951 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17952 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17953 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17954 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17955 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17956 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17957 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17958 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17959 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17960 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17961 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17962 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17963 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17964 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17965 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17966 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17967 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17968 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17969 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17970 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17971 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17972 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17973 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17974 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17975 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17976 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17977 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17978 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17979 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17980 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17981 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17982 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17983 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17984 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17985 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17986 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17987 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17988 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17989 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17990 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17991 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17992 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17993 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17994 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17995 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17996 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17997 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17998 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17999 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18000 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18001 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18002 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18003 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18004 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18005 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18006 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18007 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18008 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18009 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18010 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18011 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18012 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18013 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18014 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18015 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18016 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18017 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18018 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18019 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18020 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18021 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18022 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18023 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18024 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18025 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18026 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18027 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18028 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18029 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18030 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18031 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18032 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18033 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18034 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18035 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18036 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18037 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18038 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18039 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18040 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18041 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18042 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18043 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18046 LTCFLAGS='$LTCFLAGS'
18047 compiler='$compiler_DEFAULT'
18049 # A function that is used when there is no print builtin or printf.
18050 func_fallback_echo ()
18052 eval 'cat <<_LTECHO_EOF
18057 # Quote evaled strings.
18072 deplibs_check_method \
18077 sharedlib_from_linklib_cmd \
18080 archiver_list_spec \
18086 lt_cv_sys_global_symbol_pipe \
18087 lt_cv_sys_global_symbol_to_cdecl \
18088 lt_cv_sys_global_symbol_to_import \
18089 lt_cv_sys_global_symbol_to_c_name_address \
18090 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18091 lt_cv_nm_interface \
18092 nm_file_list_spec \
18093 lt_cv_truncate_bin \
18094 lt_prog_compiler_no_builtin_flag \
18095 lt_prog_compiler_pic \
18096 lt_prog_compiler_wl \
18097 lt_prog_compiler_static \
18098 lt_cv_prog_compiler_c_o \
18107 export_dynamic_flag_spec \
18108 whole_archive_flag_spec \
18109 compiler_needs_object \
18111 allow_undefined_flag \
18112 no_undefined_flag \
18113 hardcode_libdir_flag_spec \
18114 hardcode_libdir_separator \
18118 variables_saved_for_relink \
18120 library_names_spec \
18122 install_override_mode \
18126 compiler_lib_search_dirs \
18131 compiler_lib_search_path \
18135 lt_prog_compiler_no_builtin_flag_CXX \
18136 lt_prog_compiler_pic_CXX \
18137 lt_prog_compiler_wl_CXX \
18138 lt_prog_compiler_static_CXX \
18139 lt_cv_prog_compiler_c_o_CXX \
18140 export_dynamic_flag_spec_CXX \
18141 whole_archive_flag_spec_CXX \
18142 compiler_needs_object_CXX \
18144 allow_undefined_flag_CXX \
18145 no_undefined_flag_CXX \
18146 hardcode_libdir_flag_spec_CXX \
18147 hardcode_libdir_separator_CXX \
18148 exclude_expsyms_CXX \
18149 include_expsyms_CXX \
18150 file_list_spec_CXX \
18151 compiler_lib_search_dirs_CXX \
18152 predep_objects_CXX \
18153 postdep_objects_CXX \
18156 compiler_lib_search_path_CXX; do
18157 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18158 *[\\\\\\\`\\"\\\$]*)
18159 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18162 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18167 # Double-quote double-evaled strings.
18168 for var in reload_cmds \
18169 old_postinstall_cmds \
18170 old_postuninstall_cmds \
18172 extract_expsyms_cmds \
18173 old_archive_from_new_cmds \
18174 old_archive_from_expsyms_cmds \
18176 archive_expsym_cmds \
18178 module_expsym_cmds \
18179 export_symbols_cmds \
18183 postuninstall_cmds \
18185 sys_lib_search_path_spec \
18186 configure_time_dlsearch_path \
18187 configure_time_lt_sys_library_path \
18189 old_archive_cmds_CXX \
18190 old_archive_from_new_cmds_CXX \
18191 old_archive_from_expsyms_cmds_CXX \
18193 archive_expsym_cmds_CXX \
18195 module_expsym_cmds_CXX \
18196 export_symbols_cmds_CXX \
18198 postlink_cmds_CXX; do
18199 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18200 *[\\\\\\\`\\"\\\$]*)
18201 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18204 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18209 ac_aux_dir='$ac_aux_dir'
18211 # See if we are running on zsh, and set the options that allow our
18212 # commands through without removal of \ escapes INIT.
18213 if test -n "\${ZSH_VERSION+set}"; then
18214 setopt NO_GLOB_SUBST
18230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18232 # Handling of arguments.
18233 for ac_config_target in $ac_config_targets
18235 case $ac_config_target in
18236 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18237 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18238 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18239 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18241 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18246 # If the user did not use the arguments to specify the items to instantiate,
18247 # then the envvar interface is used. Set only those that are not.
18248 # We use the long form for the default assignment because of an extremely
18249 # bizarre bug on SunOS 4.1.3.
18250 if $ac_need_defaults; then
18251 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18252 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18255 # Have a temporary directory for convenience. Make it in the build tree
18256 # simply because there is no reason against having it here, and in addition,
18257 # creating and moving files from /tmp can sometimes cause problems.
18258 # Hook for its removal unless debugging.
18259 # Note that there is a small window in which the directory will not be cleaned:
18260 # after its creation but before its name has been assigned to `$tmp'.
18264 trap 'exit_status=$?
18265 : "${ac_tmp:=$tmp}"
18266 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18268 trap 'as_fn_exit 1' 1 2 13 15
18270 # Create a (secure) tmp directory for tmp files.
18273 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18277 tmp=./conf$$-$RANDOM
18278 (umask 077 && mkdir "$tmp")
18279 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18282 # Set up the scripts for CONFIG_FILES section.
18283 # No need to generate them if there are no CONFIG_FILES.
18284 # This happens for instance with `./config.status config.h'.
18285 if test -n "$CONFIG_FILES"; then
18288 ac_cr=`echo X | tr X '\015'`
18289 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18290 # But we know of no other shell where ac_cr would be empty at this
18291 # point, so we can use a bashism as a fallback.
18292 if test "x$ac_cr" = x; then
18293 eval ac_cr=\$\'\\r\'
18295 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18296 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18299 ac_cs_awk_cr=$ac_cr
18302 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18307 echo "cat >conf$$subs.awk <<_ACEOF" &&
18308 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18310 } >conf$$subs.sh ||
18311 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18312 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18314 for ac_last_try in false false false false false :; do
18315 . ./conf$$subs.sh ||
18316 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18318 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18319 if test $ac_delim_n = $ac_delim_num; then
18321 elif $ac_last_try; then
18322 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18327 rm -f conf$$subs.sh
18329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18330 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18334 s/^/S["/; s/!.*/"]=/
18344 s/\(.\{148\}\)..*/\1/
18346 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18351 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18358 s/\(.\{148\}\)..*/\1/
18360 s/["\\]/\\&/g; s/^/"/; s/$/"/
18364 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18369 ' <conf$$subs.awk | sed '
18374 ' >>$CONFIG_STATUS || ac_write_fail=1
18375 rm -f conf$$subs.awk
18376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18378 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18379 for (key in S) S_is_set[key] = 1
18385 nfields = split(line, field, "@")
18387 len = length(field[1])
18388 for (i = 2; i < nfields; i++) {
18390 keylen = length(key)
18391 if (S_is_set[key]) {
18393 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18394 len += length(value) + length(field[++i])
18405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18406 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18407 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18410 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18411 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18414 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18415 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18416 # trailing colons and then remove the whole line if VPATH becomes empty
18417 # (actually we leave an empty line to preserve line numbers).
18418 if test "x$srcdir" = x.; then
18419 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18438 fi # test -n "$CONFIG_FILES"
18441 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
18446 :[FHLC]) ac_mode=$ac_tag; continue;;
18448 case $ac_mode$ac_tag in
18450 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18451 :[FH]-) ac_tag=-:-;;
18452 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18469 -) ac_f="$ac_tmp/stdin";;
18470 *) # Look for the file first in the build tree, then in the source tree
18471 # (if the path is not absolute). The absolute path cannot be DOS-style,
18472 # because $ac_f cannot contain `:'.
18476 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18478 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18480 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18481 as_fn_append ac_file_inputs " '$ac_f'"
18484 # Let's still pretend it is `configure' which instantiates (i.e., don't
18485 # use $as_me), people would be surprised to read:
18486 # /* config.h. Generated by config.status. */
18487 configure_input='Generated from '`
18488 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18490 if test x"$ac_file" != x-; then
18491 configure_input="$ac_file. $configure_input"
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18493 $as_echo "$as_me: creating $ac_file" >&6;}
18495 # Neutralize special characters interpreted by sed in replacement strings.
18496 case $configure_input in #(
18497 *\&* | *\|* | *\\* )
18498 ac_sed_conf_input=`$as_echo "$configure_input" |
18499 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18500 *) ac_sed_conf_input=$configure_input;;
18504 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18510 ac_dir=`$as_dirname -- "$ac_file" ||
18511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18512 X"$ac_file" : 'X\(//\)[^/]' \| \
18513 X"$ac_file" : 'X\(//\)$' \| \
18514 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18515 $as_echo X"$ac_file" |
18516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18520 /^X\(\/\/\)[^/].*/{
18533 as_dir="$ac_dir"; as_fn_mkdir_p
18537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18540 # A ".." for each directory in $ac_dir_suffix.
18541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18542 case $ac_top_builddir_sub in
18543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18547 ac_abs_top_builddir=$ac_pwd
18548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18549 # for backward compatibility:
18550 ac_top_builddir=$ac_top_build_prefix
18553 .) # We are building in place.
18555 ac_top_srcdir=$ac_top_builddir_sub
18556 ac_abs_top_srcdir=$ac_pwd ;;
18557 [\\/]* | ?:[\\/]* ) # Absolute name.
18558 ac_srcdir=$srcdir$ac_dir_suffix;
18559 ac_top_srcdir=$srcdir
18560 ac_abs_top_srcdir=$srcdir ;;
18561 *) # Relative name.
18562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18563 ac_top_srcdir=$ac_top_build_prefix$srcdir
18564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18576 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18577 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18579 ac_MKDIR_P=$MKDIR_P
18581 [\\/$]* | ?:[\\/]* ) ;;
18582 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18587 # If the template does not know about datarootdir, expand it.
18588 # FIXME: This hack should be removed a few years after 2.60.
18589 ac_datarootdir_hack=; ac_datarootdir_seen=
18600 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18601 *datarootdir*) ac_datarootdir_seen=yes;;
18602 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18604 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18607 ac_datarootdir_hack='
18608 s&@datadir@&$datadir&g
18609 s&@docdir@&$docdir&g
18610 s&@infodir@&$infodir&g
18611 s&@localedir@&$localedir&g
18612 s&@mandir@&$mandir&g
18613 s&\\\${datarootdir}&$datarootdir&g' ;;
18617 # Neutralize VPATH when `$srcdir' = `.'.
18618 # Shell code in configure.ac might set extrasub.
18619 # FIXME: do we really want to maintain this feature?
18620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18621 ac_sed_extra="$ac_vpsub
18624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18627 s|@configure_input@|$ac_sed_conf_input|;t t
18628 s&@top_builddir@&$ac_top_builddir_sub&;t t
18629 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18630 s&@srcdir@&$ac_srcdir&;t t
18631 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18632 s&@top_srcdir@&$ac_top_srcdir&;t t
18633 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18634 s&@builddir@&$ac_builddir&;t t
18635 s&@abs_builddir@&$ac_abs_builddir&;t t
18636 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18637 s&@INSTALL@&$ac_INSTALL&;t t
18638 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18639 $ac_datarootdir_hack
18641 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18642 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18644 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18645 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18646 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18647 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18649 which seems to be undefined. Please make sure it is defined" >&5
18650 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18651 which seems to be undefined. Please make sure it is defined" >&2;}
18653 rm -f "$ac_tmp/stdin"
18655 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18656 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18662 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18663 $as_echo "$as_me: executing $ac_file commands" >&6;}
18668 case $ac_file$ac_mode in
18669 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18670 # Older Autoconf quotes --file arguments for eval, but not when files
18671 # are listed without --file. Let's play safe and only enable the eval
18672 # if we detect the quoting.
18673 case $CONFIG_FILES in
18674 *\'*) eval set x "$CONFIG_FILES" ;;
18675 *) set x $CONFIG_FILES ;;
18680 # Strip MF so we end up with the name of the file.
18681 mf=`echo "$mf" | sed -e 's/:.*$//'`
18682 # Check whether this is an Automake generated Makefile or not.
18683 # We used to match only the files named 'Makefile.in', but
18684 # some people rename them; so instead we look at the file content.
18685 # Grep'ing the first line is not enough: some people post-process
18686 # each Makefile.in and add a new line on top of each file to say so.
18687 # Grep'ing the whole file is not good either: AIX grep has a line
18688 # limit of 2048, but all sed's we know have understand at least 4000.
18689 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18690 dirpart=`$as_dirname -- "$mf" ||
18691 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18692 X"$mf" : 'X\(//\)[^/]' \| \
18693 X"$mf" : 'X\(//\)$' \| \
18694 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18700 /^X\(\/\/\)[^/].*/{
18716 # Extract the definition of DEPDIR, am__include, and am__quote
18717 # from the Makefile without running 'make'.
18718 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18719 test -z "$DEPDIR" && continue
18720 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18721 test -z "$am__include" && continue
18722 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18723 # Find all dependency output files, they are included files with
18724 # $(DEPDIR) in their names. We invoke sed twice because it is the
18725 # simplest approach to changing $(DEPDIR) to its actual value in the
18727 for file in `sed -n "
18728 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18729 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18730 # Make sure the directory exists.
18731 test -f "$dirpart/$file" && continue
18732 fdir=`$as_dirname -- "$file" ||
18733 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18734 X"$file" : 'X\(//\)[^/]' \| \
18735 X"$file" : 'X\(//\)$' \| \
18736 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18737 $as_echo X"$file" |
18738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18742 /^X\(\/\/\)[^/].*/{
18755 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18756 # echo "creating $dirpart/$file"
18757 echo '# dummy' > "$dirpart/$file"
18764 # See if we are running on zsh, and set the options that allow our
18765 # commands through without removal of \ escapes.
18766 if test -n "${ZSH_VERSION+set}"; then
18767 setopt NO_GLOB_SUBST
18771 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18774 cat <<_LT_EOF >> "$cfgfile"
18776 # Generated automatically by $as_me ($PACKAGE) $VERSION
18777 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18779 # Provide generalized library-building support services.
18780 # Written by Gordon Matzigkeit, 1996
18782 # Copyright (C) 2014 Free Software Foundation, Inc.
18783 # This is free software; see the source for copying conditions. There is NO
18784 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18786 # GNU Libtool is free software; you can redistribute it and/or modify
18787 # it under the terms of the GNU General Public License as published by
18788 # the Free Software Foundation; either version 2 of of the License, or
18789 # (at your option) any later version.
18791 # As a special exception to the GNU General Public License, if you
18792 # distribute this file as part of a program or library that is built
18793 # using GNU Libtool, you may include this file under the same
18794 # distribution terms that you use for the rest of that program.
18796 # GNU Libtool is distributed in the hope that it will be useful, but
18797 # WITHOUT ANY WARRANTY; without even the implied warranty of
18798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18799 # GNU General Public License for more details.
18801 # You should have received a copy of the GNU General Public License
18802 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18805 # The names of the tagged configurations supported by this script.
18806 available_tags='CXX '
18808 # Configured defaults for sys_lib_dlsearch_path munging.
18809 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18811 # ### BEGIN LIBTOOL CONFIG
18813 # Which release of libtool.m4 was used?
18814 macro_version=$macro_version
18815 macro_revision=$macro_revision
18817 # Whether or not to build shared libraries.
18818 build_libtool_libs=$enable_shared
18820 # Whether or not to build static libraries.
18821 build_old_libs=$enable_static
18823 # What type of objects to build.
18826 # Whether or not to optimize for fast installation.
18827 fast_install=$enable_fast_install
18829 # Shared archive member basename,for filename based shared library versioning on AIX.
18830 shared_archive_member_spec=$shared_archive_member_spec
18832 # Shell to use when invoking shell scripts.
18835 # An echo program that protects backslashes.
18838 # The PATH separator for the build system.
18839 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18842 host_alias=$host_alias
18846 # The build system.
18847 build_alias=$build_alias
18851 # A sed program that does not truncate output.
18854 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18855 Xsed="\$SED -e 1s/^X//"
18857 # A grep program that handles long lines.
18863 # A literal string matcher.
18866 # A BSD- or MS-compatible name lister.
18869 # Whether we need soft or hard links.
18872 # What is the maximum length of a command?
18873 max_cmd_len=$max_cmd_len
18875 # Object file suffix (normally "o").
18878 # Executable file suffix (normally "").
18881 # whether the shell understands "unset".
18884 # turn spaces into newlines.
18887 # turn newlines into spaces.
18890 # convert \$build file names to \$host format.
18891 to_host_file_cmd=$lt_cv_to_host_file_cmd
18893 # convert \$build files to toolchain format.
18894 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18896 # An object symbol dumper.
18897 OBJDUMP=$lt_OBJDUMP
18899 # Method to check whether dependent libraries are shared objects.
18900 deplibs_check_method=$lt_deplibs_check_method
18902 # Command to use when deplibs_check_method = "file_magic".
18903 file_magic_cmd=$lt_file_magic_cmd
18905 # How to find potential files when deplibs_check_method = "file_magic".
18906 file_magic_glob=$lt_file_magic_glob
18908 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18909 want_nocaseglob=$lt_want_nocaseglob
18911 # DLL creation program.
18912 DLLTOOL=$lt_DLLTOOL
18914 # Command to associate shared and link libraries.
18915 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18920 # Flags to create an archive.
18921 AR_FLAGS=$lt_AR_FLAGS
18923 # How to feed a file listing to the archiver.
18924 archiver_list_spec=$lt_archiver_list_spec
18926 # A symbol stripping program.
18929 # Commands used to install an old-style archive.
18931 old_postinstall_cmds=$lt_old_postinstall_cmds
18932 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18934 # Whether to use a lock for old archive extraction.
18935 lock_old_archive_extraction=$lock_old_archive_extraction
18940 # LTCC compiler flags.
18941 LTCFLAGS=$lt_CFLAGS
18943 # Take the output of nm and produce a listing of raw symbols and C names.
18944 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18946 # Transform the output of nm in a proper C declaration.
18947 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18949 # Transform the output of nm into a list of symbols to manually relocate.
18950 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18952 # Transform the output of nm in a C name address pair.
18953 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18955 # Transform the output of nm in a C name address pair when lib prefix is needed.
18956 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18958 # The name lister interface.
18959 nm_interface=$lt_lt_cv_nm_interface
18961 # Specify filename containing input files for \$NM.
18962 nm_file_list_spec=$lt_nm_file_list_spec
18964 # The root where to search for dependent libraries,and where our libraries should be installed.
18965 lt_sysroot=$lt_sysroot
18967 # Command to truncate a binary pipe.
18968 lt_truncate_bin=$lt_lt_cv_truncate_bin
18970 # The name of the directory that contains temporary libtool files.
18973 # Used to examine libraries when file_magic_cmd begins with "file".
18974 MAGIC_CMD=$MAGIC_CMD
18976 # Must we lock files when doing compilation?
18977 need_locks=$lt_need_locks
18980 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18982 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18983 DSYMUTIL=$lt_DSYMUTIL
18985 # Tool to change global to local symbols on Mac OS X.
18988 # Tool to manipulate fat objects and archives on Mac OS X.
18991 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18994 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18995 OTOOL64=$lt_OTOOL64
18997 # Old archive suffix (normally "a").
19000 # Shared library suffix (normally ".so").
19001 shrext_cmds=$lt_shrext_cmds
19003 # The commands to extract the exported symbol list from a shared archive.
19004 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19006 # Variables whose values should be saved in libtool wrapper scripts and
19007 # restored at link time.
19008 variables_saved_for_relink=$lt_variables_saved_for_relink
19010 # Do we need the "lib" prefix for modules?
19011 need_lib_prefix=$need_lib_prefix
19013 # Do we need a version for libraries?
19014 need_version=$need_version
19016 # Library versioning type.
19017 version_type=$version_type
19019 # Shared library runtime path variable.
19020 runpath_var=$runpath_var
19022 # Shared library path variable.
19023 shlibpath_var=$shlibpath_var
19025 # Is shlibpath searched before the hard-coded library search path?
19026 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19028 # Format of library name prefix.
19029 libname_spec=$lt_libname_spec
19031 # List of archive names. First name is the real one, the rest are links.
19032 # The last name is the one that the linker finds with -lNAME
19033 library_names_spec=$lt_library_names_spec
19035 # The coded name of the library, if different from the real name.
19036 soname_spec=$lt_soname_spec
19038 # Permission mode override for installation of shared libraries.
19039 install_override_mode=$lt_install_override_mode
19041 # Command to use after installation of a shared archive.
19042 postinstall_cmds=$lt_postinstall_cmds
19044 # Command to use after uninstallation of a shared archive.
19045 postuninstall_cmds=$lt_postuninstall_cmds
19047 # Commands used to finish a libtool library installation in a directory.
19048 finish_cmds=$lt_finish_cmds
19050 # As "finish_cmds", except a single script fragment to be evaled but
19052 finish_eval=$lt_finish_eval
19054 # Whether we should hardcode library paths into libraries.
19055 hardcode_into_libs=$hardcode_into_libs
19057 # Compile-time system search path for libraries.
19058 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19060 # Detected run-time system search path for libraries.
19061 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19063 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19064 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19066 # Whether dlopen is supported.
19067 dlopen_support=$enable_dlopen
19069 # Whether dlopen of programs is supported.
19070 dlopen_self=$enable_dlopen_self
19072 # Whether dlopen of statically linked programs is supported.
19073 dlopen_self_static=$enable_dlopen_self_static
19075 # Commands to strip libraries.
19076 old_striplib=$lt_old_striplib
19077 striplib=$lt_striplib
19080 # The linker used to build libraries.
19083 # How to create reloadable object files.
19084 reload_flag=$lt_reload_flag
19085 reload_cmds=$lt_reload_cmds
19087 # Commands used to build an old-style archive.
19088 old_archive_cmds=$lt_old_archive_cmds
19090 # A language specific compiler.
19093 # Is the compiler the GNU compiler?
19096 # Compiler flag to turn off builtin functions.
19097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19099 # Additional compiler flags for building library objects.
19100 pic_flag=$lt_lt_prog_compiler_pic
19102 # How to pass a linker flag through the compiler.
19103 wl=$lt_lt_prog_compiler_wl
19105 # Compiler flag to prevent dynamic linking.
19106 link_static_flag=$lt_lt_prog_compiler_static
19108 # Does compiler simultaneously support -c and -o options?
19109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19111 # Whether or not to add -lc for building shared libraries.
19112 build_libtool_need_lc=$archive_cmds_need_lc
19114 # Whether or not to disallow shared libs when runtime libs are static.
19115 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19117 # Compiler flag to allow reflexive dlopens.
19118 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19120 # Compiler flag to generate shared objects directly from archives.
19121 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19123 # Whether the compiler copes with passing no objects directly.
19124 compiler_needs_object=$lt_compiler_needs_object
19126 # Create an old-style archive from a shared archive.
19127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19129 # Create a temporary old-style archive to link instead of a shared archive.
19130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19132 # Commands used to build a shared archive.
19133 archive_cmds=$lt_archive_cmds
19134 archive_expsym_cmds=$lt_archive_expsym_cmds
19136 # Commands used to build a loadable module if different from building
19137 # a shared archive.
19138 module_cmds=$lt_module_cmds
19139 module_expsym_cmds=$lt_module_expsym_cmds
19141 # Whether we are building with GNU ld or not.
19142 with_gnu_ld=$lt_with_gnu_ld
19144 # Flag that allows shared libraries with undefined symbols to be built.
19145 allow_undefined_flag=$lt_allow_undefined_flag
19147 # Flag that enforces no undefined symbols.
19148 no_undefined_flag=$lt_no_undefined_flag
19150 # Flag to hardcode \$libdir into a binary during linking.
19151 # This must work even if \$libdir does not exist
19152 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19154 # Whether we need a single "-rpath" flag with a separated argument.
19155 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19157 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19158 # DIR into the resulting binary.
19159 hardcode_direct=$hardcode_direct
19161 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19162 # DIR into the resulting binary and the resulting library dependency is
19163 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19164 # library is relocated.
19165 hardcode_direct_absolute=$hardcode_direct_absolute
19167 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19168 # into the resulting binary.
19169 hardcode_minus_L=$hardcode_minus_L
19171 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19172 # into the resulting binary.
19173 hardcode_shlibpath_var=$hardcode_shlibpath_var
19175 # Set to "yes" if building a shared library automatically hardcodes DIR
19176 # into the library and all subsequent libraries and executables linked
19178 hardcode_automatic=$hardcode_automatic
19180 # Set to yes if linker adds runtime paths of dependent libraries
19181 # to runtime path list.
19182 inherit_rpath=$inherit_rpath
19184 # Whether libtool must link a program against all its dependency libraries.
19185 link_all_deplibs=$link_all_deplibs
19187 # Set to "yes" if exported symbols are required.
19188 always_export_symbols=$always_export_symbols
19190 # The commands to list exported symbols.
19191 export_symbols_cmds=$lt_export_symbols_cmds
19193 # Symbols that should not be listed in the preloaded symbols.
19194 exclude_expsyms=$lt_exclude_expsyms
19196 # Symbols that must always be exported.
19197 include_expsyms=$lt_include_expsyms
19199 # Commands necessary for linking programs (against libraries) with templates.
19200 prelink_cmds=$lt_prelink_cmds
19202 # Commands necessary for finishing linking programs.
19203 postlink_cmds=$lt_postlink_cmds
19205 # Specify filename containing input files.
19206 file_list_spec=$lt_file_list_spec
19208 # How to hardcode a shared library path into an executable.
19209 hardcode_action=$hardcode_action
19211 # The directories searched by this compiler when creating a shared library.
19212 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19214 # Dependencies to place before and after the objects being linked to
19215 # create a shared library.
19216 predep_objects=$lt_predep_objects
19217 postdep_objects=$lt_postdep_objects
19218 predeps=$lt_predeps
19219 postdeps=$lt_postdeps
19221 # The library search path used internally by the compiler when linking
19222 # a shared library.
19223 compiler_lib_search_path=$lt_compiler_lib_search_path
19225 # ### END LIBTOOL CONFIG
19229 cat <<'_LT_EOF' >> "$cfgfile"
19231 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19233 # func_munge_path_list VARIABLE PATH
19234 # -----------------------------------
19235 # VARIABLE is name of variable containing _space_ separated list of
19236 # directories to be munged by the contents of PATH, which is string
19239 # string "DIR[ DIR]" will be prepended to VARIABLE
19241 # string "DIR[ DIR]" will be appended to VARIABLE
19242 # "DIRP[:DIRP]::[DIRA:]DIRA"
19243 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19244 # "DIRA[ DIRA]" will be appended to VARIABLE
19246 # VARIABLE will be replaced by "DIR[ DIR]"
19247 func_munge_path_list ()
19253 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
19256 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
19259 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19260 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
19263 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
19269 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19270 func_cc_basename ()
19272 for cc_temp in @S|@*""; do
19274 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19275 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19280 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19284 # ### END FUNCTIONS SHARED WITH CONFIGURE
19290 cat <<\_LT_EOF >> "$cfgfile"
19291 # AIX sometimes has problems with the GCC collect2 program. For some
19292 # reason, if we set the COLLECT_NAMES environment variable, the problems
19293 # vanish in a puff of smoke.
19294 if test set != "${COLLECT_NAMES+set}"; then
19296 export COLLECT_NAMES
19303 ltmain=$ac_aux_dir/ltmain.sh
19306 # We use sed instead of cat because bash on DJGPP gets confused if
19307 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19308 # text mode, it properly converts lines to CR/LF. This bash problem
19309 # is reportedly fixed, but why not run on old versions too?
19310 sed '$q' "$ltmain" >> "$cfgfile" \
19311 || (rm -f "$cfgfile"; exit 1)
19313 mv -f "$cfgfile" "$ofile" ||
19314 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19318 cat <<_LT_EOF >> "$ofile"
19320 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19322 # The linker used to build libraries.
19325 # How to create reloadable object files.
19326 reload_flag=$lt_reload_flag_CXX
19327 reload_cmds=$lt_reload_cmds_CXX
19329 # Commands used to build an old-style archive.
19330 old_archive_cmds=$lt_old_archive_cmds_CXX
19332 # A language specific compiler.
19333 CC=$lt_compiler_CXX
19335 # Is the compiler the GNU compiler?
19338 # Compiler flag to turn off builtin functions.
19339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19341 # Additional compiler flags for building library objects.
19342 pic_flag=$lt_lt_prog_compiler_pic_CXX
19344 # How to pass a linker flag through the compiler.
19345 wl=$lt_lt_prog_compiler_wl_CXX
19347 # Compiler flag to prevent dynamic linking.
19348 link_static_flag=$lt_lt_prog_compiler_static_CXX
19350 # Does compiler simultaneously support -c and -o options?
19351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19353 # Whether or not to add -lc for building shared libraries.
19354 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19356 # Whether or not to disallow shared libs when runtime libs are static.
19357 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19359 # Compiler flag to allow reflexive dlopens.
19360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19362 # Compiler flag to generate shared objects directly from archives.
19363 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19365 # Whether the compiler copes with passing no objects directly.
19366 compiler_needs_object=$lt_compiler_needs_object_CXX
19368 # Create an old-style archive from a shared archive.
19369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19371 # Create a temporary old-style archive to link instead of a shared archive.
19372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19374 # Commands used to build a shared archive.
19375 archive_cmds=$lt_archive_cmds_CXX
19376 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19378 # Commands used to build a loadable module if different from building
19379 # a shared archive.
19380 module_cmds=$lt_module_cmds_CXX
19381 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19383 # Whether we are building with GNU ld or not.
19384 with_gnu_ld=$lt_with_gnu_ld_CXX
19386 # Flag that allows shared libraries with undefined symbols to be built.
19387 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19389 # Flag that enforces no undefined symbols.
19390 no_undefined_flag=$lt_no_undefined_flag_CXX
19392 # Flag to hardcode \$libdir into a binary during linking.
19393 # This must work even if \$libdir does not exist
19394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19396 # Whether we need a single "-rpath" flag with a separated argument.
19397 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19399 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19400 # DIR into the resulting binary.
19401 hardcode_direct=$hardcode_direct_CXX
19403 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19404 # DIR into the resulting binary and the resulting library dependency is
19405 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19406 # library is relocated.
19407 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19409 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19410 # into the resulting binary.
19411 hardcode_minus_L=$hardcode_minus_L_CXX
19413 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19414 # into the resulting binary.
19415 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19417 # Set to "yes" if building a shared library automatically hardcodes DIR
19418 # into the library and all subsequent libraries and executables linked
19420 hardcode_automatic=$hardcode_automatic_CXX
19422 # Set to yes if linker adds runtime paths of dependent libraries
19423 # to runtime path list.
19424 inherit_rpath=$inherit_rpath_CXX
19426 # Whether libtool must link a program against all its dependency libraries.
19427 link_all_deplibs=$link_all_deplibs_CXX
19429 # Set to "yes" if exported symbols are required.
19430 always_export_symbols=$always_export_symbols_CXX
19432 # The commands to list exported symbols.
19433 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19435 # Symbols that should not be listed in the preloaded symbols.
19436 exclude_expsyms=$lt_exclude_expsyms_CXX
19438 # Symbols that must always be exported.
19439 include_expsyms=$lt_include_expsyms_CXX
19441 # Commands necessary for linking programs (against libraries) with templates.
19442 prelink_cmds=$lt_prelink_cmds_CXX
19444 # Commands necessary for finishing linking programs.
19445 postlink_cmds=$lt_postlink_cmds_CXX
19447 # Specify filename containing input files.
19448 file_list_spec=$lt_file_list_spec_CXX
19450 # How to hardcode a shared library path into an executable.
19451 hardcode_action=$hardcode_action_CXX
19453 # The directories searched by this compiler when creating a shared library.
19454 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19456 # Dependencies to place before and after the objects being linked to
19457 # create a shared library.
19458 predep_objects=$lt_predep_objects_CXX
19459 postdep_objects=$lt_postdep_objects_CXX
19460 predeps=$lt_predeps_CXX
19461 postdeps=$lt_postdeps_CXX
19463 # The library search path used internally by the compiler when linking
19464 # a shared library.
19465 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19467 # ### END LIBTOOL TAG CONFIG: CXX
19478 ac_clean_files=$ac_clean_files_save
19480 test $ac_write_fail = 0 ||
19481 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19484 # configure is writing to config.log, and then calls config.status.
19485 # config.status does its own redirection, appending to config.log.
19486 # Unfortunately, on DOS this fails, as config.log is still kept open
19487 # by configure, so config.status won't be able to write to it; its
19488 # output is simply discarded. So we exec the FD to /dev/null,
19489 # effectively closing config.log, so it can be properly (re)opened and
19490 # appended to by config.status. When coming back to configure, we
19491 # need to make the FD available again.
19492 if test "$no_create" != yes; then
19494 ac_config_status_args=
19495 test "$silent" = yes &&
19496 ac_config_status_args="$ac_config_status_args --quiet"
19498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19501 # would make configure fail if this is the last instruction.
19502 $ac_cs_success || as_fn_exit 1
19504 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19506 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}